/* QSERV Fire Safety - Animations & Component Styles */

/* ==================== LIQUID GLASS NAVIGATION ==================== */

/* GPU Acceleration for smooth animations */
.nav,
.nav-capsule,
.nav-capsule-inner {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    /* Smooth padding morphing based on scroll */
    padding:
        calc(0.75rem - (var(--scroll-progress, 0) * 0.25rem)) 1rem;
}

/* Default state - full width transparent */
.nav-capsule {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    /* Performance optimization */
    will-change: max-width, border-radius, background, box-shadow;
    /* Faster transitions for smooth fast-scrolling */
    transition:
        max-width 0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-radius 0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.15s ease,
        box-shadow 0.15s ease,
        backdrop-filter 0.15s ease;
}

.nav-capsule-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
    padding: 0 1rem;
    transition:
        height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        padding 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Liquid glass shine effect */
.nav-capsule-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.nav-capsule-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 150%;
    }
}

/* Fixed CTA Section - Outside morphing container */
.nav-cta-fixed {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 30;
    transition: all 0.3s ease;
}

.nav.scrolled .nav-cta-fixed {
    top: 50%;
    right: 1.5rem;
}

@media (max-width: 1023px) {
    .nav-cta-fixed {
        display: none;
    }
}

.nav-cta-fixed .btn {
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
    gap: 0.35rem;
}

.nav-cta-fixed .btn svg {
    width: 14px;
    height: 14px;
}

/* Scrolled state - transparent background, capsule stands alone */
.nav.scrolled {
    padding: 0.5rem 1rem;
    background: transparent;
}

/* Liquid Glass Capsule - morphs smoothly based on --scroll-progress */
.nav-capsule {
    /* Custom properties for smooth morphing */
    --capsule-width: calc(100% - (var(--scroll-progress, 0) * (100% - min(56.25rem, 95%))));
    --capsule-radius: calc(0px + (var(--scroll-progress, 0) * 9999px));
    --capsule-blur: calc(var(--scroll-progress, 0) * 20px);
    --capsule-saturate: calc(100% + (var(--scroll-progress, 0) * 80%));
    --capsule-bg: rgba(255, 255, 255, calc(0.03 * var(--scroll-progress, 0)));
    --capsule-shadow: 0 calc(4px * var(--scroll-progress, 0)) calc(30px * var(--scroll-progress, 0)) rgba(0, 0, 0, calc(0.3 * var(--scroll-progress, 0)));
    --capsule-inset: inset 0 calc(1px * var(--scroll-progress, 0)) 0 rgba(255, 255, 255, calc(0.1 * var(--scroll-progress, 0)));

    max-width: var(--capsule-width);
    background: var(--capsule-bg);
    backdrop-filter: blur(var(--capsule-blur)) saturate(var(--capsule-saturate));
    -webkit-backdrop-filter: blur(var(--capsule-blur)) saturate(var(--capsule-saturate));
    border-radius: var(--capsule-radius);
    box-shadow: var(--capsule-shadow), var(--capsule-inset);
}

.nav.scrolled .nav-capsule {
    /* Fallback for non-JS or when scrolled class is present */
    max-width: min(56.25rem, 95%);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 9999px;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Subtle background border */
.nav-capsule::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, calc(0.05 * var(--scroll-progress, 0)));
    pointer-events: none;
    opacity: var(--scroll-progress, 0);
    transition: opacity 0.3s ease;
}

.nav.scrolled .nav-capsule::after {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.05);
}

/* Premium glow effect - smooth opacity based on scroll */
.nav-capsule::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg,
            rgba(0, 188, 212, 0.4) 0%,
            transparent 25%,
            transparent 75%,
            rgba(0, 188, 212, 0.4) 100%);
    z-index: -1;
    opacity: calc(0.6 * var(--scroll-progress, 0));
    filter: blur(calc(12px * var(--scroll-progress, 0)));
    transition: opacity 0.4s ease, filter 0.4s ease;
    animation: capsuleGlow 4s ease-in-out infinite;
}

@keyframes capsuleGlow {

    0%,
    100% {
        opacity: calc(0.4 * var(--scroll-progress, 0));
    }

    50% {
        opacity: calc(0.7 * var(--scroll-progress, 0));
    }
}

.nav-capsule-shine {
    opacity: var(--scroll-progress, 0);
    transition: opacity 0.4s ease;
}

.nav.scrolled .nav-capsule-shine {
    opacity: 1;
}

/* Smooth inner morphing */
.nav-capsule-inner {
    height: calc(3.5rem - (var(--scroll-progress, 0) * 0.5rem));
    padding:
        0 calc(1rem - (var(--scroll-progress, 0) * 0.5rem)) 0 calc(1rem - (var(--scroll-progress, 0) * 0rem));
}

.nav.scrolled .nav-capsule-inner {
    height: 3rem;
    padding: 0 0.5rem 0 1rem;
}





@media (min-width: 1024px) {
    .nav {
        padding:
            calc(1rem - (var(--scroll-progress, 0) * 0.25rem)) calc(2rem - (var(--scroll-progress, 0) * 0.5rem));
    }

    .nav-capsule-inner {
        height: calc(5rem - (var(--scroll-progress, 0) * 1rem));
        padding:
            0 calc(2rem - (var(--scroll-progress, 0) * 1rem)) 0 calc(2rem - (var(--scroll-progress, 0) * 0.5rem));
    }

    .nav.scrolled {
        padding: 0.75rem 1.5rem;
    }

    .nav.scrolled .nav-capsule-inner {
        height: 4rem;
        padding: 0 1rem 0 1.5rem;
    }

    .nav-capsule {
        --capsule-max: calc(100% - (var(--scroll-progress, 0) * (100% - min(62.5rem, 90%))));
        max-width: var(--capsule-max);
    }

    .nav.scrolled .nav-capsule {
        max-width: 62.5rem;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-logo-img {
    height: calc(2rem - (var(--scroll-progress, 0) * 0.25rem));
    width: auto;
    transition: transform 0.3s ease;
}

@media (min-width: 1024px) {
    .nav-logo-img {
        height: calc(2.5rem - (var(--scroll-progress, 0) * 0.5rem));
    }
}

/* Capsule mode - smaller logo */
.nav.scrolled .nav-logo-img {
    height: 1.75rem;
}

@media (min-width: 1024px) {
    .nav.scrolled .nav-logo-img {
        height: 2rem;
    }
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.footer-logo-img {
    height: 2.5rem;
}

@media (min-width: 1024px) {
    .footer-logo-img {
        height: 3rem;
    }
}

.nav-logo-icon {
    width: 2.25rem;
    height: 2.25rem;
    background: var(--safety-orange);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

@media (min-width: 1024px) {
    .nav-logo-icon {
        width: 2.75rem;
        height: 2.75rem;
    }
}

.nav-logo:hover .nav-logo-icon {
    transform: scale(1.1) rotate(3deg);
}

.nav-logo-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
}

@media (min-width: 1024px) {
    .nav-logo-text {
        font-size: 1.25rem;
    }
}

.nav-links {
    display: none;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

/* Capsule mode - more compact links */
.nav.scrolled .nav-links {
    gap: 1.25rem;
}

.nav-link {
    position: relative;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--safety-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Smooth link transitions */
.nav-link {
    transition:
        color 0.3s ease,
        background 0.3s ease,
        padding 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-radius 0.3s ease,
        font-size 0.3s ease;
    font-size: calc(0.875rem - (var(--scroll-progress, 0) * 0.0625rem));
    padding:
        calc(0.5rem - (var(--scroll-progress, 0) * 0.125rem)) calc(0rem + (var(--scroll-progress, 0) * 0.75rem));
    border-radius: calc(var(--scroll-progress, 0) * 9999px);
}

.nav-link::after {
    opacity: calc(1 - var(--scroll-progress, 0));
    transition: opacity 0.3s ease;
}

/* Capsule mode - hide underline animation for cleaner look */
.nav.scrolled .nav-link::after {
    display: none;
}

.nav.scrolled .nav-link {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
}

.nav.scrolled .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.nav-cta {
    display: none;
    align-items: center;
    gap: 1rem;
    margin-right: 8rem;
    /* Space for fixed CTA button */
}

@media (min-width: 1024px) {
    .nav-cta {
        display: flex;
    }

    .nav.scrolled .nav-cta {
        margin-right: 7rem;
        /* Adjusted for scrolled state */
    }
}

/* Smooth CTA transitions */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    transition:
        color 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
    opacity: calc(1 - var(--scroll-progress, 0));
    transform: translateX(calc(var(--scroll-progress, 0) * -10px));
}

.nav-phone:hover {
    color: white;
}

/* Capsule mode - hide phone number */
.nav.scrolled .nav-phone {
    display: none;
}

/* CTA button smooth scaling */
.nav-cta .btn {
    transition:
        padding 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        font-size 0.3s ease,
        transform 0.3s ease;
    transform: scale(calc(1 - (var(--scroll-progress, 0) * 0.05)));
}

.nav.scrolled .nav-cta .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Smooth mobile toggle morphing */
.nav-toggle {
    width: calc(2.5rem - (var(--scroll-progress, 0) * 0.25rem));
    height: calc(2.5rem - (var(--scroll-progress, 0) * 0.25rem));
    border-radius: calc(0.5rem - (var(--scroll-progress, 0) * (0.5rem - 50%)));
    background: rgba(255, 255, 255, calc(0.05 * var(--scroll-progress, 0)));
    transition:
        width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-radius 0.3s ease,
        background 0.3s ease;
}

/* Capsule mode - circular toggle */
.nav.scrolled .nav-toggle {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.nav.scrolled .nav-toggle:hover {
    background: rgba(0, 188, 212, 0.2);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    border: none;
    padding: 0;
    margin: 0;
}

.mobile-menu::backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.mobile-menu-content {
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    background: #000;
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-6);
    transition: top 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Body class for scrolled state - easier targeting */
body.header-scrolled .mobile-menu-content {
    top: 4.5rem;
}

@media (min-width: 1024px) {
    .mobile-menu-content {
        top: 7rem;
    }

    body.header-scrolled .mobile-menu-content {
        top: 5.5rem;
    }
}

.mobile-nav-link {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--space-2);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--safety-orange);
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile Menu Theme Toggle */
.mobile-menu-theme-toggle {
    display: flex;
    justify-content: center;
    padding: var(--space-3) 0;
    margin-top: var(--space-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-theme-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.85rem;
    font-family: inherit;
}

.mobile-menu-theme-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 188, 212, 0.3);
    color: #fff;
}

.mobile-theme-label {
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Light mode mobile menu theme toggle */
body.light-mode .mobile-menu-theme-toggle {
    border-top-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .mobile-menu-theme-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #334155;
}

body.light-mode .mobile-menu-theme-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 188, 212, 0.3);
    color: #1e293b;
}

.mobile-menu-buttons {
    margin-top: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.mobile-menu-buttons .btn {
    justify-content: center;
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 2rem;
    /* Space for fixed header and trust badges */
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 7rem;
        padding-bottom: 2rem;
        /* Reduced top padding, added bottom padding */
        min-height: auto;
        height: auto;
    }

    .hero-content {
        padding: 1rem 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        min-height: auto;
    }

    /* Badge - keep compact */
    .hero-content .badge {
        display: inline-flex;
        flex-shrink: 0;
        width: auto;
        align-self: flex-start;
    }

    /* Scale down title to fit */
    .hero-title {
        font-size: 3rem;
        margin-bottom: 0.5rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .hero-body {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        max-width: 34rem;
        line-height: 1.6;
    }

    .hero-cta {
        margin-bottom: 1rem;
    }

    /* Trust badges */
    .hero-trust {
        margin-top: 1rem;
        margin-bottom: 0;
    }
}

/* Scaled display fix: 150% scaling on 1920px = ~1280px viewport */
@media (min-width: 1024px) and (max-width: 1439px) {
    .hero {
        padding-top: 6rem;
        padding-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2.75rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .hero-body {
        font-size: 0.875rem;
        margin-bottom: 1rem;
        max-width: 30rem;
    }

    .hero-content .badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.625rem;
    }

    .hero-trust-item {
        padding: 0.5rem;
    }

    .hero-trust-icon {
        width: 1.75rem;
        height: 1.75rem;
    }

    .hero-trust-text {
        font-size: 0.625rem;
    }

    .hero-cta {
        margin-bottom: 1rem;
    }

    .hero-trust {
        margin-top: 1rem;
    }
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease-out;
}

.hero-slide.active img {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.7), transparent);
    z-index: 5;
}

.hero-overlay-top {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent, rgba(0, 0, 0, 0.5));
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    padding: var(--space-6) 0;
}

.hero-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.25rem;
        margin-bottom: 0.75rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Oswald', sans-serif;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
}

