/* ============================================
   BOXMAR — Background Animations & Color System
   Animated gradient orbs, mesh patterns, shimmer
   effects for every section. Desktop + Mobile.
   ============================================ */

/* ── Global Section Base ── */
.section--dark {
    background: var(--navy-950, #030A16);
    position: relative;
    overflow: hidden;
}

/* ── Animated floating orbs (global) ── */
@keyframes orb-drift-1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(60px, -40px) scale(1.15);
    }

    66% {
        transform: translate(-40px, 30px) scale(0.9);
    }
}

@keyframes orb-drift-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-70px, 50px) scale(1.1);
    }

    66% {
        transform: translate(50px, -30px) scale(0.85);
    }
}

@keyframes orb-drift-3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(30px, 60px) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes mesh-shift {

    0%,
    100% {
        opacity: 0.04;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.06;
        transform: scale(1.05) rotate(2deg);
    }
}

@keyframes shimmer-scan {
    0% {
        transform: translateX(-100%) rotate(-45deg);
    }

    100% {
        transform: translateX(300%) rotate(-45deg);
    }
}

@keyframes border-glow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(200, 146, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    50% {
        box-shadow: 0 0 60px rgba(200, 146, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
}

/* ============================================
   STATS SECTION v2 — Animated Gradient Orbs
   ============================================ */
.stats-section-v2 {
    background: linear-gradient(180deg,
            #050E1C 0%,
            #080F1E 30%,
            #050E1C 100%);
}

.stats-section-v2::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 146, 42, 0.12) 0%, transparent 70%);
    animation: orb-drift-1 14s ease-in-out infinite;
    pointer-events: none;
}

.stats-section-v2::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: 10%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 135, 200, 0.1) 0%, transparent 70%);
    animation: orb-drift-2 18s ease-in-out infinite;
    pointer-events: none;
}

/* ============================================
   MISSION & VISION — Deep Navy with Gold Glow
   ============================================ */
.mv-section-v2 {
    background: linear-gradient(135deg,
            #030A16 0%,
            #060F1E 40%,
            #040C1A 100%) !important;
}

.mv-section-v2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 600px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(200, 146, 42, 0.06) 0%, transparent 65%);
    animation: orb-drift-3 20s ease-in-out infinite;
    pointer-events: none;
}

/* MV cards — richer dark glass */
.mv-card-v2 {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.02) 100%) !important;
    border: 1px solid rgba(200, 146, 42, 0.12) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(8px);
    animation: border-glow 6s ease-in-out infinite;
}

.mv-card-v2:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(200, 146, 42, 0.28) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(200, 146, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* MV card text — ensure visibility on dark glass backgrounds */
.mv-card-v2 h3 {
    color: var(--white) !important;
}

.mv-card-v2 p {
    color: rgba(255, 255, 255, 0.65) !important;
    line-height: 1.85;
}

/* ============================================
   TESTIMONIALS — Navy with Blue Accent Orbs
   ============================================ */
.testimonials-v2 {
    background: linear-gradient(180deg,
            #050E1C 0%,
            #060F1E 50%,
            #050E1C 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-v2::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -60px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 135, 200, 0.08) 0%, transparent 70%);
    animation: orb-drift-1 16s ease-in-out infinite;
    pointer-events: none;
}

.testimonials-v2::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 146, 42, 0.07) 0%, transparent 70%);
    animation: orb-drift-2 22s ease-in-out infinite;
    pointer-events: none;
}

/* Testimonial cards — premium dark glass */
.testimonial-card-v2 {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.055) 0%,
            rgba(255, 255, 255, 0.018) 100%) !important;
    border: 1px solid rgba(200, 146, 42, 0.14) !important;
    border-left: 3px solid rgba(200, 146, 42, 0.55) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(12px);
    padding: 28px 28px 24px !important;
    border-radius: 16px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.testimonial-card-v2:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(200, 146, 42, 0.35) !important;
    border-left-color: rgba(200, 146, 42, 0.8) !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(200, 146, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Giant decorative quote mark */
.testimonial-card-v2::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    right: 20px;
    font-size: 8rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: rgba(200, 146, 42, 0.12);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    letter-spacing: -4px;
}

