/* ========================================== */
/* 1. CSS VARIABLES (ENTERPRISE THEMES)       */
/* ========================================== */
:root {
    --primary: #8a1c22;
    /* Sai Core Deep Maroon */
    --accent: #d4af37;
    /* Sai Core Gold */
    --bg-color: #030303f9;
    --surface: #0f0f0f;
    --text-main: #ffffff;
    --text-muted: #999999;
    --border-color: rgba(255, 255, 255, 0.06);
    --glass-bg: rgba(10, 10, 10, 0.85);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 15px 35px rgba(212, 175, 55, 0.15);
    --industry-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    --bg-color: #f4f4f7;
    --surface: #ffffff;
    --text-main: #111111;
    --text-muted: #555555;
    --border-color: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 15px 35px rgba(138, 28, 34, 0.1);
}

/* --- RESET & SMOOTH SCROLLING --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    transition: background-color 0.6s ease, color 0.6s ease;
    text-align: justify;
}

body.modal-open {
    overflow: hidden;
}

/* fix duplicate scrollbars by avoiding full viewport section overflow */
section {
    min-height: auto;
}

#home {
    min-height: calc(100vh - 140px);
}


#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s;
}

/* ========================================== */
/* 2. STICKY NAVIGATION & LOGO FIT            */
/* ========================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 4000;
    background: transparent;
    transition: all 0.5s var(--industry-ease);
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    padding: 10px 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-soft);
}

.nav-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    height: 100%;
    transition: 0.4s var(--industry-ease);
}

.nav-logo-container:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    border-radius: 6px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    background-color: #fff;
    padding: 2px;
}

.logo-modal-img {
    height: 50px;
    margin-bottom: 20px;
    border-radius: 4px;
    background: #fff;
    padding: 2px;
}

.nav-logo-text {
    font-family: 'Montserrat';
    font-size: 1.3rem;
    color: var(--text-main);
    font-weight: 900;
    letter-spacing: 1.5px;
    line-height: 1.1;
    transition: color 0.5s;
}

.nav-logo-text span {
    color: var(--accent);
    font-size: 0.6rem;
    display: block;
    letter-spacing: 4px;
    font-weight: 600;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
    transition: 0.3s;
    opacity: 0.8;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s var(--industry-ease);
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active-link {
    color: var(--accent);
    opacity: 1;
}

.btn-login {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 700 !important;
    transition: 0.4s var(--industry-ease);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-login:hover {
    background: var(--accent);
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: 0.4s var(--industry-ease);
    cursor: pointer;
}

.theme-toggle:hover {
    background: var(--text-main);
    color: var(--bg-color);
    border-color: var(--text-main);
    transform: rotate(15deg);
}

/* Mobile hamburger + drawer */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 4500;
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: linear-gradient(180deg, #121315 0%, #0d0f11 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.45);
    transition: right 0.3s ease, opacity 0.25s ease;
    z-index: 99999;
    opacity: 0.96;
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-close {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.drawer-nav {
    display: contents;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.drawer-link {
    color: #fff !important;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 10px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    display: block;
}

.drawer-link:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent) !important;
}

.drawer-btn-login {
    border: 1px solid var(--accent);
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent);
    padding: 10px 16px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.drawer-btn-login:hover {
    background: var(--accent);
    color: #000;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        padding: 12px 5%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 90px 6% 70px 6%;
    }

    .nav-logo-text {
        display: none !important;
    }

    .logo-img {
        height: 50px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}


/* ---- BACK TO TOP BUTTON ---- */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    cursor: pointer;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.92);
    transition: all 0.4s var(--industry-ease);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: var(--accent);
    color: #111;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
}

/* ---- WHATSAPP BUTTON ---- */
.whatsapp-btn {
    position: fixed;
    left: 20px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #25d366;
    color: #25d366;
    cursor: pointer;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s var(--industry-ease);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background: #25d366;
    color: #fff;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* ========================================== */
/* 3. INDUSTRY-LEVEL SCROLL ANIMATIONS        */
/* ========================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s var(--industry-ease), transform 1.2s var(--industry-ease);
    will-change: transform, opacity;
}

.reveal-up.show {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.2s var(--industry-ease), transform 1.2s var(--industry-ease);
}

.reveal-left.show {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1.2s var(--industry-ease), transform 1.2s var(--industry-ease);
}

.reveal-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* --- LAYOUT & TYPOGRAPHY --- */
section {
    padding: 130px 10% 90px 10%;
    min-height: 100vh;
    position: relative;
}

#faq,
#support {
    padding: 120px 10% 60px 10%;
    min-height: auto;
}