.hero-body {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 36rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .hero-body {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 34rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-cta {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .hero-trust {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
        padding-bottom: 1rem;
    }
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .hero-trust-item {
        gap: 0.75rem;
        padding: 0.75rem;
    }
}

.hero-trust-item:hover {
    border-color: rgba(0, 188, 212, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.hero-trust-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(0, 188, 212, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .hero-trust-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.hero-trust-text {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    line-height: 1.3;
}

/* Badge Spacing Fix */
.hero-content .badge {
    margin-bottom: var(--space-4);
    display: inline-flex;
}

@media (min-width: 1024px) {
    .hero-trust-text {
        font-size: 0.75rem;
    }

    .hero-content .badge {
        margin-bottom: var(--space-6);
    }
}

/* Slider Navigation - Hidden by default, shown on desktop */
.slider-nav {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

@media (min-width: 1024px) {
    .slider-nav {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .slider-nav {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.slider-nav:hover {
    background: var(--safety-orange);
}

.slider-nav.prev {
    left: 0.5rem;
}

.slider-nav.next {
    right: 0.5rem;
}

@media (min-width: 1024px) {
    .slider-nav.prev {
        left: 1.5rem;
    }

    .slider-nav.next {
        right: 1.5rem;
    }
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
}

.slider-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.slider-dot.active {
    width: 0.75rem;
    background: #00bcd4;
    border-color: #00bcd4;
    box-shadow:
        0 0 0 0.25rem rgba(0, 188, 212, 0.2),
        0 0 15px rgba(0, 188, 212, 0.4);
    transform: scale(1.2);
}

.slider-dot.active::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: #008ba3;
    opacity: 0.3;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

@media (min-width: 1024px) {
    .slider-dots {
        gap: 1rem;
        padding: 1rem 1.5rem;
    }

    .slider-dot {
        width: 0.875rem;
        height: 0.875rem;
    }

    .slider-dot.active {
        transform: scale(1.3);
    }
}

/* Hero Slide Info Card */
.hero-slide-info {
    display: none;
    position: absolute;
    z-index: 20;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--space-2);
    padding: var(--space-3) var(--space-4);
    transition: all 0.5s ease;
}

@media (max-width: 1023px) {
    .hero-slide-info {
        /* Hidden on mobile */
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .hero-slide-info {
        display: block;
        top: auto;
        bottom: 6rem;
        right: var(--space-12);
        padding: var(--space-4) var(--space-6);
        border-radius: var(--space-3);
        max-width: none;
    }
}

.hero-slide-info-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

@media (min-width: 1024px) {
    .hero-slide-info-label {
        font-size: 0.75rem;
    }
}

.hero-slide-info-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 0.125rem;
}

@media (min-width: 1024px) {
    .hero-slide-info-title {
        font-size: 1.125rem;
    }
}

.hero-slide-info-subtitle {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 1024px) {
    .hero-slide-info-subtitle {
        font-size: 0.75rem;
    }
}

/* ==================== MARQUEE ==================== */
.marquee-section {
    padding: var(--space-6) 0;
    overflow: hidden;
    position: relative;
}

.marquee-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
    margin-bottom: var(--space-4);
}

@media (min-width: 1024px) {
    .marquee-label {
        font-size: 0.875rem;
        margin-bottom: var(--space-5);
    }
}

.marquee-track {
    display: flex;
    gap: var(--space-3);
    width: max-content;
    animation: marquee 30s linear infinite;
    margin-left: 0;
}

@media (min-width: 1024px) {
    .marquee-track {
        gap: var(--space-6);
        margin-left: 0;
    }
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    white-space: nowrap;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.marquee-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.marquee-item img {
    height: 40px;
    width: auto;
    object-fit: contain;
    /* filter: brightness(0) invert(1); Removed to show original colors */
    transition: all 0.3s ease;
}

.marquee-item:hover img {
    transform: scale(1.1);
}

@media (min-width: 1024px) {
    .marquee-item {
        padding: 0 2rem;
    }

    .marquee-item img {
        height: 60px;
    }
}

.marquee-fade-left,
.marquee-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5rem;
    z-index: 5;
    pointer-events: none;
}

@media (min-width: 1024px) {

    .marquee-fade-left,
    .marquee-fade-right {
        width: 10rem;
    }
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, #000, transparent);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, #000, transparent);
}

/* Light Mode: Remove marquee fades */
body.light-mode .marquee-fade-left,
body.light-mode .marquee-fade-right {
    display: none !important;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==================== SERVICE CARDS ==================== */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    border-color: rgba(0, 188, 212, 0.4);
}

.service-card-image {
    position: relative;
    height: 10rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .service-card-image {
        height: 12rem;
    }
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000, rgba(0, 0, 0, 0.5), transparent);
}

.service-card-icon {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
}

@media (min-width: 1024px) {
    .service-card-icon {
        width: 3rem;
        height: 3rem;
    }
}

.service-card:hover .service-card-icon {
    background: var(--safety-orange);
    border-color: var(--safety-orange);
}

.service-card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--safety-orange);
    transition: color 0.3s ease;
}

@media (min-width: 1024px) {
    .service-card-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

.service-card:hover .service-card-icon svg {
    color: white;
}

.service-card-content {
    padding: var(--space-5) var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 1.125rem;
    margin-bottom: var(--space-2);
    transition: color 0.3s ease;
    line-height: 1.3;
}

@media (min-width: 1024px) {
    .service-card-title {
        font-size: 1.25rem;
        margin-bottom: var(--space-3);
    }
}

.service-card:hover .service-card-title {
    color: var(--safety-orange);
}

.service-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .service-card-desc {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

.service-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.service-card-feature {
    padding: var(--space-1) var(--space-2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 1024px) {
    .service-card-feature {
        font-size: 0.75rem;
    }
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: auto;
    color: var(--safety-orange);
    transition: color 0.3s ease;
}

.service-card-link:hover {
    color: white;
}

.service-card-link svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.service-card-link:hover svg {
    transform: translateX(0.25rem);
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-wrapper {
    max-width: 56rem;
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    padding: var(--space-6);
    border-radius: var(--space-6);
    min-height: auto;
}

@media (min-width: 1024px) {
    .testimonial-card {
        padding: var(--space-12);
        min-height: auto;
    }
}

.testimonial-quote-icon {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 188, 212, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

@media (min-width: 1024px) {
    .testimonial-quote-icon {
        top: var(--space-8);
        left: var(--space-8);
        width: 3.5rem;
        height: 3.5rem;
    }
}

.testimonial-stars {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
    padding-top: calc(2.5rem + var(--space-6));
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .testimonial-stars {
        padding-top: 0;
        margin-bottom: var(--space-6);
        margin-left: 5rem;
    }
}

.testimonial-stars svg {
    width: 1rem;
    height: 1rem;
    fill: var(--safety-orange);
    color: var(--safety-orange);
}

@media (min-width: 1024px) {
    .testimonial-stars svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.testimonial-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: var(--space-6);
}

@media (min-width: 1024px) {
    .testimonial-text {
        font-size: 1.5rem;
        margin-bottom: var(--space-8);
    }
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

@media (min-width: 1024px) {
    .testimonial-author {
        gap: var(--space-4);
    }
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 188, 212, 0.3);
}

@media (min-width: 1024px) {
    .testimonial-avatar {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
}

@media (min-width: 1024px) {
    .testimonial-name {
        font-size: 1rem;
    }
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (min-width: 1024px) {
    .testimonial-role {
        font-size: 0.875rem;
    }
}

.testimonial-company {
    font-size: 0.75rem;
    color: var(--safety-orange);
}

@media (min-width: 1024px) {
    .testimonial-company {
        font-size: 0.875rem;
    }
}

/* ==================== FAQ ACCORDION ==================== */
.faq-container {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    border-radius: var(--space-3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: rgba(0, 188, 212, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    text-align: left;
    transition: background 0.3s ease;
}

@media (min-width: 1024px) {
    .faq-question {
        padding: var(--space-5);
    }
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-right: var(--space-4);
}

@media (min-width: 1024px) {
    .faq-question-content {
        gap: var(--space-4);
    }
}

.faq-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 188, 212, 0.2);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .faq-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.faq-item.active .faq-icon {
    background: var(--safety-orange);
}

.faq-icon svg {
    width: 1rem;
    height: 1rem;
    color: var(--safety-orange);
    transition: color 0.3s ease;
}

@media (min-width: 1024px) {
    .faq-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.faq-item.active .faq-icon svg {
    color: white;
}

.faq-question-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

@media (min-width: 1024px) {
    .faq-question-text {
        font-size: 1rem;
    }
}

.faq-item.active .faq-question-text {
    color: var(--safety-orange);
}

.faq-chevron {
    width: 1.25rem;
    height: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 var(--space-5) var(--space-4);
    padding-left: 3.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .faq-answer-content {
        padding-left: 4.5rem;
        font-size: 1rem;
    }
}

.faq-cta {
    text-align: center;
    margin-top: var(--space-8);
}

/* ==================== WHATSAPP BUTTON ==================== */
.whatsapp-btn {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #25D366;
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    transform: translateY(5rem);
    opacity: 0;
    transition: all 0.5s ease;
}

@media (min-width: 1024px) {
    .whatsapp-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.875rem 1.25rem;
        gap: 0.75rem;
    }
}

.whatsapp-btn.visible {
    transform: translateY(0);
    opacity: 1;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

.whatsapp-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

@media (min-width: 1024px) {
    .whatsapp-btn svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

.whatsapp-btn span {
    display: none;
}

@media (min-width: 640px) {
    .whatsapp-btn span {
        display: inline;
        font-size: 0.875rem;
    }
}

@media (min-width: 1024px) {
    .whatsapp-btn span {
        font-size: 1rem;
    }
}

/* ==================== PROCESS TIMELINE ==================== */
.process-timeline {
    position: relative;
    max-width: 56rem;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 1.25rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-subtle);
}

@media (min-width: 1024px) {
    .process-line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.process-step {
    position: relative;
    padding-left: 3.5rem;
    padding-bottom: var(--space-8);
}

.process-step:last-child {
    padding-bottom: 0;
}

@media (min-width: 1024px) {
    .process-step {
        padding-left: 0;
        padding-bottom: var(--space-12);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
    }

    .process-step:last-child {
        padding-bottom: 0;
    }

    .process-step:nth-child(even) .process-content {
        grid-column: 2;
        text-align: left;
    }

    .process-step:nth-child(odd) .process-content {
        text-align: right;
    }
}

.process-dot {
    position: absolute;
    left: 0.75rem;
    top: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    z-index: 5;
}

@media (min-width: 1024px) {
    .process-dot {
        left: 50%;
        transform: translateX(-50%);
        top: 1.5rem;
    }
}

.process-content {
    padding: var(--space-5);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--space-4);
    transition: all 0.5s ease;
}

@media (min-width: 1024px) {
    .process-content {
        padding: var(--space-6);
    }
}

.process-content:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 188, 212, 0.3);
}

.process-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

@media (min-width: 1024px) {
    .process-step:nth-child(odd) .process-header {
        flex-direction: row-reverse;
    }
}

.process-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

@media (min-width: 1024px) {
    .process-icon {
        width: 4rem;
        height: 4rem;
    }
}

.process-content:hover .process-icon {
    transform: scale(1.1);
}

.process-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    transition: color 0.5s ease;
}

@media (min-width: 1024px) {
    .process-number {
        font-size: 3rem;
    }
}

.process-content:hover .process-number {
    color: rgba(0, 188, 212, 0.2);
}

.process-title {
    font-size: 1.125rem;
    margin-bottom: var(--space-2);
    transition: color 0.3s ease;
    line-height: 1.3;
}

@media (min-width: 1024px) {
    .process-title {
        font-size: 1.25rem;
        margin-bottom: var(--space-3);
    }
}

.process-content:hover .process-title {
    color: var(--safety-orange);
}

.process-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    transition: color 0.3s ease;
}

@media (min-width: 1024px) {
    .process-desc {
        font-size: 1rem;
    }
}

.process-content:hover .process-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== BIDIRECTIONAL SCROLL ANIMATIONS ==================== */
.process-animate {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-animate[data-step="1"] {
    transition-delay: 0s;
}

.process-animate[data-step="2"] {
    transition-delay: 0.1s;
}

.process-animate[data-step="3"] {
    transition-delay: 0.2s;
}

.process-animate[data-step="4"] {
    transition-delay: 0.3s;
}

.process-animate[data-step="5"] {
    transition-delay: 0.4s;
}

/* Opening animation (scrolling down) */
.process-animate.open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Closing animation (scrolling up) */
.process-animate.closing {
    opacity: 0;
    transform: translateY(-30px) scale(0.98);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 1, 1),
        transform 0.5s cubic-bezier(0.4, 0, 1, 1);
}

.process-animate.closing[data-step="5"] {
    transition-delay: 0s;
}

.process-animate.closing[data-step="4"] {
    transition-delay: 0.05s;
}

.process-animate.closing[data-step="3"] {
    transition-delay: 0.1s;
}

.process-animate.closing[data-step="2"] {
    transition-delay: 0.15s;
}

.process-animate.closing[data-step="1"] {
    transition-delay: 0.2s;
}

/* Dot animation */
.process-animate .process-dot {
    transform: scale(0) translateX(-50%);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 1023px) {
    .process-animate .process-dot {
        transform: scale(0);
    }
}

.process-animate.open .process-dot {
    transform: scale(1) translateX(-50%);
}

@media (max-width: 1023px) {
    .process-animate.open .process-dot {
        transform: scale(1);
    }
}

.process-animate.closing .process-dot {
    transform: scale(0) translateX(-50%);
}

@media (max-width: 1023px) {
    .process-animate.closing .process-dot {
        transform: scale(0);
    }
}

.process-trust {
    text-align: center;
    margin-top: var(--space-8);
}

.process-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--space-4);
}

/* ==================== PACKAGES ==================== */
.package-grid {
    gap: var(--space-5);
}

@media (min-width: 1024px) {
    .package-grid {
        gap: var(--space-6);
    }
}

.package-card {
    position: relative;
    padding: var(--space-5);
    border-radius: var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: all 0.5s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .package-card {
        padding: var(--space-6);
    }
}

.package-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.package-card.featured {
    background: linear-gradient(to bottom, rgba(0, 188, 212, 0.2), rgba(0, 188, 212, 0.1), transparent);
    border: 2px solid rgba(0, 188, 212, 0.5);
    padding-top: var(--space-8);
}

@media (min-width: 1024px) {
    .package-card.featured {
        margin-top: -0.5rem;
        margin-bottom: -0.5rem;
        padding-top: calc(var(--space-6) + 1.5rem);
    }
}

.package-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.375rem;
    background: var(--safety-orange);
    color: white;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.package-card.featured .package-icon {
    background: var(--safety-orange);
}

.package-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.package-name {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 1024px) {
    .package-name {
        font-size: 1.25rem;
    }
}

.package-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.package-price {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--safety-orange);
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .package-price {
        font-size: 1.875rem;
    }
}

.package-price span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.package-features {
    margin-bottom: var(--space-6);
    flex: 1;
}

.package-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.package-feature:last-child {
    margin-bottom: 0;
}

.package-feature-check {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    flex-shrink: 0;
}

.package-card.featured .package-feature-check {
    background: var(--safety-orange);
}

.package-feature-check svg {
    width: 0.625rem;
    height: 0.625rem;
    color: white;
}

.package-feature span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

@media (min-width: 1024px) {
    .package-feature span {
        font-size: 0.875rem;
    }
}

.package-cta {
    width: 100%;
    margin-top: auto;
}

.packages-bottom-cta {
    text-align: center;
    margin-top: var(--space-8);
}

.packages-bottom-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .packages-bottom-buttons {
        flex-direction: row;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    position: relative;
    background: #000000;
}

.footer-top-btn {
    position: absolute;
    top: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: var(--safety-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
}

.footer-top-btn:hover {
    background: var(--safety-dark);
    box-shadow: 0 0 40px rgba(0, 188, 212, 0.4);
}

.footer-top-btn:hover svg {
    transform: translateY(-2px);
}

.footer-top-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.footer-content {
    padding-top: var(--space-16);
    padding-bottom: var(--space-6);
}

/* Footer Grid - Proper Alignment */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.75fr 1fr 1fr 1fr;
        gap: var(--space-12);
        align-items: start;
    }
}

/* All footer columns should align to top */
.footer-grid>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 640px) {
    .footer-grid>div {
        align-items: flex-start;
    }
}

/* Brand Column */
.footer-brand-col {
    align-items: center;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .footer-brand-col {
        align-items: flex-start;
        gap: var(--space-4);
    }
}

.footer-logo-link {
    display: inline-flex;
    margin-bottom: 0;
}

.footer-brand-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    max-width: 22rem;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-brand-text {
        text-align: left;
    }
}

/* Contact List */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
    width: 100%;
    margin: 0;
}

@media (min-width: 640px) {
    .footer-contact-list {
        align-items: flex-start;
    }
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.3s ease;
    text-decoration: none;
    text-align: left;
    line-height: 1.5;
}

.footer-contact-item:hover {
    color: var(--safety-orange);
}

.footer-contact-icon {
    width: 2rem;
    height: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    background: rgba(0, 188, 212, 0.2);
}

.footer-contact-icon svg {
    width: 1rem;
    height: 1rem;
}

/* Footer Headings - Aligned with content */
.footer-heading {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 var(--space-4) 0;
    color: var(--text-white);
    text-align: center;
}

@media (min-width: 640px) {
    .footer-heading {
        text-align: left;
    }
}

/* Footer Links - Proper alignment */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    align-items: center;
    margin: 0;
    padding: 0;
}

@media (min-width: 640px) {
    .footer-links {
        align-items: flex-start;
    }
}

.footer-link {
    display: block;
    padding: var(--space-1) 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--safety-orange);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-5) 0;
}

/* Footer Bottom - Proper Alignment */
.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: var(--space-6);
    }
}

@media (min-width: 1024px) {
    .footer-bottom-content {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: var(--space-8);
    }
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
    opacity: 0.7;
    order: 3;
}

@media (min-width: 768px) {
    .footer-copyright {
        order: 3;
    }
}

@media (min-width: 1024px) {
    .footer-copyright {
        font-size: 0.875rem;
        order: 1;
        text-align: left;
        flex: 1;
    }
}

.footer-social {
    display: flex;
    gap: var(--space-3);
    order: 1;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-social {
        order: 1;
    }
}

@media (min-width: 1024px) {
    .footer-social {
        order: 2;
    }
}

.footer-social-link {
    width: 2.25rem;
    height: 2.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
}

