/********** Template CSS **********/
:root {
    /* Primary - Deep Blue (from logo background) */
    --primary: #0A84C7;
    
    /* Secondary - Light Blue/Teal (from logo accents) */
    --secondary: #4A90A4;
    
    /* Light - Clean White/Off-white */
    --light: #F8F9FA;
    
    /* Dark - Professional Dark Blue/Navy */
    --dark: #1E3A5F;
    
    /* Additional Brand Colors for Enhanced Palette */
    --primary-light: #4A90A4;      /* Lighter version of primary */
    --primary-dark: #1E3A5F;       /* Darker version of primary */
    --secondary-light: #6DB4C4;    /* Lighter teal */
    --secondary-dark: #357A8A;     /* Darker teal */
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #6C757D;
    --black: #212529;
    
    /* Status Colors */
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17A2B8;

    --shadow: 0 4px 20px rgba(10, 132, 199, 0.08);
    --shadow-hover: 0 6px 25px rgba(10, 132, 199, 0.12);
}

/********** Font Declarations **********/
/* Custom Futura BT Font */
@font-face {
    font-family: 'Futura BT';
    src: url('../fonts/futura-bk-bt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Better performance */
}

/********** Typography System **********/
/* Global Typography Foundation */
html {
    font-size: 18px; /* Base font size from design spec */
    line-height: 1.6; /* 28.8px / 18px = 1.6 ratio */
}

body {
    font-family: 'Futura BT', Futura, 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem; /* 18px */
    line-height: 1.6;
    word-spacing: 0px;
    color: var(--black);
    background-color: var(--white);
}

/* Heading Typography - Futura BT */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Futura BT', Futura, 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Heading Sizes and Weights */
h1, .h1 {
    font-size: 2.5rem; /* 40px - Main page titles */
    font-weight: 700;
    line-height: 1.2;
}

h2, .h2 {
    font-size: 2rem; /* 32px - Section headers */
    font-weight: 600;
    line-height: 1.25;
}

h3, .h3 {
    font-size: 1.5rem; /* 24px - Subsection headers */
    font-weight: 600;
    line-height: 1.3;
}

h4, .h4 {
    font-size: 1.25rem; /* 20px - Component titles */
    font-weight: 500;
    line-height: 1.4;
}

h5, .h5 {
    font-size: 1.125rem; /* 18px - Small headings */
    font-weight: 500;
    line-height: 1.4;
}

h6, .h6 {
    font-size: 1rem; /* 16px - Smallest headings */
    font-weight: 500;
    line-height: 1.5;
}

/* Body Text Elements */
p {
    font-family: 'Futura BT', Futura, 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem; /* 18px */
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Links */
a {
    font-family: inherit;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Form Elements */
input, textarea, select, button {
    font-family: 'Futura BT', Futura, 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem; /* 16.2px */
    line-height: 1.5;
}

/* Form text color defaults - ensure typed text is dark/black */
.form-control,
.form-select,
input,
textarea {
    color: var(--black) !important; /* Override Bootstrap lighter gray */
}

/* Placeholder should remain subtly muted */
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--dark-gray) !important;
    opacity: 1; /* Ensure consistent color across browsers */
}

/* Autofill text color fix for WebKit browsers */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: var(--black) !important;
}

/* Button Typography */
.btn {
    font-family: 'Futura BT', Futura, 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
}

/* Small Text */
small, .small {
    font-size: 0.875rem; /* 15.75px */
    line-height: 1.5;
}

/* Lead Text */
.lead {
    font-size: 1.125rem; /* 20.25px */
    font-weight: 400;
    line-height: 1.6;
}

/* Display Text for Hero Sections */
.display-1 { font-size: 4rem; font-weight: 800; }
.display-2 { font-size: 3.5rem; font-weight: 700; }
.display-3 { font-size: 3rem; font-weight: 700; }
.display-4 { font-size: 2.5rem; font-weight: 600; }

/* Font Weight Utilities */
.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-extra-bold { font-weight: 800 !important; }
.fw-black { font-weight: 900 !important; }

