﻿:root {
    --navy: #0f1e3d;
    --navy-2: #182c5a;
    --navy-3: #243a6b;
    --orange: #f47b20;
    --orange-2: #ff9248;
    --orange-soft: #ffe6d3;
    --gray: #8a91a3;
    --gray-light: #eef0f5;
    --gray-bg: #f7f8fb;
    --maroon: #8b1f3a;
    --maroon-2: #a8284a;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(15, 30, 61, 0.08);
    --shadow-md: 0 10px 30px rgba(15, 30, 61, 0.12);
    --shadow-lg: 0 20px 50px rgba(15, 30, 61, 0.18);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    font-family: 'Vazirmatn', system-ui, sans-serif;
    background: linear-gradient(135deg, #0f1e3d 0%, #00152d 100%);
    color: var(--navy);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.nav-auth-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta--outline {
    background: transparent !important;
    border: 1.5px solid var(--orange) !important;
    color: var(--orange) !important;
    box-shadow: none !important;
}

    .nav-cta--outline:hover {
        background: rgba(244, 123, 32, 0.1) !important;
        transform: translateY(-2px);
    }


.float-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(244, 123, 32, 0.45);
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
    white-space: nowrap;
}

    .float-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 36px rgba(244, 123, 32, 0.55);
        color: #fff;
    }

    .float-btn:active {
        transform: scale(0.97);
    }
img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(15, 30, 61, 0.06);
    transition: var(--transition);
}

    .navbar.scrolled {
        box-shadow: var(--shadow-sm);
    }

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 26px;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 22px;
    box-shadow: 0 6px 16px rgba(244, 123, 32, 0.35);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

    .nav-links a {
        font-weight: 500;
        font-size: 15px;
        color: var(--navy);
        transition: color 0.2s;
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -6px;
            right: 0;
            width: 0;
            height: 2px;
            background: var(--orange);
            transition: width 0.3s;
        }

        .nav-links a:hover {
            color: var(--orange);
        }

            .nav-links a:hover::after {
                width: 100%;
            }

.nav-cta {
    display: inline-block !important;
    width: auto !important;
    margin: 16px auto !important;
    padding: 12px 40px !important;
    background: var(--orange);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(244, 123, 32, 0.3);
}

    .nav-cta:hover {
        background: var(--orange-2);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(244, 123, 32, 0.45);
    }

    .nav-cta::after {
        display: none;
    }

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2.5px;
        background: var(--navy);
        border-radius: 3px;
        transition: var(--transition);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

/* ============ HERO SLIDER ============ */
.hero {
    margin-top: 74px;
    padding: 24px 20px 0;
}

.slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slides {
    position: relative;
    height: 480px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    padding: 50px;
    overflow: hidden;
}





    .slide.active {
        opacity: 1;
        z-index: 2;
    }

.slide-1 {
    background: linear-gradient(270deg, rgba(15, 30, 61, 0.85) 0%, rgba(15, 30, 61, 0.4) 60%, rgba(15, 30, 61, 0.1) 100%), url('Image/banner1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-2, .slide-4 {
    background: linear-gradient(270deg, rgba(90, 18, 38, 0.85) 0%, rgba(90, 18, 38, 0.4) 60%, rgba(90, 18, 38, 0.1) 100%), url('Image/banner2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-3 {
    background: linear-gradient(270deg, rgba(15, 30, 61, 0.85) 0%, rgba(15, 30, 61, 0.4) 60%, rgba(15, 30, 61, 0.1) 100%), url('Image/banner3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.slide-1 .slide-bg-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    background: var(--orange);
    top: -100px;
    left: -100px;
}

.slide-1 .slide-bg-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    background: var(--maroon);
    bottom: -80px;
    right: 20%;
    opacity: 0.3;
}

.slide-2 .slide-bg-shape:nth-child(1) {
    width: 350px;
    height: 350px;
    background: var(--orange);
    bottom: -100px;
    left: 10%;
}

.slide-2 .slide-bg-shape:nth-child(2) {
    width: 250px;
    height: 250px;
    background: var(--navy);
    top: -50px;
    right: -50px;
    opacity: 0.5;
}

.slide-3 .slide-bg-shape:nth-child(1) {
    width: 380px;
    height: 380px;
    background: var(--orange);
    top: 40%;
    left: -120px;
}

.slide-3 .slide-bg-shape:nth-child(2) {
    width: 280px;
    height: 280px;
    background: var(--maroon);
    top: -80px;
    right: 10%;
}

.slide-content {
    position: relative;
    z-index: 2;
    border-radius: 24px;
}

.slide-tag {
    display: inline-block;
    background: rgba(244, 123, 32, 0.2);
    border: 1px solid rgba(244, 123, 32, 0.4);
    color: var(--orange-2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 18px;
}

.slide-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -1px;
    color: #fff;
}

    .slide-title span {
        color: var(--orange-2);
    }

.slide-desc {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 28px;
    opacity: 0.22;
    max-width: 480px;
    color: #fff;
}

.slide-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(244, 123, 32, 0.4);
}

    .btn-primary:hover {
        background: var(--orange-2);
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(244, 123, 32, 0.55);
    }

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.22);
        border-color: rgba(255, 255, 255, 0.5);
    }