.title-large {
    font-family: 'Montserrat';
    font-size: 3.2rem;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
}

.title-large span {
    color: var(--accent);
    font-weight: 300;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.btn-gold {
    background: var(--accent);
    color: #000;
    padding: 16px 40px;
    border: none;
    font-weight: 700;
    font-family: 'Montserrat';
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.4s var(--industry-ease);
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 1px solid rgba(212, 175, 55, 0.8);
    color: #fff;
    background: transparent;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: #d4af37;
    color: #fff;
    transform: translateY(-1px);
}

/* ========================================== */
/* 4. HERO AUTO-SCROLL (4 PDF CATEGORIES)     */
/* ========================================== */
#home {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    transform: scale(1.05);
    transition: transform 8s linear;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(138, 28, 34, 0.3) 60%, var(--bg-color) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    padding: 0 20px;
}

.slide-content h1 {
    font-family: 'Montserrat';
    font-size: 4rem;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: 1s var(--industry-ease) 0.3s;
    font-weight: 900;
}

.slide-content h1 span {
    color: var(--accent);
    font-weight: 300;
}

.slide-content p {
    font-size: 1.2rem;
    color: #e0e0e0;
    letter-spacing: 3px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: 1s var(--industry-ease) 0.5s;
    text-transform: uppercase;
}

.slide-content .btn-wrap {
    opacity: 0;
    transform: translateY(20px);
    transition: 1s var(--industry-ease) 0.7s;
}

.slide.active .slide-content h1,
.slide.active .slide-content p,
.slide.active .slide-content .btn-wrap {
    opacity: 1;
    transform: translateY(0);
}

.slider-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: none;
}

/* ========================================== */
/* 5. ABOUT SECTION (PDF EXACT CONTENT)       */
/* ========================================== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.6s var(--industry-ease);
    border: 1px solid var(--border-color);
}

.img-wrapper img {
    width: 100%;
    display: block;
    transition: 1.2s var(--industry-ease);
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

.mission-box {
    background: var(--surface);
    padding: 30px;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-top: 30px;
    transition: 0.4s ease;
    box-shadow: var(--shadow-soft);
}

.mission-box:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.3);
}

.trust-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 50px 0;
    margin-top: 80px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-stat {
    padding: 20px;
    border-right: 1px solid var(--border-color);
}

.trust-stat:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .trust-stat {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .trust-stat:last-child {
        border-bottom: none;
    }
}

.trust-stat h3 {
    font-family: 'Montserrat';
    font-size: 3rem;
    color: var(--accent);
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1;
}

.trust-stat p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================== */
/* 6. SERVICES: HORIZONTAL TRANSLATEX MARQUEE */
/* ========================================== */
.full-bleed-track {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 20px 0;
    background-color: var(--surface);
}

.service-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: serviceScrollLeft 50s linear infinite;
    padding-left: 30px;
}

.service-track:hover {
    animation-play-state: paused;
}

@keyframes serviceScrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

.ref-card {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 0;
    text-align: left;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: all 0.5s var(--industry-ease);
    position: relative;
    overflow: hidden;
    width: 350px;
    flex-shrink: 0;
}

.ref-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(212, 175, 55, 0.4);
}

.ref-card-img {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.ref-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--industry-ease);
    filter: brightness(0.8);
}

.ref-card:hover .ref-card-img img {
    transform: scale(1.1);
    filter: brightness(1);
}

.ref-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-color) 0%, transparent 100%);
}

.ref-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 2;
    position: relative;
    margin-top: -30px;
}

.ref-card h3 {
    font-family: 'Montserrat';
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 700;
    transition: color 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: normal;
}

.ref-card:hover h3 {
    color: var(--accent);
}

.ref-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
    transition: color 0.4s ease;
    white-space: normal;
}

.ref-card:hover p {
    color: #e0e0e0;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s var(--industry-ease);
    margin-top: auto;
}

.btn-more i {
    font-size: 0.8rem;
    transform: translateX(0);
    transition: transform 0.4s var(--industry-ease);
}