@media (min-width: 1024px) {
    .footer-social-link {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.footer-social-link:hover {
    background: var(--safety-orange);
    border-color: var(--safety-orange);
    color: white;
}

.footer-social-link svg {
    width: 1rem;
    height: 1rem;
}

@media (min-width: 1024px) {
    .footer-social-link svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.footer-legal {
    display: flex;
    gap: var(--space-4);
    order: 2;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-legal {
        order: 2;
    }
}

@media (min-width: 1024px) {
    .footer-legal {
        gap: var(--space-6);
        order: 3;
    }
}

.footer-legal a {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
    text-decoration: none;
    opacity: 0.7;
}

@media (min-width: 1024px) {
    .footer-legal a {
        font-size: 0.875rem;
    }
}

.footer-legal a:hover {
    color: var(--text-white);
    opacity: 1;
}

.footer-developer {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    order: 4;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .footer-developer {
        order: 4;
    }
}

@media (min-width: 1024px) {
    .footer-developer {
        font-size: 0.875rem;
        order: 4;
    }
}

.footer-developer-link {
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.footer-developer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-developer-link:hover {
    color: var(--primary-light);
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.footer-developer-link:hover::after {
    width: 100%;
}

/* ==================== COUNTERS ==================== */
.counter {
    font-variant-numeric: tabular-nums;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background: linear-gradient(to bottom, #000, rgba(255, 79, 17, 0.05), #000);
}

.contact-wrapper {
    max-width: 72rem;
    margin: 0 auto;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    text-align: left;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-10);
    }
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    align-items: center;
    text-align: center;
}

@media (min-width: 1024px) {
    .contact-content {
        align-items: flex-start;
        text-align: left;
        gap: var(--space-8);
    }
}

.contact-description {
    max-width: 32rem;
    margin-bottom: 0;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
    max-width: 24rem;
}

@media (min-width: 1024px) {
    .contact-info-list {
        max-width: none;
    }
}

.contact-info-item {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.15);
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.contact-info-label {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-info-value {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

@media (min-width: 1024px) {
    .contact-info-value {
        font-size: 1rem;
    }
}

.contact-ctas {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
    max-width: 24rem;
}

@media (min-width: 640px) {
    .contact-ctas {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .contact-ctas {
        max-width: none;
    }
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    justify-content: center;
}

.btn-whatsapp:hover {
    background: #128C7E;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-form {
    padding: var(--space-6);
    border-radius: var(--space-6);
    height: 100%;
}

@media (min-width: 1024px) {
    .contact-form {
        padding: var(--space-8);
    }
}

.contact-form-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: white;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.form-row .form-group {
    margin-bottom: 0;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.contact-form-note {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: var(--space-4);
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    position: relative;
    padding: var(--space-12) 0;
    overflow: hidden;
    background-color: transparent;
}

@media (min-width: 640px) {
    .about-section {
        padding: var(--space-16) 0;
    }
}

@media (min-width: 1024px) {
    .about-section {
        padding: var(--space-16) 0;
    }
}

.absolute-bg {
    position: absolute;
    left: -10%;
    right: -10%;
    top: 0;
    bottom: 0;
    /* Replaced orange with Cyan/Glass gradient */
    background: linear-gradient(to bottom, transparent, rgba(0, 188, 212, 0.05), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Mobile center alignment */
.about-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-content .section-title {
    text-align: center;
}

.about-content .text-muted {
    text-align: center;
}

.about-features-grid {
    justify-content: center;
}

.about-badge {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .about-grid {
        gap: var(--space-10);
    }
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-10);
        align-items: stretch;
        max-width: 75rem;
        margin: 0 auto;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        max-width: 35rem;
        margin-left: auto;
        justify-content: center;
        text-align: left;
        align-items: flex-start;
    }

    .about-content .section-title {
        text-align: left;
    }

    .about-content .text-muted {
        text-align: left;
    }

    .about-features-grid {
        justify-content: flex-start;
    }

    .about-badge {
        margin-left: 0;
        margin-right: 0;
    }

    .about-image-wrapper {
        max-width: 35rem;
        margin-right: auto;
        display: flex;
        align-items: stretch;
        height: 100%;
    }

    .about-image-container {
        aspect-ratio: auto;
        max-height: none;
        height: 100%;
        width: 100%;
        flex: 1;
    }

    .about-image {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

/* Image Wrapper */
.about-image-wrapper {
    position: relative;
}

.image-overlay-gradient-2 {
    position: absolute;
    inset: 0;
    /* Replaced orange */
    background: linear-gradient(to right, rgba(0, 188, 212, 0.1), transparent);
}

/* Content */
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    /* Cyan Glass Style */
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    color: var(--safety-orange);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 1024px) {
    .about-badge {
        margin-bottom: 1.5rem;
    }
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon-circle {
    width: 1.25rem;
    height: 1.25rem;
    /* Cyan background */
    background: rgba(0, 188, 212, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--safety-orange);
}

.feature-item span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 1024px) {
    .feature-item span {
        font-size: 0.875rem;
    }
}

/* Industries Tags */
.text-uppercase-xs {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

.industries-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.industry-tag {
    padding: 0.25rem 0.625rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.industry-tag:hover {
    background: rgba(0, 188, 212, 0.1);
    border-color: rgba(0, 188, 212, 0.3);
    color: var(--safety-orange);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    /* Stack vertically on mobile for capsules, or keep grid? keeping grid but adjusting columns */
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Keep 3 columns or maybe auto-fit? 3 columns is fine */
        gap: 1rem;
    }
}

.stat-card {
    position: relative;
    padding: 0.5rem 0.75rem;
    /* Compact padding */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    /* Capsule shape */
    transition: all 0.5s ease;
    display: flex;
    /* Flex row */
    align-items: center;
    gap: 0.75rem;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 188, 212, 0.3);
}

.stat-icon-box {
    width: 2rem;
    /* Smaller icon box */
    height: 2rem;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 50%;
    /* Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--safety-orange);
    transition: all 0.3s ease;
    margin-bottom: 0;
    /* Remove bottom margin */
    flex-shrink: 0;
}

.stat-card:hover .stat-icon-box {
    transform: scale(1.1);
    background: rgba(0, 188, 212, 0.2);
}

.stat-content {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.stat-value {
    font-family: 'Oswald', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--safety-orange);
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .stat-value {
        font-size: 1.25rem;
    }
}

.stat-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

/* ==================== HEADER PREMIUM STYLES ==================== */
.btn-premium {
    background: linear-gradient(135deg, var(--safety-orange), #0097a7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-cta .btn-premium {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-premium:hover {
    background: linear-gradient(135deg, #4dd0e1, #00bcd4);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.6);
    transform: translateY(-2px);
}

.btn-premium:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
}

/* ==================== WHATSAPP BUTTON ==================== */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.whatsapp-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* About Features Grid */
.about-features-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
}

@media (min-width: 640px) {
    .about-features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
        align-items: start;
    }
}

@media (min-width: 1024px) {
    .about-features-grid {
        gap: var(--space-4);
        align-items: start;
    }
}

/* Feature Item */
.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    justify-content: center;
    text-align: left;
    width: 100%;
}

@media (min-width: 640px) {
    .feature-item {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .feature-item {
        justify-content: flex-start;
    }
}

.feature-icon-circle {
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(0, 188, 212, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-circle svg {
    width: 0.75rem;
    height: 0.75rem;
    color: var(--safety-orange);
}

/* Industries Tags */
.text-uppercase-xs {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

.industries-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

@media (min-width: 1024px) {
    .industries-tags {
        justify-content: flex-start;
    }
}

.industry-tag {
    padding: var(--space-2) var(--space-3);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--space-2);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.industry-tag:hover {
    background: rgba(0, 188, 212, 0.1);
    border-color: rgba(0, 188, 212, 0.3);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    justify-items: center;
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
        justify-items: stretch;
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        gap: var(--space-5);
    }
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--space-3);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 20rem;
}

@media (min-width: 640px) {
    .stat-card {
        max-width: none;
        width: auto;
    }
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 188, 212, 0.2);
}

.stat-icon-box {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 188, 212, 0.1);
    border-radius: var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-box svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--safety-orange);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--safety-orange);
    line-height: 1;
}

@media (min-width: 1024px) {
    .stat-value {
        font-size: 1.75rem;
    }
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

@media (min-width: 1024px) {
    .stat-label {
        font-size: 0.875rem;
    }
}

/* About Badge */
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: var(--space-4);
}

@media (min-width: 1024px) {
    .about-badge {
        margin-bottom: var(--space-5);
    }
}

.about-badge svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* About Image */
.about-image-wrapper {
    position: relative;
}

.about-image-container {
    position: relative;
    border-radius: var(--space-4);
    overflow: hidden;
    aspect-ratio: 4/3;
}

@media (max-width: 1023px) {
    .about-image-container {
        max-height: 400px;
    }
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay-gradient-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%);
    pointer-events: none;
}

.image-overlay-gradient-2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), transparent 50%);
    pointer-events: none;
}

.floating-badge {
    position: absolute;
    bottom: var(--space-4);
    left: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--space-3);
}

.floating-badge-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-1);
}

.floating-badge-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--safety-orange);
}

/* Slider dots for testimonials */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: var(--space-6);
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
}

/* Testimonial dots - inherit slider-dot styling but with testimonial-specific adjustments */
.testimonial-dots .slider-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.testimonial-dots .slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.testimonial-dots .slider-dot.active {
    background: #00bcd4;
    border-color: #00bcd4;
    box-shadow:
        0 0 0 0.25rem rgba(0, 188, 212, 0.2),
        0 0 15px rgba(0, 188, 212, 0.4);
    transform: scale(1.2);
}

.testimonial-dots .slider-dot.active::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: #008ba3;
    opacity: 0.3;
    animation: dotPulse 2s ease-in-out infinite;
}

@media (min-width: 1024px) {
    .testimonial-dots {
        gap: 1rem;
        padding: 1rem 1.5rem;
    }

    .testimonial-dots .slider-dot {
        width: 0.875rem;
        height: 0.875rem;
    }

    .testimonial-dots .slider-dot.active {
        transform: scale(1.3);
    }
}

/* Testimonial Navigation */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.testimonial-nav.prev {
    left: -0.5rem;
}

.testimonial-nav.next {
    right: -0.5rem;
}

@media (min-width: 1024px) {
    .testimonial-nav.prev {
        left: -1rem;
    }

    .testimonial-nav.next {
        right: -1rem;
    }
}


/* ==================== NAVIGATION DROPDOWN MENU ==================== */

.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 280px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 188, 212, 0.15);
    border-radius: 1rem;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
    z-index: 100;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 188, 212, 0.05);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown arrow pointer */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(10, 10, 15, 0.95);
    border-top: 1px solid rgba(0, 188, 212, 0.15);
    border-left: 1px solid rgba(0, 188, 212, 0.15);
}

.dropdown-group {
    margin-bottom: 1rem;
}

.dropdown-group:last-child {
    margin-bottom: 0;
}

.dropdown-header {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 188, 212, 0.8);
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.dropdown-link:hover {
    background: rgba(0, 188, 212, 0.1);
    color: #fff;
    padding-left: 1rem;
}

/* Mobile dropdown adjustments */
@media (max-width: 1023px) {
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: none;
        margin-top: 0.5rem;
        min-width: auto;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu::before {
        display: none;
    }
}


/* ==================== MOBILE DROPDOWN MENU ==================== */

.mobile-dropdown {
    width: 100%;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.875rem 1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-white);
    font-size: 1.0625rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-dropdown-toggle:hover {
    color: var(--primary);
    background: var(--card-bg);
}

.mobile-dropdown-toggle.active {
    color: var(--primary);
    background: var(--card-bg);
}

.mobile-dropdown-arrow {
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    background: var(--card-bg);
    border-left: 2px solid var(--primary);
    margin-left: 1rem;
}

.mobile-dropdown-menu.active {
    display: flex;
}

.mobile-dropdown-link {
    padding: 0.75rem 1rem 0.75rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    text-decoration: none;
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

.mobile-dropdown-link:hover {
    color: var(--primary);
    background: var(--card-bg);
    padding-left: 1.75rem;
}


/* ==================== FOOTER STYLING ==================== */

.footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0, 188, 212, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(92, 107, 192, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
        gap: 3rem;
    }
}

/* Footer Brand Column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-link {
    display: inline-block;
    width: fit-content;
}

.footer-logo-img {
    height: 2.5rem;
    transition: transform 0.3s ease;
}

.footer-logo-link:hover .footer-logo-img {
    transform: scale(1.05);
}

@media (min-width: 1024px) {
    .footer-logo-img {
        height: 3rem;
    }
}

.footer-brand-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.9375rem;
    max-width: 18.75rem;
}

/* Footer Contact List */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
}

.footer-contact-item:hover {
    color: #00bcd4;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00bcd4;
}

.footer-contact-item span {
    line-height: 1.5;
}

/* Footer Links Sections */
.footer-heading {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-family: 'Oswald', sans-serif;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #00bcd4;
    transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

/* Back to Top Button */
.footer-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: rgba(0, 188, 212, 0.2);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00bcd4;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.footer-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer-top-btn:hover {
    background: rgba(0, 188, 212, 0.3);
    border-color: #00bcd4;
    transform: translateY(-2px);
}

/* ==================== FOOTER ALIGNMENT FIXES ==================== */

/* Default cursor for non-clickable footer items */
.footer-contact-item.default-cursor {
    cursor: default;
}

/* Mobile footer bottom stack alignment */
@media (max-width: 767px) {
    .footer-bottom-content>* {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Light Mode Footer */
body.light-mode .footer {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    color: #000000 !important;
}

body.light-mode .footer::before {
    display: none;
}

body.light-mode .footer-brand-text {
    color: #000000 !important;
}

body.light-mode .footer-contact-item {
    color: #000000 !important;
}

body.light-mode .footer-contact-item:hover {
    color: #00bcd4 !important;
}

body.light-mode .footer-contact-icon {
    color: #00bcd4 !important;
}

body.light-mode .footer-heading {
    color: #000000 !important;
    font-weight: 600 !important;
}

body.light-mode .footer-link {
    color: #000000 !important;
}

body.light-mode .footer-link:hover {
    color: #00bcd4 !important;
}

body.light-mode .footer-links li {
    color: #000000 !important;
}

body.light-mode .footer-links a {
    color: #000000 !important;
}

body.light-mode .footer-links li:hover a {
    color: #00bcd4 !important;
}

body.light-mode .footer-bottom {
    border-top: 1px solid #e2e8f0 !important;
}

body.light-mode .footer-copyright {
    color: #000000 !important;
}

body.light-mode .footer-top-btn {
    background: rgba(0, 188, 212, 0.1) !important;
    border: 1px solid rgba(0, 188, 212, 0.2) !important;
    color: #00bcd4 !important;
}

body.light-mode .footer-top-btn:hover {
    background: rgba(0, 188, 212, 0.2) !important;
    border-color: #00bcd4 !important;
}

/* Mobile footer alignment fixes */
@media (max-width: 767px) {

    .footer-social,
    .footer-legal,
    .footer-developer {
        justify-content: center;
    }

    .footer-legal {
        flex-wrap: wrap;
    }
}


/* ==================== HERO & NAV ==================== */

/* Hero and Navigation default styling (on dark background) */
.hero,
.nav {
    color: #ffffff;
}

/* Nav link colors - default white/teal on dark */
.nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.nav-link:hover {
    color: #ffffff;
}

.nav.scrolled .nav-link:hover {
    color: var(--primary);
}

/* Nav phone - default white */
.nav-phone {
    color: rgba(255, 255, 255, 0.7);
}

.nav-phone:hover {
    color: #ffffff;
}

/* Hero text - always white */
.hero-title {
    color: #ffffff;
}

.hero-subtitle,
.hero-body {
    color: rgba(255, 255, 255, 0.9);
}

/* Hero overlays - dark gradients */
.hero-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7), transparent);
}

.hero-overlay-top {
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent, rgba(0, 0, 0, 0.5));
}

/* Hero slider background */
.hero-slider {
    background: #000;
}