/* slider controls */
.slider-arrows {
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 18px;
}

    .arrow:hover {
        background: var(--orange);
        border-color: var(--orange);
        transform: scale(1.1);
    }

.slider-dots {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

    .dot.active {
        background: var(--orange);
        width: 44px;
    }

/* ============ AGE GROUPS ============ */
.age-section {
    padding: 80px 20px 60px;
}

.section-head {
    text-align: center;
    margin-bottom: 50px;
}

.section-eyebrow {
    color: var(--orange);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: #8a91a3;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

    .section-title span {
        color: var(--orange);
    }

.section-sub {
    color: var(--gray);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
}

.age-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.age-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    border: 2px solid var(--gray-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .age-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--orange), var(--orange-2));
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s;
    }

    .age-card:hover {
        transform: translateY(-8px);
        border-color: var(--orange-soft);
        box-shadow: var(--shadow-md);
    }

        .age-card:hover::before {
            transform: scaleX(1);
        }

.age-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--orange-soft), #fff5ec);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.age-card:hover .age-icon {
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    transform: rotate(-5deg) scale(1.05);
}

.age-icon svg {
    width: 48px;
    height: 48px;
    color: var(--orange);
    transition: var(--transition);
}

.age-card:hover .age-icon svg {
    color: var(--white);
}

.age-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.age-range {
    color: var(--orange);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 14px;
}

.age-card p {
    color: var(--gray);
    font-size: 14.5px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.age-link {
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}

.age-card:hover .age-link {
    color: var(--orange);
    gap: 12px;
}

/* ============ TESTIMONIALS ============ */
.testimonials-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 30px auto 0;
}

.testi-btn {
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    font-size: 22px;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}
/* وقتی روی کل اسلایدر می‌ری */
.testimonials-wrapper:hover .testi-btn {
    opacity: 1;
    visibility: visible;
}

.testi-btn.disabled {
    opacity: 0.2;
    pointer-events: none;
}

.testi-btn.left {
    left: -22px;
}

.testi-btn.right {
    right: -22px;
}

.testi-btn:hover {
    background: var(--orange);
    color: white;
}

.testi-btn.left {
    left: -18px;
}

.testi-btn.right {
    right: -18px;
}

.testi-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 10px 20px;
    max-width: 1100px;
    margin: 0 auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .testi-grid::-webkit-scrollbar {
        display: none;
    }

.testi-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

    .testi-card:hover {
        transform: translateY(-6px) scale(1.01);
        box-shadow: var(--shadow-md);
    }

@media (max-width: 768px) {
    .testi-card {
        flex: 0 0 85%;
    }
}

.testimonials {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--gray-bg) 0%, var(--white) 100%);
    position: relative;
}

    .testimonials::before {
        content: '"';
        position: absolute;
        top: 30px;
        right: 50%;
        transform: translateX(50%);
        font-size: 200px;
        color: var(--orange);
        opacity: 0.07;
        font-family: Georgia, serif;
        line-height: 1;
    }



.testi-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

    .testi-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
    }

.testi-stars {
    display: flex;
    gap: 3px;
    color: var(--orange);
    margin-bottom: 16px;
    font-size: 16px;
}

.testi-text {
    color: var(--navy-2);
    line-height: 1.9;
    font-size: 15px;
    margin-bottom: 22px;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--gray-light);
    padding-top: 18px;
}

