/* ============================================
   A2A WEBSITE - MAIN STYLESHEET
   Dark Purple Fintech Theme
   ============================================ */

/* =========================================================
   Homepage scroll-reveal animations
   ========================================================= */
@keyframes hp-fade-up     { from{opacity:0;transform:translateY(40px)}    to{opacity:1;transform:translateY(0)} }
@keyframes hp-fade-left   { from{opacity:0;transform:translateX(-52px)}   to{opacity:1;transform:translateX(0)} }
@keyframes hp-fade-right  { from{opacity:0;transform:translateX(52px)}    to{opacity:1;transform:translateX(0)} }
@keyframes hp-blur-in     { from{opacity:0;filter:blur(16px);transform:scale(0.96)} to{opacity:1;filter:blur(0);transform:scale(1)} }
@keyframes hp-flip-in     { from{opacity:0;transform:perspective(700px) rotateX(42deg) translateY(30px)} to{opacity:1;transform:perspective(700px) rotateX(0) translateY(0)} }
@keyframes hp-scale-bounce{ 0%{opacity:0;transform:scale(0.5)} 65%{transform:scale(1.08)} 100%{opacity:1;transform:scale(1)} }
@keyframes hp-slide-reveal{ from{opacity:0;transform:translateY(58px) scale(0.93)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes hp-zoom-in     { from{opacity:0;transform:scale(0.82)} to{opacity:1;transform:scale(1)} }

/* Base: hidden until IntersectionObserver fires */
[data-hp-anim] {
    opacity: 0;
    will-change: opacity, transform;
    animation-delay: var(--hp-d, 0ms);
    animation-fill-mode: both;
}
@media (prefers-reduced-motion: reduce) {
    [data-hp-anim] { opacity: 1 !important; animation: none !important; }
}
/* Per-type animation (applied when .hp-vis is added by JS) */
[data-hp-anim="fade-up"].hp-vis      { animation-name: hp-fade-up;      animation-duration: 0.72s; animation-timing-function: ease; }
[data-hp-anim="fade-left"].hp-vis    { animation-name: hp-fade-left;    animation-duration: 0.72s; animation-timing-function: ease; }
[data-hp-anim="fade-right"].hp-vis   { animation-name: hp-fade-right;   animation-duration: 0.72s; animation-timing-function: ease; }
[data-hp-anim="blur-in"].hp-vis      { animation-name: hp-blur-in;      animation-duration: 0.88s; animation-timing-function: ease; }
[data-hp-anim="flip-in"].hp-vis      { animation-name: hp-flip-in;      animation-duration: 0.68s; animation-timing-function: cubic-bezier(0.22,1,0.36,1); }
[data-hp-anim="scale-bounce"].hp-vis { animation-name: hp-scale-bounce; animation-duration: 0.72s; animation-timing-function: cubic-bezier(0.34,1.56,0.64,1); }
[data-hp-anim="slide-reveal"].hp-vis { animation-name: hp-slide-reveal; animation-duration: 0.92s; animation-timing-function: cubic-bezier(0.22,1,0.36,1); }
[data-hp-anim="zoom-in"].hp-vis      { animation-name: hp-zoom-in;      animation-duration: 0.68s; animation-timing-function: cubic-bezier(0.34,1.56,0.64,1); }

/* ── Class-based animation (just add the class to any element) ────────────
   Same keyframes as above — triggered by .hp-vis added via IntersectionObserver */
.fade-up,.fade-left,.fade-right,.flip-in,.scale-bounce,.blur-in,.zoom-in,.slide-reveal {
    opacity: 0;
    will-change: opacity, transform;
    animation-delay: var(--hp-d, 0ms);
    animation-fill-mode: both;
}
@media (prefers-reduced-motion: reduce) {
    .fade-up,.fade-left,.fade-right,.flip-in,.scale-bounce,.blur-in,.zoom-in,.slide-reveal {
        opacity: 1 !important; animation: none !important;
    }
}
.fade-up.hp-vis       { animation-name: hp-fade-up;       animation-duration: 0.72s; animation-timing-function: ease; }
.fade-left.hp-vis     { animation-name: hp-fade-left;     animation-duration: 0.72s; animation-timing-function: ease; }
.fade-right.hp-vis    { animation-name: hp-fade-right;    animation-duration: 0.72s; animation-timing-function: ease; }
.blur-in.hp-vis       { animation-name: hp-blur-in;       animation-duration: 0.88s; animation-timing-function: ease; }
.flip-in.hp-vis       { animation-name: hp-flip-in;       animation-duration: 0.68s; animation-timing-function: cubic-bezier(0.22,1,0.36,1); }
.scale-bounce.hp-vis  { animation-name: hp-scale-bounce;  animation-duration: 0.72s; animation-timing-function: cubic-bezier(0.34,1.56,0.64,1); }
.slide-reveal.hp-vis  { animation-name: hp-slide-reveal;  animation-duration: 0.92s; animation-timing-function: cubic-bezier(0.22,1,0.36,1); }
.zoom-in.hp-vis       { animation-name: hp-zoom-in;       animation-duration: 0.68s; animation-timing-function: cubic-bezier(0.34,1.56,0.64,1); }

/* ── Local fonts ── */

/* Gotham 100 – Thin */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Thin.eot');
    src: url('../fonts/Gotham-Thin.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-Thin.woff2')         format('woff2'),
         url('../fonts/Gotham-Thin.woff')          format('woff'),
         url('../fonts/Gotham-Thin.ttf')           format('truetype');
    font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-ThinItalic.eot');
    src: url('../fonts/Gotham-ThinItalic.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-ThinItalic.woff2')         format('woff2'),
         url('../fonts/Gotham-ThinItalic.woff')          format('woff'),
         url('../fonts/Gotham-ThinItalic.ttf')           format('truetype');
    font-weight: 100; font-style: italic; font-display: swap;
}

/* Gotham 200 – XLight */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-XLight.eot');
    src: url('../fonts/Gotham-XLight.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-XLight.woff2')         format('woff2'),
         url('../fonts/Gotham-XLight.woff')          format('woff'),
         url('../fonts/Gotham-XLight.ttf')           format('truetype');
    font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-XLightItalic.eot');
    src: url('../fonts/Gotham-XLightItalic.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-XLightItalic.woff2')         format('woff2'),
         url('../fonts/Gotham-XLightItalic.woff')          format('woff'),
         url('../fonts/Gotham-XLightItalic.ttf')           format('truetype');
    font-weight: 200; font-style: italic; font-display: swap;
}

/* Gotham 300 – Light */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Light.eot');
    src: url('../fonts/Gotham-Light.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-Light.woff2')         format('woff2'),
         url('../fonts/Gotham-Light.woff')          format('woff'),
         url('../fonts/Gotham-Light.ttf')           format('truetype');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-LightItalic.eot');
    src: url('../fonts/Gotham-LightItalic.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-LightItalic.woff2')         format('woff2'),
         url('../fonts/Gotham-LightItalic.woff')          format('woff'),
         url('../fonts/Gotham-LightItalic.ttf')           format('truetype');
    font-weight: 300; font-style: italic; font-display: swap;
}

/* Gotham 400 – Book */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Book.eot');
    src: url('../fonts/Gotham-Book.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-Book.woff2')         format('woff2'),
         url('../fonts/Gotham-Book.woff')          format('woff'),
         url('../fonts/Gotham-Book.ttf')           format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-BookItalic.eot');
    src: url('../fonts/Gotham-BookItalic.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-BookItalic.woff2')         format('woff2'),
         url('../fonts/Gotham-BookItalic.woff')          format('woff'),
         url('../fonts/Gotham-BookItalic.ttf')           format('truetype');
    font-weight: 400; font-style: italic; font-display: swap;
}

/* Gotham 500 – Medium */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Medium.eot');
    src: url('../fonts/Gotham-Medium.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-Medium.woff2')         format('woff2'),
         url('../fonts/Gotham-Medium.woff')          format('woff'),
         url('../fonts/Gotham-Medium.ttf')           format('truetype');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-MediumItalic.eot');
    src: url('../fonts/Gotham-MediumItalic.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-MediumItalic.woff2')         format('woff2'),
         url('../fonts/Gotham-MediumItalic.woff')          format('woff'),
         url('../fonts/Gotham-MediumItalic.ttf')           format('truetype');
    font-weight: 500; font-style: italic; font-display: swap;
}

/* Gotham 700 – Bold */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Bold.eot');
    src: url('../fonts/Gotham-Bold.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-Bold.woff2')         format('woff2'),
         url('../fonts/Gotham-Bold.woff')          format('woff'),
         url('../fonts/Gotham-Bold.ttf')           format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-BoldItalic.eot');
    src: url('../fonts/Gotham-BoldItalic.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-BoldItalic.woff2')         format('woff2'),
         url('../fonts/Gotham-BoldItalic.woff')          format('woff'),
         url('../fonts/Gotham-BoldItalic.ttf')           format('truetype');
    font-weight: 700; font-style: italic; font-display: swap;
}

/* Gotham 800 – Black */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Black.eot');
    src: url('../fonts/Gotham-Black.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-Black.woff2')         format('woff2'),
         url('../fonts/Gotham-Black.woff')          format('woff'),
         url('../fonts/Gotham-Black.ttf')           format('truetype');
    font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-BlackItalic.eot');
    src: url('../fonts/Gotham-BlackItalic.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-BlackItalic.woff2')         format('woff2'),
         url('../fonts/Gotham-BlackItalic.woff')          format('woff'),
         url('../fonts/Gotham-BlackItalic.ttf')           format('truetype');
    font-weight: 800; font-style: italic; font-display: swap;
}

/* Gotham 900 – Ultra */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Ultra.eot');
    src: url('../fonts/Gotham-Ultra.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-Ultra.woff2')         format('woff2'),
         url('../fonts/Gotham-Ultra.woff')          format('woff'),
         url('../fonts/Gotham-Ultra.ttf')           format('truetype');
    font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-UltraItalic.eot');
    src: url('../fonts/Gotham-UltraItalic.eot?#iefix')   format('embedded-opentype'),
         url('../fonts/Gotham-UltraItalic.woff2')         format('woff2'),
         url('../fonts/Gotham-UltraItalic.woff')          format('woff'),
         url('../fonts/Gotham-UltraItalic.ttf')           format('truetype');
    font-weight: 900; font-style: italic; font-display: swap;
}

/* Frutiger LT Arabic */
@font-face { font-family:'FrutigerLTArabic'; src:url('../fonts/Frutiger LT Arabic 45 Light.ttf') format('truetype'); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'FrutigerLTArabic'; src:url('../fonts/Frutiger LT Arabic 55 Roman.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'FrutigerLTArabic'; src:url('../fonts/FrutigerLTArabic-65Bold.ttf.ttf') format('truetype'); font-weight:700; font-style:normal; font-display:swap; }

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue.ttc') format('truetype');
    font-weight: 100 900;
    font-style: normal italic;
    font-display: swap;
}

:root {
    --a2a-bg: #080818;
    --a2a-bg-2: #0d0d20;
    --a2a-bg-card: #12122a;
    --a2a-bg-card-hover: #1a1a35;
    --a2a-purple: #9140CA;
    --a2a-purple-light: #9d5cf6;
    --a2a-purple-dark: #5b21b6;
    --a2a-purple-glow: rgba(124, 58, 237, 0.3);
    --a2a-text: #ffffff;
    --a2a-text-muted: rgba(255,255,255,0.65);
    --a2a-text-subtle: rgba(255,255,255,0.4);
    --a2a-border: rgba(255,255,255,0.08);
    --a2a-border-purple: rgba(124,58,237,0.4);
    --font-en: 'Gotham', sans-serif;
    --font-ar: 'FrutigerLTArabic', sans-serif;
    --transition: 0.3s ease;
    --radius: 12px;
    --radius-sm: 8px;
    --a2a-section-padding: clamp(2rem, 8vw, 10rem) clamp(1rem, 6vw, 8rem);
}

/* ============ BASE ============ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Full-width layout — override Bootstrap container max-width */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 9.375rem !important;
    padding-right: 9.375rem !important;
}

@media (max-width: 1400px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        padding-left: 4rem !important;
        padding-right: 4rem !important;
    }
}

@media (max-width: 768px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}

body {
    background-color: var(--a2a-bg);
    color: var(--a2a-text);
    font-family: var(--a2a-body-font, var(--font-en));
    font-size: max(13px, 1rem); /* scales with root: 13px min on mobile, 16px on desktop */
    line-height: var(--a2a-body-line-height, 1.7);
    font-weight: var(--a2a-body-weight, 400);
    font-style: var(--a2a-body-style, normal);
    text-decoration: var(--a2a-body-decoration, none);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Global base heading font — applies to ALL h1-h6 unless overridden by a more specific rule */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--a2a-heading-font, var(--font-en));
    font-weight: var(--a2a-heading-weight, 700);
    font-style: var(--a2a-heading-style, normal);
    text-decoration: var(--a2a-heading-decoration, none);
}