/* Text Transform Utilities */
.text-uppercase { text-transform: uppercase !important; }
.text-lowercase { text-transform: lowercase !important; }
.text-capitalize { text-transform: capitalize !important; }

/* Font Style Utilities */
.font-italic { font-style: italic !important; }
.font-normal { font-style: normal !important; }

/* Letter Spacing */
.letter-spacing-sm { letter-spacing: 0.5px; }
.letter-spacing-md { letter-spacing: 1px; }
.letter-spacing-lg { letter-spacing: 2px; }

/* Typography Color Variants */
.text-primary-dark { color: var(--primary-dark) !important; }
.text-secondary-dark { color: var(--secondary-dark) !important; }

/********** End Typography System ***********/



.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Enhanced CRC Logo Preloader ***/
.preloader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: 'Open Sans', sans-serif;
}

.crc-logo-loader {
    width: 160px;
    height: 80px;
    margin-bottom: 30px;
    animation: logoElevate 3s ease-in-out infinite;
}

.crc-letters {
    animation: lettersShine 4s ease-in-out infinite;
}

.letter {
    animation: letterFloat 3s ease-in-out infinite;
    transform-origin: center;
}

.letter-c {
    animation-delay: 0s;
}

.letter-r {
    animation-delay: 0.5s;
}

.letter-c2 {
    animation-delay: 1s;
}

.r-accent {
    animation: accentSparkle 2s ease-in-out infinite;
    transform-origin: center;
}

.loading-text {
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    animation: textGlow 2.5s ease-in-out infinite;
}

.loading-subtitle {
    color: #6c757d;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
    animation: subtitleFade 2s ease-in-out infinite;
}

.loading-dots {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), #1E3A5F);
    animation: dotWave 1.6s ease-in-out infinite both;
    box-shadow: 0 2px 4px rgba(10, 132, 199, 0.3);
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }
.dot:nth-child(3) { animation-delay: 0s; }

/* Enhanced Animations */
@keyframes logoElevate {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        filter: drop-shadow(0 4px 12px rgba(10, 132, 199, 0.2));
    }
    50% { 
        transform: translateY(-10px) scale(1.03); 
        filter: drop-shadow(0 8px 20px rgba(10, 132, 199, 0.4));
    }
}

@keyframes lettersShine {
    0%, 100% { 
        filter: brightness(1) contrast(1);
    }
    50% { 
        filter: brightness(1.1) contrast(1.1);
    }
}

@keyframes letterFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-3px) scale(1.02); 
        opacity: 0.95;
    }
}

@keyframes textGlow {
    0%, 100% { 
        opacity: 0.8;
        text-shadow: 0 0 8px rgba(10, 132, 199, 0.3);
    }
    50% { 
        opacity: 1;
        text-shadow: 0 0 16px rgba(10, 132, 199, 0.5);
    }
}

@keyframes subtitleFade {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

@keyframes dotWave {
    0%, 80%, 100% {
        transform: scale(0.8) translateY(0px);
        opacity: 0.7;
    }
    40% {
        transform: scale(1.2) translateY(-8px);
        opacity: 1;
    }
}

@keyframes accentSparkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.8; 
    }
    25% { 
        transform: scale(1.3) rotate(90deg); 
        opacity: 1; 
    }
    50% { 
        transform: scale(0.8) rotate(180deg); 
        opacity: 0.6; 
    }
    75% { 
        transform: scale(1.1) rotate(270deg); 
        opacity: 0.9; 
    }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}


/*** Global Button System ***/
/* Base Button Styles - Applied to all buttons */
.btn {
    font-family: 'Futura BT', Futura, 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.4;
    letter-spacing: 0.3px;
    border-radius: 6px;
    border: 2px solid transparent;
    padding: 0.5rem 1rem;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

/* Button Shimmer Effect */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* Remove Bootstrap defaults */
.btn:focus,
.btn.focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(10, 132, 199, 0.25);
}