.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.av-1 {
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
}

.av-2 {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-2));
}

.av-3 {
    background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
}

.av-4 {
    background: linear-gradient(135deg, var(--orange-2), var(--maroon));
}

.testi-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 15px;
}

.testi-role {
    color: var(--gray);
    font-size: 13px;
}
/* ============ FOOTER ============ */
footer {
    background: var(--navy);
    color: var(--white);
    padding: 50px 20px 24px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.9;
    margin-top: 14px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--orange-2);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    transition: color 0.2s;
}

    .footer-col a:hover {
        color: var(--orange-2);
    }

.socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

    .social-icon:hover {
        background: var(--orange);
        transform: translateY(-3px);
    }

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

/* ============ MOBILE ============ */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 74px;
        right: 0;
        left: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        z-index: 999;
    }

        .nav-links.open {
            max-height: calc(100vh - 74px);
            padding: 16px 0 24px;
            overflow-y: auto;
        }

        .nav-links li {
            width: 100%;
            text-align: center;
        }

        .nav-links a {
            display: block;
            padding: 14px 20px;
            width: 100%;
        }

            .nav-links a::after {
                display: none;
            }

    .nav-cta {
        margin: 10px 30px;
        display: inline-block !important;
        width: auto;
    }

    .menu-toggle {
        display: flex;
    }

    .age-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testi-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 16px 12px 0;
    }

    .slider {
        border-radius: var(--radius);
    }

    .slides {
        height: 460px;
    }

    .slide {
        padding: 30px 22px 90px;
        align-items: flex-start;
        justify-content: flex-end;
        flex-direction: column;
        text-align: right;
    }

    .slide-content {
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .slide-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .slide-desc {
        font-size: 14.5px;
        line-height: 1.8;
        max-width: 100%;
        margin-bottom: 22px;
    }

    .slide-tag {
        font-size: 12px;
        padding: 5px 13px;
        margin-bottom: 14px;
    }

    .slide-buttons {
        justify-content: flex-start;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 22px;
        font-size: 14px;
    }

    .slider-arrows {
        bottom: 16px;
        left: 14px;
        gap: 8px;
    }

    .arrow {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .slider-dots {
        bottom: 22px;
        right: 14px;
    }

    .dot {
        width: 22px;
    }

        .dot.active {
            width: 34px;
        }

    .age-section, .testimonials {
        padding: 60px 16px 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-sub {
        font-size: 14.5px;
    }

    .age-card {
        padding: 32px 24px;
    }

    .testi-card {
        padding: 26px 22px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .socials {
        justify-content: center;
    }

    .logo {
        font-size: 22px;
        margin:5px;
    }

    .logo-mark {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }
}

@media (max-width: 380px) {
    .slides {
        height: 480px;
    }

    .slide-title {
        font-size: 24px;
    }

    .slide-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* fade entry */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide.active .slide-tag {
    animation: fadeUp 0.6s 0.1s both;
}

.slide.active .slide-title {
    animation: fadeUp 0.7s 0.2s both;
}

.slide.active .slide-desc {
    animation: fadeUp 0.7s 0.35s both;
}

.slide.active .slide-buttons {
    animation: fadeUp 0.7s 0.5s both;
}
/* ============ FAQ SECTION ============ */

.faq-section {
    padding: 90px 20px;
    background: #002147;
    position: relative;
    overflow: hidden;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

    .faq-item:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

.faq-question {
    width: 100%;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    background: transparent;
    text-align: right;
}

.faq-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--orange-soft), #fff5ec);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

    .faq-answer p {
        padding: 0 28px 24px;
        color: var(--gray);
        line-height: 2;
        font-size: 15px;
    }

.faq-icon svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    color: white;
    box-shadow: 0 8px 18px rgba(244, 123, 32, 0.35);
}

    .faq-item.active .faq-icon svg {
        transform: rotate(180deg);
    }

.faq-item.active .faq-answer {
    max-height: 300px;
}


@media (max-width: 640px) {

    .faq-question {
        padding: 20px;
        font-size: 15px;
        line-height: 1.8;
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 14px;
    }

    .faq-icon {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}

@media (max-width: 900px) {
    .slide-1 {
        background: linear-gradient(0deg, rgba(15, 30, 61, 0.80) 0%, rgba(15, 30, 61, 0.55) 80%, rgba(15, 30, 61, 0.30) 100%), url('Image/banner1.webp');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .slide-2, .slide-4 {
        background: linear-gradient(0deg, rgba(90, 18, 38, 0.80) 0%, rgba(90, 18, 38, 0.55) 80%, rgba(90, 18, 38, 0.30) 100%), url('Image/banner2.webp');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .slide-3 {
        background: linear-gradient(0deg, rgba(15, 30, 61, 0.80) 0%, rgba(15, 30, 61, 0.55) 80%, rgba(15, 30, 61, 0.30) 100%), url('Image/banner3.webp');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

/* ============ PAGE LOADER ============ */
.page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #002147 0%, #00152d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

    .page-loader.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.loader-logo {
    width: 180px;
    height: auto;
    animation: loaderPulse 1.6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(244, 123, 32, 0.5));
}

@keyframes loaderPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Hide page content visually until loaded (optional, nicer effect) */
body.loading {
    overflow: hidden;
}

@media (max-width: 640px) {
    .loader-logo {
        width: 140px;
    }
}
/* ============ NAV SUBMENU ============ */
.has-submenu {
    position: relative;
}

.submenu-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.submenu-arrow {
    transition: transform 0.3s ease;
    color: var(--orange);
}

.submenu {
    position: absolute;
    top: calc(100% + 14px);
    right: -10px;
    min-width: 230px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1100;
}

    .submenu::before {
        content: '';
        position: absolute;
        top: -7px;
        right: 22px;
        width: 14px;
        height: 14px;
        background: var(--white);
        transform: rotate(45deg);
        border-top: 1px solid var(--gray-light);
        border-left: 1px solid var(--gray-light);
    }

    .submenu::after {
        /* invisible bridge so cursor can travel from trigger to submenu */
        content: '';
        position: absolute;
        top: -14px;
        right: 0;
        left: 0;
        height: 14px;
    }

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-submenu:hover .submenu-arrow {
    transform: rotate(-180deg);
}

.submenu li {
    width: 100%;
}

.submenu a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 14px !important;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s;
    color: var(--navy) !important;
    width: 100%;
}

    .submenu a::after {
        display: none !important;
    }

    .submenu a svg {
        width: 22px;
        height: 22px;
        color: var(--orange);
        flex-shrink: 0;
        padding: 6px;
        background: var(--orange-soft);
        border-radius: 8px;
        box-sizing: content-box;
        transition: var(--transition);
    }

    .submenu a:hover {
        background: var(--gray-bg);
        color: var(--orange) !important;
    }

        .submenu a:hover svg {
            background: var(--orange);
            color: var(--white);
        }

    .submenu a span {
        display: flex;
        flex-direction: column;
        line-height: 1.3;
    }

    .submenu a strong {
        font-weight: 700;
        font-size: 14.5px;
    }

    .submenu a small {
        color: var(--gray);
        font-size: 12px;
        font-weight: 400;
        margin-top: 2px;
    }

    .submenu a:hover small {
        color: var(--orange-2);
    }

/* ===== MOBILE SUBMENU ===== */
@media (max-width: 900px) {
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--gray-light);
        border-bottom: 1px solid var(--gray-light);
        background: var(--gray-bg);
        border-radius: 0;
        padding: 6px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        margin: 0;
    }

    .has-submenu > .submenu-trigger {
        display: flex !important;
        width: 100%;
        justify-content: center;
        gap: 8px;
        padding: 14px 20px;
    }

    .submenu-arrow {
        margin-right: 4px;
    }

    .submenu::before,
    .submenu::after {
        display: none;
    }

    .has-submenu.open .submenu {
        max-height: 400px;
        padding: 6px 0;
    }

    .has-submenu.open .submenu-arrow {
        transform: rotate(-180deg);
    }

    .has-submenu:hover .submenu {
        /* override desktop hover behavior on mobile */
        max-height: 0;
    }

    .has-submenu.open:hover .submenu {
        max-height: 400px;
    }

    .submenu a {
        padding: 12px 30px !important;
        justify-content: center;
        gap: 14px;
    }

        .submenu a span {
            text-align: right;
        }
}