/* Stars */
.testimonial-stars-v2 {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.testimonial-stars-v2 span {
    color: var(--gold-400) !important;
    font-size: 1rem;
    filter: drop-shadow(0 0 4px rgba(200, 146, 42, 0.4));
}

/* Quote text — high contrast white */
.testimonial-quote-v2 {
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-style: italic;
    margin-bottom: 20px !important;
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
}

/* Author row */
.testimonial-author-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Avatar — gold gradient ring */
.testimonial-avatar-v2 {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: var(--font-accent) !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    color: var(--navy-900) !important;
    flex-shrink: 0 !important;
    box-shadow:
        0 0 0 2px rgba(200, 146, 42, 0.3),
        0 0 0 4px rgba(200, 146, 42, 0.1),
        0 4px 12px rgba(200, 146, 42, 0.25) !important;
}

/* Name — bright white */
.testimonial-name-v2 {
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.01em;
}

/* Role — muted gold */
.testimonial-role-v2 {
    font-size: 0.76rem !important;
    color: rgba(200, 146, 42, 0.7) !important;
    margin-top: 2px;
    font-weight: 500;
}

/* Grid layout */
.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

/* Testimonial stars — golden */
.testimonial-stars-v2 span {
    color: var(--gold-400);
    font-size: 1rem;
    line-height: 1;
}

/* ============================================
   FAQ SECTION — Subtle Mesh Background
   ============================================ */
#faq {
    background: linear-gradient(180deg,
            #040C1A 0%,
            #060F1E 100%);
}

#faq::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(200, 146, 42, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(58, 135, 200, 0.04) 0%, transparent 40%);
    animation: mesh-shift 15s ease-in-out infinite;
    pointer-events: none;
}

/* FAQ items dark override */
.faq-item-v2 {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: none !important;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item-v2.active,
.faq-item-v2:hover {
    background: rgba(200, 146, 42, 0.05) !important;
    border-color: rgba(200, 146, 42, 0.2) !important;
}

.faq-answer-v2 p,
.faq-answer-v2 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.faq-question-v2 {
    color: rgba(255, 255, 255, 0.88) !important;
}

/* ============================================
   ABOUT SECTION — Warm Navy with Gold Orb
   ============================================ */
.about-section-v2 {
    background: linear-gradient(160deg,
            #050E1C 0%,
            #06101F 100%);
    position: relative;
    overflow: hidden;
}

.about-section-v2::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -60px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 146, 42, 0.07) 0%, transparent 70%);
    animation: orb-drift-3 18s ease-in-out infinite;
    pointer-events: none;
}

/* ============================================
   GLOBAL NETWORK SECTION — Already Styled
   Enhance with a thin shimmer sweep
   ============================================ */
.global-network-section {
    background: linear-gradient(180deg, #040C1A 0%, #030A16 50%, #040C1A 100%);
}

/* ============================================
   SECTION DIVIDERS — Gold Hairline
   ============================================ */
.section--dark+.section--dark {
    border-top: 1px solid rgba(200, 146, 42, 0.06);
}

/* ============================================
   STAT CARDS — Animated glow on hover
   ============================================ */
.stat-card-v2:hover {
    animation: border-glow 2s ease-in-out infinite;
}

/* ============================================
   CARD SHIMMER — subtle highlight on hover
   ============================================ */
.stat-card-v2::after,
.mv-card-v2::after,
.testimonial-card-v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.04) 50%,
            transparent 100%);
    transform: skewX(-15deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.stat-card-v2:hover::after,
.mv-card-v2:hover::after,
.testimonial-card-v2:hover::after {
    left: 150%;
}

/* ============================================
   MOBILE — Disable heavy animations for perf
   ============================================ */
@media (max-width: 576px) {

    .stats-section-v2::before,
    .stats-section-v2::after,
    .mv-section-v2::before,
    .testimonials-v2::before,
    .testimonials-v2::after,
    .about-section-v2::after,
    #faq::before {
        display: none !important;
    }

    .mv-card-v2 {
        animation: none !important;
    }

    /* Simpler static gradient backgrounds on mobile */
    .stats-section-v2,
    .mv-section-v2,
    .testimonials-v2,
    #faq,
    .about-section-v2 {
        background: #050E1C !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    .stats-section-v2::before,
    .stats-section-v2::after,
    .mv-section-v2::before,
    .testimonials-v2::before,
    .testimonials-v2::after,
    .about-section-v2::after,
    #faq::before,
    .mv-card-v2 {
        animation: none !important;
    }
}