/* Global base body font — applies to ALL paragraphs, descriptions, subtitles */
p, .description, .subtitle, .lead, .body-text {
    font-family: var(--a2a-body-font, var(--font-en));
    font-size: max(13px, var(--a2a-body-size, 1rem));
    font-weight: var(--a2a-body-weight, 400);
    font-style: var(--a2a-body-style, normal);
    text-decoration: var(--a2a-body-decoration, none);
}

body.rtl {
    --font-en: 'FrutigerLTArabic', sans-serif;
    font-family: var(--font-ar);
    font-size: var(--a2a-body-ar-size, var(--a2a-body-size, 16px));
    font-weight: var(--a2a-body-ar-weight, var(--a2a-body-weight, 400));
    font-style: var(--a2a-body-ar-style, var(--a2a-body-style, normal));
    text-decoration: var(--a2a-body-ar-decoration, var(--a2a-body-decoration, none));
    direction: rtl;
}

    body.rtl .ms-auto {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    body.rtl .me-auto {
        margin-right: 0 !important;
        margin-left: auto !important;
    }

    body.rtl .ms-3 {
        margin-left: 0 !important;
        margin-right: 1rem !important;
    }

/*section {
    padding: var(--a2a-section-padding);
}*/

.text-purple {
    color: var(--a2a-purple-light) !important;
}
/* Global button border-radius — applied to all buttons and .btn variants */
.btn,
button:not(.cookie-close):not(.cookie-toggle-switch):not(.navbar-toggler):not(.hero-dot):not(.testi-nav-btn):not([class*="admin-"]) {
    border-radius: var(--radius) !important;
}

.btn-purple {
    background: var(--a2a-purple);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: var(--a2a-btn-font-family, var(--font-en));
    font-size: var(--a2a-btn-font-size, 0.95rem);
    font-weight: var(--a2a-btn-font-weight, 600);
    font-style: var(--a2a-btn-font-style, normal);
    transition: var(--transition);
    padding: 0.6rem 1.5rem;
}

    .btn-purple:hover {
        background: var(--a2a-purple-light);
        color: #fff;
        transform: translateY(-1px);
    }

.btn-outline-purple {
    background: transparent;
    color: var(--a2a-purple-light);
    border: 1.5px solid var(--a2a-purple-light);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

    .btn-outline-purple:hover {
        background: var(--a2a-purple);
        color: #fff;
        border-color: var(--a2a-purple);
    }

.section-title {
    font-size: clamp(1.6rem, 3vw, var(--a2a-section-heading-size, 2.5rem));
    font-family: var(--a2a-section-heading-font, var(--font-en));
    font-weight: var(--a2a-section-heading-weight, 700);
    font-style: var(--a2a-section-heading-style, normal);
    text-decoration: var(--a2a-section-heading-decoration, none);
    color: var(--a2a-text);
    line-height: 1.3;
}

.section-label {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--a2a-text-muted);
    font-weight: 400;
}

.section-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--a2a-purple-light);
    font-weight: 600;
}

.section-divider {
    height: 1px;
    background: var(--a2a-border);
}

/* ============ NAVBAR ============ */
.a2a-navbar,
#mainNav {
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.a2a-navbar::before,
#mainNav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 16, 0.38);
    backdrop-filter: blur(18px) contrast(1.2);
    -webkit-backdrop-filter: blur(18px) contrast(1.2);
    z-index: -1;
    pointer-events: none;
    transition: background var(--transition);
}

/* Push non-hero pages (inner pages) down so content isn't hidden behind fixed navbar */
main:not(:has(.hero-slider)) {
    /*padding-top: 72px;*/
}

.a2a-navbar.scrolled {
    background: transparent !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.a2a-navbar.scrolled::before {
    background: rgba(8, 8, 24, 0.82);
    backdrop-filter: blur(24px) contrast(1.2);
    -webkit-backdrop-filter: blur(24px) contrast(1.2);
}

/* ── Mobile: stop ::before from expanding with the collapse ── */
@media (max-width: 991.98px) {
    /* Pin the blur background to just the top bar — don't let it grow with the open menu */
    .a2a-navbar::before,
    #mainNav::before {
        bottom: auto;
        height: 72px;
    }

    /* Give the collapsed menu its own solid background and scroll container */
    .a2a-navbar .navbar-collapse.show,
    .a2a-navbar .navbar-collapse.collapsing,
    #mainNav .navbar-collapse.show,
    #mainNav .navbar-collapse.collapsing {
        background: rgba(6, 6, 22, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255,255,255,.06);
        border-radius: 0 0 12px 12px;
        padding: 0.5rem 1rem 1rem;
        margin-top: 0.25rem;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

.a2a-logo {
    height: 48px;
    width: auto;
}

.a2a-logo-text {
    display: flex;
    flex-direction: column;
}

.logo-a2a {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
}

.logo-tagline {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--a2a-purple-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.a2a-navbar .navbar-nav {
    gap: 0.25rem;
}

.a2a-navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-size: var(--a2a-nav-font-size, 0.9rem);
    font-weight: var(--a2a-nav-font-weight, 500);
    padding: 0.5rem 0.85rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

    .a2a-navbar .nav-link:hover {
        color: #fff !important;
        background: var(--a2a-purple) !important;
    }

    .a2a-navbar .nav-link.active {
        color: #fff !important;
        background: var(--a2a-purple) !important;
    }

/* Mega menu toggle arrow — points right by default, rotates to down when open */
.a2a-navbar .dropdown-toggle::after {
    display: inline-block;
    border: none;
    content: '\F285'; /* Bootstrap Icons bi-chevron-right */
    font-family: 'bootstrap-icons';
    font-size: 0.75rem;
    vertical-align: middle;
    margin-inline-start: 0.25rem;
    transform: rotate(0deg);
    transition: transform 0.25s ease;
}

.a2a-navbar .nav-link[aria-expanded="true"]::after {
    transform: rotate(90deg);
}

.a2a-navbar .navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

    .lang-switcher:hover {
        color: #fff;
        border-color: rgba(255,255,255,0.5);
    }

/* MEGA MENUS */
.mega-dropdown {
    position: static !important;
}

.mega-menu {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    border: none !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    background: rgba(4,4,16,0) !important;
    backdrop-filter: blur(18px); /*blur(80px) saturate(200%) contrast(1.2);*/
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 20px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.1) !important;
}

.mega-menu-inner {
    display: flex;
    min-height: 320px;
}

.mega-menu-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: rgba(8, 8, 28, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-inline-end: 1px solid rgba(255,255,255,0.1);
}

.mega-menu-content {
    flex: 1;
    padding: 1.5rem;
    overflow: hidden;
    background: rgba(8, 8, 28, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mega-menu-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--a2a-text-subtle);
    font-weight: 600;
    margin-bottom: 1rem;
}

.mega-menu-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .mega-menu-categories li {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.6rem 0.75rem;
        border-radius: var(--radius-sm);
        color: rgba(255,255,255,0.7);
        font-size: 0.875rem;
        cursor: pointer;
        transition: var(--transition);
    }

        .mega-menu-categories li:hover,
        .mega-menu-categories li.active {
            background: var(--a2a-purple);
            color: #fff;
        }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.product-mini-card {
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--a2a-border);
    transition: var(--transition);
}

.product-card-link {
    text-decoration: none;
}

    .product-card-link:hover .product-mini-card {
        border-color: var(--a2a-purple);
        background: rgba(124,58,237,0.1);
    }
/* Single-product solo card in WWD mega menu */
.wwd-solo-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--a2a-border-purple);
    max-width: 320px;
}

    .wwd-solo-card:hover {
        border-color: var(--a2a-purple);
        background: rgba(124,58,237,0.08);
    }

.wwd-solo-img {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.product-name {
    font-size: var(--a2a-card-title-size, 0.85rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
    text-align: start;
}

.product-desc {
    font-size: 0.75rem;
    color: var(--a2a-text-muted);
    line-height: 1.4;
}

/* WHO WE SERVE MEGA MENU — 3-panel layout */
.whom-we-serve-inner {
    min-height: 360px;
    padding: 0;
}

/* Left sidebar */
.wws-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: rgba(0,0,0,0.35);
    border-inline-end: 1px solid var(--a2a-border-purple);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
}

.wws-sidebar-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--a2a-purple-light);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-inline-start: 0.5rem;
}

.wws-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.wws-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

    .wws-sidebar-item i {
        font-size: 1rem;
        flex-shrink: 0;
    }

    .wws-sidebar-item:hover {
        background: rgba(124,58,237,0.15);
        color: #fff;
    }

    .wws-sidebar-item.active {
        background: var(--a2a-purple);
        color: #fff;
    }

/* Middle detail column */
.wws-detail-col {
    flex: 1;
    padding: 2rem 1.75rem;
    overflow: hidden;
}

.wws-detail-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.wws-detail-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    max-width: 400px;
}

.wws-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

    .wws-features li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.82rem;
        color: rgba(255,255,255,0.7);
    }

        .wws-features li i {
            color: var(--a2a-purple-light);
            font-size: 0.9rem;
        }

.wws-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--a2a-purple-light);
    text-decoration: none;
    transition: gap 0.2s;
}

    .wws-learn-more:hover {
        gap: 0.7rem;
        color: #fff;
    }

/* Right image panel */
.wws-image-col {
    width: 260px;
    flex-shrink: 0;
    padding: 1.5rem 1.5rem 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wws-image-panel {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.wws-panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    min-height: 200px;
}

.wws-panel-placeholder {
    width: 100%;
    min-height: 200px;
    background: rgba(124,58,237,0.08);
    border: 1px dashed rgba(124,58,237,0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(124,58,237,0.4);
    font-size: 2rem;
}

/* ============ HERO ============ */
/* ============ HERO SLIDER ============ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
    z-index: 0;
}

    .hero-slide.active {
        opacity: 1;
        pointer-events: auto;
        z-index: 1;
    }

.hero-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* 3D image — full width, full height cover */
.hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Gradient overlay: strong dark on left for text readability, fades right */
.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( to right, var(--a2a-hero-bg, #040d18) 0%, var(--a2a-hero-bg, #040d18) 20%, rgba(4,13,24,0.82) 38%, rgba(4,13,24,0.35) 60%, rgba(4,13,24,0.05) 100% );
    z-index: 2;
    pointer-events: none;
}

/* Text — left side, vertically centered with slight upward offset */
.hero-text {
    position: absolute;
    z-index: 5;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-55%);
    width: 50%;
    padding-inline-start: 3rem;
    padding-inline-end: 1.5rem;
    text-align: start;
}

.hero-eyebrow {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    margin-bottom: 0.9rem;
    line-height: 1.5;
}

.hero-heading {
    font-size: var(--a2a-hero-heading-size, clamp(2.2rem, 4vw, 3.5rem));
    font-family: var(--a2a-hero-heading-font, var(--font-en));
    font-weight: var(--a2a-hero-heading-weight, 700);
    font-style: var(--a2a-hero-heading-style, normal);
    text-decoration: var(--a2a-hero-heading-decoration, none);
    line-height: 1.1;
    color: #fff;
    margin: 0 0 2rem;
}

    .hero-heading em {
        font-style: italic;
        font-weight: 700;
    }

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    border: 2px solid rgba(255,255,255,0.9);
    color: var(--a2a-purple);
    background: #fff;
    border-radius: 50px;
    padding: 0.65rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

    .btn-hero-outline:hover {
        background: var(--a2a-purple);
        border-color: var(--a2a-purple);
        color: #fff;
    }

/* Figma primary hero button: white bg, #9140ca text */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #9140ca;
    background: #ffffff;
    border-radius: 0;
    padding: 0.85rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background 0.25s, color 0.25s;
    min-width: 220px;
}

    .btn-hero-primary:hover {
        background: #f0e0ff;
        color: #7010b0;
    }

/* Hero sub-heading */
.hero-subheading {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(255,255,255,0.65);
    margin-top: 0.75rem;
    margin-bottom: 0;
    max-width: 540px;
    line-height: 1.7;
}

.hero-align-center .hero-subheading {
    margin-left: auto;
    margin-right: auto;
}

.hero-align-right .hero-subheading {
    margin-left: auto;
}

/* Hero button group */
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

/* Secondary (outline) hero button */
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255,255,255,0.5);
    color: #fff;
    background: transparent;
    border-radius: 0;
    padding: 0.85rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background 0.25s, border-color 0.25s;
    min-width: 180px;
}

    .btn-hero-secondary:hover {
        background: rgba(255,255,255,0.1);
        border-color: #fff;
        color: #fff;
    }

/* Hero alignment modifiers — use logical CSS, driven by dir attribute on <html> */
.hero-align-center .hero-text {
    inset-inline-start: 50%;
    transform: translateX(-50%) translateY(-55%);
    text-align: center;
    width: 60%;
}

.hero-align-right .hero-text {
    inset-inline-start: auto;
    inset-inline-end: 0;
    text-align: end;
}

.hero-align-left .hero-btns {
    justify-content: flex-start;
}