.ref-card:hover .btn-more {
    color: #fff;
}

.ref-card:hover .btn-more i {
    transform: translateX(8px);
    color: var(--accent);
}


/* 7. FORMS & LAYOUTS                         */
/* ========================================== */
.glass-form {
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 50px;
    border-radius: 12px;
    transition: all 0.6s var(--industry-ease);
    box-shadow: var(--shadow-soft);
}

.glass-form:hover {
    box-shadow: var(--shadow-glow);
    border-color: rgba(212, 175, 55, 0.2);
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 18px 20px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.4s ease;
    font-weight: 300;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--accent);
    outline: none;
    background: transparent;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.05);
}

/* ========================================== */
/* 8. CLIENT LOGIN MODAL (GLASSMORPHISM)      */
/* ========================================== */
.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s var(--industry-ease);
}

.login-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.login-modal {
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    transform: translateY(50px) scale(0.95);
    transition: 0.6s var(--industry-ease);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(212, 175, 55, 0.1);
    position: relative;
}

.login-overlay.active .login-modal {
    transform: translateY(0) scale(1);
}

.btn-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: 0.3s;
    padding: 10px;
    cursor: pointer;
}

.btn-close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.message-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 5500;
}

.message-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.message-modal {
    width: min(480px, 92%);
    background: linear-gradient(180deg, rgba(16, 16, 16, 0.98), rgba(10, 10, 10, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    text-align: center;
    transform: translateY(24px) scale(0.96);
    opacity: 0;
    animation: modalIn 0.4s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalIn {
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.message-modal-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.25), transparent 55%), rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 30px rgba(212, 175, 55, 0.18);
}

.message-modal-icon i {
    font-size: 2.4rem;
    color: var(--accent);
    animation: floatIcon 1.2s ease-in-out infinite alternate;
}

@keyframes floatIcon {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-8px);
    }
}

.message-modal h3 {
    margin-bottom: 10px;
    font-size: 1.7rem;
    letter-spacing: 0.6px;
    color: #fff;
}

.message-modal p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 24px;
    font-size: 1rem;
}

.message-modal .message-btn {
    border: none;
    background: linear-gradient(135deg, #d4af37 0%, #f6e28c 100%);
    color: #111;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(212, 175, 55, 0.22);
    transition: transform 0.25s ease, filter 0.25s ease;
}

.message-modal .message-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.message-modal.error .message-modal-icon {
    background: radial-gradient(circle at top left, rgba(255, 97, 97, 0.2), transparent 55%), rgba(255, 255, 255, 0.06);
}

.message-modal.error .message-modal-icon i {
    color: #ff6b6b;
}

.message-modal.error h3 {
    color: #ffdddd;
}

.message-modal.error p {
    color: #f1c0c0;
}

.login-modal h2 {
    font-family: 'Montserrat';
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 800;
}

.login-modal h2 span {
    color: var(--accent);
    font-weight: 300;
}

.login-modal p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.9rem;
    font-weight: 300;
}

.login-modal .btn-gold {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
}

.login-links {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 300;
}

.login-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.login-links a:hover {
    color: var(--accent);
}

.login-error {
    color: #ff9e9e;
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 10%;
    background: var(--glass-bg);
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 50;
}

.dashboard-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.dashboard-logo img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px;
}