/* Nav scrolled state - dark glass */
.nav.scrolled .nav-capsule {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav.scrolled .nav-capsule::after {
    border-color: rgba(255, 255, 255, 0.05);
}

/* LIGHT MODE: Scrolled state - White glass capsule */
body.light-mode .nav.scrolled .nav-capsule {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body.light-mode .nav.scrolled .nav-capsule::after {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .nav.scrolled .nav-link {
    color: #1e293b !important;
    text-shadow: none !important;
}

body.light-mode .nav.scrolled .nav-link:hover {
    color: #00bcd4 !important;
}

/* Nav phone in scrolled state */
body.light-mode .nav.scrolled .nav-phone {
    color: #475569 !important;
    text-shadow: none !important;
}

body.light-mode .nav.scrolled .nav-phone:hover {
    color: #00bcd4 !important;
}

/* Theme toggle buttons in scrolled state */
body.light-mode .nav.scrolled .theme-toggle,
body.light-mode .nav.scrolled .nav-theme-toggle {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #334155 !important;
}

body.light-mode .nav.scrolled .theme-toggle:hover,
body.light-mode .nav.scrolled .nav-theme-toggle:hover {
    background: rgba(0, 188, 212, 0.1) !important;
    color: #00bcd4 !important;
}

/* Mobile theme toggle in scrolled state */
body.light-mode .nav.scrolled .mobile-theme-toggle {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #334155 !important;
}

body.light-mode .nav.scrolled .mobile-theme-toggle:hover {
    background: rgba(0, 188, 212, 0.1) !important;
    color: #00bcd4 !important;
}

/* Nav toggle (hamburger) in scrolled state */
body.light-mode .nav.scrolled .nav-toggle {
    color: #334155 !important;
    text-shadow: none !important;
    background: rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .nav.scrolled .nav-toggle:hover {
    color: #00bcd4 !important;
    background: rgba(0, 188, 212, 0.1) !important;
}

/* Call Us button (btn-primary) in scrolled state */
body.light-mode .nav.scrolled .btn-primary {
    background: linear-gradient(135deg, #00bcd4, #0097a7) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 188, 212, 0.3) !important;
}

body.light-mode .nav.scrolled .btn-primary:hover {
    background: linear-gradient(135deg, #4dd0e1, #00bcd4) !important;
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4) !important;
}

/* =========================================
   PREMIUM SMART HEADER - AUTO COLOR CHANGE
   ========================================= */

/* LIGHT MODE: Pages WITH hero section - Transparent header with dark text */
body.light-mode.home .nav:not(.scrolled) {
    background: transparent !important;
}

body.light-mode.home .nav:not(.scrolled) .nav-capsule {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.light-mode.home .nav:not(.scrolled) .nav-link,
body.light-mode.home .nav:not(.scrolled) .nav-logo {
    color: #1e293b !important;
    text-shadow: none !important;
}

body.light-mode.home .nav:not(.scrolled) .nav-link:hover,
body.light-mode.home .nav:not(.scrolled) .nav-link.active {
    color: #00bcd4 !important;
}

body.light-mode.home .nav:not(.scrolled) .nav-phone {
    color: #475569 !important;
    text-shadow: none !important;
}

body.light-mode.home .nav:not(.scrolled) .nav-phone:hover {
    color: #00bcd4 !important;
}

body.light-mode.home .nav:not(.scrolled) .theme-toggle,
body.light-mode.home .nav:not(.scrolled) .nav-theme-toggle {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #334155 !important;
}

body.light-mode.home .nav:not(.scrolled) .theme-toggle:hover,
body.light-mode.home .nav:not(.scrolled) .nav-theme-toggle:hover {
    background: rgba(0, 188, 212, 0.1) !important;
    border-color: rgba(0, 188, 212, 0.3) !important;
    color: #00bcd4 !important;
}

body.light-mode.home .nav:not(.scrolled) .nav-toggle {
    color: #334155 !important;
    text-shadow: none !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}


/* =========================================
   LIGHT MODE: NON-HOME PAGES (about, services, amc, blogs, faq, contact)
   Transparent header with dark text - same as dark mode behavior
   ========================================= */

/* Nav background - transparent for non-hero pages */
body.light-mode .nav:not(.scrolled) {
    background: transparent !important;
}

/* Transparent capsule - same as dark mode (no background at top) */
body.light-mode .nav:not(.scrolled) .nav-capsule {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.light-mode .nav:not(.scrolled) .nav-link,
body.light-mode .nav:not(.scrolled) .nav-logo {
    color: #1e293b !important;
    text-shadow: none !important;
}

body.light-mode .nav:not(.scrolled) .nav-link:hover,
body.light-mode .nav:not(.scrolled) .nav-link.active {
    color: #00bcd4 !important;
}

body.light-mode .nav:not(.scrolled) .nav-phone {
    color: #475569 !important;
    text-shadow: none !important;
}

body.light-mode .nav:not(.scrolled) .nav-phone:hover {
    color: #00bcd4 !important;
}

body.light-mode .nav:not(.scrolled) .theme-toggle,
body.light-mode .nav:not(.scrolled) .nav-theme-toggle {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #334155 !important;
}

body.light-mode .nav:not(.scrolled) .theme-toggle:hover,
body.light-mode .nav:not(.scrolled) .nav-theme-toggle:hover {
    background: rgba(0, 188, 212, 0.1) !important;
    border-color: rgba(0, 188, 212, 0.3) !important;
    color: #00bcd4 !important;
}

body.light-mode .nav:not(.scrolled) .mobile-theme-toggle {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #334155 !important;
}

body.light-mode .nav:not(.scrolled) .mobile-theme-toggle:hover {
    background: rgba(0, 188, 212, 0.1) !important;
    border-color: rgba(0, 188, 212, 0.3) !important;
    color: #00bcd4 !important;
}

body.light-mode .nav:not(.scrolled) .nav-toggle {
    color: #334155 !important;
    text-shadow: none !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .nav:not(.scrolled) .nav-toggle:hover {
    color: #00bcd4 !important;
    background: rgba(0, 188, 212, 0.1) !important;
}

/* Call Us button (btn-primary) in NON-scrolled light mode - all pages */
body.light-mode .nav:not(.scrolled) .btn-primary {
    background: linear-gradient(135deg, #00bcd4, #0097a7) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 188, 212, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.25) !important;
}

body.light-mode .nav:not(.scrolled) .btn-primary:hover {
    background: linear-gradient(135deg, #4dd0e1, #00bcd4) !important;
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4) !important;
}

/* =========================================
   LIGHT MODE: BODY & SECTION BACKGROUNDS
   For non-home pages without hero sections
   ========================================= */
body.light-mode:not(.home) {
    background: #f8fafc !important;
}

body.light-mode:not(.home) .section {
    background: #f8fafc !important;
}

body.light-mode:not(.home) .service-section {
    background: #f8fafc !important;
}

body.light-mode:not(.home) .amc-intro-section {
    background: #f8fafc !important;
}

body.light-mode:not(.home) .blogs-section {
    background: #f8fafc !important;
}

body.light-mode:not(.home) .faq-section {
    background: #f8fafc !important;
}

body.light-mode:not(.home) .contact-section {
    background: #f8fafc !important;
}

body.light-mode:not(.home) .about-section {
    background: #f8fafc !important;
}

/* Alternating sections for visual interest */
body.light-mode:not(.home) .section:nth-child(even) {
    background: #ffffff !important;
}

/* =========================================
   LIGHT MODE: COMPREHENSIVE COMPONENT STYLES
   ========================================= */

/* Service Cards */
body.light-mode .service-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .service-card:hover {
    border-color: #00bcd4 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 188, 212, 0.1) !important;
}

body.light-mode .service-card-title {
    color: #1e293b !important;
}

body.light-mode .service-card:hover .service-card-title {
    color: #00bcd4 !important;
}

body.light-mode .service-card-desc {
    color: #475569 !important;
}

body.light-mode .service-card-icon {
    background: rgba(0, 188, 212, 0.1) !important;
    border: 1px solid rgba(0, 188, 212, 0.2) !important;
}

body.light-mode .service-card:hover .service-card-icon {
    background: #00bcd4 !important;
}

body.light-mode .service-card:hover .service-card-icon svg {
    color: #ffffff !important;
}

body.light-mode .service-card-feature {
    background: rgba(0, 188, 212, 0.1) !important;
    color: #00bcd4 !important;
}

/* Package Cards */
body.light-mode .package-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .package-card:hover {
    border-color: #00bcd4 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 188, 212, 0.1) !important;
}

body.light-mode .package-card.featured {
    background: linear-gradient(to bottom, rgba(0, 188, 212, 0.05), #ffffff) !important;
    border-color: #00bcd4 !important;
}

body.light-mode .package-badge {
    background: #00bcd4 !important;
    color: #ffffff !important;
}

body.light-mode .package-icon {
    background: rgba(0, 188, 212, 0.1) !important;
    color: #00bcd4 !important;
}

body.light-mode .package-card.featured .package-icon {
    background: #00bcd4 !important;
    color: #ffffff !important;
}

body.light-mode .package-title {
    color: #1e293b !important;
}

body.light-mode .package-desc {
    color: #475569 !important;
}

body.light-mode .package-price {
    color: #1e293b !important;
}

body.light-mode .package-price-currency,
body.light-mode .package-price-period {
    color: #64748b !important;
}

body.light-mode .package-features li {
    color: #334155 !important;
}

body.light-mode .package-feature-check {
    color: #00bcd4 !important;
    background: rgba(0, 188, 212, 0.1) !important;
}

/* Testimonials */
body.light-mode .testimonial-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .testimonial-quote-icon {
    color: rgba(0, 188, 212, 0.2) !important;
}

body.light-mode .testimonial-text {
    color: #334155 !important;
}

body.light-mode .testimonial-name {
    color: #1e293b !important;
}

body.light-mode .testimonial-role,
body.light-mode .testimonial-company {
    color: #64748b !important;
}

body.light-mode .testimonial-stars svg {
    color: #fbbf24 !important;
}

/* Process Timeline */
body.light-mode .process-content {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .process-content:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

body.light-mode .process-number {
    color: rgba(15, 23, 42, 0.08) !important;
    -webkit-text-stroke: 1px rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .process-content:hover .process-number {
    color: rgba(0, 188, 212, 0.15) !important;
    -webkit-text-stroke: 1px rgba(0, 188, 212, 0.15) !important;
}

body.light-mode .process-title {
    color: #1e293b !important;
}

body.light-mode .process-content:hover .process-title {
    color: #00bcd4 !important;
}

body.light-mode .process-desc {
    color: #475569 !important;
}

body.light-mode .process-content:hover .process-desc {
    color: #334155 !important;
}

body.light-mode .process-icon {
    background: rgba(0, 188, 212, 0.1) !important;
    color: #00bcd4 !important;
}

body.light-mode .process-content:hover .process-icon {
    background: #00bcd4 !important;
    color: #ffffff !important;
}

body.light-mode .process-dot {
    background: #00bcd4 !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 0 4px #e0f2fe !important;
}

body.light-mode .process-line {
    background: #e2e8f0 !important;
}

/* About Section */
body.light-mode .about-section {
    background: #ffffff !important;
}

body.light-mode .about-image-container {
    border: 1px solid #cbd5e1 !important;
}

body.light-mode .about-feature-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .about-feature-icon {
    background: rgba(0, 188, 212, 0.1) !important;
    color: #00bcd4 !important;
}

body.light-mode .about-feature-title {
    color: #1e293b !important;
}

body.light-mode .about-feature-desc {
    color: #475569 !important;
}

/* FAQ Section */
body.light-mode .faq-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .faq-item:hover {
    border-color: #cbd5e1 !important;
}

body.light-mode .faq-item.active {
    border-color: #00bcd4 !important;
}

body.light-mode .faq-question,
body.light-mode .faq-header h3 {
    color: #1e293b !important;
}

body.light-mode .faq-answer,
body.light-mode .faq-body p {
    color: #475569 !important;
}

body.light-mode .faq-icon {
    color: #00bcd4 !important;
}

/* Contact Section */
body.light-mode .contact-section {
    background: #f8fafc !important;
}

body.light-mode .contact-info-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .contact-info-icon {
    background: rgba(0, 188, 212, 0.1) !important;
    color: #00bcd4 !important;
}

body.light-mode .contact-info-label {
    color: #64748b !important;
}

body.light-mode .contact-info-value {
    color: #1e293b !important;
}

body.light-mode .contact-form {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

/* Logo Stream / Client Logos */
body.light-mode .logo-stream-section {
    background: #f8fafc !important;
}

body.light-mode .logo-stream {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 3rem 2rem !important;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 188, 212, 0.05) !important;
}

body.light-mode .logo-stream-title {
    color: #64748b !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    margin-bottom: 2rem !important;
}

body.light-mode .logo-stream-grid {
    gap: 2rem !important;
}

body.light-mode .logo-stream-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03) !important;
}

body.light-mode .logo-stream-item:hover {
    border-color: rgba(0, 188, 212, 0.4) !important;
    box-shadow:
        0 4px 12px rgba(0, 188, 212, 0.1),
        0 8px 24px rgba(0, 188, 212, 0.08) !important;
    transform: translateY(-4px) !important;
}

body.light-mode .client-logo {
    filter: grayscale(30%) !important;
    opacity: 0.7 !important;
    transition: all 0.4s ease !important;
    max-height: 48px !important;
}

body.light-mode .logo-stream-item:hover .client-logo {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: scale(1.05) !important;
}

/* ============================================
   LIGHT MODE: COMPONENT TEXT COLORS
   ============================================ */

/* HERO SECTION - Light mode text colors handled in styles.css */

/* Service Cards */
body.light-mode .service-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .service-card-title {
    color: #1e293b !important;
}

body.light-mode .service-card-desc {
    color: #475569 !important;
}

/* Package Cards */
body.light-mode .package-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .package-title {
    color: #1e293b !important;
}

body.light-mode .package-desc {
    color: #475569 !important;
}

body.light-mode .package-price {
    color: #1e293b !important;
}

body.light-mode .package-price-currency,
body.light-mode .package-price-period {
    color: #64748b !important;
}

body.light-mode .package-features li {
    color: #334155 !important;
}

/* Testimonials */
body.light-mode .testimonial-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .testimonial-text {
    color: #334155 !important;
}

body.light-mode .testimonial-name {
    color: #1e293b !important;
}

body.light-mode .testimonial-role {
    color: #64748b !important;
}

/* Process Timeline */
body.light-mode .process-content {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .process-title {
    color: #1e293b !important;
}

body.light-mode .process-desc {
    color: #475569 !important;
}

/* About Section */
body.light-mode .about-content p,
body.light-mode .about-text {
    color: #334155 !important;
}

body.light-mode .about-title {
    color: #1e293b !important;
}

body.light-mode .about-features p,
body.light-mode .about-feature-desc {
    color: #475569 !important;
}

/* FAQ Section */
body.light-mode .faq-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .faq-question {
    color: #1e293b !important;
}

body.light-mode .faq-answer {
    color: #475569 !important;
}

/* Contact Section */
body.light-mode .contact-section {
    background: #f8fafc !important;
}

body.light-mode .contact-form {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .contact-info-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .contact-info-label {
    color: #64748b !important;
}

body.light-mode .contact-info-value {
    color: #1e293b !important;
}

/* Blog Cards */
body.light-mode .blog-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .blog-title {
    color: #1e293b !important;
}

body.light-mode .blog-excerpt {
    color: #475569 !important;
}

body.light-mode .blog-category {
    color: #00bcd4 !important;
}

/* Footer */
body.light-mode .footer {
    background-color: #f8fafc !important;
    color: #334155 !important;
}

body.light-mode .footer p,
body.light-mode .footer span,
body.light-mode .footer li {
    color: #64748b !important;
}

body.light-mode .footer h1,
body.light-mode .footer h2,
body.light-mode .footer h3,
body.light-mode .footer h4,
body.light-mode .footer .footer-heading {
    color: #1e293b !important;
}

body.light-mode .footer a {
    color: #334155 !important;
}

body.light-mode .footer a:hover {
    color: #00bcd4 !important;
}

/* Homepage Footer Fix */
body.light-mode .home .footer {
    background-color: #f8fafc !important;
}

body.light-mode .home .footer-content {
    background: transparent !important;
}

body.light-mode .home .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 2rem !important;
    align-items: start !important;
}

body.light-mode .home .footer-brand-col {
    text-align: left !important;
}

body.light-mode .home .footer-brand-text {
    color: #64748b !important;
    line-height: 1.7 !important;
    margin-top: 1rem !important;
}

body.light-mode .home .footer-contact-list {
    margin-top: 1.5rem !important;
}

body.light-mode .home .footer-contact-item {
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-bottom: 0.5rem !important;
}

body.light-mode .home .footer-contact-icon {
    color: #00bcd4 !important;
}

body.light-mode .home .footer-heading {
    color: #1e293b !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
}

body.light-mode .home .footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.light-mode .home .footer-links li {
    margin-bottom: 0.5rem !important;
}

body.light-mode .home .footer-link {
    color: #334155 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

body.light-mode .home .footer-link:hover {
    color: #00bcd4 !important;
}

body.light-mode .home .footer-bottom {
    background: transparent !important;
    border-top: 1px solid #e2e8f0 !important;
}

body.light-mode .home .footer-bottom-content {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1.5rem 0 !important;
}

body.light-mode .home .footer-copyright {
    color: #64748b !important;
    font-size: 0.875rem !important;
    margin: 0 !important;
}

body.light-mode .home .footer-social {
    display: flex !important;
    gap: 0.75rem !important;
}

body.light-mode .home .footer-social-link {
    color: #64748b !important;
    transition: color 0.2s ease !important;
}

body.light-mode .home .footer-social-link:hover {
    color: #00bcd4 !important;
}

body.light-mode .home .footer-legal {
    display: flex !important;
    gap: 1.5rem !important;
}

body.light-mode .home .footer-legal a {
    color: #64748b !important;
    font-size: 0.875rem !important;
}

body.light-mode .home .footer-legal a:hover {
    color: #00bcd4 !important;
}

/* Mobile Menu */
body.light-mode .mobile-menu {
    background: #ffffff !important;
    border-left: 1px solid #e2e8f0 !important;
}

body.light-mode .mobile-menu .nav-link {
    color: #334155 !important;
}

body.light-mode .mobile-menu .nav-link:hover {
    color: #00bcd4 !important;
}

/* Page Headers (Non-Homepage) */
body.light-mode .page-header,
body.light-mode .page-header-section {
    background: #f8fafc !important;
    padding-top: 6.25rem !important;
    padding-bottom: 3.125rem !important;
}

body.light-mode .page-header h1,
body.light-mode .page-header-section h1 {
    color: #1e293b !important;
}

body.light-mode .page-header p,
body.light-mode .page-header-section p {
    color: #64748b !important;
}

/* Mobile Menu */
body.light-mode .mobile-menu {
    background: #ffffff !important;
    border-left: 1px solid #e2e8f0 !important;
}

body.light-mode .mobile-menu .nav-link {
    color: #334155 !important;
}

body.light-mode .mobile-menu .nav-link:hover,
body.light-mode .mobile-menu .nav-link.active {
    color: #00bcd4 !important;
    background: #f8fafc !important;
}

body.light-mode .mobile-menu-close {
    color: #334155 !important;
}

body.light-mode .mobile-menu-close:hover {
    color: #00bcd4 !important;
}

/* Hero Section light mode - handled in styles.css */

/* Light Mode: Non-hero pages header should be visible */
body.light-mode .page-header-section {
    background: #f8fafc !important;
    padding-top: 7.5rem !important;
}

body.light-mode .page-header-section .section-title {
    color: #1e293b !important;
}

body.light-mode .page-header-section .section-subtitle {
    color: #64748b !important;
}

/* Testimonial dots in light mode */
body.light-mode .testimonial-dots {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .testimonial-dots .slider-dot {
    background: rgba(100, 116, 139, 0.3) !important;
    border: 2px solid rgba(100, 116, 139, 0.2) !important;
}

body.light-mode .testimonial-dots .slider-dot:hover {
    background: rgba(100, 116, 139, 0.5) !important;
    border-color: rgba(100, 116, 139, 0.4) !important;
}

body.light-mode .testimonial-dots .slider-dot.active {
    background: #00bcd4 !important;
    border-color: #00bcd4 !important;
    box-shadow:
        0 0 0 0.25rem rgba(0, 188, 212, 0.2),
        0 0 15px rgba(0, 188, 212, 0.4) !important;
}
/* QSERV Fire Safety Website - Main Styles */
/* Fonts: System font stack for performance */
/* Oswald and Lato loaded via system fallbacks */

/* CSS Variables */
:root {
  /* Blue/Cyan theme matching QSERV logo */
  --primary: #00bcd4;
  --primary-dark: #0097a7;
  --primary-light: #4dd0e1;
  --accent: #5c6bc0;
  --accent-dark: #3949ab;
  /* Legacy alias for compatibility - unified */
  --safety-orange: #00bcd4;
  --safety-dark: #0097a7;
  --safety-light: #4dd0e1;
  --bg-dark: #000000;
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.5);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-strong: rgba(0, 0, 0, 0.6);

  /* Spacing System - 8px base */
  --space-1: 0.25rem;
  /* 4px */
  --space-2: 0.5rem;
  /* 8px */
  --space-3: 0.75rem;
  /* 12px */
  --space-4: 1rem;
  /* 16px */
  --space-5: 1.25rem;
  /* 20px */
  --space-6: 1.5rem;
  /* 24px */
  --space-8: 2rem;
  /* 32px */
  --space-10: 2.5rem;
  /* 40px */
  --space-12: 3rem;
  /* 48px */
  --space-16: 4rem;
  /* 64px */
  --space-20: 5rem;
  /* 80px */
  --space-24: 6rem;
  /* 96px */

  /* Container widths (rem-based for scaling) */
  --container-sm: 40rem;
  --container-md: 48rem;
  --container-lg: 64rem;
  --container-xl: 80rem;
  --container-2xl: 96rem;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Dynamic root font-size: all rem values scale with viewport */
  /* 375pxâ†’16px | 1024pxâ†’17px | 1536pxâ†’18px | 1920pxâ†’18.5px */
  font-size: clamp(16px, 14.5px + 0.22vw, 18.5px);
}

@keyframes gradient-bg {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

body {
  font-family: 'Lato', sans-serif;
  background: #000000;
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light Mode - Base Styles */
body.light-mode {
  background: #f8fafc !important;
  color: #334155 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* Selection */
::selection {
  background-color: rgba(0, 188, 212, 0.3);
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

/* Light Mode Theme - Premium Off-White */
body.light-mode {
  background: #f8fafc !important;
  color: #334155;
}

/* Light Mode Navigation */
body.light-mode .nav {
  background: transparent !important;
}

body.light-mode .nav.scrolled {
  background: transparent !important;
}

/* Remove dark-specific capsule effects in light mode */
body.light-mode .nav-capsule {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

body.light-mode .nav-capsule::before {
  display: none !important;
}

body.light-mode .nav-capsule::after {
  display: none !important;
}

body.light-mode .nav-capsule-shine {
  display: none !important;
}

/* Light mode scrolled capsule - clean white background */
body.light-mode .nav.scrolled .nav-capsule {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 9999px !important;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .nav.scrolled .nav-capsule::after {
  display: block !important;
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  pointer-events: none !important;
  opacity: 1 !important;
}

/* Light Mode Logo - Show original brand colors (no filter needed) */
body.light-mode .nav-logo-img {
  filter: none !important;
}

/* Light mode nav elements */
body.light-mode .nav-link {
  color: #334155 !important;
}

body.light-mode .nav-link:hover {
  color: #00bcd4 !important;
}

body.light-mode .nav-phone {
  color: #334155 !important;
}

body.light-mode .nav-phone:hover {
  color: #00bcd4 !important;
}

body.light-mode .nav-toggle {
  color: #334155 !important;
}

body.light-mode .nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #00bcd4 !important;
}

/* Light mode scrolled nav hover */
body.light-mode .nav.scrolled .nav-link:hover {
  background: rgba(0, 188, 212, 0.08) !important;
}

/* ============================================
   LIGHT MODE: HERO SECTION
   Bright, clean hero with lighter overlays
   ============================================ */

/* Hero background - white base behind slider */
body.light-mode .hero {
  background: #f8fafc;
}

/* Light mode overlays - strong left fade for text, clear right for images */
body.light-mode .hero-overlay {
  background: linear-gradient(to right,
      rgba(248, 250, 252, 0.95) 0%,
      rgba(248, 250, 252, 0.7) 35%,
      rgba(248, 250, 252, 0.15) 55%,
      transparent 70%) !important;
}

body.light-mode .hero-overlay-top {
  background: linear-gradient(to top,
      rgba(248, 250, 252, 0.55) 0%,
      transparent 25%,
      transparent 75%,
      rgba(248, 250, 252, 0.1) 100%) !important;
}

/* Hero slider background - light fallback */
body.light-mode .hero-slider {
  background: #f1f5f9 !important;
}

/* Hero slide images - vivid and clear in light mode */
body.light-mode .hero-slide img {
  filter: brightness(1.08) saturate(1.2) contrast(1.05);
}

/* Hero glow - subtle cyan glow on light bg */
body.light-mode .hero-glow {
  background: radial-gradient(ellipse at center,
      rgba(0, 188, 212, 0.06) 0%,
      rgba(0, 188, 212, 0.02) 40%,
      transparent 70%) !important;
}

/* Hero content text - dark text on light overlay */
body.light-mode .hero-content {
  color: #1e293b !important;
}

body.light-mode .hero-title {
  color: #0f172a !important;
}

body.light-mode .hero-subtitle {
  color: #334155 !important;
}

body.light-mode .hero-body {
  color: #1e293b !important;
}

body.light-mode .hero-body strong {
  color: #0f172a !important;
}

/* Text gradient - deeper colors for light bg readability */
body.light-mode .hero .text-gradient {
  background: linear-gradient(135deg, #3949ab 0%, #0097a7 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Hero badge - solid light style */
body.light-mode .hero .badge {
  background: rgba(0, 188, 212, 0.1) !important;
  border: 1px solid rgba(0, 188, 212, 0.25) !important;
  color: #0097a7 !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

body.light-mode .hero .badge svg {
  color: #0097a7 !important;
}

body.light-mode .hero .badge:hover {
  background: rgba(0, 188, 212, 0.18) !important;
  border-color: rgba(0, 188, 212, 0.4) !important;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

/* Hero CTA buttons - enhanced for light bg */
body.light-mode .hero .btn-primary {
  background: #00bcd4 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 188, 212, 0.3) !important;
}

body.light-mode .hero .btn-primary:hover {
  background: #0097a7 !important;
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4) !important;
  transform: translateY(-2px);
}

body.light-mode .hero .btn-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3) !important;
}

body.light-mode .hero .btn-whatsapp:hover {
  background: #1fb855 !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
  transform: translateY(-2px);
}

/* Hero trust badges - glass on light bg */
body.light-mode .hero .hero-trust-item {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .hero .hero-trust-item:hover {
  border-color: rgba(0, 188, 212, 0.3) !important;
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.1) !important;
}

body.light-mode .hero .hero-trust-icon {
  background: rgba(0, 188, 212, 0.12) !important;
}

body.light-mode .hero .hero-trust-icon svg {
  stroke: #0097a7 !important;
}

body.light-mode .hero .hero-trust-text {
  color: #334155 !important;
}

/* Slider dots - light mode */
body.light-mode .hero .slider-dots {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .hero .slider-dot {
  background: rgba(0, 0, 0, 0.15) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .hero .slider-dot:hover {
  background: rgba(0, 0, 0, 0.3) !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
}

body.light-mode .hero .slider-dot.active {
  background: #00bcd4 !important;
  border-color: #00bcd4 !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.2),
    0 0 15px rgba(0, 188, 212, 0.3) !important;
}

/* Hero slide info card - light glass */
body.light-mode .hero-slide-info {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .hero-slide-info-label {
  color: #94a3b8 !important;
}

body.light-mode .hero-slide-info-title {
  color: #0097a7 !important;
}

body.light-mode .hero-slide-info-subtitle {
  color: #64748b !important;
}

/* MOBILE: Light mode hero - full-width overlay for text readability */
@media (max-width: 1023px) {
  body.light-mode .hero-overlay {
    background: linear-gradient(to right,
        rgba(248, 250, 252, 0.97) 0%,
        rgba(248, 250, 252, 0.92) 50%,
        rgba(248, 250, 252, 0.75) 80%,
        rgba(248, 250, 252, 0.5) 100%) !important;
  }

  body.light-mode .hero-overlay-top {
    background: linear-gradient(to top,
        rgba(248, 250, 252, 0.7) 0%,
        rgba(248, 250, 252, 0.3) 30%,
        rgba(248, 250, 252, 0.2) 70%,
        rgba(248, 250, 252, 0.4) 100%) !important;
  }

  body.light-mode .hero-content {
    color: #1e293b !important;
  }

  body.light-mode .hero-title {
    color: #0f172a !important;
  }

  body.light-mode .hero-subtitle {
    color: #334155 !important;
  }

  body.light-mode .hero-body {
    color: #1e293b !important;
  }

  body.light-mode .hero-body strong {
    color: #0f172a !important;
  }

  body.light-mode .hero .badge {
    background: rgba(0, 188, 212, 0.12) !important;
    border-color: rgba(0, 188, 212, 0.3) !important;
    color: #0097a7 !important;
  }

  body.light-mode .hero .hero-trust-item {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
  }

  body.light-mode .hero .hero-trust-text {
    color: #334155 !important;
  }

  body.light-mode .hero .btn-primary {
    background: #00bcd4 !important;
    color: #ffffff !important;
  }

  body.light-mode .hero .btn-whatsapp {
    background: #25D366 !important;
    color: #ffffff !important;
  }
}

/* Page header section (non-hero pages) - light background */
body.light-mode .page-header,
body.light-mode .page-header-section {
  background: #f8fafc !important;
  padding-top: 6.25rem !important;
  padding-bottom: 2.5rem !important;
}

body.light-mode .page-header h1,
body.light-mode .page-header-section h1,
body.light-mode .page-hero h1 {
  color: #1e293b !important;
}

body.light-mode .page-header p,
body.light-mode .page-header-section p {
  color: #64748b !important;
}

/* Alternating sections - soft off-white contrast */
body.light-mode .section:nth-child(even) {
  background: #f1f5f9 !important;
}

body.light-mode .section:nth-child(odd) {
  background: #f8fafc !important;
}

/* Premium Logo Stream / Trusted By Section */
body.light-mode .logo-stream-section {
  background: #f8fafc !important;
}

body.light-mode .logo-stream {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  padding: 3rem 2rem !important;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 188, 212, 0.05) !important;
}

body.light-mode .logo-stream-title {
  color: #64748b !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  margin-bottom: 2rem !important;
}

body.light-mode .logo-stream-grid {
  gap: 2rem !important;
}

body.light-mode .logo-stream-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03) !important;
}

body.light-mode .logo-stream-item:hover {
  border-color: rgba(0, 188, 212, 0.4) !important;
  box-shadow:
    0 4px 12px rgba(0, 188, 212, 0.1),
    0 8px 24px rgba(0, 188, 212, 0.08) !important;
  transform: translateY(-4px) !important;
}

body.light-mode .client-logo {
  filter: grayscale(30%) !important;
  opacity: 0.7 !important;
  transition: all 0.4s ease !important;
  max-height: 48px !important;
}

body.light-mode .logo-stream-item:hover .client-logo {
  filter: grayscale(0%) !important;
  opacity: 1 !important;
  transform: scale(1.05) !important;
}

/* ============================================
   LIGHT MODE: COMPREHENSIVE TEXT COLOR FIXES
   ============================================ */

/* CRITICAL - All text must be dark in light mode */
body.light-mode,
body.light-mode p,
body.light-mode span,
body.light-mode li,
body.light-mode div,
body.light-mode td,
body.light-mode th,
body.light-mode label,
body.light-mode caption,
body.light-mode legend,
body.light-mode dt,
body.light-mode dd {
  color: #334155 !important;
}

/* All headings */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6,
body.light-mode .h1,
body.light-mode .h2,
body.light-mode .h3,
body.light-mode .h4,
body.light-mode .h5,
body.light-mode .h6 {
  color: #1e293b !important;
}

/* Muted/small text */
body.light-mode .text-muted,
body.light-mode .text-small,
body.light-mode small,
body.light-mode .muted,
body.light-mode .text-secondary {
  color: #64748b !important;
}

/* Links - exclude buttons */
body.light-mode a:not([class*="btn"]):not(.nav-logo) {
  color: #00bcd4 !important;
}

body.light-mode a:not([class*="btn"]):not(.nav-logo):hover {
  color: #0097a7 !important;
}

/* All section titles and subtitles */
body.light-mode .section-title {
  color: #1e293b !important;
}

body.light-mode .section-subtitle {
  color: #64748b !important;
}

/* Cards */
body.light-mode .card,
body.light-mode .service-card,
body.light-mode .package-card,
body.light-mode .testimonial-card,
body.light-mode .blog-card,
body.light-mode .faq-item,
body.light-mode .contact-info-card,
body.light-mode .info-card,
body.light-mode .process-content,
body.light-mode .about-feature-item {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .card p,
body.light-mode .card span,
body.light-mode .card li,
body.light-mode .service-card p,
body.light-mode .service-card span,
body.light-mode .service-card li,
body.light-mode .package-card p,
body.light-mode .package-card span,
body.light-mode .package-card li,
body.light-mode .testimonial-card p,
body.light-mode .testimonial-card span,
body.light-mode .blog-card p,
body.light-mode .blog-card span {
  color: #334155 !important;
}

body.light-mode .card h1,
body.light-mode .card h2,
body.light-mode .card h3,
body.light-mode .card h4,
body.light-mode .service-card h3,
body.light-mode .package-card h3,
body.light-mode .testimonial-card h4,
body.light-mode .blog-card h3 {
  color: #1e293b !important;
}

/* Feature items */
body.light-mode .feature-item,
body.light-mode .feature-text,
body.light-mode .check-list-item {
  color: #334155 !important;
}

body.light-mode .feature-title,
body.light-mode .check-list-item strong {
  color: #1e293b !important;
}

/* Process steps */
body.light-mode .process-step,
body.light-mode .process-step p,
body.light-mode .process-step span,
body.light-mode .process-step li {
  color: #334155 !important;
}

body.light-mode .process-title {
  color: #1e293b !important;
}

body.light-mode .process-desc {
  color: #64748b !important;
}

/* Package features */
body.light-mode .package-features,
body.light-mode .package-features li {
  color: #334155 !important;
}

body.light-mode .package-price {
  color: #1e293b !important;
}

body.light-mode .package-price-currency,
body.light-mode .package-price-period {
  color: #64748b !important;
}

/* Contact info */
body.light-mode .contact-label,
body.light-mode .contact-info-label {
  color: #64748b !important;
}

body.light-mode .contact-value,
body.light-mode .contact-info-value,
body.light-mode .contact-text {
  color: #1e293b !important;
}

/* FAQ */
body.light-mode .faq-question {
  color: #1e293b !important;
}

body.light-mode .faq-answer,
body.light-mode .faq-answer p {
  color: #64748b !important;
}

/* Blog */
body.light-mode .blog-category {
  color: #00bcd4 !important;
}

body.light-mode .blog-title {
  color: #1e293b !important;
}

body.light-mode .blog-excerpt,
body.light-mode .blog-excerpt p {
  color: #64748b !important;
}

/* About section */
body.light-mode .about-text,
body.light-mode .about-text p {
  color: #334155 !important;
}

body.light-mode .about-title {
  color: #1e293b !important;
}

/* Footer */
body.light-mode .footer,
body.light-mode .footer p,
body.light-mode .footer span,
body.light-mode .footer li {
  color: #64748b !important;
}

body.light-mode .footer h1,
body.light-mode .footer h2,
body.light-mode .footer h3,
body.light-mode .footer h4,
body.light-mode .footer .footer-heading {
  color: #1e293b !important;
}

body.light-mode .footer a {
  color: #334155 !important;
}

body.light-mode .footer a:hover {
  color: #00bcd4 !important;
}

/* Logo stream / Trusted by */
body.light-mode .logo-stream-title {
  color: #64748b !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

/* Button text */
body.light-mode .btn {
  color: #ffffff !important;
}

body.light-mode .btn-outline {
  color: #00bcd4 !important;
}

/* Form elements */
body.light-mode .form-label {
  color: #334155 !important;
}

body.light-mode .form-input,
body.light-mode .form-select,
body.light-mode .form-textarea {
  color: #0f172a !important;
}

body.light-mode .form-input::placeholder,
body.light-mode .form-textarea::placeholder {
  color: #94a3b8 !important;
}

/* Tables */
body.light-mode table {
  color: #334155 !important;
}

body.light-mode th {
  color: #1e293b !important;
}

body.light-mode td {
  color: #334155 !important;
}

/* Blockquotes */
body.light-mode blockquote {
  color: #334155 !important;
}

body.light-mode blockquote p {
  color: #334155 !important;
}

/* Horizontal rules */
body.light-mode hr {
  border-color: #e2e8f0 !important;
}

/* Lists */
body.light-mode ul,
body.light-mode ol {
  color: #334155 !important;
}

body.light-mode li {
  color: #334155 !important;
}

/* Figures and captions */
body.light-mode figure {
  color: #334155 !important;
}

body.light-mode figcaption {
  color: #64748b !important;
}

/* Info lists */
body.light-mode .info-list,
body.light-mode .info-list li {
  color: #334155 !important;
}

body.light-mode .info-label {
  color: #64748b !important;
}

body.light-mode .info-value {
  color: #1e293b !important;
}

/* Stat items */
body.light-mode .stat-label {
  color: #64748b !important;
}

body.light-mode .stat-value,
body.light-mode .stat-number {
  color: #1e293b !important;
}

/* Testimonials */
body.light-mode .testimonial-text,
body.light-mode .testimonial-quote {
  color: #334155 !important;
}

body.light-mode .testimonial-name {
  color: #1e293b !important;
}

body.light-mode .testimonial-role,
body.light-mode .testimonial-company {
  color: #64748b !important;
}

/* ============================================
   LIGHT MODE: ALL TEXT DARK COLORS
   ============================================ */

/* Global Text Colors - All Dark on Light */
body.light-mode,
body.light-mode p,
body.light-mode span,
body.light-mode li,
body.light-mode div,
body.light-mode td,
body.light-mode th,
body.light-mode label {
  color: #334155 !important;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
  color: #1e293b !important;
}

body.light-mode .text-muted,
body.light-mode .text-small,
body.light-mode small,
body.light-mode .muted {
  color: #64748b !important;
}

body.light-mode a:not([class*="btn"]):not(.nav-logo) {
  color: #00bcd4 !important;
}

body.light-mode a:not([class*="btn"]):not(.nav-logo):hover {
  color: #0097a7 !important;
}

/* Page Headers (Non-Homepage Pages) */
body.light-mode .page-header,
body.light-mode .page-header-section,
body.light-mode .page-hero {
  background: #f8fafc !important;
  padding: 6.25rem 0 3.125rem !important;
}

body.light-mode .page-header h1,
body.light-mode .page-header-section h1,
body.light-mode .page-hero h1,
body.light-mode .page-title {
  color: #1e293b !important;
}

body.light-mode .page-header p,
body.light-mode .page-header-section p,
body.light-mode .page-hero p,
body.light-mode .page-subtitle {
  color: #64748b !important;
}

/* Breadcrumbs */
body.light-mode .breadcrumb,
body.light-mode .breadcrumbs {
  color: #64748b !important;
}

body.light-mode .breadcrumb a,
body.light-mode .breadcrumbs a {
  color: #334155 !important;
}

body.light-mode .breadcrumb a:hover,
body.light-mode .breadcrumbs a:hover {
  color: #00bcd4 !important;
}

/* Content Blocks */
body.light-mode .content-block,
body.light-mode .content-section {
  background: #ffffff !important;
}

body.light-mode .content-block.alt,
body.light-mode .content-section.alt {
  background: #f8fafc !important;
}

body.light-mode .content-block p,
body.light-mode .content-section p {
  color: #334155 !important;
  line-height: 1.7 !important;
}

body.light-mode .content-block h2,
body.light-mode .content-section h2 {
  color: #1e293b !important;
  margin-bottom: 1rem !important;
}

body.light-mode .content-block h3,
body.light-mode .content-section h3 {
  color: #1e293b !important;
  margin-bottom: 0.75rem !important;
}

/* Info Lists */
body.light-mode .info-list li,
body.light-mode .info-item {
  color: #334155 !important;
}

body.light-mode .info-label {
  color: #64748b !important;
}

body.light-mode .info-value {
  color: #1e293b !important;
}

/* Tables */
body.light-mode table {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-mode th {
  background: #f8fafc !important;
  color: #1e293b !important;
}

body.light-mode td {
  color: #334155 !important;
  border-color: #e2e8f0 !important;
}

/* Blockquotes */
body.light-mode blockquote {
  background: #ffffff !important;
  border-left: 4px solid #00bcd4 !important;
  color: #334155 !important;
}

body.light-mode blockquote p {
  color: #334155 !important;
}

/* Code Blocks */
body.light-mode pre,
body.light-mode code {
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
}

/* Horizontal Rules */
body.light-mode hr {
  border-color: #e2e8f0 !important;
}

/* Lists */
body.light-mode ul,
body.light-mode ol {
  color: #334155 !important;
}

body.light-mode li {
  color: #334155 !important;
}

/* Figure & Captions */
body.light-mode figure {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
}

body.light-mode figcaption {
  color: #64748b !important;
}

/* Alignment Classes */
body.light-mode .text-center {
  text-align: center !important;
}

body.light-mode .text-left {
  text-align: left !important;
}

body.light-mode .text-right {
  text-align: right !important;
}

/* Spacing Classes */
body.light-mode .mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

body.light-mode .d-flex {
  display: flex !important;
}

body.light-mode .flex-wrap {
  flex-wrap: wrap !important;
}

body.light-mode .flex-column {
  flex-direction: column !important;
}

body.light-mode .align-items-center {
  align-items: center !important;
}

body.light-mode .justify-content-center {
  justify-content: center !important;
}

body.light-mode .justify-content-between {
  justify-content: space-between !important;
}

body.light-mode .gap-1 {
  gap: 0.25rem !important;
}

body.light-mode .gap-2 {
  gap: 0.5rem !important;
}

body.light-mode .gap-3 {
  gap: 0.75rem !important;
}

body.light-mode .gap-4 {
  gap: 1rem !important;
}

body.light-mode .m-0 {
  margin: 0 !important;
}

body.light-mode .p-0 {
  padding: 0 !important;
}

body.light-mode .mb-0 {
  margin-bottom: 0 !important;
}

body.light-mode .mb-1 {
  margin-bottom: 0.25rem !important;
}

body.light-mode .mb-2 {
  margin-bottom: 0.5rem !important;
}

body.light-mode .mb-3 {
  margin-bottom: 0.75rem !important;
}

body.light-mode .mb-4 {
  margin-bottom: 1rem !important;
}

body.light-mode .mt-0 {
  margin-top: 0 !important;
}

body.light-mode .mt-1 {
  margin-top: 0.25rem !important;
}

body.light-mode .mt-2 {
  margin-top: 0.5rem !important;
}

body.light-mode .mt-3 {
  margin-top: 0.75rem !important;
}

body.light-mode .mt-4 {
  margin-top: 1rem !important;
}

body.light-mode .py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

body.light-mode .py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

body.light-mode .py-4 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

/* Default nav state - transparent background */
.nav {
  background: transparent;
}

/* Nav Capsule - morphs from transparent to glass on scroll */
.nav-capsule {
  background: transparent;
}

/* Scrolled state - dark glass capsule with solid background */
.nav.scrolled .nav-capsule {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 9999px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Nav border on scroll */
.nav.scrolled .nav-capsule::after {
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Nav Link Colors - Default (on hero/dark background) */
.nav-link,
.nav-logo {
  color: #ffffff;
}

.nav-link:hover,
.nav-link.active {
  color: #00bcd4;
}


/* Theme Toggle Button - Default (on dark background) */
.theme-toggle,
.nav-theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover,
.nav-theme-toggle:hover {
  background: rgba(0, 188, 212, 0.2);
  border-color: rgba(0, 188, 212, 0.4);
  color: #00bcd4;
  box-shadow:
    0 4px 12px rgba(0, 188, 212, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Nav phone - default white */
.nav-phone,
.nav-phone span,
.nav-phone svg {
  color: rgba(255, 255, 255, 0.9);
}

.nav-phone:hover {
  color: #ffffff;
}

/* Typography & Headings (General Page) */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6,
body.light-mode .section-title {
  color: #1e293b;
}

/* ============================================
   BADGES - Default Dark Mode Style
   ============================================ */

/* Default badge style (dark mode) */
.badge,
.hero .badge,
.hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  border-radius: 9999px !important;
  background: rgba(0, 188, 212, 0.15) !important;
  border: 1px solid rgba(0, 188, 212, 0.3) !important;
  color: #00bcd4 !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Badge icons */
.badge svg,
.badge i {
  color: #00bcd4 !important;
  width: 0.875rem !important;
  height: 0.875rem !important;
}

/* Badge hover */
.badge:hover {
  background: rgba(0, 188, 212, 0.25) !important;
  border-color: rgba(0, 188, 212, 0.5) !important;
  box-shadow:
    0 4px 12px rgba(0, 188, 212, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-1px) !important;
}

/* AMC Section (Packages) - FORCE WHITE BACKGROUND */
body.light-mode #packages,
body.light-mode .section-packages {
  background: #ffffff !important;
  /* Overrides inline gradient */
}

/* Footer - White Mode Styles (No Borders) */
body.light-mode .footer {
  background-color: #f8fafc !important;
  color: #334155 !important;
  border-top: none !important;
}

body.light-mode .footer h1,
body.light-mode .footer h2,
body.light-mode .footer h3,
body.light-mode .footer h4,
body.light-mode .footer .footer-heading {
  color: #1e293b !important;
  font-weight: 600;
}

body.light-mode .footer p,
body.light-mode .footer span,
body.light-mode .footer .footer-link,
body.light-mode .footer .text-muted {
  color: #64748b !important;
}

body.light-mode .footer .footer-link:hover {
  color: #00bcd4 !important;
}

/* Footer bottom border removal */
body.light-mode .footer-bottom {
  border-top: none !important;
}

/* Contact Section - Light Mode Fixes */
body.light-mode .contact-section {
  background: transparent;
}

body.light-mode .contact-info-item,
body.light-mode .contact-form,
body.light-mode .contact-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .contact-info-label {
  color: #64748b !important;
}

body.light-mode .contact-info-value {
  color: #1e293b !important;
  font-weight: 700 !important;
}

body.light-mode .contact-description {
  color: #475569 !important;
}

body.light-mode .contact-form-title {
  color: #1e293b !important;
}

body.light-mode .form-label {
  color: #334155 !important;
}

body.light-mode .contact-form-note {
  color: #64748b !important;
}

/* Forms - Clean & Accessible */
body.light-mode .form-input,
body.light-mode .form-select,
body.light-mode .form-textarea {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

body.light-mode .form-input:focus,
body.light-mode .form-select:focus,
body.light-mode .form-textarea:focus {
  border-color: #00bcd4;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.2);
}

body.light-mode .form-input::placeholder,
body.light-mode .form-textarea::placeholder {
  color: #94a3b8;
}

body.light-mode .form-select option {
  background: #ffffff;
  color: #0f172a;
}

body.light-mode .btn-outline {
  border-color: #00bcd4;
  color: #008ba3;
}

body.light-mode .btn-outline:hover {
  background: #00bcd4;
  color: #ffffff;
}



/* Scrollbar Integration */
body.light-mode::-webkit-scrollbar-track {
  background: #f1f5f9;
}

body.light-mode::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border: 2px solid #f1f5f9;
}

body.light-mode::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8;
}

/* Selection */
body.light-mode::selection {
  background-color: rgba(0, 188, 212, 0.2);
  color: #0f172a;
}

/* Utility Classes */
.container {
  width: 100%;
  padding: 0 var(--space-4);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-12);
    max-width: var(--container-xl);
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 var(--space-16);
    max-width: var(--container-2xl);
  }
}

.section {
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .section {
    padding: var(--space-20) 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-24) 0;
  }
}

/* Default Dark Mode Gradient for Packages */
#packages {
  background: linear-gradient(to bottom, #000, rgba(0, 188, 212, 0.03), #000);
}

.text-gradient {
  background: linear-gradient(135deg, #5c6bc0 0%, #00bcd4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-safety-orange {
  color: var(--safety-orange);
}

.text-muted {
  color: var(--text-muted);
}

.bg-safety-orange {
  background-color: var(--safety-orange);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
}

.glass-card-strong {
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

.shadow-glow-lg {
  box-shadow: 0 0 40px rgba(0, 188, 212, 0.4);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

@media (min-width: 1024px) {
  .btn {
    padding: 1rem 2rem;
  }
}

.btn-primary {
  background-color: var(--safety-orange);
  color: white;
}

.btn-primary:hover {
  background-color: var(--safety-dark);
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(0, 188, 212, 0.3);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.btn-round {
  border-radius: 9999px;
}

/* Badge - Premium Style Consistent in Both Modes */
.badge,
body.light-mode .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 9999px;
  background: rgba(0, 188, 212, 0.15);
  border: 1px solid rgba(0, 188, 212, 0.3);
  color: #00bcd4;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge:hover {
  background: rgba(0, 188, 212, 0.25);
  border-color: rgba(0, 188, 212, 0.5);
  box-shadow:
    0 4px 12px rgba(0, 188, 212, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.badge svg,
body.light-mode .badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #00bcd4;
}

/* Cards */
.card {
  position: relative;
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--space-4);
  transition: all 0.5s ease;
}

@media (min-width: 1024px) {
  .card {
    padding: var(--space-6);
  }
}

.card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 188, 212, 0.3);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header .badge {
  margin-bottom: var(--space-4);
}

@media (min-width: 640px) {
  .section-header {
    margin-bottom: var(--space-10);
  }
}

@media (min-width: 1024px) {
  .section-header {
    margin-bottom: var(--space-12);
  }

  .section-header .badge {
    margin-bottom: var(--space-5);
  }
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
    margin-bottom: var(--space-5);
  }
}

@media (min-width: 1280px) {
  .section-title {
    font-size: 3.5rem;
  }
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 640px) {
  .section-subtitle {
    padding: 0;
  }
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--space-4);
}

.grid-2 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid {
    gap: var(--space-5);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid {
    gap: var(--space-6);
  }
}

@media (min-width: 1280px) {
  .grid {
    gap: var(--space-8);
  }
}

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: rgba(0, 188, 212, 0.1);
  transition: all 0.3s ease;
}

@media (min-width: 1024px) {
  .icon-box {
    width: 3rem;
    height: 3rem;
  }
}

.icon-box:hover,
.card:hover .icon-box {
  background-color: rgba(0, 188, 212, 0.2);
  transform: scale(1.1);
}

/* Form Elements */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  color: white;
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
}

@media (min-width: 1024px) {

  .form-input,
  .form-select,
  .form-textarea {
    padding: 0.75rem 1rem;
  }
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--safety-orange);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.5)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
}

.form-select option {
  background: #000;
}

.form-textarea {
  resize: none;
  min-height: 80px;
}

/* Hide class */
.hidden {
  display: none !important;
}

/* Responsive visibility */
.lg-only {
  display: none;
}

@media (min-width: 1024px) {
  .lg-only {
    display: block;
  }

  .mobile-only {
    display: none;
  }
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ==================== SPACING UTILITIES ==================== */

/* Margin utilities */
.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--space-1);
}

.mb-2 {
  margin-bottom: var(--space-2);
}

.mb-3 {
  margin-bottom: var(--space-3);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-5 {
  margin-bottom: var(--space-5);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mb-10 {
  margin-bottom: var(--space-10);
}

.mb-12 {
  margin-bottom: var(--space-12);
}

.mt-0 {
  margin-top: 0;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mt-12 {
  margin-top: var(--space-12);
}

/* Padding utilities */
.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}

.py-4 {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.py-6 {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.px-4 {
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.px-6 {
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* Gap utilities */
.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* ==================== ALIGNMENT UTILITIES ==================== */
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
}

/* Container max-width utilities */
.max-w-sm {
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-md {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-lg {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-xl {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-2xl {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-3xl {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-5xl {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-6xl {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== RESPONSIVE ALIGNMENT ==================== */
@media (min-width: 1024px) {
  .lg\:text-left {
    text-align: left;
  }

  .lg\:text-center {
    text-align: center;
  }

  .lg\:items-start {
    align-items: flex-start;
  }
}

/* ==================== VISIBILITY UTILITIES ==================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==================== CURSOR UTILITIES ==================== */
.default-cursor {
  cursor: default;
}

.pointer-cursor {
  cursor: pointer;
}


/* ==================== ACCESSIBILITY ==================== */

/* Skip Link for Keyboard Navigation */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Focus Visible - Keyboard Navigation */
*:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Remove outline for mouse users (modern browsers) */
*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Button Focus States */
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.3);
}

/* Form Input Focus */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.2);
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary: #00e5ff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --border-subtle: rgba(255, 255, 255, 0.3);
  }

  .btn-primary {
    border: 2px solid #fff;
  }

  .service-card,
  .package-card {
    border: 2px solid var(--border-subtle);
  }
}

/* Screen Reader Only Text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ARIA Live Regions */
[aria-live="polite"] {
  /* Ensure live regions are announced */
}

/* Progress Bar ARIA */
[role="progressbar"] {
  position: relative;
}

[role="progressbar"] .nav-progress-bar {
  transition: width 0.1s linear;
}

/* Dialog/Modal Support */
[role="dialog"] {
  position: relative;
}

[aria-hidden="true"] {
  /* Visually hide but keep in DOM for screen readers when needed */
}

/* Slider Accessibility */
[role="tablist"] {
  display: flex;
}

[role="tab"] {
  cursor: pointer;
}

[role="tab"][aria-selected="true"] {
  opacity: 1;
}

[role="tab"][aria-selected="false"] {
  opacity: 0.5;
}

/* Print Accessibility */
@media print {

  .skip-link,
  .nav,
  .whatsapp-fab,
  .mobile-menu {
    display: none !important;
  }

  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    opacity: 0.7;
  }
}

/* Landmark Navigation Support */
[role="navigation"],
[role="main"],
[role="contentinfo"],
[role="complementary"] {
  /* Ensure landmarks are visible */
}

/* ==================== PERFORMANCE ==================== */

/* Content Visibility for Below-the-Fold */
.section {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* GPU Acceleration for Animated Elements */
.hero-slide,
.fade-in,
.service-card,
.package-card {
  will-change: transform, opacity;
  transform: translateZ(0);
}

/* Optimize Image Rendering */
img {
  image-rendering: -webkit-optimize-contrast;
}

/* Contain Layout for Complex Components */
.service-card,
.package-card,
.testimonial-card,
.faq-item {
  contain: layout style;
}

/* ==================== BLOGS SECTION ==================== */
.blog-card {
  padding: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-image {
  position: relative;
  width: 100%;
  height: 15rem;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.8);
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.blog-day {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.blog-month {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.blog-content {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-category {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
}

.btn-link:hover {
  gap: 0.75rem;
  color: var(--primary-light);
}

.blog-hidden {
  display: none !important;
}

/* ==================== SERVICE DETAILS PAGE ==================== */
.service-hero {
  position: relative;
  padding: var(--space-20) 0 var(--space-10);
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(0, 188, 212, 0.05) 0%, transparent 70%);
}

.service-detail-section {
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--border-subtle);
  scroll-margin-top: 6.25rem;
  /* Offset for sticky header */
}

.service-detail-section:last-child {
  border-bottom: none;
}

.service-intro-grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  margin-bottom: var(--space-12);
}

@media (min-width: 1024px) {
  .service-intro-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail-section:nth-child(even) .service-intro-grid {
    direction: rtl;
    /* Flip layout for visual interest */
  }

  .service-detail-section:nth-child(even) .service-intro-grid>* {
    direction: ltr;
    /* Reset text direction */
  }
}

.service-main-image {
  border-radius: var(--space-4);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16/9;
}

.service-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-main-image:hover img {
  transform: scale(1.05);
}

.service-detail-content h3 {
  font-size: 2rem;
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.service-detail-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: var(--space-6);
}

/* Process Steps */
.process-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

.process-step {
  position: relative;
  padding: var(--space-4) 0;
  transition: all 0.4s ease;
}

.process-step:hover {
  transform: translateY(-3px);
}

.process-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  margin-bottom: var(--space-2);
  transition: color 0.3s ease;
}

.process-step:hover .process-number {
  color: rgba(0, 188, 212, 0.3);
}

.process-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text-white);
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==================== SERVICE SLIDER ==================== */
.service-slider {
  position: relative;
  width: 100%;
  min-height: 18.75rem;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-slides {
  display: grid;
  grid-template-areas: 'slide';
}

.service-slide {
  grid-area: slide;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
}

.service-slide.active {
  opacity: 1;
  z-index: 2;
  position: relative;
}

.service-slide:not(.active) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.service-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-slider:hover .service-slide img {
  transform: scale(1.03);
}

.service-slider-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-slider:hover .service-slider-controls {
  opacity: 1;
}

.slider-arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}

.slider-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  position: relative;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.slider-dot.active {
  background: #00bcd4;
  border-color: #00bcd4;
  box-shadow:
    0 0 0 0.25rem rgba(0, 188, 212, 0.2),
    0 0 15px rgba(0, 188, 212, 0.4);
  transform: scale(1.2);
}

.slider-dot.active::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #008ba3;
  opacity: 0.3;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }
}

/* Hide hero slider dots on all screens */
.hero .slider-dots {
  display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .slider-dots {
    gap: 0.6rem;
    padding: 0.6rem 1rem;
  }

  .slider-dot {
    width: 0.7rem;
    height: 0.7rem;
  }
}

@media (min-width: 1024px) {
  .slider-dots {
    gap: 1rem;
    padding: 1rem 1.5rem;
  }

  .slider-dot {
    width: 0.875rem;
    height: 0.875rem;
  }

  .slider-dot.active {
    transform: scale(1.3);
  }
}

/* Navigation Dropdown Styles */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dropdown-header {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.25rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: block;
  padding: 2px 0;
}

.dropdown-link:hover {
  color: #fff;
  padding-left: 4px;
  text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.nav-capsule,
.nav-capsule-inner,
.nav-links {
  overflow: visible !important;
}

.nav-dropdown-menu {
  z-index: 1000 !important;
}

/* ==================== CENTER AMC GRIDS ==================== */

/* Center the package grid on homepage */
.package-grid {
  justify-content: center;
  align-items: stretch;
}

/* Ensure package cards are centered when fewer than 3 items */
.package-grid .package-card {
  height: 100%;
}

/* AMC Page - Center service sections */
.service-section .container {
  max-width: 75rem;
  margin: 0 auto;
}

/* Center service header content */
.service-header {
  align-items: center;
}

/* Center section headers */
.section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* AMC Intro section centering */
.amc-intro-grid {
  justify-content: center;
}

/* Benefits grid centering */
.benefits-grid {
  justify-content: center;
}

/* Process steps centering */
.process-grid {
  justify-content: center;
}

/* Particle Background */


/* Pulsing Glow Background */
.pulse-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150vw;
  height: 150vh;
  /* Oversized to cover */
  background: radial-gradient(circle, rgba(206, 32, 41, 0.06) 0%, transparent 60%);
  z-index: 0;
  /* Same level as particles */
  pointer-events: none;
  animation: breathe 8s infinite ease-in-out;
}

@keyframes breathe {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
}

/* Particle Background */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* Updated to 0 to sit above body background */
  pointer-events: none;
  background: transparent;
}

/* Ensure content sits above particles */
#main-content,
.footer,
.nav,
.section {
  position: relative;
  z-index: 10;
}

/* ==================== PULSING GLOW ANIMATION ==================== */

/* Pulsing Glow Background - Cyan Glow Effect */
.pulsing-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150vw;
  height: 150vh;
  background: radial-gradient(circle at center, rgba(0, 188, 212, 0.06) 0%, rgba(0, 188, 212, 0.02) 30%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: breathe 8s ease-in-out infinite;
}

/* Alternative: Cyan/Cyan safety glow (matching QSERV brand) */
.pulsing-glow-cyan {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150vw;
  height: 150vh;
  background: radial-gradient(circle at center, rgba(0, 188, 212, 0.06) 0%, rgba(0, 188, 212, 0.02) 30%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: breathe 8s ease-in-out infinite;
}

/* Section-specific pulsing glow */
.pulsing-glow-section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(0, 188, 212, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: breathe 6s ease-in-out infinite;
}

/* Breathing Animation Keyframes */
@keyframes breathe {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
}

/* Slow pulse for hero sections */
@keyframes pulse-slow {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.7;
  }
}

/* Status light pulse - for small indicators */
@keyframes status-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.4);
  }

  50% {
    box-shadow: 0 0 20px 10px rgba(0, 188, 212, 0);
  }
}

/* Active monitoring indicator */
.monitoring-active::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.05) 0%, transparent 50%);
  animation: breathe 10s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

/* Hero section enhanced glow */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  background: radial-gradient(ellipse at center, rgba(0, 188, 212, 0.08) 0%, rgba(0, 188, 212, 0.02) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: breathe 8s ease-in-out infinite;
}

/* Corner glow accents */
.corner-glow-tl {
  position: fixed;
  top: -40%;
  left: -40%;
  width: 80vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(0, 188, 212, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: breathe 12s ease-in-out infinite;
}

.corner-glow-br {
  position: fixed;
  bottom: -40%;
  right: -40%;
  width: 80vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(206, 32, 41, 0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: breathe 12s ease-in-out infinite reverse;
}

/* =========================================
   LIGHT MODE: COMPREHENSIVE IMPLEMENTATION
   ========================================= */

/* Hide dark-mode glow effects in light mode */
body.light-mode .corner-glow-tl,
body.light-mode .corner-glow-br {
  display: none !important;
}

/* 1. Global Reset for Light Mode */
body.light-mode {
  color: #334155 !important;
}

body.light-mode p,
body.light-mode span,
body.light-mode li,
body.light-mode div {
  color: inherit;
}

/* 2. Cards - Universal White Background */
body.light-mode .card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .card:hover {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

/* 3. Features & About Section */
body.light-mode .feature-list li,
body.light-mode .feature-item,
body.light-mode .check-list-item,
body.light-mode .about-text,
body.light-mode .feature-text {
  color: #334155 !important;
}

body.light-mode .feature-list li svg,
body.light-mode .check-list-item svg,
body.light-mode .feature-icon {
  color: #00bcd4 !important;
}

body.light-mode .about-section {
  background: #ffffff !important;
}

/* 4. Service Cards & Packages */
body.light-mode .service-card,
body.light-mode .package-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .service-card:hover,
body.light-mode .package-card:hover {
  border-color: #00bcd4 !important;
  box-shadow: 0 10px 15px -3px rgba(0, 188, 212, 0.1) !important;
}

body.light-mode .service-card h3,
body.light-mode .package-card h3,
body.light-mode .service-title,
body.light-mode .package-title,
body.light-mode .service-card-title {
  color: #1e293b !important;
}

body.light-mode .service-card p,
body.light-mode .package-card p,
body.light-mode .service-desc,
body.light-mode .service-card-desc,
body.light-mode .package-desc {
  color: #475569 !important;
}

body.light-mode .service-card-icon {
  background: rgba(0, 188, 212, 0.1) !important;
  border-color: rgba(0, 188, 212, 0.2) !important;
}

body.light-mode .service-card:hover .service-card-icon {
  background: #00bcd4 !important;
}

/* 5. Process / Steps Section */
body.light-mode .process-step,
body.light-mode .process-content {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-mode .process-content:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

body.light-mode .process-number,
body.light-mode .step-number {
  color: rgba(15, 23, 42, 0.08) !important;
  -webkit-text-stroke: 1px rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .process-step:hover .process-number,
body.light-mode .process-content:hover .process-number {
  color: rgba(0, 188, 212, 0.15) !important;
  -webkit-text-stroke: 1px rgba(0, 188, 212, 0.15) !important;
}

body.light-mode .process-title,
body.light-mode .step-title {
  color: #1e293b !important;
}

body.light-mode .process-desc,
body.light-mode .step-desc,
body.light-mode .process-step p {
  color: #475569 !important;
}

body.light-mode .process-icon {
  background: rgba(0, 188, 212, 0.1) !important;
  border-color: rgba(0, 188, 212, 0.2) !important;
}

body.light-mode .process-dot {
  background: #00bcd4 !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 0 4px #e0f2fe !important;
}

/* 6. Testimonials Section */
body.light-mode .testimonial-card,
body.light-mode .testimonial-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .testimonial-quote,
body.light-mode .quote-text,
body.light-mode .testimonial-text,
body.light-mode .testimonial-card p {
  color: #334155 !important;
}

body.light-mode .testimonial-name,
body.light-mode .client-name,
body.light-mode .author-name {
  color: #1e293b !important;
}

body.light-mode .testimonial-role,
body.light-mode .testimonial-company,
body.light-mode .client-role,
body.light-mode .author-role {
  color: #64748b !important;
}

body.light-mode .testimonial-quote-icon {
  color: rgba(0, 188, 212, 0.2) !important;
}

/* 7. FAQ Section */
body.light-mode .faq-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-mode .faq-item:hover {
  border-color: #cbd5e1 !important;
}

body.light-mode .faq-question,
body.light-mode .faq-header,
body.light-mode .faq-header h3 {
  color: #1e293b !important;
}

body.light-mode .faq-question span,
body.light-mode .faq-header span {
  color: #1e293b !important;
}

body.light-mode .faq-answer,
body.light-mode .faq-body,
body.light-mode .faq-answer p {
  color: #475569 !important;
}

body.light-mode .faq-icon {
  color: #00bcd4 !important;
}

/* 8. Contact Section & Info Cards */
body.light-mode .contact-section {
  background: #f8fafc !important;
}

body.light-mode .contact-info-card,
body.light-mode .info-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .contact-label {
  color: #64748b !important;
}

body.light-mode .contact-value,
body.light-mode .contact-text,
body.light-mode .contact-info-card p,
body.light-mode .contact-info-card a {
  color: #1e293b !important;
}

body.light-mode .contact-info-icon {
  color: #00bcd4 !important;
}

/* 9. Blog Cards */
body.light-mode .blog-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .blog-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .blog-title,
body.light-mode .blog-card h3 {
  color: #1e293b !important;
}

body.light-mode .blog-excerpt,
body.light-mode .blog-card p {
  color: #475569 !important;
}

body.light-mode .blog-category {
  color: #00bcd4 !important;
}

body.light-mode .blog-date {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-mode .blog-day {
  color: #1e293b !important;
}

body.light-mode .blog-month {
  color: #64748b !important;
}

/* 10. Footer - White Background in Light Mode */
body.light-mode .footer,
body.light-mode footer {
  background-color: #f8fafc !important;
  color: #000000 !important;
  border-top: 1px solid #e2e8f0 !important;
}

body.light-mode .footer p,
body.light-mode .footer span,
body.light-mode .footer li,
body.light-mode .footer a,
body.light-mode .footer .text-muted,
body.light-mode .footer-links li,
body.light-mode .footer-links a {
  color: #000000 !important;
}

body.light-mode .footer a:hover {
  color: #00bcd4 !important;
}

body.light-mode .footer h1,
body.light-mode .footer h2,
body.light-mode .footer h3,
body.light-mode .footer h4,
body.light-mode .footer .footer-heading,
body.light-mode .footer-heading {
  color: #000000 !important;
  font-weight: 600 !important;
}

body.light-mode .footer-bottom {
  border-top: 1px solid #e2e8f0 !important;
}

/* 11. Logo Stream / Client Logos */
body.light-mode .logo-stream-item,
body.light-mode .client-logo {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

body.light-mode .logo-stream-item:hover {
  border-color: #cbd5e1 !important;
}

/* 12. Stats / Numbers Section */
body.light-mode .stat-card,
body.light-mode .stats-item {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .stat-number {
  color: #00bcd4 !important;
}

body.light-mode .stat-label {
  color: #64748b !important;
}

/* 13. CTA Sections */
body.light-mode .cta-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%) !important;
}

body.light-mode .cta-section .section-title {
  color: #1e293b !important;
}

body.light-mode .cta-section .text-muted {
  color: #475569 !important;
}

/* 14. Icon Boxes */
body.light-mode .icon-box {
  background: rgba(0, 188, 212, 0.1) !important;
}

body.light-mode .icon-box:hover,
body.light-mode .card:hover .icon-box {
  background: rgba(0, 188, 212, 0.2) !important;
}

/* 15. Buttons in Light Mode */
body.light-mode .btn-secondary {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}

body.light-mode .btn-secondary:hover {
  background: #f8fafc !important;
  border-color: #00bcd4 !important;
  color: #00bcd4 !important;
}

/* 16. Package Features */
body.light-mode .package-features li,
body.light-mode .package-feature {
  color: #334155 !important;
}

body.light-mode .package-feature-check {
  color: #00bcd4 !important;
  background: rgba(0, 188, 212, 0.1) !important;
}

body.light-mode .package-price {
  color: #1e293b !important;
}

body.light-mode .package-price-currency,
body.light-mode .package-price-period {
  color: #64748b !important;
}

/* 17. Mobile Menu in Light Mode */
body.light-mode .mobile-menu {
  background: #ffffff !important;
  border-left: 1px solid #e2e8f0 !important;
}

body.light-mode .mobile-menu .nav-link {
  color: #334155 !important;
}

body.light-mode .mobile-menu .nav-link:hover,
body.light-mode .mobile-menu .nav-link.active {
  color: #00bcd4 !important;
  background: #f8fafc !important;
}

/* 18. Whatsapp FAB */
body.light-mode .whatsapp-fab {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* 19. Section Backgrounds */
body.light-mode .section {
  background: transparent !important;
}

body.light-mode .section:nth-child(even) {
  background: #f8fafc !important;
}

/* 20. Text Utilities */
body.light-mode .text-muted {
  color: #64748b !important;
}

body.light-mode .text-gradient {
  background: linear-gradient(135deg, #5c6bc0 0%, #00bcd4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 21. Better Visual Hierarchy */
body.light-mode .section-title {
  color: #1e293b !important;
  font-weight: 700;
}

body.light-mode .section-subtitle {
  color: #64748b !important;
}

/* 22. Improved Shadows */
body.light-mode .shadow-glow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .shadow-glow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* 23. Glass Cards */
body.light-mode .glass-card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

body.light-mode .glass-card-strong {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

/* 24. Better Card Hover Effects */
body.light-mode .card:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* ============================================
   PREMIUM THEME TOGGLE BUTTON
   ============================================ */

.theme-toggle,
.nav-theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium glow ring effect */
.theme-toggle::before,
.nav-theme-toggle::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
      transparent 0deg,
      rgba(0, 188, 212, 0.3) 60deg,
      rgba(0, 188, 212, 0.6) 120deg,
      rgba(0, 188, 212, 0.3) 180deg,
      transparent 240deg,
      transparent 360deg);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  animation: rotateGlow 3s linear infinite;
}

/* Show glow on hover */
.theme-toggle:hover::before,
.nav-theme-toggle:hover::before {
  opacity: 1;
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Icons */
.theme-toggle svg,
.nav-theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

/* Sun icon rotation */
.theme-icon-sun {
  animation: sunRotate 10s linear infinite;
  animation-play-state: paused;
}

.theme-toggle:hover .theme-icon-sun,
.nav-theme-toggle:hover .theme-icon-sun {
  animation-play-state: running;
}

@keyframes sunRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Moon icon subtle pulse */
.theme-icon-moon {
  animation: moonPulse 3s ease-in-out infinite;
}

@keyframes moonPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* Active click effect */
.theme-toggle:active,
.nav-theme-toggle:active {
  transform: scale(0.92);
}

.theme-toggle:active svg,
.nav-theme-toggle:active svg {
  transform: scale(0.85);
}


/* ============================================
   MOBILE THEME TOGGLE
   ============================================ */

/* Hide mobile theme toggle on desktop */
.mobile-theme-toggle {
  display: none;
}

/* Show mobile theme toggle on mobile */
@media (max-width: 1023px) {
  .mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
  }

  .mobile-theme-toggle:hover {
    background: rgba(0, 188, 212, 0.2);
    border-color: rgba(0, 188, 212, 0.4);
    color: #00bcd4;
  }

  /* Center the mobile theme toggle in the nav capsule inner */
  .nav-capsule-inner {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-logo {
    grid-column: 1;
    justify-self: start;
  }

  .mobile-theme-toggle {
    grid-column: 2;
    justify-self: center;
  }

  .nav-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .nav-cta {
    display: none !important;
    /* Hide CTA on mobile */
  }

  .nav-links {
    display: none !important;
    /* Hide desktop links on mobile */
  }
}

/* Desktop layout - normal flex */
@media (min-width: 1024px) {
  .nav-capsule-inner {
    display: flex !important;
    justify-content: space-between;
  }

  .mobile-theme-toggle {
    display: none;
  }
}

/* ============================================
   PAGE TRANSITION OVERLAY
   ============================================ */

.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.transition-spinner {
  position: relative;
  width: 40px;
  height: 40px;
}

.spinner-circle {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(0, 188, 212, 0.3);
  border-top: 3px solid #00bcd4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Smooth transitions for all interactive elements */
* {
  transition: background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.2s ease;
}

/* Prevent transition on scroll-triggered elements */
.nav.scrolled,
.scrolling-element {
  transition: none;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }

  .spinner-circle {
    animation: none;
    border-top-color: #00bcd4;
  }
}

/* Page transitioning state */
body.page-transitioning * {
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

body.page-transitioning {
  pointer-events: none;
}

/* Prevent layout shifts during transitions */
.page-transitioning .hero,
.page-transitioning .nav,
.page-transitioning .section {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* ==================== SERVICES LOAD MORE ==================== */

.hidden-services {
    display: contents;
}

.load-more-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
}

#load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

#load-more-btn:hover {
    background: #00acc1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

#load-more-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-text {
    transition: transform 0.2s ease;
}

.btn-icon {
    transition: transform 0.2s ease;
}

#load-more-btn[aria-expanded="true"] .btn-icon {
    transform: rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #load-more-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .load-more-container {
        margin-top: 1.5rem;
    }
}

/* ==================== END SERVICES LOAD MORE ==================== */
/* =========================================
   HERO SECTION - OPTIMIZED & CONSOLIDATED
   ========================================= */

/* 
   Container & Layout 
   Uses 100dvh for better mobile browser support
*/
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic Viewport Height */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 2rem;
  /* Ensure no overlap with fixed header */
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 7rem;
    padding-bottom: 2rem;
    min-height: auto;
    height: auto;
  }
}

/* 
   Slider & Backgrounds 
*/
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000; /* Fallback color */
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Smooth zoom effect */
  transform: scale(1);
  transition: transform 8s ease-out;
  will-change: transform;
}

.hero-slide.active img {
  transform: scale(1.1);
}

/* 
   Overlays 
*/
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0.3) 70%,
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-overlay-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* 
   Content 
*/
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  padding: var(--space-6) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Ensure hero container doesn't constrain width */
.hero .container {
  width: 100%;
  max-width: none;
}

@media (min-width: 1024px) {
  .hero .container {
    max-width: var(--container-xl, 1280px);
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 2rem 0;
    min-height: calc(100vh - 5rem); /* Account for header */
    justify-content: center;
  }
}

/* Typography with clamp() for fluid scaling */
.hero-title {
  /* Fluid font size: 1.75rem at 320px -> 3.5rem at 1920px */
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: clamp(0.75rem, 2vh, 1.5rem);
  color: #fff;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  max-width: 20ch; /* Limit width for readability */
}

@media (min-width: 640px) {
  .hero-title {
    font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem);
    max-width: 18ch;
  }
}

/* Gradient Text */
.hero .text-gradient {
  background: linear-gradient(135deg, #5c6bc0 0%, #00bcd4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Oswald", sans-serif;
  margin-bottom: clamp(0.75rem, 1.5vh, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-body {
  font-size: clamp(0.875rem, 1vw + 0.5rem, 1.125rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 38rem; /* Use rem max-width to prevent stretching */
  margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
  line-height: 1.6;
}

/* 
   Interactives (Badges & Buttons) 
*/
.hero-content .badge {
  margin-bottom: clamp(1rem, 3vh, 2rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 9999px;
  background: rgba(0, 188, 212, 0.15);
  border: 1px solid rgba(0, 188, 212, 0.3);
  color: #e0f7fa; /* High contrast for dark mode */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    align-items: center;
  }
}

/* 
   Trust Badges 
   Optimized Grid
*/
.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero-trust {
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 1.5rem;
  }
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.hero-trust-item:hover {
  border-color: rgba(0, 188, 212, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.hero-trust-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(0, 188, 212, 0.15);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-trust-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #00bcd4;
}

.hero-trust-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  line-height: 1.2;
}

/* 
   Slider Controls 
*/
.slider-nav {
  display: none; /* Hidden on mobile */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

@media (min-width: 1024px) {
  .slider-nav {
    display: flex;
  }
}

.slider-nav:hover {
  background: #00bcd4; /* Brand color */
  border-color: #00bcd4;
}

.slider-nav.prev {
  left: 1.5rem;
}
.slider-nav.next {
  right: 1.5rem;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}

@media (min-width: 640px) {
  .slider-dots {
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    bottom: 2rem;
  }
}

.slider-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-dot.active {
  background: #00bcd4;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

/* 
   Hero Slide Info Card 
   Hidden on Mobile/Tablet (< 1024px)
*/
.hero-slide-info {
  display: none;
  position: absolute;
  z-index: 20;
  bottom: 8rem; /* Raised to avoid overlap with dots */
  right: 2rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.25rem;
  max-width: 16rem;
  transition: all 0.3s ease;
}

@media (min-width: 1024px) {
  .hero-slide-info {
    display: block;
  }
}

@media (min-width: 1280px) {
  .hero-slide-info {
    right: 3rem;
    max-width: 20rem;
    padding: 1.5rem;
  }
}

.hero-slide-info-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.hero-slide-info-title {
  font-family: "Oswald", sans-serif;
  font-size: 1.25rem;
  color: #00bcd4;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.hero-slide-info-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   LIGHT MODE OVERRIDES
   ========================================= */
body.light-mode .hero {
  background: #f8fafc;
}

body.light-mode .hero-overlay {
  background: linear-gradient(
    to right,
    rgba(248, 250, 252, 0.95) 0%,
    rgba(248, 250, 252, 0.8) 40%,
    rgba(248, 250, 252, 0.4) 70%,
    transparent 100%
  );
}

body.light-mode .hero-overlay-top {
  display: none; /* Cleaner look for light mode */
}

body.light-mode .hero-title,
body.light-mode .hero-body strong {
  color: #0f172a;
}

body.light-mode .hero-subtitle,
body.light-mode .hero-body {
  color: #334155;
}

/* Light Mode Gradients */
body.light-mode .hero .text-gradient {
  background: linear-gradient(135deg, #3949ab 0%, #0097a7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .hero .badge {
  background: rgba(0, 188, 212, 0.1);
  border-color: rgba(0, 188, 212, 0.25);
  color: #006064; /* High contrast for light mode */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

body.light-mode .hero-trust-item {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

body.light-mode .hero-trust-text {
  color: #334155;
}

body.light-mode .hero-trust-icon {
  background: rgba(0, 188, 212, 0.1);
}

body.light-mode .slider-nav {
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .slider-nav:hover {
  background: #006064; /* Darker cyan for better hover contrast */
  color: #fff;
}

body.light-mode .slider-dots {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .slider-dot {
  background: rgba(0, 0, 0, 0.2);
}

body.light-mode .slider-dot.active {
  background: #00bcd4;
}

body.light-mode .hero-slide-info {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .hero-slide-info-label {
  color: #64748b;
}

body.light-mode .hero-slide-info-title {
  color: #0097a7;
}

body.light-mode .hero-slide-info-subtitle {
  color: #475569;
}

/* 
   MOBILE FIXES (Consolidated from mobile-hero-fix.css) 
*/
@media (max-width: 639px) {
  .hero {
    padding-top: 4.5rem;
    padding-bottom: 1.5rem;
  }
  
  .hero-content {
    padding: 1rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.15;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }

  /* Stack buttons full width on very small screens */
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Adjust trust badges for mobile */
  .hero-trust {
    gap: 0.5rem;
    margin-top: 0.75rem;
  }
  
  .hero-trust-item {
    padding: 0.5rem;
  }
  
  .hero-trust-text {
    font-size: 0.7rem;
  }
}

/* Tablet adjustments */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-content {
    padding: 2rem 0;
  }
}
/**
 * Header Fix CSS
 * Fixes for navigation styling across all pages
 */

/* ============================================
   BASE NAVIGATION STYLES
   ============================================ */

/* GPU Acceleration for smooth animations */
.nav, .nav-capsule, .nav-capsule-inner {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1rem;
    color: #ffffff;
}

.nav-capsule {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    --scroll-progress: 0;
    will-change: max-width, border-radius, background, box-shadow;
    transition: 
        max-width 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-radius 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        background 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-capsule-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
    padding: 0 1rem;
}

/* ============================================
   NAVIGATION LINKS - ALWAYS VISIBLE
   ============================================ */

.nav-links {
    display: none;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex !important;
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #fff;
}

/* ============================================
   LIQUID GLASS CAPSULE - SCROLL ANIMATION
   ============================================ */

.nav.scrolled {
    padding: 0.5rem 1rem;
}

.nav.scrolled .nav-capsule {
    max-width: 900px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 9999px;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav.scrolled .nav-capsule-inner {
    height: 3rem;
    padding: 0 0.5rem 0 1rem;
}

.nav.scrolled .nav-capsule::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

/* Consistent header behavior across all pages - hide phone number when scrolled */
.nav.scrolled .nav-phone {
    display: none !important;
}

/* Maintain CTA button size consistency */
.nav.scrolled .nav-cta .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* Consistent logo size when scrolled */
.nav.scrolled .nav-logo-img {
    height: 1.75rem;
}

@media (min-width: 1024px) {
    .nav.scrolled .nav-logo-img {
        height: 2rem;
    }
}

/* ============================================
   MOBILE MENU - PROPERLY HIDDEN ON DESKTOP
   ============================================ */

.mobile-menu {
    display: none !important;
    position: fixed;
    inset: 0;
    z-index: 40;
}

.mobile-menu.open {
    display: block !important;
}

/* ============================================
   MOBILE TOGGLE BUTTON
   ============================================ */

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none !important;
    }
}

/* ============================================
   NAV CTA BUTTONS
   ============================================ */

.nav-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: flex !important;
    }
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
}

.nav-phone:hover {
    color: #fff;
}

/* ============================================
   SCROLL PROGRESS CAPSULE (CSS VARIABLE BASED)
   ============================================ */

.nav-capsule {
    --capsule-width: calc(100% - (var(--scroll-progress, 0) * (100% - min(900px, 95%))));
    --capsule-radius: calc(0px + (var(--scroll-progress, 0) * 9999px));
    --capsule-blur: calc(var(--scroll-progress, 0) * 20px);
    --capsule-saturate: calc(100% + (var(--scroll-progress, 0) * 80%));
    --capsule-bg: rgba(255, 255, 255, calc(0.03 * var(--scroll-progress, 0)));
    --capsule-shadow: 0 calc(4px * var(--scroll-progress, 0)) calc(30px * var(--scroll-progress, 0)) rgba(0, 0, 0, calc(0.3 * var(--scroll-progress, 0)));
    --capsule-inset: inset 0 calc(1px * var(--scroll-progress, 0)) 0 rgba(255, 255, 255, calc(0.1 * var(--scroll-progress, 0)));
    
    max-width: var(--capsule-width);
    background: var(--capsule-bg);
    backdrop-filter: blur(var(--capsule-blur)) saturate(var(--capsule-saturate));
    -webkit-backdrop-filter: blur(var(--capsule-blur)) saturate(var(--capsule-saturate));
    border-radius: var(--capsule-radius);
    box-shadow: var(--capsule-shadow), var(--capsule-inset);
    transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Capsule border based on scroll */
.nav-capsule::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, calc(0.05 * var(--scroll-progress, 0)));
    pointer-events: none;
    opacity: var(--scroll-progress, 0);
    transition: opacity 0.3s ease;
}

/* ============================================
   LOGO STYLING
   ============================================ */

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 2rem;
    width: auto;
    transition: height 0.3s ease;
}

@media (min-width: 1024px) {
    .nav-logo-img {
        height: 2.5rem;
    }
}

.nav.scrolled .nav-logo-img {
    height: 1.75rem;
}

@media (min-width: 1024px) {
    .nav.scrolled .nav-logo-img {
        height: 2rem;
    }
}

/* ============================================
   MOBILE MENU CONTENT
   ============================================ */

.mobile-menu-content {
    position: fixed;
    top: 5rem;
    left: 1rem;
    right: 1rem;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
/* Hero Trust Badges - Dark Mode (Default) */

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

/* Mobile trust badges */
@media (max-width: 767px) {
    .hero-trust {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .hero-trust-item .hero-trust-icon {
        background: rgba(0, 188, 212, 0.2);
    }

    .hero-trust-item .hero-trust-text {
        color: rgba(255, 255, 255, 0.8);
        font-weight: 500;
        font-size: 0.625rem;
    }

    /* Light mode mobile trust badges */
    body.light-mode .hero-trust-item .hero-trust-text {
        color: #334155 !important;
    }
}

@media (min-width: 1024px) {
    .hero-trust-item {
        gap: 0.75rem;
        padding: 0.75rem;
    }
}

.hero-trust-item:hover {
    border-color: rgba(0, 188, 212, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.hero-trust-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(0, 188, 212, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .hero-trust-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.hero-trust-icon svg {
    stroke: #00bcd4;
}

.hero-trust-text {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    line-height: 1.3;
}

@media (min-width: 1024px) {
    .hero-trust-text {
        font-size: 0.75rem;
    }
}

/* ============================================
   LIGHT MODE: Hero Trust Badges
   Light glass cards with dark text
   ============================================ */

/* Light mode overrides are in styles.css under:
   body.light-mode .hero .hero-trust-item
   body.light-mode .hero .hero-trust-icon
   body.light-mode .hero .hero-trust-text
   No duplicate rules needed here */