.hero-align-center .hero-btns {
    justify-content: center;
}

.hero-align-right .hero-btns {
    justify-content: flex-end;
}

.hero-align-center .hero-subheading {
    margin-inline: auto;
}

.hero-align-right .hero-subheading {
    margin-inline-start: auto;
    margin-inline-end: 0;
}

/* Slide animations */
.hero-slide.active .hero-subheading {
    animation: fadeUp 0.7s ease 0.28s both;
}

.hero-slide.active .hero-btns {
    animation: fadeUp 0.7s ease 0.35s both;
}

.hero-slide.active .btn-hero-secondary {
    animation: none;
}

/* Indicators — bottom-left aligned with container */
.hero-indicators {
    position: absolute;
    bottom: 2.5rem;
    left: 3rem;
    display: flex;
    gap: 8px;
    z-index: 10;
    align-items: center;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.35s ease, background 0.35s ease;
}

    .hero-dot.active {
        width: 36px;
        background: #fff;
    }

/* Per-slide text enter animations */
.hero-slide.active .hero-eyebrow {
    animation: fadeUp 0.6s ease 0.05s both;
}

.hero-slide.active .hero-heading {
    animation: fadeUp 0.7s ease 0.2s both;
}

.hero-slide.active .btn-hero-primary {
    animation: fadeUp 0.7s ease 0.35s both;
}

.hero-slide.active .btn-hero-outline {
    animation: fadeUp 0.7s ease 0.35s both;
}

/* ============ ANIMATIONS ============ */
.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ ABOUT SECTION (NEW) ============ */
.about-section-new {
    position: relative;
    padding: var(--a2a-section-padding);
    background: #07050f;
    overflow: hidden;
}