/* Primary Button - Brand Gradient */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: var(--white) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(10, 132, 199, 0.3);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
    color: var(--white) !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 132, 199, 0.4);
}

.btn-primary:active,
.btn-primary.active {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark) 100%) !important;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(10, 132, 199, 0.3);
}

/* Secondary Button - Outline with Gradient on Hover */
.btn-secondary {
    background: transparent !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: none;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary.focus {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: var(--white) !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 132, 199, 0.3);
}

.btn-secondary:active,
.btn-secondary.active {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark) 100%) !important;
    transform: translateY(0);
}

/* Outline Primary - Consistent with Secondary */
.btn-outline-primary {
    background: transparent !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: none;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary.focus {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: var(--white) !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 132, 199, 0.3);
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #20c997 100%) !important;
    color: var(--white) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover,
.btn-success:focus {
    background: linear-gradient(135deg, #1e7e34 0%, var(--success) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Warning Button */
.btn-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #ffca2c 100%) !important;
    color: var(--dark) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover,
.btn-warning:focus {
    background: linear-gradient(135deg, #e0a800 0%, var(--warning) 100%) !important;
    color: var(--dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #e74c3c 100%) !important;
    color: var(--white) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover,
.btn-danger:focus {
    background: linear-gradient(135deg, #c82333 0%, var(--danger) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* Info Button */
.btn-info {
    background: linear-gradient(135deg, var(--info) 0%, #3498db 100%) !important;
    color: var(--white) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.btn-info:hover,
.btn-info:focus {
    background: linear-gradient(135deg, #138496 0%, var(--info) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
}

/* Light Button */
.btn-light {
    background: var(--light) !important;
    color: var(--dark) !important;
    border-color: var(--medium-gray) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-light:hover,
.btn-light:focus {
    background: var(--white) !important;
    color: var(--dark) !important; /* Ensure text stays visible */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Dark Button */
.btn-dark {
    background: linear-gradient(135deg, var(--dark) 0%, var(--black) 100%) !important;
    color: var(--white) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-dark:hover,
.btn-dark:focus {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
}

/* Button Sizes */
.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    min-height: 32px;
    border-radius: 4px;
}

.btn-lg {
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
    min-height: 44px;
    border-radius: 8px;
}

/* Button Variants */
.btn-block {
    width: 100%;
    display: flex;
}

/* Disabled State - Universal */
.btn:disabled,
.btn.disabled {
    background: var(--medium-gray) !important;
    color: var(--dark-gray) !important;
    border-color: var(--medium-gray) !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6;
}

.btn:disabled::before,
.btn.disabled::before {
    display: none;
}

.btn:disabled:hover,
.btn.disabled:hover {
    background: var(--medium-gray) !important;
    color: var(--dark-gray) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Loading State */
.btn-loading {
    pointer-events: none;
    position: relative;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: btn-loading-spin 1s linear infinite;
}

@keyframes btn-loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-loading .btn-text {
    opacity: 0;
}

/* Icon Buttons */
.btn-icon {
    min-width: 38px;
    padding: 0.5rem;
}

.btn-icon i {
    font-size: 1rem;
}

/* Button Group Spacing */
.btn-group .btn:not(:last-child) {
    margin-right: 0.5rem;
}

/* Backward Compatibility Classes */
.btn-auth-primary,
.portal-btn-primary,
.btn-add-cart {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: var(--white) !important;
    border: 2px solid transparent !important;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(10, 132, 199, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-auth-primary:hover,
.portal-btn-primary:hover,
.btn-add-cart:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 132, 199, 0.4);
    text-decoration: none;
}

.btn-auth-secondary,
.portal-btn-outline,
.btn-view-details {
    background: transparent !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-auth-secondary:hover,
.portal-btn-outline:hover,
.btn-view-details:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: var(--white) !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 132, 199, 0.3);
    text-decoration: none;
}

/* .btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: #ffffff;
    border-color: var(--secondary);
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

.btn-tag {
    color: var(--secondary);
    background: #FFFFFF;
}

.btn-tag:hover {
    color: #FFFFFF;
    background: var(--primary); 
}*/


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.navbar .nav-item:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:last-child {
    margin-right: 0;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar.fixed-top {
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid #EEEEEE;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: all 0.3s ease;
        opacity: 0;
        border: none;
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        margin-top: 8px;
        padding: 8px 0;
        min-width: 220px;
        background: #ffffff;
        backdrop-filter: blur(10px);
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: all 0.3s ease;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

.owl-carousel-inner.owl-carousel-white {
    background: rgba(255, 255, 255, .7);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(0, 0, 0, .5);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:nth-child(2),
.feature-img img:nth-child(2) {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}

.about-img .about-img-overlay {
    position: absolute;
    width: 60%;
    height: 80%;
    margin: 20% 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(255, 255, 255, .7);
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}

.service-item-2 a.btn {
    padding: 0;
}

.service-item-2:hover a.btn {
    color: var(--dark);
}

.service-item-2 a.btn::before {
    position: relative;
    display: inline-block;
    content: "";
    width: 15px;
    height: 2px;
    vertical-align: middle;
    background: var(--secondary);
    margin-right: 5px;
    transition: .5s;
}

.service-item-2:hover a.btn::before {
    width: 45px;
    background: var(--dark);
}

.service-list a {
    margin-bottom: 7px;
    padding: 12px 15px;
    transition: .5s;
}

.service-list a:last-child {
    margin-bottom: 0;
}

.service-list a:hover {
    color: var(--light) !important;
    background: var(--primary) !important;
}

.service-list a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 0;
    transition: .5s;
    opacity: 0;
}

.service-list a:hover::before {
    opacity: 1;
    margin-right: 10px;
}

.list-note {
    padding: 0;
    list-style: none;
}

.list-note li {
    position: relative;
    display: flex;
    padding-bottom: 25px;
}

.list-note li::after {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    top: 0;
    left: 20px;
    background: var(--dark);
    z-index: -1;
}

.list-note li:last-child {
    padding-bottom: 0;
}

.list-note li:last-child:after {
    display: none;
}

.list-note li span {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--dark);
    font-weight: 500;
    border: 1px solid var(--dark);
    background: #FFFFFF;
}

.list-note li p {
    margin: 0;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}

.project-items {
    margin: -.75rem;
}

.project-item {
    position: relative;
    display: block;
    padding: .75rem;
}

.project-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.project-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.project-item .project-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 100px !important;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-text {
    opacity: 1;
    padding-bottom: 20px !important;
}

.project-detail div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    padding: 12px 15px;
    transition: .5s;
}

.project-detail div:last-child {
    margin-bottom: 0;
}

.project-detail div:hover {
    color: var(--light) !important;
    background: var(--primary) !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.skill .progress {
    padding: 5px;
}

.skill .progress .progress-bar {
    width: 0px;
    transition: 2s;
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Blog ***/
.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: blur(1px);
}

.blog-meta {
    text-transform: uppercase;
}

.blog-meta a {
    color: var(--secondary);
}

.blog-meta a:hover {
    color: var(--primary);
}

.category-list a {
    margin-bottom: 7px;
    padding: 12px 15px;
    transition: .5s;
}

.category-list a:last-child {
    margin-bottom: 0;
}

.category-list a:hover {
    color: var(--light) !important;
    background: var(--primary) !important;
}

.category-list a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 0;
    transition: .5s;
    opacity: 0;
}

.category-list a:hover::before {
    opacity: 1;
    margin-right: 10px;
}

.blog-tab .nav-pills .nav-item .active {
    border-bottom: 5px solid var(--dark);
}

.blog-tab .tab-content img {
    width: 75px;
    height: 75px;
    object-fit: cover;
}

.related-carousel .owl-nav {
    position: absolute;
    width: 76px;
    top: -52px;
    right: 0;
    display: flex;
}

.related-carousel .owl-nav .owl-prev,
.related-carousel .owl-nav .owl-next {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--secondary);
    font-size: 14px;
    transition: .3s;
}

.related-carousel .owl-nav .owl-prev:hover,
.related-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Pricing ***/
.pricing .nav-link {
    padding: 10px 25px;
    font-weight: 500;
    color: var(--secondary);
    border: 1px solid var(--primary)
}

.pricing .nav-link.active {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Coming Soon ***/
.coming-soon {
    position: relative;
    padding: 0;
    background: url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.coming-soon .col-lg-6:first-child {
    background: rgba(0, 0, 0, .7);
}

.coming-soon .cdt span {
    display: block;
    font-family: 'Futura BT', Futura, 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
}

.coming-soon .form-control {
    border-color: var(--secondary);
}


/*** Client Carousel ***/
.client-carousel img {
    opacity: .7;
    transition: .5s;
}

.client-carousel img:hover {
    opacity: 1;
}


/*** Contact ***/
.contact-form .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #ffffff;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: var(--secondary);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}


.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
}
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
}
.dataTables_wrapper .dataTables_info {
    padding-top: 0.85rem;
}

/* Cart Dropdown Styles */
.cart-dropdown .cart-icon {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    color: var(--dark, #1E3A5F);
}

.cart-dropdown .cart-icon:hover {
    color: var(--primary) !important;
}

.cart-badge {
    font-size: 0.7rem;
    min-width: 1.2rem;
    height: 1.2rem;
    line-height: 1;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    margin-left: 0.25rem;
    background-color: var(--danger, #DC3545) !important;
    color: white !important;
    position: relative;
    top: -2px;
}

/* Show cart badge when it has the display: inline style */
.cart-badge[style*="display: inline"] {
    display: inline-flex !important;
    visibility: visible !important;
}

.cart-dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    background-color: white;
    min-width: 350px;
}

.cart-dropdown-header {
    background: linear-gradient(135deg, var(--primary, #0A84C7), var(--primary-dark, #1E3A5F));
    color: white !important;
    padding: 1rem;
}

.cart-dropdown-header h6 {
    color: white !important;
    margin: 0;
    font-weight: 600;
}

.cart-dropdown-items {
    padding: 0;
    background-color: white;
}

.cart-dropdown-item {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background-color 0.2s ease;
    background-color: white;
}

.cart-dropdown-item:hover {
    background-color: #f8f9fa;
}

.cart-dropdown-item:last-child {
    border-bottom: none;
}

.cart-item-image-small {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e9ecef;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    color: var(--dark, #1E3A5F) !important;
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--primary, #0A84C7) !important;
    font-weight: 600;
}

.cart-item-quantity {
    font-size: 0.8rem;
    color: var(--dark-gray, #6C757D) !important;
}

.cart-dropdown-footer {
    background-color: #f8f9fa;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.cart-dropdown-footer .d-flex span {
    color: var(--dark, #1E3A5F) !important;
}

.cart-dropdown-footer #cartDropdownTotal {
    color: var(--primary, #0A84C7) !important;
    font-weight: 700;
}

/* CRC Brand Guidelines - Cart Dropdown View Cart Button */
.cart-dropdown-footer .btn {
    background: var(--primary, #0A84C7) !important;
    color: white !important;
    border: 2px solid var(--primary, #0A84C7) !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
}

.cart-dropdown-footer .btn:hover {
    background: var(--primary-dark, #1E3A5F) !important;
    border-color: var(--primary-dark, #1E3A5F) !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(10, 132, 199, 0.25) !important;
    text-decoration: none !important;
}

.cart-dropdown-footer .btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(10, 132, 199, 0.25) !important;
}

.cart-dropdown-footer .btn i {
    color: white !important;
}

.empty-cart-message {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--dark-gray, #6C757D) !important;
    background-color: white;
}

.empty-cart-message i {
    font-size: 2rem;
    color: var(--medium-gray, #E9ECEF);
    margin-bottom: 0.5rem;
}

.cart-dropdown .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.cart-dropdown .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Prevent cart dropdown from closing when hovering */
.cart-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.empty-cart-message {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--dark-gray);
}

.empty-cart-icon {
    font-size: 2rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}


#toast-container {
    max-width: 350px;
    z-index: 9999;
}

#toast-container .toast {
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: none;
}

#toast-container .toast-header {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

#toast-container .toast-body {
    padding: 1rem;
    font-weight: 500;
}

.toast-header .btn-close-white {
    filter: brightness(0) invert(1);
}

/* Account Layout Spacing Fix */
.account-layout {
    --bs-gutter-x: 2rem; /* Force larger gutters */
}

.account-layout .col-lg-9 {
    padding-right: 2rem !important; /* Ensure right spacing */
}

.account-layout .col-lg-3 .user-sidebar {
    max-width: 100%; /* Prevent overflow */
    width: auto; /* Override the 100% width */
}

@media (max-width: 1199px) {
    .account-layout .col-lg-9 {
        padding-right: 1.5rem !important;
    }
}

/*** Global Call-to-Action Card System ***/
/* Professional CTA Cards for bottom of pages and sections */
.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin: 4rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(10, 132, 199, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.cta-card:hover::before {
    left: 100%;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 132, 199, 0.35);
}

/* CTA Card Content */
.cta-card-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-card-title {
    color: var(--white) !important;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-card-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0.95;
}

.cta-card-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

/* CTA Card Button Variants */
.cta-btn-primary {
    background: var(--white) !important;
    color: var(--primary) !important;
    border: 2px solid var(--white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-btn-primary:hover {
    background: transparent !important;
    color: var(--white) !important;
    border-color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.cta-btn-secondary {
    background: transparent !important;
    color: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
}

.cta-btn-secondary:hover {
    background: var(--white) !important;
    color: var(--primary) !important;
    border-color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* CTA Card Variants */
.cta-card-light {
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--medium-gray);
}

.cta-card-light .cta-card-title {
    color: var(--dark) !important;
}

.cta-card-light .cta-card-subtitle {
    color: var(--dark-gray) !important;
}

.cta-card-light .cta-btn-primary {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(10, 132, 199, 0.3);
}

.cta-card-light .cta-btn-primary:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    box-shadow: 0 6px 20px rgba(10, 132, 199, 0.4);
}

.cta-card-light .cta-btn-secondary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.cta-card-light .cta-btn-secondary:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

/* CTA Card with Background Pattern */
.cta-card-pattern {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-dark) 100%);
}

.cta-card-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    z-index: 1;
}

/* CTA Card Icon */
.cta-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-card-light .cta-card-icon {
    background: rgba(10, 132, 199, 0.1);
    color: var(--primary);
    border-color: rgba(10, 132, 199, 0.2);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .cta-card {
        padding: 2.5rem 1.5rem;
        margin: 3rem 0 1.5rem;
    }
    
    .cta-card-title {
        font-size: 1.75rem;
    }
    
    .cta-card-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-card-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 575.98px) {
    .cta-card {
        padding: 2rem 1rem;
        margin: 2rem 0 1rem;
        border-radius: 12px;
    }
    
    .cta-card-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-card-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .cta-card-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* CTA Card in Footer/Bottom Section */
.footer-cta-card {
    margin: 0 0 3rem;
    padding: 2.5rem 2rem;
}

@media (max-width: 767.98px) {
    .footer-cta-card {
        margin: 0 0 2rem;
        padding: 2rem 1.5rem;
    }
}

/* CTA Card Animation Classes */
.cta-card.fade-in {
    animation: ctaFadeIn 0.8s ease-out forwards;
}

@keyframes ctaFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Card Alignment Fix */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-description {
    flex-grow: 1;
    margin-bottom: 1rem;
    min-height: 3.5rem; /* Ensures consistent height for descriptions */
}

.product-price {
    margin-top: auto;
    margin-bottom: 1rem;
}

.product-link {
    margin-top: auto;
}

/* CTA Card for Privacy Policy and Legal Pages */
.legal-cta-card {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    margin: 3rem 0 0;
}

.legal-cta-card .cta-card-title {
    font-size: 1.75rem;
}

.legal-cta-card .cta-card-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}