.dashboard-logo span {
    font-family: 'Montserrat';
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dashboard-header .dashboard-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.dashboard-header .dashboard-actions .theme-toggle {
    min-width: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.dashboard-header .dashboard-actions .btn-outline,
.dashboard-header .dashboard-actions .btn-gold {
    min-width: 150px;
    padding: 14px 26px;
    font-size: 0.95rem;
}

.dashboard-header .dashboard-actions .btn-home {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-color: rgba(212, 175, 55, 0.25);
}

.dashboard-header .dashboard-actions .btn-home:hover {
    background: rgba(255, 255, 255, 0.14);
}

.dashboard-header .dashboard-actions .btn-logout {
    background: var(--accent);
    color: #111;
    margin-top: 0 !important;
}

.dashboard-shell {
    /* padding: 48px 10%; */
    background: radial-gradient(circle at 12% 12%, rgba(212, 175, 55, 0.16), transparent 16%), radial-gradient(circle at 92% 18%, rgba(94, 179, 255, 0.14), transparent 16%), linear-gradient(180deg, var(--bg-color) 0%, rgba(0, 0, 0, 0.84) 100%);
    min-height: calc(100vh - 108px);
}

.dashboard-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 42px;
    min-height: 0 !important;
}

.dashboard-hero h1 {
    font-family: 'Montserrat';
    font-size: clamp(2.4rem, 3vw, 3.6rem);
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.02;
}

.dashboard-hero-subtitle {
    max-width: 560px;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.dashboard-user-email {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.dashboard-hero>div:first-child {
    position: relative;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    height: fit-content;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.dashboard-stat {
    position: relative;
    overflow: hidden;
    min-height: 135px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 26px;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.dashboard-stat::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.14), transparent 28%), radial-gradient(circle at bottom right, rgba(94, 179, 255, 0.1), transparent 30%);
    opacity: 0.92;
    pointer-events: none;
}

.dashboard-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.28);
}

.stat-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--accent);
    z-index: 1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.stat-icon i {
    font-size: 1.15rem;
}

.dashboard-stat span {
    font-size: 1.9rem;
    color: var(--text-main);
    font-weight: 900;
    letter-spacing: 0.16px;
    z-index: 1;
}

.dashboard-stat p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.87rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 1;
}

.dashboard-stat:nth-child(1) {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.24), rgba(255, 232, 158, 0.1));
}

.dashboard-stat:nth-child(2) {
    background: linear-gradient(180deg, rgba(255, 99, 71, 0.18), rgba(255, 255, 255, 0.06));
}

.dashboard-stat:nth-child(3) {
    background: linear-gradient(180deg, rgba(31, 184, 129, 0.24), rgba(255, 255, 255, 0.06));
}

.dashboard-stat:nth-child(4) {
    background: linear-gradient(180deg, rgba(65, 131, 255, 0.2), rgba(255, 255, 255, 0.06));
}

.dashboard-list .dashboard-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 30px 30px 24px 30px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.dashboard-list .dashboard-card::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at 20% 20%, rgba(94, 179, 255, 0.14), transparent 18%), radial-gradient(circle at 80% 15%, rgba(212, 175, 55, 0.14), transparent 18%);
    pointer-events: none;
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.dashboard-card-header h2 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.45rem;
    letter-spacing: 0.5px;
}

.dashboard-subtitle {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 560px;
    line-height: 1.7;
}

.dashboard-table-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.status-filter,
.status-select {
    width: 100%;
    max-width: 240px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 45%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23FFD658' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat;
    background-position: right 18px center, left 18px center;
    background-size: auto, 10px 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 40px rgba(0, 0, 0, 0.12);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    background-color: var(--surface);
    color: var(--text-main);
}

.status-filter:focus,
.status-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.12);
    transform: translateY(-1px);
    background-color: rgba(255, 255, 255, 0.12);
}

.status-filter option,
.status-select option {
    background: var(--surface);
    color: var(--text-main);
}

.status-filter:hover,
.status-select:hover {
    border-color: var(--accent);
}

.dashboard-table-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 0 6px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.dashboard-table-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.booking-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    margin-top: 18px;
    border: 1px solid var(--border-color);
}

.table-wrapper {
    overflow-x: auto;
    margin-top: 18px;
    border-radius: 22px;
    position: relative;
}

.table-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.18), transparent);
    pointer-events: none;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    min-width: 760px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--glass-bg);
}

.dashboard-table thead {
    background: rgba(212, 175, 55, 0.12);
}

.dashboard-table th,
.dashboard-table td {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-table th {
    text-align: left;
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
}

.dashboard-table th::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(94, 179, 255, 0.08), rgba(212, 175, 55, 0.1), rgba(255, 91, 155, 0.08));
    opacity: 0.45;
    pointer-events: none;
}

.dashboard-table th span {
    position: relative;
    z-index: 1;
}

.dashboard-table td {
    color: var(--text-main);
    font-size: 0.95rem;
    vertical-align: middle;
}

.dashboard-table tbody tr {
    transition: background 0.3s ease, transform 0.2s ease;
}

.dashboard-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.14);
    transform: translateX(2px);
}

.dashboard-table tbody tr:last-child td {
    border-bottom: none;
}