/* Ambient glows */
.about-glow-left {
    position: absolute;
    left: -10%;
    top: 10%;
    width: 480px;
    height: 480px;
    background: radial-gradient(ellipse, rgba(180,60,0,0.28) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.about-glow-right {
    position: absolute;
    right: -5%;
    bottom: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(100,30,180,0.22) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.about-new-title {
    font-family: var(--fld-about-new-title-font, var(--a2a-section-heading-font, var(--font-en)));
    font-size: var(--fld-about-new-title-size, clamp(1.2rem, var(--a2a-section-heading-size, 2rem), var(--a2a-section-heading-size, 2rem)));
    font-weight: var(--fld-about-new-title-weight, var(--a2a-section-heading-weight, 700));
    font-style: var(--fld-about-new-title-style, normal);
    text-decoration: var(--fld-about-new-title-decoration, none);
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
}

.about-new-body {
    font-size: var(--fld-about-body-size, 1rem);
    font-family: var(--fld-about-body-font, var(--a2a-body-font, var(--font-en)));
    font-weight: var(--fld-about-body-weight, 400);
    font-style: var(--fld-about-body-style, normal);
    text-decoration: var(--fld-about-body-decoration, none);
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
    padding: clamp(1rem, 4vw, 2rem) /* top */
    clamp(0.5rem, 3vw, 1rem) /* right */
    clamp(3rem, 6vw, 6rem) /* bottom */
    clamp(0.5rem, 3vw, 1rem) /* left */;
}

    .about-new-body strong {
        color: #fff;
    }

/* What We Do — 3-column photo cards (Figma: 367x543) */
.wwd-cards-row {
    display: flex;
    gap: 5.5rem;
    justify-content: center;
}

.wwd-photo-card {
    position: relative;
    flex: 0 0 calc(33.333% - 1rem);
    max-width: 367px;
    height: 543px;
    border-radius: 13px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .wwd-photo-card:hover {
        transform: translateY(-6px);
    }

.wwd-photo-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.wwd-photo-card-overlay {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.82) 100%);*/
    z-index: 1;
}

.wwd-photo-card-body {
    position: absolute;
    /* bottom: 0;*/
    left: 0;
    right: 0;
    padding: clamp(1.5rem, 5vw, 2.5rem) /* top & bottom */
    clamp(1rem, 4vw, 1.75rem); /* left & right */
    z-index: 2;
}

.wwd-photo-card-title {
    font-family: var(--fld-wwd-title-font, var(--a2a-heading-font, var(--font-en)));
    font-size: var(--fld-wwd-title-size, 1.15rem);
    font-weight: var(--fld-wwd-title-weight, 500);
    font-style: var(--fld-wwd-title-style, normal);
    text-decoration: var(--fld-wwd-title-decoration, none);
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.wwd-photo-card-desc {
    font-family: var(--fld-wwd-desc-font, var(--a2a-body-font, var(--font-en)));
    font-size: var(--fld-wwd-desc-size, 0.83rem);
    font-weight: var(--fld-wwd-desc-weight, 400);
    font-style: var(--fld-wwd-desc-style, normal);
    text-decoration: var(--fld-wwd-desc-decoration, none);
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .wwd-cards-row {
        flex-wrap: wrap;
    }

    .wwd-photo-card {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: none;
        height: 380px;
    }
}

@media (max-width: 576px) {
    .wwd-photo-card {
        flex: 0 0 100%;
        height: 320px;
    }
}

/* Legacy wwd-card selectors (kept for other pages) */
.wwd-card {
    background: #0d0b18;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

.wwd-card-body {
    padding: 1.75rem 1.5rem 1.25rem;
    flex: 1;
}

.wwd-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.wwd-card-desc {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    margin: 0;
}

.wwd-card-visual {
    height: 200px;
    position: relative;
    background: radial-gradient(ellipse at 50% 80%, var(--accent,#e05c00) 0%, #1a0a28 60%, #0d0b18 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .wwd-card-visual::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, #0d0b18 0%, transparent 40%);
    }

.wwd-card-icon-wrap {
    position: relative;
    z-index: 1;
    font-size: 5rem;
    color: rgba(255,255,255,0.12);
    filter: drop-shadow(0 0 30px var(--accent,#e05c00));
}

/* ============ ABOUT SECTION (OLD — keep for reference) ============ */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--a2a-bg) 0%, var(--a2a-bg-2) 100%);
}

.section-dark-card {
    position: relative;
}

.about-body {
    color: var(--a2a-text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.what-we-do-heading {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--a2a-text-muted);
}

.service-dark-card {
    background: var(--a2a-bg-card);
    border: 1px solid var(--a2a-border);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .service-dark-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--a2a-purple), var(--a2a-purple-light));
        opacity: 0;
        transition: var(--transition);
    }

    .service-dark-card:hover {
        border-color: var(--a2a-border-purple);
        background: var(--a2a-bg-card-hover);
        transform: translateY(-4px);
        box-shadow: 0 8px 32px rgba(124,58,237,0.15);
    }

        .service-dark-card:hover::before {
            opacity: 1;
        }

.service-dark-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(124,58,237,0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--a2a-purple-light);
    margin-bottom: 1rem;
}

.service-dark-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.service-dark-card-desc {
    font-size: 0.85rem;
    color: var(--a2a-text-muted);
    margin: 0;
}

/* ============ PARTNERS ============ */
.partners-section {
    padding: var(--a2a-section-padding);
    background: #e8ecf0;
    overflow: hidden;
}

.partners-title {
    font-family: var(--fld-partners-title-font, var(--a2a-section-heading-font, var(--font-en)));
    font-size: var(--fld-partners-title-size, clamp(1.2rem, 2.5vw, var(--a2a-section-heading-size, 2.2rem)));
    font-weight: var(--fld-partners-title-weight, var(--a2a-section-heading-weight, 400));
    font-style: var(--fld-partners-title-style, normal);
    text-decoration: var(--fld-partners-title-decoration, none);
    color: #111;
    line-height: 1.35;
    padding: 0 clamp(1rem, 20vw, 25rem) clamp(0rem, 0vw, 1rem) clamp(1rem, 20vw, 25rem);
}

.partners-title-highlight {
    color: #9140ca;
    font-weight: 400;
}

/* ── Partners 6-slot grid ── */
.partners-stage {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0rem;
    padding: 0.5rem 0;
    align-items: center;
    padding-top: 2.2rem
}

.partner-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    padding: 0.75rem 1rem;
    transition: background 0.25s;
}

    .partner-slot img {
        height: 36px;
        width: auto;
        max-width: 120px;
        object-fit: contain;
        filter: grayscale(100%) opacity(0.6);
        transition: filter 0.25s;
        display: block;
    }

        .partner-slot img:hover {
            filter: grayscale(0%) opacity(1);
        }

.partner-text-logo {
    color: #333;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    text-align: center;
}

/* Slot transition animations */
@keyframes partnerSlideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes partnerSlideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.partner-slot-out {
    animation: partnerSlideOut 0.3s ease forwards;
}

.partner-slot-in {
    animation: partnerSlideIn 0.35s ease forwards;
}

@media (max-width: 768px) {
    .partners-stage {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .partners-stage {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============ STATS / PERFORMANCE ============ */
.stats-section {
    background: #000000;
    padding: var(--a2a-section-padding);
    position: relative;
    overflow: hidden;
}

/* World map removed from ::before — now on .stats-scatter directly */

/* "Performance" purple-pink, "at a Glance" white */
.stats-heading {
    font-family: var(--fld-stats-title-font, var(--a2a-section-heading-font, var(--font-en)));
    font-size: var(--fld-stats-title-size, clamp(1.2rem, 2vw, var(--a2a-section-heading-size, 2rem)));
    font-weight: var(--fld-stats-title-weight, var(--a2a-section-heading-weight, 700));
    font-style: var(--fld-stats-title-style, normal);
    text-decoration: var(--fld-stats-title-decoration, none);
    color: #ffffff;
    letter-spacing: 0.01em;
    position: relative;
    padding: 0px 0px clamp(5rem, 20vw, 23rem) 0px;
}

.stats-perf-word {
    color: #c060ee !important;
    font-weight: 300;
}

/* ── Scatter container ── */
.stats-scatter {
    position: relative !important;
    height: 650px !important;
}

/* World map sits behind all stat numbers */
.stats-map-bg {
    position: absolute !important;
    top: 240px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-position: center center !important;
    background-size: 95% auto !important;
    background-repeat: no-repeat !important;
    will-change: transform;
    pointer-events: none;
    z-index: 0;
}

/* ── Stat item entrance animations ── */
@keyframes statSlideLeft {
    from {
        opacity: 0;
        transform: translateX(-90px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes statSlideRight {
    from {
        opacity: 0;
        transform: translateX(90px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes statFadeUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stat-scatter-item {
    position: absolute !important;
    z-index: 1;
    opacity: 0;
}

/* Left items — slide from left */
.stat-pos-0.stat-visible {
    animation: statSlideLeft 1.1s cubic-bezier(.22,.68,0,1.15) forwards;
}

.stat-pos-1.stat-visible {
    animation: statSlideLeft 1.1s cubic-bezier(.22,.68,0,1.15) forwards;
}

.stat-pos-2.stat-visible {
    animation: statSlideLeft 1.1s cubic-bezier(.22,.68,0,1.15) forwards;
}

/* Right items — slide from right */
.stat-pos-3.stat-visible {
    animation: statSlideRight 1.1s cubic-bezier(.22,.68,0,1.15) forwards;
}

.stat-pos-5.stat-visible {
    animation: statSlideRight 1.1s cubic-bezier(.22,.68,0,1.15) forwards;
}

/* Center hero — fade up */
.stat-pos-4.stat-visible {
    animation: statFadeUp 1.2s cubic-bezier(.22,.68,0,1.15) forwards;
}

/* Mobile: all fade up */
@media (max-width: 768px) {
    .stat-pos-0.stat-visible,
    .stat-pos-1.stat-visible,
    .stat-pos-2.stat-visible,
    .stat-pos-3.stat-visible,
    .stat-pos-4.stat-visible,
    .stat-pos-5.stat-visible {
        animation: statFadeUp 1s cubic-bezier(.22,.68,0,1.15) forwards;
    }
}

/* Number gradient: bright pink → deep purple */
.stat-value {
    font-size: var(--fld-stat-value-size, clamp(3rem, 5vw, 5rem));
    font-weight: var(--fld-stat-value-weight, 700);
    font-style: var(--fld-stat-value-style, normal);
    text-decoration: var(--fld-stat-value-decoration, none);
    line-height: 1;
    margin-bottom: 0.2rem;
    background: repeating-linear-gradient(-90deg, #E86144 0%, #9140CA 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    white-space: nowrap;
    color: transparent !important;
}

.stat-label {
    font-family: var(--fld-stat-label-font, inherit);
    font-size: var(--fld-stat-label-size, 0.8rem);
    font-weight: var(--fld-stat-label-weight, 400);
    font-style: var(--fld-stat-label-style, normal);
    text-decoration: var(--fld-stat-label-decoration, none);
    color: rgba(255,255,255,0.7) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.7) !important;
    max-width: 180px;
    line-height: 1.3;
}

/*
  Render order (DB SortOrder):
    si=0  18+        Supported Countries
    si=1  15+        Trusted Partnerships
    si=2  27+        Years of Excellence
    si=3  70+        Financial Institution
    si=4  3 billion+ Financial Alert and Notification Messages
    si=5  100+       Team Members
*/

/* si=0 → 18+ Supported Countries — mid-left */
.stat-pos-0 {
    top: 6% !important;
    left: 14% !important;
}

/* si=1 → 15+ Trusted Partnerships — lower-left */
.stat-pos-1 {
    top: 66% !important;
    left: 9% !important;
}

/* si=2 → 27+ Years of Excellence — upper-left */
.stat-pos-2 {
    top: -38% !important;
    left: 0% !important;
}

/* si=3 → 70+ Financial Institution — upper-right */
.stat-pos-3 {
    top: -19% !important;
    right: 0% !important;
    left: auto !important;
}

/* si=4 → 3 billion+ — center of map, biggest */
.stat-pos-4 {
    top: 34% !important;
    left: 45% !important;
}
    /*
    .stat-pos-4 .stat-value {
        font-size: clamp(3.5rem, 6.5vw, 7rem) !important;
    }
*/
    .stat-pos-4 .stat-label {
        max-width: 320px;
    }

/* si=5 → 100+ Team Members — lower-right */
.stat-pos-5 {
    top: 86% !important;
    left: 92% !important;
}

/* ── Mobile: 2-col stacked grid ── */
@media (max-width: 768px) {
    .stats-scatter {
        height: auto !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1rem;
        padding: 1rem 0;
    }

    .stat-scatter-item {
        position: static !important;
    }

    .stat-pos-0, .stat-pos-1, .stat-pos-2, .stat-pos-3, .stat-pos-4, .stat-pos-5 {
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }

/*        .stat-pos-4 .stat-value {
            font-size: 2.8rem !important;
        }*/

        .stat-pos-4 .stat-label {
            max-width: none;
        }
}

.stats-title-gradient {
    background: linear-gradient(135deg, #e040fb 0%, #8b00d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}

/* ============ SOLUTIONS FINDER ============ */
.solutions-section {
    padding: var(--a2a-section-padding);
    position: relative;
    overflow: hidden;
    height: 62rem;
    background: #050510;
}

/* Separate bg div so we can control blur and opacity independently */
.solutions-section-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    transition: opacity 0.4s ease;
}

.solutions-heading {
    font-family: var(--fld-sol-title-font, var(--a2a-section-heading-font, var(--font-en)));
    font-size: var(--fld-sol-title-size, clamp(1.2rem, var(--a2a-section-heading-size, 2rem), var(--a2a-section-heading-size, 2rem)));
    font-weight: var(--fld-sol-title-weight, var(--a2a-section-heading-weight, 700));
    font-style: var(--fld-sol-title-style, normal);
    text-decoration: var(--fld-sol-title-decoration, none);
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.01em;
    position: relative;
    padding: 0 clamp(1rem, 20vw, 25rem) clamp(1rem, 4vw, 2rem) clamp(1rem, 20vw, 25rem);
}

.solutions-finder {
    border-radius: 0;
    overflow: visible;
}

/* Tabs nav — full width, no wrapping */
.solutions-tabs-nav {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding-bottom: 0;
    margin-bottom: 1.75rem;
    overflow: hidden;
}

    .solutions-tabs-nav::-webkit-scrollbar {
        display: none;
    }

/* Mobile fix */
@media (max-width: 768px) {
    .solutions-tabs-nav {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

        .solutions-tabs-nav::-webkit-scrollbar {
            display: none; /* Chrome/Safari */
        }

    .solutions-section {
        height: auto;
    }
}

.sol-tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1rem 0.75rem;
    background: transparent;
    border: none;
    border-inline-end: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.55);
    font-family: var(--fld-svccat-name-font, var(--font-en));
    font-size: var(--fld-svccat-name-size, 0.8rem);
    font-weight: var(--fld-svccat-name-weight, 500);
    font-style: var(--fld-svccat-name-style, normal);
    text-decoration: var(--fld-svccat-name-decoration, none);
    white-space: nowrap;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-en);
    line-height: 1.2;
    aspect-ratio: auto;
    min-height: 64px;
}

    .sol-tab-btn:last-child {
        border-inline-end: none;
    }

    .sol-tab-btn i {
        font-size: 1.1rem;
    }

    .sol-tab-btn:hover {
        color: #fff;
        background: rgba(255,255,255,0.06);
    }

    .sol-tab-btn.active {
        background: var(--a2a-purple);
        color: #fff;
    }

/* Description text */
.solutions-panel {
    padding: 0.25rem 0 1.75rem;
    background: transparent;
}
    /* Center product cards row — handles 1, 2 or any count naturally */
    .solutions-panel .row {
        justify-content: center;
    }

.solutions-panel-desc {
    font-family: var(--fld-svccat-desc-font, inherit);
    font-size: var(--fld-svccat-desc-size, 0.82rem);
    font-weight: var(--fld-svccat-desc-weight, normal);
    font-style: var(--fld-svccat-desc-style, normal);
    text-decoration: var(--fld-svccat-desc-decoration, none);
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.25rem;
}

/* Product cards — Figma: #d2d9df fill, 300x80, r=12 */
.sol-product-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d2d9df;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    transition: var(--transition);
    height: 80px;
    min-height: 80px;
}

    .sol-product-card:hover {
        background: #c5cfd8;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    }

.sol-product-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

.sol-product-logo {
    max-width: 80%;
    max-height: 52px;
    object-fit: contain;
    display: block;
}

.sol-product-icon {
    width: 28px;
    height: 28px;
    background: rgba(124,58,237,0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--a2a-purple);
    flex-shrink: 0;
}

/* ============ TESTIMONIALS ============ */
.testimonials-section {
    background: #e1e6ea;
    padding: var(--a2a-section-padding);
    overflow: hidden;
    position: relative;
}

.testimonials-heading {
    font-family: var(--fld-testi-title-font, var(--a2a-section-heading-font, var(--font-en)));
    font-size: var(--fld-testi-title-size, clamp(1.5rem, 3vw, 2.6rem));
    font-weight: var(--fld-testi-title-weight, 700);
    font-style: var(--fld-testi-title-style, normal);
    text-decoration: var(--fld-testi-title-decoration, none);
    color: #1a1a2e;
    line-height: 1.3;
}

.testi-slider-outer {
    overflow: hidden;
    padding: 1.5rem 0 2rem;
    position: relative;
}

.testi-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

    .testi-track.no-transition {
        transition: none !important;
    }

.testi-slide {
    flex-shrink: 0;
    width: 520px;
    max-width: 80vw;
    opacity: 0.42;
    transform: scale(0.94);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

    .testi-slide.testi-active {
        opacity: 1;
        transform: scale(1);
    }

.testi-card-inner {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 2.5rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

    .testi-card-inner::before {
        content: '\201C';
        position: absolute;
        top: 1.2rem;
        left: 2rem;
        font-size: 4rem;
        line-height: 1;
        color: var(--a2a-purple);
        opacity: 0.3;
        font-family: Georgia, serif;
    }

.testi-slide.testi-active .testi-card-inner {
    border-color: rgba(124,58,237,0.3);
    box-shadow: 0 8px 40px rgba(124,58,237,0.12);
}

.testi-quote {
    font-family: var(--fld-testimonial-quote-font, inherit);
    font-size: var(--fld-testimonial-quote-size, 0.95rem);
    font-weight: var(--fld-testimonial-quote-weight, normal);
    font-style: var(--fld-testimonial-quote-style, italic);
    text-decoration: var(--fld-testimonial-quote-decoration, none);
    color: rgba(0,0,0,0.65);
    line-height: 1.8;
    margin: 0;
    flex: 1;
    padding-top: 1.5rem;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.07);
}

.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(124,58,237,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--a2a-purple);
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid rgba(124,58,237,0.2);
}

    .testi-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.testi-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testi-author-name {
    font-family: var(--fld-testimonial-author-font, inherit);
    font-size: var(--fld-testimonial-author-size, 0.92rem);
    font-weight: var(--fld-testimonial-author-weight, 600);
    font-style: var(--fld-testimonial-author-style, normal);
    text-decoration: var(--fld-testimonial-author-decoration, none);
    color: #1a1a2e;
    line-height: 1.3;
}

.testi-author-role {
    font-size: 0.78rem;
    color: rgba(0,0,0,0.5);
    line-height: 1.4;
}

/* Navigation arrows */
.testi-nav {
    display: flex;
    justify-content: center;
    gap: 1.75rem;
    margin-top: 1rem;
}

.testi-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.8);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    transition: all 0.3s ease;
}

    .testi-nav-btn:hover {
        border-color: var(--a2a-purple);
        color: var(--a2a-purple);
        background: rgba(124,58,237,0.06);
    }

@media (max-width: 768px) {
    .testi-slide {
        width: 85vw;
    }
}

/* Legacy testimonial card (keep for other pages) */
.testimonial-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
}

.testimonial-quote-icon {
    color: #9140CA;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.65);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(124,58,237,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--a2a-purple);
    flex-shrink: 0;
}

.author-info {
    text-align: start;
}

.author-name {
    display: block;
    font-weight: 700;
    color: #1a1a2e;
    font-size: 0.9rem;
}

.author-role {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.5);
}

.custom-indicators {
    position: relative;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 6px;
}

    .custom-indicators button {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255,255,255,0.25);
        border: none;
        transition: var(--transition);
        padding: 0;
    }

        .custom-indicators button.active {
            background: var(--a2a-purple-light);
            width: 24px;
            border-radius: 4px;
        }

/* ============ CTA SECTION (legacy) ============ */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #050510 0%, #0f0530 50%, #080818 100%);
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at center, rgba(124,58,237,0.2) 0%, transparent 60%);
    }

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-logo {
    height: 64px;
    opacity: 0.15;
    margin-bottom: 2rem;
    filter: invert(1);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
}

/* ============ CTA SECTION (new) ============ */
.cta-section-new {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: clamp(15rem, 10vw, 10rem) clamp(7rem, 25vw, 27rem) clamp(15rem, 10vw, 10rem) clamp(7rem, 25vw, 27rem);
    background: #000;
    overflow: hidden;
}

/* Wireframe sphere art — centered, large, prominent */
.cta-bg-image {
    position: absolute;
    inset: -5% -10%;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none;
}

/* Subtle vignette only — let the sphere show through */
.cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, rgba(0,0,0,0.35) 100%), linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, transparent 12%, transparent 72%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

.cta-section-new .container-xl {
    position: relative;
    z-index: 2;
}

.cta-new-title {
    font-family: var(--fld-cta-title-font, var(--a2a-section-heading-font, var(--font-en)));
    font-size: var(--fld-cta-title-size, clamp(1.2rem, var(--a2a-section-heading-size, 2rem), var(--a2a-section-heading-size, 2rem)));
    font-weight: var(--fld-cta-title-weight, 700);
    font-style: var(--fld-cta-title-style, normal);
    text-decoration: var(--fld-cta-title-decoration, none);
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.cta-new-sub {
    font-family: var(--fld-cta-sub-font, inherit);
    font-size: var(--fld-cta-sub-size, 1rem);
    font-weight: var(--fld-cta-sub-weight, normal);
    font-style: var(--fld-cta-sub-style, normal);
    text-decoration: var(--fld-cta-sub-decoration, none);
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    margin: 0 auto 2.25rem;
    line-height: 1.65;
}

.cta-form {
    display: flex;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
    align-items: stretch;
}

.cta-email-input {
    flex: 1;
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    padding: 0.85rem 1.5rem;
    color: #111;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    min-width: 0;
}

    .cta-email-input:focus {
        border-color: var(--a2a-purple-light);
        box-shadow: 0 0 0 3px rgba(124,58,237,0.25);
    }

    .cta-email-input::placeholder {
        color: rgba(0,0,0,0.4);
    }

.btn-cta-primary {
    background: #9140ca;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 0.85rem 1.6rem;
    font-family: var(--a2a-getdemo-font-family, var(--font-en));
    font-size: var(--a2a-getdemo-font-size, 0.95rem);
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.25s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-cta-primary:hover {
        background: #9140CA;
        color: #fff;
    }

@media (max-width: 576px) {
    .cta-form {
        flex-direction: column;
    }

    .cta-email-input {
        border-radius: var(--radius);
    }

    .btn-cta-primary {
        border-radius: var(--radius);
        justify-content: center;
    }
}

/* ============ FOOTER ============ */
.a2a-footer {
    background: linear-gradient(135deg, #0e0b1e 0%, #130b1c 30%, #1e0b16 60%, #2e0a12 80%, #3a0c0e 100%);
    padding: 0;
}

.footer-top {
    padding-top: 5rem;
    padding-bottom: 4rem;
    align-items: flex-start;
}

.footer-col-brand {
}

.footer-col-links {
    padding-top: 4.25rem;
}

.footer-bottom {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.07);
}

    .footer-bottom p {
        color: rgba(255,255,255,0.38);
        font-size: 0.82rem;
        margin: 0;
    }

.footer-logo {
    height: 56px;
}

.a2a-logo-text-footer .logo-a2a-white {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
}

.a2a-logo-text-footer .logo-tagline-white {
    font-size: 0.5rem;
    color: var(--a2a-purple-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-desc {
    color: rgba(255,255,255,0.55);
    font-size: 0.875rem;
    line-height: 1.75;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

    .footer-social a {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.7);
        font-size: 1rem;
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-social a:hover {
            background: var(--a2a-purple);
            border-color: var(--a2a-purple);
            color: #fff;
        }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 1rem;
    }

    .footer-links a {
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        font-size: 0.9rem;
        transition: var(--transition);
    }

        .footer-links a:hover {
            color: #fff;
        }

.footer-nav-links .footer-nav-active,
.footer-nav-links a.footer-nav-active {
    color: #b060ee;
    font-weight: 500;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.4;
}

    .contact-item a {
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        transition: var(--transition);
    }

        .contact-item a:hover {
            color: #fff;
        }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #e8e8f0;
    border-radius: 1rem 1rem 0 0;
    padding: 1.75rem 2rem 1.75rem 2.5rem;
    z-index: 9999;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.35);
    animation: cookieSlideUp 0.4s ease forwards;
}

    .cookie-banner.visible {
        display: block;
    }

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cookieSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: #2a2a3e;
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

    .cookie-close:hover {
        background: #444;
    }

.cookie-text {
    flex: 1;
}

    .cookie-text h5 {
        color: #111;
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .cookie-text p {
        color: #444;
        font-size: 0.82rem;
        margin: 0;
        line-height: 1.7;
    }

.cookie-highlight {
    color: var(--a2a-purple);
    font-weight: 700;
}

.cookie-link {
    color: var(--a2a-purple);
    text-decoration: underline;
}

    .cookie-link:hover {
        color: var(--a2a-purple-light);
    }

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 170px;
    flex-shrink: 0;
}

.cookie-btn {
    display: block;
    width: 100%;
    padding: 0.55rem 1.25rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cookie-btn-primary {
    background: var(--a2a-purple);
    color: #fff;
    border-color: var(--a2a-purple);
}

    .cookie-btn-primary:hover {
        background: var(--a2a-purple-dark);
        border-color: var(--a2a-purple-dark);
    }

.cookie-btn-outline-purple {
    background: transparent;
    color: var(--a2a-purple);
    border-color: var(--a2a-purple);
}

    .cookie-btn-outline-purple:hover {
        background: var(--a2a-purple);
        color: #fff;
    }

.cookie-btn-outline-red {
    background: transparent;
    color: #d94f6e;
    border-color: #d94f6e;
}

    .cookie-btn-outline-red:hover {
        background: #d94f6e;
        color: #fff;
    }

/* ============ COOKIE PREFERENCES MODAL ============ */
.cookie-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

    .cookie-modal-overlay.visible {
        display: flex;
    }

.cookie-modal {
    position: relative;
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 2rem 1.5rem;
    max-width: 500px;
    width: calc(100% - 2rem);
    box-shadow: 0 8px 48px rgba(0,0,0,0.22);
}

    .cookie-modal h5 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #111;
        margin-bottom: 0.35rem;
    }

.cookie-modal-intro {
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.cookie-pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid #e8e8f0;
}

.cookie-pref-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

    .cookie-pref-info strong {
        font-size: 0.88rem;
        color: #111;
    }

    .cookie-pref-info span {
        font-size: 0.78rem;
        color: #666;
        line-height: 1.5;
    }

.cookie-toggle-locked {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--a2a-purple);
    white-space: nowrap;
    flex-shrink: 0;
}

.cookie-toggle-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

    .cookie-toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    transition: var(--transition);
}

    .cookie-toggle-slider::before {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        left: 3px;
        top: 3px;
        background: #fff;
        border-radius: 50%;
        transition: var(--transition);
    }

.cookie-toggle-switch input:checked + .cookie-toggle-slider {
    background: var(--a2a-purple);
}

    .cookie-toggle-switch input:checked + .cookie-toggle-slider::before {
        transform: translateX(18px);
    }

.cookie-modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

    .cookie-modal-actions .cookie-btn {
        width: auto;
    }

/* ============ CAREERS PAGE ============ */

/* Hero */
.careers-hero {
    padding: calc(6rem + 72px) 0 5rem;
    background: linear-gradient(135deg, #05050f 0%, #0d0528 60%, #080818 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(124,58,237,0.15);
}

.careers-hero-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(124,58,237,0.18) 0%, transparent 65%);
    pointer-events: none;
}

.careers-hero-content {
    max-width: 700px;
}

.careers-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124,58,237,0.15);
    border: 1px solid rgba(124,58,237,0.35);
    color: #c4b5fd;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.careers-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.careers-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.careers-hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.careers-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.careers-stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.careers-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.careers-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

/* List section */
.careers-list-section {
    padding: 4rem 0 6rem;
    background: var(--a2a-bg);
}

/* Filter bar */
.careers-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.careers-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .careers-filter-btn:hover {
        border-color: rgba(124,58,237,0.4);
        color: #fff;
        background: rgba(124,58,237,0.1);
    }

    .careers-filter-btn.active {
        background: rgba(124,58,237,0.2);
        border-color: rgba(124,58,237,0.5);
        color: #c4b5fd;
    }

.filter-count {
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 0 0.45rem;
    font-size: 0.75rem;
    min-width: 18px;
    text-align: center;
}

.careers-filter-btn.active .filter-count {
    background: rgba(124,58,237,0.35);
}

/* Job card grid */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.career-card-new {
    display: block;
    text-decoration: none;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

    .career-card-new:hover {
        transform: translateY(-3px);
        border-color: rgba(124,58,237,0.4);
        background: rgba(124,58,237,0.06);
        box-shadow: 0 12px 40px rgba(124,58,237,0.15);
        text-decoration: none;
    }

.career-card-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #9140CA, #9140ca);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.career-card-new:hover .career-card-accent {
    opacity: 1;
}

.career-card-body {
    padding: 1.75rem;
}

.career-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.career-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.career-card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.35);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.career-card-new:hover .career-card-arrow {
    border-color: rgba(124,58,237,0.5);
    color: #c4b5fd;
    background: rgba(124,58,237,0.15);
}

.career-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
    line-height: 1.35;
}

.career-card-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    margin: 0 0 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.career-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.career-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

    .career-meta-item i {
        color: var(--a2a-purple-light);
        font-size: 0.8rem;
    }

.career-meta-urgent {
    color: #f87171 !important;
}

    .career-meta-urgent i {
        color: #f87171 !important;
    }

/* Badges */
.career-badge {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.career-badge-dept {
    background: rgba(124,58,237,0.15);
    color: #c4b5fd;
    border: 1px solid rgba(124,58,237,0.3);
}

.career-badge-type {
    background: rgba(16,185,129,0.12);
    color: #6ee7b7;
    border: 1px solid rgba(16,185,129,0.25);
}

.career-badge-urgent {
    background: rgba(239,68,68,0.12);
    color: #f87171;
    border: 1px solid rgba(239,68,68,0.25);
}

/* Culture strip */
.careers-culture-strip {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 3rem;
}

.careers-culture-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.culture-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.45);
    font-size: 0.9rem;
}

    .culture-item i {
        color: var(--a2a-purple-light);
        font-size: 1rem;
    }

/* Empty state */
.careers-empty {
    text-align: center;
    padding: 6rem 1rem;
}

.careers-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255,255,255,0.25);
    margin-bottom: 1.5rem;
}

.careers-empty h3 {
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.careers-empty p {
    color: rgba(255,255,255,0.3);
    max-width: 480px;
    margin: 0 auto;
}

.careers-empty a {
    color: #9d5cf6;
    text-decoration: none;
}

    .careers-empty a:hover {
        text-decoration: underline;
    }

/* ---- JOB DETAIL PAGE ---- */
.career-detail-hero {
    padding: calc(5rem + 72px) 0 4rem;
    background: linear-gradient(135deg, #05050f 0%, #0d0528 60%, #080818 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(124,58,237,0.12);
}

.career-detail-hero-glow {
    position: absolute;
    top: -80px;
    right: 10%;
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(124,58,237,0.15) 0%, transparent 65%);
    pointer-events: none;
}

.career-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.45);
    font-size: 0.875rem;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

    .career-back-link:hover {
        color: #c4b5fd;
    }

.career-detail-header {
    max-width: 780px;
}

.career-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.career-detail-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.career-detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.career-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

    .career-detail-meta-item i {
        color: var(--a2a-purple-light);
    }

/* Detail body layout */
.career-detail-body {
    padding: 4rem 0 6rem;
    background: var(--a2a-bg);
}

.career-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

.career-detail-block {
    margin-bottom: 3rem;
}

.career-detail-block-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

    .career-detail-block-title i {
        color: var(--a2a-purple-light);
    }

.career-detail-text p {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.career-requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

    .career-requirements-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        color: rgba(255,255,255,0.65);
        font-size: 0.925rem;
        line-height: 1.6;
    }

        .career-requirements-list li i {
            color: #6ee7b7;
            font-size: 0.9rem;
            flex-shrink: 0;
            margin-top: 0.2rem;
        }

/* Sidebar */
.career-detail-sidebar {
    position: sticky;
    top: 100px;
}

.career-sidebar-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    overflow: hidden;
}

.career-sidebar-apply {
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(145,64,202,0.08));
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

    .career-sidebar-apply h3 {
        font-size: 1rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 0.5rem;
    }

    .career-sidebar-apply p {
        font-size: 0.85rem;
        color: rgba(255,255,255,0.5);
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

.btn-career-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #9140CA, #9140ca);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}

    .btn-career-apply:hover {
        transform: translateY(-2px);
        color: #fff;
        text-decoration: none;
        box-shadow: 0 8px 30px rgba(124,58,237,0.5);
    }

.career-apply-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    margin-top: 1rem;
}

    .career-apply-email i {
        color: var(--a2a-purple-light);
    }

.career-sidebar-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
}

.career-sidebar-info {
    padding: 1.5rem 1.75rem;
}

    .career-sidebar-info h4 {
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: rgba(255,255,255,0.35);
        margin-bottom: 1.25rem;
    }

.career-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

    .career-info-row:last-child {
        border-bottom: none;
    }

.career-info-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

    .career-info-label i {
        color: var(--a2a-purple-light);
        font-size: 0.78rem;
    }

.career-info-value {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
}

.career-sidebar-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.career-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .career-share-btn:hover {
        border-color: rgba(124,58,237,0.4);
        color: #c4b5fd;
        background: rgba(124,58,237,0.1);
    }

/* Mobile apply button (hidden on desktop) */
.career-apply-mobile {
    display: none;
}