.booking-action-cell {
    min-width: 220px;
}

.pagination-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    padding-top: 18px;
}

.pagination-button {
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: #f4f4f4;
    padding: 10px 16px;
    border-radius: 14px;
    min-width: 48px;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pagination-button:hover:not(:disabled) {
    background: rgba(94, 179, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(94, 179, 255, 0.1);
}

.pagination-button.active {
    border-color: #d4af37;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.26), rgba(255, 91, 155, 0.18));
    color: #fff;
}

.pagination-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.pagination-ellipsis {
    color: var(--text-muted);
    padding: 0 6px;
}

.dashboard-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.dashboard-status:hover {
    transform: translateY(-1px);
}

.dashboard-status.pending {
    background: rgba(255, 193, 7, 0.22);
    color: #ffd658;
    box-shadow: inset 0 0 18px rgba(255, 193, 7, 0.2);
}

.dashboard-status.confirmed {
    background: rgba(31, 184, 129, 0.24);
    color: #baf7d8;
    box-shadow: inset 0 0 18px rgba(31, 184, 129, 0.22);
}

.dashboard-status.completed {
    background: rgba(65, 131, 255, 0.22);
    color: #c9e2ff;
    box-shadow: inset 0 0 18px rgba(65, 131, 255, 0.2);
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    }

    50% {
        box-shadow: 0 26px 90px rgba(94, 179, 255, 0.22);
        transform: translateY(-2px);
    }
}

.dashboard-placeholder {
    color: var(--text-muted);
    font-size: 1rem;
    padding: 24px 0;
}

.hidden {
    display: none;
}

@media screen and (max-width: 960px) {

    .dashboard-header,
    .dashboard-shell {
        padding-left: 6%;
        padding-right: 6%;
    }
}

@media screen and (max-width: 1000px) {
    .dashboard-hero {
        grid-template-columns: 1fr;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

@media screen and (max-width: 720px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .dashboard-card-header {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-card-header button,
    .status-filter {
        width: 100%;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

/* ========================================== */
/* 9. FOOTER MARQUEE (ALL SERVICES)           */
/* ========================================== */
.footer-marquee-container {
    width: 100%;
    overflow: hidden;
    background: var(--primary);
    padding: 25px 0;
    display: flex;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    margin-top: 50px;
}

.footer-marquee-content {
    display: inline-flex;
    animation: marqueeScroll 50s linear infinite;
    align-items: center;
}

.footer-marquee-container:hover .footer-marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    padding: 0 40px;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    opacity: 0.9;
}

.marquee-item i {
    color: var(--accent);
    margin-right: 15px;
    font-size: 1rem;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========================================== */
/* 10. PROFESSIONAL CORPORATE FOOTER          */
/* ========================================== */
footer {
    background: #050505;
    padding: 80px 10% 30px 10%;
    transition: 0.5s;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

@media screen and (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}


.footer-col h4 {
    font-family: 'Montserrat';
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-col:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-col:first-child .nav-logo-container img {
    height: 120px !important;
    width: auto;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.4s var(--industry-ease);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent);
    color: #111;
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-link-list {
    list-style: none;
    padding: 0;
}

.footer-link-list li {
    margin-bottom: 12px;
}

.footer-link-list a {
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-link-list a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    color: var(--accent);
    margin-right: 8px;
    transition: 0.3s;
    font-weight: bold;
    width: 0;
    display: inline-block;
}

.footer-link-list a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-link-list a:hover::before {
    opacity: 1;
    transform: translateX(0);
    width: auto;
}

.contact-list {
    list-style: none;
    padding: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
}

.contact-list li {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--accent);
    margin-top: 5px;
    font-size: 1.1rem;
}

.contact-list a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.contact-list a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.16);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    font-weight: 300;
}

.footer-bottom-links a:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.footer-credit {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(255, 255, 255, 0.06));
    padding: 16px 22px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.12);
    text-align: center;
}

.footer-credit p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    letter-spacing: 0.3px;
    margin: 0;
}

.footer-credit p+p {
    margin-top: 8px;
}

.footer-credit .copyright-text {
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-credit .developed-by {
    color: #fff;
    font-weight: 500;
}

.footer-credit a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.footer-credit a:hover {
    color: var(--accent);
}

@keyframes shimmerText {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@media screen and (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        text-align: center;
        gap: 18px;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .footer-bottom-links a {
        font-size: 0.9rem;
    }

    .footer-credit {
        width: 100%;
        padding: 18px 18px;
        border-radius: 24px;
    }

    .footer-credit p {
        display: block;
        text-align: center;
    }

    .footer-credit .copyright-text {
        font-size: 0.95rem;
    }

    .footer-credit .developed-by {
        font-size: 0.95rem;
    }
}

footer {
    position: relative;
    z-index: 1000;
}

/* FAQ and Support enhancements */
.faq-accordion {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow-soft);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: 'Montserrat';
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.25s ease;
    padding: 0 18px;
}

.faq-card.active .faq-answer {
    max-height: 180px;
    opacity: 1;
    padding: 12px 18px 18px;
}

.faq-card .faq-question i {
    transition: transform 0.3s ease;
}

.faq-card.active .faq-question i {
    transform: rotate(180deg);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    max-width: 1000px;
    margin: 30px auto 0 auto;
}

.support-box {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
    border-color: var(--accent);
}

.support-box h3 {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.support-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* sticky footer fallback for small screens */
@media screen and (max-width: 1024px) {
    footer {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
    }

    body {
        padding-bottom: 0;
    }
}

/* ========================================== */
/* 11. RESPONSIVE MEDIA QUERIES               */
/* ========================================== */

/* --- 1. LARGE SCREENS / MACS (1440px and up) --- */
@media screen and (min-width: 1440px) {

    .slide-content,
    .subtitle,
    .glass-form {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .title-large {
        font-size: 4rem;
    }

    .slide-content h1 {
        font-size: 5rem;
    }

    .ref-card {
        width: 400px;
        /* Slightly wider cards for big screens */
    }
}

/* --- 2. LAPTOPS & TABLETS (max-width: 1024px) --- */
@media screen and (max-width: 1024px) {
    section {
        padding: 100px 5% 70px 5%;
    }

    .title-large {
        font-size: 2.8rem;
    }

    .split-layout {
        gap: 40px;
    }

    .slide-content h1 {
        font-size: 3.2rem;
    }

    /* Compress Navigation */
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .ref-card {
        width: 320px;
    }
}

/* --- 3. MOBILE DEVICES (max-width: 768px) --- */
@media screen and (max-width: 768px) {

    /* Navigation Adjustments */
    nav {
        padding: 15px 5%;
        flex-wrap: wrap;
    }

    nav.scrolled {
        padding: 10px 5%;
    }

    .nav-logo-text {
        font-size: 1.1rem;
    }

    /* Hide standard links for mobile (Requires JS to toggle .active class for hamburger menu) */
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        margin-top: 15px;
        background: var(--glass-bg);
        padding: 20px;
        border-radius: 8px;
        box-shadow: var(--shadow-soft);
    }

    .nav-links.active {
        display: flex;
    }

    .theme-toggle {
        margin-left: auto;
        margin-right: 15px;
    }

    /* Layout & Typography */
    section {
        padding: 80px 5% 50px 5%;
    }

    .title-large {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    /* Stack Grid Layouts */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    /* Adjust Trust Stats */
    .trust-banner {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 50px;
    }

    .trust-stat {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
    }

    .trust-stat:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Forms & Modals */
    .glass-form {
        padding: 30px 20px;
    }

    .login-modal {
        padding: 40px 20px;
        max-width: 90%;
    }

    .login-modal h2 {
        font-size: 1.6rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }

    .footer-col {
        text-align: left;
    }

    .footer-link-list {
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .social-links {
        justify-content: flex-start;
    }

    .contact-list li {
        justify-content: flex-start;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .footer-bottom-links a {
        text-align: left;
        display: inline-block;
        width: auto;
    }
}

/* --- 4. SMALL MOBILE DEVICES (max-width: 480px) --- */
@media screen and (max-width: 480px) {
    .slide-content h1 {
        font-size: 2rem;
    }

    .title-large {
        font-size: 1.8rem;
    }

    .ref-card {
        width: 280px;
    }

    .btn-gold {
        padding: 12px 25px;
        font-size: 0.85rem;
        width: 100%;
        /* Full width buttons on small screens */
        text-align: center;
    }

    .logo-img {
        max-width: 180px;
    }
}