@media (max-width: 900px) {
    .career-detail-layout {
        grid-template-columns: 1fr;
    }

    .career-detail-sidebar {
        position: static;
    }

    .career-apply-mobile {
        display: block;
        margin-top: 2rem;
    }

    .careers-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ ADMIN AREA ============ */
.admin-layout {
    background: #0a0a14;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: #0d0d22;
    border-right: 1px solid rgba(255,255,255,0.06);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-logo {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--a2a-purple);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.85rem;
    color: #fff;
}

.admin-logo-text span {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.admin-logo-text small {
    font-size: 0.65rem;
    color: var(--a2a-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.admin-nav {
    padding: 1rem 0;
    flex: 1;
}

.admin-nav-section {
    padding: 0.5rem 1rem 0.25rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--a2a-text-subtle);
    font-weight: 600;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

    .admin-nav-link:hover {
        color: #fff;
        background: rgba(255,255,255,0.04);
    }

    .admin-nav-link.active {
        color: #fff;
        background: rgba(124,58,237,0.15);
        border-left-color: var(--a2a-purple);
    }

    .admin-nav-link i {
        font-size: 1rem;
        width: 20px;
        text-align: center;
    }

.admin-main {
    margin-left: 260px;
    min-height: 100vh;
    width:100%;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background: #0d0d22;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0.875rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-topbar-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.admin-content {
    padding: 1.5rem;
    flex: 1;
}

.admin-card {
    background: #0d0d22;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-upload-area {
    border: 2px dashed rgba(124,58,237,0.3);
    border-radius: var(--radius);
    background: rgba(124,58,237,0.04);
    transition: border-color 0.2s, background 0.2s;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .admin-upload-area:hover {
        border-color: rgba(124,58,237,0.6);
        background: rgba(124,58,237,0.08);
    }

.admin-card-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--a2a-text-subtle);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-stat-card {
    background: #0d0d22;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

    .admin-stat-icon.purple {
        background: rgba(124,58,237,0.2);
        color: var(--a2a-purple-light);
    }

    .admin-stat-icon.blue {
        background: rgba(59,130,246,0.2);
        color: #60a5fa;
    }

    .admin-stat-icon.green {
        background: rgba(16,185,129,0.2);
        color: #34d399;
    }

    .admin-stat-icon.orange {
        background: rgba(245,158,11,0.2);
        color: #fbbf24;
    }

.admin-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.admin-stat-label {
    font-size: 0.8rem;
    color: var(--a2a-text-muted);
    margin-top: 0.2rem;
}

/* Admin Tables */
.admin-table {
    width: 100%;
    color: var(--a2a-text);
}

    .admin-table thead th {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--a2a-text-subtle);
        font-weight: 600;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        background: rgba(0,0,0,0.2);
    }

    .admin-table tbody td {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        font-size: 0.875rem;
        color: rgba(255,255,255,0.8);
        vertical-align: middle;
    }

    .admin-table tbody tr:hover {
        background: rgba(124,58,237,0.04);
    }

/* ── Per-field font controls ── */
.field-font-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.5rem;
    background: rgba(124,58,237,0.05);
    border: 1px solid rgba(124,58,237,0.15);
    border-radius: var(--radius-sm);
    flex-wrap: wrap;
}

.field-font-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
    min-width: 60px;
}

.field-font-select {
    flex: 1;
    min-width: 120px;
    font-size: 0.78rem !important;
    padding: 0.2rem 0.5rem !important;
    height: 28px !important;
}

.field-font-size {
    width: 58px !important;
    font-size: 0.78rem !important;
    padding: 0.2rem 0.4rem !important;
    height: 28px !important;
    text-align: center;
}

.field-font-px-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
}
/* ══ Public-site per-field font overrides ══
   Each var falls back to the global base heading/body font so changing
   "All Headings" or "Body" in admin flows through everywhere automatically.
   Set a per-field value in Settings > Content Field Overrides to override. */
.hero-eyebrow {
    font-family: var(--fld-hero-eyebrow-font, var(--a2a-heading-font, var(--font-en)));
    font-size: var(--fld-hero-eyebrow-size, 0.95rem);
    font-weight: var(--fld-hero-eyebrow-weight, 400);
    font-style: var(--fld-hero-eyebrow-style, normal);
    text-decoration: var(--fld-hero-eyebrow-decoration, none);
}

.hero-heading {
    font-family: var(--fld-hero-heading-font, var(--a2a-hero-heading-font, var(--font-en)));
    font-size: var(--fld-hero-heading-size, var(--a2a-hero-heading-size, clamp(2.2rem,4vw,3.5rem)));
    font-weight: var(--fld-hero-heading-weight, 700);
    font-style: var(--fld-hero-heading-style, normal);
    text-decoration: var(--fld-hero-heading-decoration, none);
}

.hero-subheading {
    font-family: var(--fld-hero-sub-font, var(--a2a-body-font, var(--font-en)));
    font-size: var(--fld-hero-sub-size, clamp(0.95rem,1.5vw,1.1rem));
    font-weight: var(--fld-hero-sub-weight, 400);
    font-style: var(--fld-hero-sub-style, normal);
    text-decoration: var(--fld-hero-sub-decoration, none);
}

.testimonial-swiper-quote {
    font-size: var(--fld-testimonial-quote-size, 0.9rem);
    font-family: var(--fld-testimonial-quote-font, var(--a2a-body-font, var(--font-en)));
    font-weight: var(--fld-testimonial-quote-weight, 400);
    font-style: var(--fld-testimonial-quote-style, normal);
    text-decoration: var(--fld-testimonial-quote-decoration, none);
}

.testimonial-swiper-author {
    font-size: var(--fld-testimonial-author-size, 0.875rem);
    font-family: var(--fld-testimonial-author-font, var(--a2a-body-font, var(--font-en)));
    font-weight: var(--fld-testimonial-author-weight, 700);
    font-style: var(--fld-testimonial-author-style, normal);
    text-decoration: var(--fld-testimonial-author-decoration, none);
}

.wwd-card-title {
    font-family: var(--fld-wwd-title-font, var(--a2a-heading-font, var(--font-en)));
    font-size: var(--fld-wwd-title-size, 1rem);
    font-weight: var(--fld-wwd-title-weight, 700);
    font-style: var(--fld-wwd-title-style, normal);
    text-decoration: var(--fld-wwd-title-decoration, none);
}

.wwd-card-desc {
    font-family: var(--fld-wwd-desc-font, var(--a2a-body-font, var(--font-en)));
    font-size: var(--fld-wwd-desc-size, 0.83rem);
    font-weight: var(--fld-wwd-desc-weight, 400);
    font-style: var(--fld-wwd-desc-style, normal);
    text-decoration: var(--fld-wwd-desc-decoration, none);
}

.serve-item-title {
    font-family: var(--fld-serve-title-font, var(--a2a-heading-font, var(--font-en)));
    font-size: var(--fld-serve-title-size, 1.1rem);
    font-weight: var(--fld-serve-title-weight, 700);
    font-style: var(--fld-serve-title-style, normal);
    text-decoration: var(--fld-serve-title-decoration, none);
}

.serve-item-desc {
    font-family: var(--fld-serve-desc-font, var(--a2a-body-font, var(--font-en)));
    font-size: var(--fld-serve-desc-size, 0.9rem);
    font-weight: var(--fld-serve-desc-weight, 400);
    font-style: var(--fld-serve-desc-style, normal);
    text-decoration: var(--fld-serve-desc-decoration, none);
}

.career-card-title {
    font-family: var(--fld-career-title-font, var(--a2a-heading-font, var(--font-en)));
    font-size: var(--fld-career-title-size, 1rem);
    font-weight: var(--fld-career-title-weight, 700);
    font-style: var(--fld-career-title-style, normal);
    text-decoration: var(--fld-career-title-decoration, none);
}

.career-card-desc {
    font-family: var(--fld-career-desc-font, var(--a2a-body-font, var(--font-en)));
    font-size: var(--fld-career-desc-size, 0.875rem);
    font-weight: var(--fld-career-desc-weight, 400);
    font-style: var(--fld-career-desc-style, normal);
    text-decoration: var(--fld-career-desc-decoration, none);
}

.faq-question {
    font-family: var(--fld-faq-q-font, var(--a2a-heading-font, var(--font-en)));
    font-size: var(--fld-faq-q-size, 1rem);
    font-weight: var(--fld-faq-q-weight, 700);
    font-style: var(--fld-faq-q-style, normal);
    text-decoration: var(--fld-faq-q-decoration, none);
}

.faq-answer {
    font-family: var(--fld-faq-a-font, var(--a2a-body-font, var(--font-en)));
    font-size: var(--fld-faq-a-size, 0.9rem);
    font-weight: var(--fld-faq-a-weight, 400);
    font-style: var(--fld-faq-a-style, normal);
    text-decoration: var(--fld-faq-a-decoration, none);
}

.product-name-display {
    font-family: var(--fld-product-name-font, var(--a2a-heading-font, var(--font-en)));
    font-size: var(--fld-product-name-size, 1rem);
    font-weight: var(--fld-product-name-weight, 700);
    font-style: var(--fld-product-name-style, normal);
    text-decoration: var(--fld-product-name-decoration, none);
}

.product-short-desc {
    font-family: var(--fld-product-sdesc-font, var(--a2a-body-font, var(--font-en)));
    font-size: var(--fld-product-sdesc-size, 0.875rem);
    font-weight: var(--fld-product-sdesc-weight, 400);
    font-style: var(--fld-product-sdesc-style, normal);
    text-decoration: var(--fld-product-sdesc-decoration, none);
}

.svccat-name {
    font-family: var(--fld-svccat-name-font, var(--a2a-heading-font, var(--font-en)));
    font-size: var(--fld-svccat-name-size, 1.1rem);
    font-weight: var(--fld-svccat-name-weight, 700);
    font-style: var(--fld-svccat-name-style, normal);
    text-decoration: var(--fld-svccat-name-decoration, none);
}

.svccat-desc {
    font-family: var(--fld-svccat-desc-font, var(--a2a-body-font, var(--font-en)));
    font-size: var(--fld-svccat-desc-size, 0.875rem);
    font-weight: var(--fld-svccat-desc-weight, 400);
    font-style: var(--fld-svccat-desc-style, normal);
    text-decoration: var(--fld-svccat-desc-decoration, none);
}

/* Admin Forms */
.admin-form .form-label {
    font-size: var(--a2a-admin-label-size, 0.825rem);
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.admin-form .form-control,
.admin-form .form-select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    border-radius: var(--radius-sm);
    font-family: var(--a2a-admin-input-font, 'Inter', sans-serif);
    font-size: var(--a2a-admin-input-size, 0.875rem);
    padding: 0.6rem 0.875rem;
    transition: var(--transition);
}

    .admin-form .form-control:focus,
    .admin-form .form-select:focus {
        background: rgba(255,255,255,0.08);
        border-color: var(--a2a-purple);
        box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
        color: #fff;
        outline: none;
    }

    .admin-form .form-control::placeholder {
        color: rgba(255,255,255,0.3);
    }
    /* Fix: option elements rendered by OS use system colors; force readable dark-on-light */
    .admin-form .form-select option,
    .admin-form .form-control option {
        background: #1a1a35;
        color: #ffffff;
    }
/* Also fix selects used outside .admin-form wrapper in admin views */
body.dark-theme select option {
    background: #1a1a35;
    color: #ffffff;
}

/* Status Badges */
.badge-published {
    background: rgba(16,185,129,0.15);
    color: #34d399;
    border: 1px solid rgba(16,185,129,0.3);
}

.badge-draft {
    background: rgba(245,158,11,0.15);
    color: #fbbf24;
    border: 1px solid rgba(245,158,11,0.3);
}

.badge-archived {
    background: rgba(107,114,128,0.15);
    color: #9ca3af;
    border: 1px solid rgba(107,114,128,0.3);
}

.badge-status {
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

/* Admin Alert */
.admin-alert-success {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    color: #34d399;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.admin-alert-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #f87171;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition);
    }

        .admin-sidebar.open {
            transform: translateX(0);
        }

    .admin-main {
        margin-left: 0;
    }

    .mega-menu-inner {
        flex-direction: column;
    }

    .mega-menu-sidebar {
        width: 100%;
        border-inline-end: none;
        border-bottom: 1px solid var(--a2a-border);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-img {
        width: 100%;
        opacity: 0.3;
    }

    .hero-text {
        width: 100%;
        padding: 0 1.5rem;
    }

    .hero-indicators {
        inset-inline-start: 1.5rem;
        left: auto;
    }
}

@media (max-width: 768px) {
    .hero-heading {
        font-size: 2rem;
    }

    .cookie-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-actions {
        min-width: unset;
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .a2a-navbar .nav-link.active {
        background: var(--a2a-purple);
        color: #fff !important;
        border-bottom: none;
        border-radius: 0.375rem;
    }
}

/* ============ CONTACT PAGE ============ */
.contact-section {
    padding: 5rem 0;
    min-height: 70vh;
}

.contact-form-card {
    background: var(--a2a-bg-card);
    border: 1px solid var(--a2a-border);
    border-radius: var(--radius);
    padding: 2.5rem;
}

    .contact-form-card .form-control,
    .contact-form-card .form-select {
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.12);
        color: #fff;
        border-radius: var(--radius-sm);
    }

        .contact-form-card .form-control:focus {
            background: rgba(255,255,255,0.08);
            border-color: var(--a2a-purple);
            box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
            color: #fff;
        }

        .contact-form-card .form-control::placeholder {
            color: rgba(255,255,255,0.3);
        }

    .contact-form-card label {
        color: rgba(255,255,255,0.7);
        font-size: 0.875rem;
    }

/* ============ PAGE INNER HERO ============ */
.page-hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, #080818 0%, #0f0530 100%);
    border-bottom: 1px solid var(--a2a-border);
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
}

/* ========== Inner Pages ========== */
.inner-hero {
    padding: calc(6rem + 72px) 0 4rem;
    background: linear-gradient(135deg, var(--a2a-bg-2) 0%, rgba(124,58,237,0.08) 100%);
    border-bottom: 1px solid rgba(124,58,237,0.15);
}

.inner-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.inner-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.65);
    max-width: 600px;
}

/* ========== Product Cards (listing) ========== */
.product-card-full {
    display: flex;
    flex-direction: column;
    background: var(--a2a-card);
    border: 1px solid rgba(124,58,237,0.15);
    border-radius: 12px;
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
}

    .product-card-full:hover {
        border-color: var(--a2a-purple);
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(124,58,237,0.2);
        color: inherit;
    }

.product-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(124,58,237,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--purple-light);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.product-card-body {
    flex: 1;
}

.product-category-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--purple-light);
    background: rgba(124,58,237,0.12);
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 0.6rem;
}

.product-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.product-card-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin: 0;
}

.product-card-arrow {
    margin-top: 1.25rem;
    color: var(--purple-light);
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.product-card-full:hover .product-card-arrow {
    opacity: 1;
}

/* ========== Filter Buttons ========== */
.btn-outline-purple {
    border: 1px solid rgba(124,58,237,0.5);
    color: rgba(255,255,255,0.7);
    background: transparent;
}

    .btn-outline-purple:hover, .btn-outline-purple.active {
        background: var(--a2a-purple);
        border-color: var(--a2a-purple);
        color: #fff;
    }

/* ========== Product Detail ========== */
.product-detail {
    min-height: 60vh;
}

.product-full-desc {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 1.85;
}

    .product-full-desc h2, .product-full-desc h3 {
        color: #fff;
        font-weight: 700;
        margin-top: 2rem;
    }

    .product-full-desc ul {
        padding-inline-start: 1.5rem;
    }

    .product-full-desc li {
        margin-bottom: 0.4rem;
    }

.product-sidebar-card {
    background: var(--a2a-card);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 12px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.product-icon-large {
    width: 64px;
    height: 64px;
    background: rgba(124,58,237,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--purple-light);
}

/* ========== Whom We Serve Image Cards ========== */
.serve-image-card {
    display: block;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    min-height: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .serve-image-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.5);
        color: #fff;
    }

.serve-image-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    filter: brightness(0.6);
}

.serve-image-card:hover .serve-image-card-bg {
    transform: scale(1.04);
}

.serve-image-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,5,40,0.75) 0%, rgba(80,20,180,0.3) 100%);
}

.serve-image-card-body {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    justify-content: flex-end;
}

    .serve-image-card-body h3 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .serve-image-card-body p {
        font-size: 0.88rem;
        color: rgba(255,255,255,0.75);
        line-height: 1.6;
        margin-bottom: 0;
    }

/* Detail hero with bg image */
.serve-detail-hero {
    background-size: cover;
    background-position: center;
    position: relative;
}

.serve-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5,3,20,0.88) 0%, rgba(30,10,80,0.65) 100%);
}

/* ========== Whom We Serve (plain cards fallback) ========== */
.serve-sector-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--a2a-card);
    border: 1px solid rgba(124,58,237,0.15);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: border-color 0.25s, transform 0.25s;
}

    .serve-sector-card:hover {
        border-color: var(--a2a-purple);
        transform: translateY(-3px);
    }

.serve-sector-icon {
    width: 52px;
    height: 52px;
    background: rgba(124,58,237,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--purple-light);
    flex-shrink: 0;
}

.serve-sector-body h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.serve-sector-body p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.serve-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .serve-features-list li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: rgba(255,255,255,0.8);
        font-size: 1rem;
    }

        .serve-features-list li i {
            color: var(--purple-light);
            font-size: 1.1rem;
            flex-shrink: 0;
        }

/* ========== Products Listing Page ========== */
.products-page {
    min-height: 60vh;
}

.products-filter {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(124,58,237,0.12);
    margin-bottom: 2.5rem !important;
}

    .products-filter .btn-purple {
        background: var(--a2a-purple);
        border-color: var(--a2a-purple);
        color: #fff;
    }

/* ========== Product Detail Hero (section-based) ========== */
/* product-hero-section class removed — hero now uses inline-only styles */
/* Issue 24 — Defensive: if CSS background-image is ever applied to a product section, cover it */
[data-product-section] {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
    /* Ensure any background img inside a product section fills completely */
    [data-product-section] > img[aria-hidden],
    main section > img[aria-hidden] {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        z-index: 0 !important;
    }

    /* ✅ OVERRIDE: no-cover sections */
    [data-product-section].no-cover > img[aria-hidden] {
        object-fit: contain !important;
    }

    /* optional: icon map stability */
    [data-product-section].icon-map {
        overflow: hidden;
    }

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--a2a-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(124,58,237,0.4);
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--a2a-purple);
    }

/* ============ RTL (ARABIC) — GLOBAL LOGICAL OVERRIDES ============ */
/* What We Do mega menu — RTL text alignment */
body.rtl .mega-menu-section-title,
body.rtl .mega-menu-categories li,
body.rtl .mega-cat-desc,
body.rtl .product-name,
body.rtl .product-desc {
    text-align: right;
}

/* Whom We Serve mega menu */
body.rtl .wws-sidebar-title,
body.rtl .wws-detail-title,
body.rtl .wws-detail-desc,
body.rtl .wws-features li {
    text-align: end;
}

body.rtl .wws-features {
    padding-inline-start: 0;
    padding-inline-end: 1.5rem;
}

/* Hero indicators position */
body.rtl .hero-indicators {
    left: auto;
    right: 3rem;
    inset-inline-start: auto;
    inset-inline-end: 3rem;
}

/* Hero text — always follow language direction; only center overrides text-align */
body.rtl .hero-text {
    text-align: right;
}

body.rtl .hero-align-center .hero-text {
    text-align: center;
}

/* Hero slider/banner: always LTR regardless of page language
   dir="ltr" is set directly on the section element */
body.rtl [dir="ltr"].hero-slider .hero-text,
body.rtl [dir="ltr"][data-product-section] .hero-text {
    text-align: left;
}

body.rtl [dir="ltr"].hero-slider .hero-align-center .hero-text,
body.rtl [dir="ltr"][data-product-section] .hero-align-center .hero-text {
    text-align: center;
}

body.rtl [dir="ltr"].hero-slider .hero-indicators {
    left: 3rem;
    right: auto;
    inset-inline-start: 3rem;
    inset-inline-end: auto;
}

/* Issue 5 — Nav dropdown arrow: flip chevron to point left in RTL, rotate down when open */
body.rtl .a2a-navbar .dropdown-toggle::after {
    transform: rotate(180deg);
}

body.rtl .a2a-navbar .nav-link[aria-expanded="true"]::after {
    transform: rotate(90deg);
}

/* Issue 12 — Whom We Serve image card body: align text to end in RTL */
body.rtl .serve-image-card-body {
    text-align: end;
}

.side-pad-right {
    padding-right: 3rem;
}

.side-pad-left {
    padding-left: 3rem;
}

@media (max-width: 768px) {
    .side-pad-right {
        padding-right: 1rem;
    }

    .side-pad-left {
        padding-left: 1rem;
    }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* ── Shared helpers ───────────────────────────────────────── */
.ab-sec-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.ab-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ab-content {
    position: relative;
    z-index: 2;
    /*height: 980px;*/
    /*margin-top: 30rem;*/
}

/* ── 1. HERO ──────────────────────────────────────────────── */
.ab-hero {
    position: relative;
    width: 100%;
    height: 1112px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 30rem;
}

.ab-hero__title {
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
    max-width: 700px;
}

.ab-hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    line-height: 1.5;
}

.ab-tagline {
    background: #f5f5f5;
    padding: 1.5rem 0;
}

.ab-tagline__text {
    font-size: 1rem;
    color: #222;
    font-weight: 500;
    margin: 0;
    text-align: center;
    letter-spacing: .01em;
}

/* ── 2. INTRODUCTION ─────────────────────────────────────── */
.ab-intro {
    position: relative;
    overflow: hidden;
    padding: 26rem 0;
    height: 1111px;
}

.ab-intro__title {
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.ab-intro__body {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.9;
}

/* ── 3. STATS ─────────────────────────────────────────────── */
.ab-stats {
    background: #e1e6ea;
    padding: 10rem 0;
}

.ab-stats__row {
    gap: 7rem;
}

.ab-stats__value {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: #000;
    line-height: 1;
    display: inline-block;
    transition: transform 2.5s;
}

@keyframes statPop {
    0% {
        transform: scale(.55);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.ab-stats__value.stat-animate {
    animation: statPop 2.5s cubic-bezier(.22,.68,0,1.2) both;
}

.ab-stats__label {
    color: #555;
    margin-top: .5rem;
    line-height: 1.4;
}

/* ── 4. TIMELINE ─────────────────────────────────────────── */
.ab-timeline {
    position: relative;
    overflow: hidden;
    padding: 12rem 0;
    background: #0b0b18;
}

.ab-timeline__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,11,24,.95) 0%, rgba(11,11,24,.8) 50%, rgba(60,0,100,.7) 100%);
    z-index: 1;
}

.ab-timeline__glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(145,64,202,.25) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.ab-timeline__heading {
    color: #fff;
    text-align: center;
    margin-bottom: 3.5rem;
}

.ab-timeline__scroll {
    position: relative;
    overflow-x: auto;
    padding: 5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    min-width: 0;
}

    .ab-timeline__scroll::-webkit-scrollbar {
        display: none;
    }

.ab-timeline__track {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 2rem;
}

.tl-item {
    flex: 1;
    min-width: 140px;
    cursor: pointer;
    text-align: center;
    position: relative;
    padding-top: 1rem;
}

.tl-year-label {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: .75rem;
    display: inline-block;
    transition: color .35s, font-size .35s, font-weight .35s, transform .35s;
}

@keyframes tlYearPop {
    0% {
        transform: scale(.75) translateY(6px);
    }

    60% {
        transform: scale(1.15) translateY(-3px);
    }

    100% {
        transform: scale(1) translateY(-2px);
    }
}

.tl-year-pop {
    animation: tlYearPop .42s cubic-bezier(.22,.68,0,1.2) forwards;
}

.tl-active .tl-year-label {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    transform: translateY(-2px);
}

.tl-connector-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tl-line {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    width: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.tl-line--left {
    right: 50%;
}

.tl-line--right {
    left: 50%;
}

.tl-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 1;
    transition: background .3s, border-color .3s, width .3s, height .3s, box-shadow .3s;
    flex-shrink: 0;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(144,64,202,.35);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(144,64,202,.06);
    }
}

.tl-active .tl-dot {
    background: #9140ca;
    border-color: #c084fc;
    width: 22px;
    height: 22px;
    box-shadow: 0 0 0 4px rgba(144,64,202,.35);
    animation: dotPulse 1.8s ease-in-out infinite;
}

.ab-timeline__cards {
    margin-top: 2.5rem;
    height: 150px;
}

.tl-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    max-width: 400px;
    margin: 8rem auto 5rem;
}

.tl-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #c084fc;
    margin-bottom: .85rem;
}

.tl-card__desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
    text-align: center !important;
}

/* ── 5. VALUES (A2A WAY) ─────────────────────────────────── */
.ab-values {
    background: #e1e6ea;
    padding: 10rem 0;
}

.ab-values__heading {
    color: #111;
    text-align: center;
    margin-bottom: 7.5rem;
}

.ab-values__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(145, 64, 202, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.ab-values__icon {
    font-size: 1.3rem;
    color: #9140ca;
}

.ab-values__item-title {
    font-size: 1.05rem;
    color: #111;
    margin-bottom: .55rem;
}

.ab-values__item-desc {
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* ── 6. OUR STORY ────────────────────────────────────────── */
.ab-story {
    background: #f8f8fc;
    padding: 5rem 0;
}

.ab-story__eyebrow {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9140ca;
}

.ab-story__heading {
    color: #111;
    margin-top: .75rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.ab-story__body {
    color: #444;
    line-height: 1.9;
}

.ab-story__img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
}

/* ── 7. TEAM ─────────────────────────────────────────────── */
.ab-team {
    position: relative;
    overflow: hidden;
    padding: 10rem 2rem;
}

.ab-team__overlay {
    position: absolute;
    inset: 0;
    /*background: rgba(0, 0, 0, 0.35);*/
    z-index: 1;
}

.ab-team__heading {
    color: #fff;
    text-align: center;
    margin-bottom: 100px;
}

.ab-team__tabs {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.team-tab-btn {
    padding: .55rem 1.6rem;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: all .2s;
}

    .team-tab-btn.active {
        border-color: transparent;
        background: var(--a2a-purple);
    }

.ab-team__desc {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.ab-team__slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.ab-team__slider {
    width: 100%;
    /*max-width: 380px;*/
    /*height: 516px;*/
    text-align: center;
    padding: 0 60px;
    margin-top: 50px;
}

.ab-team__slider--solo {
    padding: 0;
}

.ab-team__arrow {
    position: absolute;
    z-index: 3;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

    .ab-team__arrow:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.ab-team__arrow--prev {
    left: 0;
}

.ab-team__arrow--next {
    right: 0;
}

.ab-team__member-img {
    width: 400px;
    height: 450px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 auto;
    display: block;
}

.ab-team__member-info {
    margin-top: 1.5rem;
}

.ab-team__member-name {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: #fff;
    margin-bottom: 30px;
    margin-top: 50px;
}

.ab-team__member-title {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.ab-team__member-quote {
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
    line-height: 1.7;
    max-width: 420px;
    margin: 0 auto;
}

/* ── 8. MISSION & VISION ─────────────────────────────────── */
.ab-mission {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background: #0e0e1e;
}

.ab-mission__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(14,14,30,.97) 0%, rgba(14,14,30,.8) 55%, rgba(14,14,30,.5) 100%);
    z-index: 1;
}

.ab-mission__eyebrow {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #9140ca;
}

.ab-mission__heading {
    color: #fff;
    margin-top: .75rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.ab-mission__body {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
}

.ab-mission__carousel-inner {
    border-radius: 16px;
    overflow: hidden;
}

.ab-mission__carousel-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.ab-mission__indicator {
    background: #9140ca;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
}

.ab-mission__indicators {
    bottom: -2rem;
}

.ab-mission__carousel-ctrl {
    width: 10%;
}

/* ── 9. STAY UP TO DATE ──────────────────────────────────── */
.ab-latest {
    position: relative;
    overflow: hidden;
    padding: 10rem 0;
}

.ab-latest__heading {
    text-align: center;
    color: #1a1a2e;
    padding-bottom: clamp(1rem, 7vw, 7rem);
    line-height: 1.2;
}

.ab-latest__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    font-style: normal;
    color: #9140CA;
    margin-bottom: .5rem;
    line-height: 1.2;
}

.ab-latest__subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 500;
    font-style: italic;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.ab-latest__body {
    color: #444;
    line-height: 1.85;
    margin-bottom: 2.25rem;
    max-width: 480px;
}

.ab-latest__cta {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: #9140CA;
    color: #fff;
    padding: .75rem 1.75rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}

    .ab-latest__cta:hover,
    .ab-latest__cta:focus {
        background: #6d28d9;
        color: #fff;
    }

.ab-latest__product-img {
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
    /*filter: drop-shadow(0 8px 40px rgba(124, 58, 237, 0.08));*/
}

/* ── PREMIUM VERTICAL TIMELINE ────────────────────────── */
.ab-tl-v {
    position: relative;
    padding: 1rem 0 5rem;
}

.ab-tl-v__spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.07);
    border-radius: 2px;
    overflow: hidden;
    z-index: 0;
}

.ab-tl-v__spine-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: linear-gradient(180deg, #7c3aed 0%, #c084fc 65%, rgba(192,132,252,.2) 100%);
    border-radius: 2px;
    transition: height 2s cubic-bezier(.22,.68,0,1.2);
}

    .ab-tl-v__spine-fill.tl-spine-active {
        height: 100%;
    }

/* Row layout */
.ab-tl-v__row {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    gap: 0 2rem;
    margin-bottom: 4.5rem;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

/* Left row: card col 1, node col 2 */
.ab-tl-v__row--left .ab-tl-v__card {
    grid-column: 1;
    grid-row: 1;
    text-align: start;
}

.ab-tl-v__row--left .ab-tl-v__node {
    grid-column: 2;
    grid-row: 1;
}

/* Right row: node col 2, card col 3 */
.ab-tl-v__row--right .ab-tl-v__card {
    grid-column: 3;
    grid-row: 1;
    text-align: start;
}

.ab-tl-v__row--right .ab-tl-v__node {
    grid-column: 2;
    grid-row: 1;
}

/* Entrance animations */
.ab-tl-v__row--left {
    opacity: 0;
    transform: translateX(-55px);
    transition: opacity .7s ease, transform .7s ease;
}

.ab-tl-v__row--right {
    opacity: 0;
    transform: translateX(55px);
    transition: opacity .7s ease, transform .7s ease;
}

.ab-tl-v__row.tl-v-visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Card */
.ab-tl-v__card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 2rem 2.4rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: border-color .35s, box-shadow .35s, transform .35s, background .35s;
}

    .ab-tl-v__card:hover {
        border-color: rgba(192,132,252,.22);
        box-shadow: 0 8px 36px rgba(144,64,202,.14);
        transform: translateY(-4px);
    }

.tl-active-row .ab-tl-v__card {
    border-color: rgba(192,132,252,.55);
    background: rgba(145,64,202,.1);
    box-shadow: 0 14px 54px rgba(144,64,202,.28), inset 0 0 0 1px rgba(192,132,252,.1);
    transform: translateY(-6px);
}

@keyframes tlCardPulse {
    0% {
        box-shadow: 0 14px 54px rgba(144,64,202,.28), 0 0 0 0 rgba(192,132,252,.5);
    }

    60% {
        box-shadow: 0 14px 54px rgba(144,64,202,.28), 0 0 0 14px rgba(192,132,252,0);
    }

    100% {
        box-shadow: 0 14px 54px rgba(144,64,202,.28), 0 0 0 0 rgba(192,132,252,0);
    }
}

.tl-active-row .ab-tl-v__card.tl-card-pulse {
    animation: tlCardPulse .55s ease forwards;
}

/* Ghost year */
.ab-tl-v__card-ghost {
    position: absolute;
    font-size: clamp(3.5rem, 7vw, 8rem);
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    bottom: -.4rem;
    right: 1rem;
    letter-spacing: -.03em;
    transition: color .4s;
}

.tl-active-row .ab-tl-v__card-ghost {
    color: rgba(192,132,252,.07);
}

/* Year chip */
.ab-tl-v__year-chip {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #9140ca 0%, #9140ca 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .3em 1.05em;
    border-radius: 999px;
    margin-bottom: .9rem;
    box-shadow: 0 2px 16px rgba(124,58,237,.4);
}

.ab-tl-v__card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .6rem;
    line-height: 1.45;
}

.ab-tl-v__card-desc {
    color: rgba(255,255,255,0.56);
    line-height: 1.85;
    margin: 0;
}

/* Node */
.ab-tl-v__node {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.ab-tl-v__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.18);
    transition: background .3s, border-color .3s, width .35s, height .35s, box-shadow .3s;
    flex-shrink: 0;
}

.ab-tl-v__row:hover .ab-tl-v__dot {
    background: rgba(192,132,252,.4);
    border-color: rgba(192,132,252,.6);
    width: 18px;
    height: 18px;
}

.tl-active-row .ab-tl-v__dot {
    width: 26px;
    height: 26px;
    background: #9140ca;
    border-color: #c084fc;
    box-shadow: 0 0 0 5px rgba(144,64,202,.3);
    animation: dotPulse 1.8s ease-in-out infinite;
}

/* Connector lines card → spine */
.ab-tl-v__row--left .ab-tl-v__card::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(192,132,252,.0), rgba(192,132,252,.22));
    pointer-events: none;
}

.ab-tl-v__row--right .ab-tl-v__card::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 1px;
    background: linear-gradient(270deg, rgba(192,132,252,.0), rgba(192,132,252,.22));
    pointer-events: none;
}

.tl-active-row.ab-tl-v__row--left .ab-tl-v__card::after,
.tl-active-row.ab-tl-v__row--right .ab-tl-v__card::before {
    background: linear-gradient(90deg, rgba(192,132,252,.0), rgba(192,132,252,.5));
}

/* Mobile: left-rail layout */
@media (max-width: 767px) {
    .ab-tl-v__spine {
        left: 22px;
        transform: none;
    }

    .ab-tl-v__row {
        grid-template-columns: 52px 1fr;
        gap: 0 1.25rem;
    }

    .ab-tl-v__row--left .ab-tl-v__card,
    .ab-tl-v__row--right .ab-tl-v__card {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
    }

    .ab-tl-v__row--left .ab-tl-v__node,
    .ab-tl-v__row--right .ab-tl-v__node {
        grid-column: 1;
        grid-row: 1;
    }

    .ab-tl-v__row--left .ab-tl-v__card::after,
    .ab-tl-v__row--right .ab-tl-v__card::before {
        display: none;
    }
}

/* ── TIMELINE NAV BUTTONS ─────────────────────────────── */
.ab-timeline__nav-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tl-nav-btn {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(192,132,252,.35);
    background: rgba(145,64,202,.15);
    backdrop-filter: blur(10px);
    color: #c084fc;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .25s, border-color .25s, transform .2s, box-shadow .25s, opacity .25s;
    z-index: 2;
    position: relative;
    line-height: 1;
    padding: 0;
}

    .tl-nav-btn svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        pointer-events: none;
    }

    .tl-nav-btn:hover:not(:disabled) {
        background: rgba(145,64,202,.5);
        border-color: #c084fc;
        transform: scale(1.12);
        box-shadow: 0 0 22px rgba(192,132,252,.45);
    }

    .tl-nav-btn:active:not(:disabled) {
        transform: scale(.92);
    }

    .tl-nav-btn:disabled {
        opacity: .25;
        cursor: not-allowed;
        pointer-events: none;
    }

/* ── TIMELINE CARD ENTRANCE ───────────────────────────── */
@keyframes tlCardIn {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tl-card-in {
    animation: tlCardIn .4s ease forwards;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1199px) {
    .ab-hero {
        min-height: 1111px;
        padding-bottom: 16rem;
    }

    .ab-hero__subtitle {
        margin: 0;
    }

    .ab-timeline {
        padding: 8rem 0;
    }

    .ab-stats {
        padding: 6rem 0;
    }

    .ab-values {
        padding: 6rem 0;
    }

    .ab-values__heading {
        margin-bottom: 4rem;
    }

    .ab-team__member-img {
        width: 260px;
        height: 320px;
    }
}

@media (max-width: 991px) {
    .ab-hero {
        min-height: 600px;
        padding-bottom: 8rem;
    }

    .ab-timeline__track {
        overflow-x: auto;
    }

    .tl-item {
        min-width: 100px;
    }

    .tl-card {
        padding: 1.5rem;
    }

    .ab-team__slider {
        max-width: 100%;
        padding: 0 56px;
    }

    .ab-team__slider--solo {
        padding: 0;
    }

    .ab-team__member-img {
        width: 220px;
        height: 280px;
    }

    .ab-mission__carousel-img {
        height: 280px;
    }

    .ab-latest__body {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .ab-hero {
        min-height: 480px;
        padding-bottom: 4rem;
    }

    .ab-hero__subtitle {
        font-size: 1rem;
        margin: 0;
    }

    .ab-intro {
        padding: 8rem 0;
    }

    .ab-stats {
        padding: 4rem 0;
    }

    .ab-stats__row {
        gap: 2rem !important;
    }

    .ab-stats__value {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .ab-timeline {
        padding: 4rem 0;
    }

    .ab-timeline__glow {
        display: none;
    }

    .tl-item {
        min-width: 80px;
    }

    .ab-values {
        padding: 4rem 0;
    }

    .ab-values__heading {
        margin-bottom: 2rem;
    }

    .ab-story {
        padding: 3rem 0;
    }

    .ab-team {
        padding: 3rem 0 4rem;
    }

    .ab-team__member-img {
        width: 180px;
        height: 230px;
    }

    .ab-team__arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .ab-team__arrow--prev {
        left: -4px;
    }

    .ab-team__arrow--next {
        right: -4px;
    }

    .ab-team__slider {
        padding: 0 44px;
    }

    .ab-team__slider--solo {
        padding: 0;
    }

    .ab-mission {
        padding: 3rem 0;
    }

    .ab-mission__carousel-img {
        height: 220px;
    }

    .ab-latest {
        padding: 3rem 0;
    }

    .ab-latest__heading {
        margin-bottom: 2rem;
    }

    .ab-latest__body {
        max-width: 100%;
    }

    .ab-tagline {
        padding: 1rem 0;
    }
}

/* ================================================================
   GLOBAL MOBILE RESPONSIVE SCALE
   html font-size drops to 10px (≤479px) / 13px (480-767px),
   so all rem values shrink automatically.
   This block only handles overrides that don't use rem.
   ================================================================ */

/* ── 480–767px (tablet / large phone) ────────────────────────── */
@media (max-width: 767px) {
    :root {
        /* Section heading cap — used as max in clamp() across all sections */
        --a2a-section-heading-size: 1.6rem;    /* 20.8px at 13px root */
        /* Section vertical / horizontal padding */
        --a2a-section-padding: 2.5rem 0;
    }

    /* Stat counter numbers */
    .stat-value {
        font-size: clamp(1.8rem, 6vw, 2.4rem) !important;
    }

    /* Bootstrap grid gap */
    .row { --bs-gutter-x: 1.25rem; --bs-gutter-y: 1rem; }

    /* Cards / panels inner padding */
    .a2a-card,
    .feature-card,
    .tl-card,
    .testi-card-inner {
        padding: 1.25rem !important;
    }

    /* Reduce large fixed margins/paddings on sections */
    section,
    .section { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }

    /* Navigation font */
    .nav-link { font-size: 0.9rem; }

    /* Hero — prevent overflow */
    .inner-hero { padding-top: 2rem !important; }
}

/* ── ≤479px (small phone) ────────────────────────────────────── */
@media (max-width: 479px) {
    :root {
        --a2a-section-heading-size: 1.5rem;    /* 15px at 10px root ← user's example */
        --a2a-section-padding: 2rem 0;
    }

    /* Stat numbers */
    .stat-value {
        font-size: clamp(1.6rem, 7vw, 2rem) !important;
    }

    /* Bootstrap grid tighter */
    .row { --bs-gutter-x: 1rem; --bs-gutter-y: 0.75rem; }

    /* Cards */
    .a2a-card,
    .feature-card,
    .tl-card,
    .testi-card-inner {
        padding: 1rem !important;
    }

    /* Sections */
    section,
    .section { padding-top: 2rem !important; padding-bottom: 2rem !important; }

    /* Hero heading explicit cap */
    .hero-main-title { font-size: clamp(1.6rem, 6vw, 2.2rem) !important; }

    /* Navigation */
    .nav-link { font-size: 0.85rem; }
}
