/*==================================================
    GERMAINE — AI BOOTCAMP (FLAGSHIP LANDING PAGE)
    Namespace: .ai-*
    Palette: White / Navy (#102A5C) / Pink (#EC4899) only.
    Reuses .sp-reveal (school-page.css/js) for scroll-in
    animation — no bespoke reveal engine needed here.
==================================================*/

:root{
    --ai-navy:#102A5C;
    /* Darkened for readability (was .66/.56 — read as very light body
       text). Still visually "muted" relative to full-strength navy
       headings, just no longer washed out. */
    --ai-navy-soft:rgba(16,42,92,.82);
    --ai-navy-mut:rgba(16,42,92,.86);
    --ai-pink:#EC4899;
    --ai-pink-2:#F472B6;
    --ai-line:rgba(16,42,92,.1);
    --ai-glass:rgba(255,255,255,.7);
    --ai-tint:#F6F8FC;
    --ai-ease:.4s cubic-bezier(.25,.8,.25,1);
    --ai-radius-card:24px;
    --ai-radius-btn:14px;
    --ai-radius-img:20px;
    /* compacted from 100px — the page had too much unused vertical space
       between sections; 48px keeps a clear visual break without the
       page reading as unnecessarily long (see compact-page pass) */
    --ai-sec-pad:48px;
}

.ai-wrap{ max-width:1280px; margin:0 auto; padding:0 32px; }

.ai-section{ padding:var(--ai-sec-pad) 0; position:relative; }
.ai-section-tint{ background:var(--ai-tint); }

.ai-eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
    color:var(--ai-pink); background:rgba(236,72,153,.08);
    border:1px solid rgba(236,72,153,.18); padding:7px 16px 7px 13px; border-radius:999px;
    margin-bottom:16px;
}
.ai-eyebrow i{ font-size:.7rem; }

.ai-head{ max-width:680px; margin:0 0 32px; }
.ai-head.ai-head-center{ margin-left:auto; margin-right:auto; text-align:center; }
.ai-head h2{
    font-family:'Poppins',sans-serif; font-weight:700; letter-spacing:-.01em;
    font-size:clamp(1.7rem,3vw,2.4rem); color:var(--ai-navy); line-height:1.2; margin:0 0 12px;
}
.ai-head p{ font-size:1.02rem; line-height:1.7; color:var(--ai-navy-soft); margin:0; }
.ai-head .ai-pink-text{ color:var(--ai-pink); }

.ai-btn{
    display:inline-flex; align-items:center; justify-content:center; gap:10px;
    padding:15px 30px; border-radius:var(--ai-radius-btn); font-weight:600; font-size:.96rem;
    text-decoration:none; border:1px solid transparent; cursor:pointer; transition:var(--ai-ease);
    white-space:nowrap;
}
.ai-btn-primary{
    background:linear-gradient(115deg,var(--ai-pink) 0%,var(--ai-pink-2) 100%); color:#fff;
    box-shadow:0 14px 32px rgba(236,72,153,.32);
}
.ai-btn-primary:hover{ transform:translateY(-2px); box-shadow:0 20px 42px rgba(236,72,153,.42); }
.ai-btn-outline{
    background:rgba(255,255,255,.6); color:var(--ai-navy); border-color:var(--ai-line);
    backdrop-filter:blur(8px);
}
.ai-btn-outline:hover{ transform:translateY(-2px); border-color:rgba(16,42,92,.3); background:#fff; }
.ai-btn-dark{ background:var(--ai-navy); color:#fff; box-shadow:0 14px 32px rgba(16,42,92,.28); }
.ai-btn-dark:hover{ transform:translateY(-2px); box-shadow:0 20px 42px rgba(16,42,92,.38); }
.ai-btn i{ font-size:.85rem; }

/* ================= HERO =================
   Exact structural/visual clone of the "Hire Our Graduates" hero
   (.gh-hero / .gh-hero-clean / .gh-hero-panel in graduate-hire.css),
   namespaced .ai-hh- so it can't collide with .gh- elsewhere. Every
   value below mirrors graduate-hire.css 1:1; the only real change is
   swapping the 5-image crossfade slideshow for a looping muted video. */

.ai-hh-hero{
    position:relative; overflow:hidden; text-align:left;
    min-height:74vh; display:flex; align-items:flex-end;
    padding:40px 0 72px;
    border-bottom-left-radius:50% 14%;
    border-bottom-right-radius:50% 14%;
}

/* video fills the same role the 5-slide crossfade played */
.ai-hh-video-wrap{ position:absolute; inset:0; z-index:0; }
.ai-hh-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

.ai-hh-overlay{
    position:absolute; inset:0; z-index:1; pointer-events:none;
    background:
        radial-gradient(700px 480px at 14% 12%, rgba(236,72,153,.13), transparent 62%),
        radial-gradient(700px 480px at 86% 86%, rgba(16,42,92,.13), transparent 62%),
        linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.2));
}

/* glass frame (frosted rim) following the hero shape */
.ai-hh-hero::before{
    content:""; position:absolute; inset:16px; z-index:2; pointer-events:none;
    border-top-left-radius:22px; border-top-right-radius:22px;
    border-bottom-left-radius:48% 12%; border-bottom-right-radius:48% 12%;
    border:1px solid rgba(255,255,255,.65);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 46px rgba(255,255,255,.16), 0 20px 60px rgba(16,42,92,.14);
    background:linear-gradient(160deg, rgba(255,255,255,.14), transparent 42%);
}
/* travelling light around the glass margins — removed, glass frame
   above (.ai-hh-hero::before) stays as the static border treatment */

/* animated scroll-down chevron */
.ai-hh-chevron{
    position:absolute; left:50%; bottom:64px; transform:translateX(-50%);
    z-index:3; width:44px; height:44px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    color:var(--ai-navy); font-size:1.15rem;
    border:1px solid rgba(255,255,255,.7); background:rgba(255,255,255,.5);
    backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
    animation:aiHhChev 2.2s ease-in-out infinite; transition:var(--ai-ease);
}
.ai-hh-chevron:hover{ background:var(--ai-pink); color:#FFFFFF; border-color:var(--ai-pink); }
@keyframes aiHhChev{
    0%,100%{ transform:translateX(-50%) translateY(0); }
    50%{ transform:translateX(-50%) translateY(7px); }
}

/* floating badge pinned to the top of the hero */
.ai-hh-float-badge{
    position:absolute; top:26px; right:24px; z-index:4;
    display:inline-flex; align-items:center; gap:8px;
    padding:9px 16px; border-radius:50px;
    background:rgba(255,255,255,.6); border:1px solid rgba(255,255,255,.7);
    backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
    box-shadow:0 10px 30px rgba(16,42,92,.1), 0 0 18px rgba(236,72,153,.18);
    font-family:'Montserrat',sans-serif; font-weight:600; font-size:.78rem; color:var(--ai-navy);
}
.ai-hh-float-badge i{ color:var(--ai-pink); }

/* ambient particles */
.ai-hh-particle{
    position:absolute; z-index:1; border-radius:50%; pointer-events:none;
    background:radial-gradient(circle, rgba(236,72,153,.4), transparent 70%);
}
.ai-hh-particle.p1{ width:120px; height:120px; top:14%; left:8%; }
.ai-hh-particle.p2{ width:90px; height:90px; bottom:20%; right:12%; background:radial-gradient(circle, rgba(16,42,92,.3), transparent 70%); }
.ai-hh-particle.p3{ width:60px; height:60px; top:46%; right:26%; }

/* glass panel floating over the video — eyebrow / heading / copy / CTA.
   "Crystal glass" treatment: the panel is perceived only through its
   illuminated edge, a faint travelling border light and an occasional
   soft reflection sweep — the centre stays almost fully transparent so
   the AI video reads clearly behind the text. */
.ai-hh-hero .ai-wrap{ position:relative; z-index:4; max-width:1200px; padding-left:20px; }
.ai-hh-panel{
    position:relative; isolation:isolate; overflow:hidden;
    max-width:690px; padding:38px 42px; border-radius:var(--ai-radius-card);
    background:rgba(255,255,255,.02);
    backdrop-filter:blur(1px); -webkit-backdrop-filter:blur(1px);
    border:1px solid rgba(255,255,255,.18);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.08),
        0 0 18px rgba(236,72,153,.12),
        0 0 30px rgba(18,58,146,.08);
}
/* travelling edge light removed — panel keeps its static glass border */
/* faint reflection sweeping across the crystal surface */
.ai-hh-panel::after{
    content:""; position:absolute; top:0; bottom:0; left:-60%; width:40%; z-index:1; pointer-events:none;
    background:linear-gradient(100deg, transparent, rgba(255,255,255,.10) 45%, transparent 90%);
    animation:aiHhSweep 9s ease-in-out infinite;
}
@keyframes aiHhSweep{
    0%{ left:-60%; opacity:0; }
    8%{ opacity:.7; }
    35%{ left:120%; opacity:0; }
    100%{ left:120%; opacity:0; }
}
.ai-hh-panel > *{ position:relative; z-index:2; }
.ai-hh-panel .ai-eyebrow{
    margin-bottom:14px; color:#FFFFFF;
    background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.28);
}
.ai-hh-panel h1{
    font-family:'Poppins',sans-serif; font-weight:800; font-size:2.25rem; line-height:1.14; margin:0 0 16px;
    color:#FFFFFF; text-shadow:0 2px 18px rgba(16,42,92,.5);
}
.ai-hh-panel h1 .ai-pink{
    color:var(--ai-pink); text-shadow:0 2px 18px rgba(236,72,153,.4);
}
.ai-hh-panel p{ font-size:1rem; line-height:1.72; color:rgba(255,255,255,.9); margin:0 0 28px; max-width:585px; text-shadow:0 1px 10px rgba(16,42,92,.4); }
.ai-hh-cta{ display:flex; gap:16px; flex-wrap:wrap; justify-content:flex-start; }
@media(prefers-reduced-motion:reduce){
    .ai-hh-panel::before, .ai-hh-panel::after{ animation:none; }
}

/* buttons — solid pink primary, frosted-glass secondary */
.ai-hh-btn{
    display:inline-flex; align-items:center; justify-content:center; gap:9px;
    font-family:'Montserrat',sans-serif; font-weight:600; font-size:.94rem;
    padding:15px 30px; border-radius:50px; white-space:nowrap; text-decoration:none;
    border:1.5px solid transparent; cursor:pointer; transition:var(--ai-ease);
}
.ai-hh-btn:hover{ transform:translateY(-3px) scale(1.03); }
.ai-hh-btn i{ transition:transform .35s ease; }
.ai-hh-btn:hover i{ transform:translateX(3px); }
.ai-hh-btn-solid-pink{
    background:var(--ai-pink); color:#FFFFFF;
    box-shadow:0 8px 20px rgba(236,72,153,.28);
}
.ai-hh-btn-solid-pink:hover{ background:#F472B6; box-shadow:0 12px 26px rgba(236,72,153,.36); }
.ai-hh-btn-glass{
    background:rgba(255,255,255,.2); color:var(--ai-navy); border-color:rgba(255,255,255,.55);
    backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
}
.ai-hh-btn-glass:hover{
    border-color:var(--ai-navy); background:rgba(16,42,92,.12);
    box-shadow:0 0 26px rgba(16,42,92,.32);
}

@media(prefers-reduced-motion:reduce){
    .ai-hh-hero::after, .ai-hh-chevron{ animation:none; }
}

@media(max-width:992px){
    .ai-hh-panel h1{ font-size:1.92rem; }
}
@media(max-width:640px){
    .ai-hh-hero{ min-height:55vh; padding:30px 0 58px; border-bottom-left-radius:50% 8%; border-bottom-right-radius:50% 8%; }
    .ai-hh-panel{ padding:28px 24px; max-width:none; }
    .ai-hh-panel h1{ font-size:1.68rem; }
    .ai-hh-panel p{ font-size:.94rem; margin-bottom:24px; }
    .ai-hh-float-badge{ top:16px; right:16px; font-size:.7rem; padding:7px 12px; }
    .ai-hh-chevron{ bottom:24px; }
    .ai-hh-btn{ width:100%; }
    .ai-hh-cta{ width:100%; }
    .ai-hh-particle{ display:none; }
}

/* ================= COMPACT PROGRAMME NAV =================
   Slim horizontal chip row replacing the old 4 large snapshot cards —
   quick links across Germaine's technology-track programmes. */
.ai-pnav{ padding:28px 0 32px; }
.ai-pnav-row{
    display:grid; grid-template-columns:repeat(6,1fr); gap:14px;
}
.ai-pnav-card{
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
    height:76px; padding:14px 12px; border-radius:20px; text-decoration:none;
    background:rgba(255,255,255,.85); border:1px solid rgba(236,72,153,.15);
    box-shadow:0 8px 24px rgba(18,58,146,.08);
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ai-pnav-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 32px rgba(236,72,153,.18);
    border-color:rgba(236,72,153,.35);
}
.ai-pnav-card.ai-pnav-active{
    background:rgba(236,72,153,.06); border-color:rgba(236,72,153,.4);
}
.ai-pnav-ic{ color:var(--ai-pink); font-size:1.2rem; line-height:1; }
.ai-pnav-card span:last-child{
    font-size:.82rem; font-weight:600; color:var(--ai-navy); text-align:center; line-height:1.25;
}

/* ================= WHY CHOOSE — premium 3-card slideshow ================= */

.ai-wc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; align-items:stretch; }
.ai-wc-card{
    position:relative; display:flex; flex-direction:column;
    background:rgba(255,255,255,.7);
    backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
    border:1px solid rgba(16,42,92,.12);
    border-radius:24px;
    box-shadow:0 14px 40px rgba(16,42,92,.1);
    overflow:hidden; transition:transform .4s ease, box-shadow .4s ease, background .4s ease;
}
.ai-wc-card:hover{
    transform:translateY(-8px) scale(1.02);
    box-shadow:0 26px 60px rgba(236,72,153,.16);
    background:rgba(255,255,255,.92);
}
.ai-wc-card:hover::after{ animation-duration:5s; }

.ai-wc-slideshow{ position:relative; height:190px; overflow:hidden; }
.ai-wc-slide{
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0;
    animation:aiWcFade 12s ease-in-out infinite;
}
.ai-wc-slide:nth-child(1){ animation-delay:0s; }
.ai-wc-slide:nth-child(2){ animation-delay:3s; }
.ai-wc-slide:nth-child(3){ animation-delay:6s; }
.ai-wc-slide:nth-child(4){ animation-delay:9s; }
.ai-wc-card:hover .ai-wc-slide{ animation-play-state:paused; }
@keyframes aiWcFade{
    0%{ opacity:0; } 4%{ opacity:1; } 21%{ opacity:1; } 25%{ opacity:0; } 100%{ opacity:0; }
}

.ai-wc-body{
    position:relative; z-index:1; flex:1;
    display:flex; flex-direction:column; justify-content:center;
    padding:26px 26px 28px; text-align:center;
}
.ai-wc-body h3{ font-family:'Poppins',sans-serif; font-weight:700; font-size:1.35rem; color:var(--ai-navy); margin:0 0 12px; }
.ai-wc-body p{ font-size:.92rem; line-height:1.8; color:var(--ai-navy-soft); margin:0 0 16px; text-align:justify; text-justify:inter-word; }
.ai-wc-link{
    display:inline-flex; align-items:center; gap:8px;
    font-weight:700; font-size:.88rem; color:var(--ai-navy); text-decoration:none;
    border-bottom:1px solid transparent; transition:color .3s ease, border-color .3s ease;
}
.ai-wc-link i{ font-size:.78rem; transition:transform .3s ease; }
.ai-wc-link:hover{ color:var(--ai-pink); border-color:var(--ai-pink); }
.ai-wc-link:hover i{ transform:translateX(4px); }

@media(prefers-reduced-motion:reduce){
    .ai-wc-slide{ animation:none; opacity:1; }
    .ai-wc-slide:not(.is-active){ opacity:0; }
    .ai-wc-card::after{ animation:none; }
}

/* ================= STUDENT EXPERIENCE BENTO SLIDESHOW ================= */

.ai-exp-bento{
    display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:18px; height:520px;
}
.ai-exp-panel{ position:relative; border-radius:var(--ai-radius-card); overflow:hidden; box-shadow:0 20px 50px rgba(16,42,92,.14); }
.ai-exp-track{ position:relative; width:100%; height:100%; }
.ai-exp-slide{
    position:absolute; inset:0; opacity:0; transform:scale(1.04); transition:opacity 1s ease, transform 1.2s ease;
}
.ai-exp-slide.ai-active{ opacity:1; transform:scale(1); }
.ai-exp-slide img{ width:100%; height:100%; object-fit:cover; display:block; }
.ai-exp-slide::after{ content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 55%,rgba(16,42,92,.75)); }
.ai-exp-cap{ position:absolute; left:20px; right:20px; bottom:18px; z-index:2; color:#fff; }
.ai-exp-cap h4{ font-size:1rem; font-weight:700; margin:0 0 3px; }
.ai-exp-cap span{ font-size:.78rem; opacity:.85; }

/* ================= MENTORSHIP ================= */

.ai-mentor-grid{ display:grid; grid-template-columns:.85fr 1fr; gap:56px; align-items:center; }
/* visuals now come from the sitewide .gwf-wrap "Why Choose Germaine" frame
   (organic navy blob + travelling border light + stat badge) — see
   global-refinements.css. .ai-mentor-img only handles grid placement. */
.ai-mentor-text h2{
    font-family:'Poppins',sans-serif; font-weight:700; font-size:clamp(1.7rem,3vw,2.3rem); color:var(--ai-navy);
    letter-spacing:-.01em; margin:0 0 16px; line-height:1.2;
}
.ai-mentor-text p{ font-size:1rem; line-height:1.75; color:var(--ai-navy-soft); margin:0 0 26px; }
.ai-mentor-feats{ display:flex; flex-direction:column; gap:16px; }
.ai-mentor-feat{ display:flex; align-items:flex-start; gap:14px; }
.ai-mentor-feat-ic{
    width:38px; height:38px; border-radius:11px; flex-shrink:0; display:flex; align-items:center; justify-content:center;
    background:rgba(236,72,153,.1); color:var(--ai-pink); font-size:.95rem; margin-top:2px;
}
.ai-mentor-feat h4{ font-size:.94rem; font-weight:700; color:var(--ai-navy); margin:0 0 3px; }
.ai-mentor-feat p{ font-size:.85rem; color:var(--ai-navy-mut); margin:0; line-height:1.55; }

/* ================= APPLY FORM ================= */

.ai-apply-toggle-wrap{ display:flex; justify-content:center; }
.ai-apply-toggle-btn{
    display:inline-flex; align-items:center; gap:12px;
    padding:16px 38px; border:none; border-radius:999px; cursor:pointer;
    background:linear-gradient(135deg, var(--ai-pink) 0%, var(--ai-navy) 100%);
    color:#fff; font-family:inherit; font-weight:700; font-size:1rem;
    box-shadow:0 16px 40px rgba(236,72,153,.28), 0 8px 20px rgba(16,42,92,.2);
    transition:transform .3s ease, box-shadow .3s ease;
}
.ai-apply-toggle-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 22px 50px rgba(236,72,153,.36), 0 10px 26px rgba(16,42,92,.26);
}
.ai-apply-toggle-btn i{ font-size:.85rem; transition:transform .35s ease; }
.ai-apply-toggle-btn[aria-expanded="true"] i{ transform:rotate(90deg); }

.ai-apply-collapse{
    max-height:0; opacity:0; overflow:hidden;
    transition:max-height .55s cubic-bezier(.4,0,.2,1), opacity .45s ease;
}
.ai-apply-collapse.is-open{
    max-height:2600px; opacity:1;
    margin-top:34px;
    transition:max-height .55s cubic-bezier(.4,0,.2,1), opacity .5s ease .05s, margin-top .55s cubic-bezier(.4,0,.2,1);
}
@media (prefers-reduced-motion: reduce){
    .ai-apply-toggle-btn{ transition:none; }
    .ai-apply-toggle-btn:hover{ transform:none; }
    .ai-apply-collapse{ transition:none; }
}

.ai-apply-panel{
    max-width:920px; margin:0 auto; background:#fff; border:1px solid var(--ai-line);
    border-radius:28px; padding:48px; box-shadow:0 30px 70px -20px rgba(16,42,92,.18); position:relative; overflow:hidden;
}
.ai-apply-panel::before{
    content:''; position:absolute; top:-120px; right:-120px; width:280px; height:280px; border-radius:50%;
    background:radial-gradient(circle,rgba(236,72,153,.1),transparent 70%);
}
.ai-apply-head{ text-align:center; margin-bottom:34px; position:relative; z-index:1; }
.ai-apply-head h2{ font-family:'Poppins',sans-serif; font-weight:700; font-size:clamp(1.5rem,2.6vw,2rem); color:var(--ai-navy); margin:0 0 10px; }
.ai-apply-head p{ font-size:.95rem; color:var(--ai-navy-mut); margin:0; max-width:520px; margin:0 auto; }

.ai-apply-selected{
    position:relative; z-index:1; display:flex; align-items:flex-start; gap:14px;
    margin:0 0 26px; padding:16px 20px; border-radius:16px;
    background:rgba(236,72,153,.06); border:1px solid rgba(236,72,153,.2);
}
.ai-apply-selected i{ color:var(--ai-pink); font-size:1.1rem; margin-top:2px; flex-shrink:0; }
.ai-apply-selected-label{ display:block; font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ai-navy-mut); margin-bottom:3px; }
.ai-apply-selected strong{ display:block; font-size:.98rem; font-weight:700; color:var(--ai-navy); margin-bottom:2px; }
.ai-apply-selected span#aiApplySelectedMeta{ display:block; font-size:.82rem; color:var(--ai-navy-mut); }
.ai-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; position:relative; z-index:1; }
.ai-field{ display:flex; flex-direction:column; gap:8px; position:relative; z-index:1; margin-bottom:20px; }
.ai-row .ai-field{ margin-bottom:0; }
.ai-field label{ font-size:.82rem; font-weight:600; color:var(--ai-navy); }
.ai-req{ color:var(--ai-pink); }
.ai-input-wrap{
    display:flex; align-items:center; gap:12px; background:var(--ai-tint); border:1px solid var(--ai-line);
    border-radius:var(--ai-radius-btn); padding:13px 16px; transition:var(--ai-ease);
}
.ai-input-wrap:focus-within{ border-color:var(--ai-pink); background:#fff; box-shadow:0 0 0 4px rgba(236,72,153,.1); }
.ai-input-wrap i{ color:var(--ai-navy-mut); font-size:.9rem; flex-shrink:0; }
.ai-input-wrap input,
.ai-input-wrap select,
.ai-input-wrap textarea{
    border:none; background:none; outline:none; width:100%; font-family:inherit; font-size:.92rem; color:var(--ai-navy);
}
.ai-input-wrap-textarea{ align-items:flex-start; }
.ai-input-wrap-textarea i{ margin-top:3px; }
.ai-input-wrap-textarea textarea{ resize:vertical; min-height:90px; }
.ai-submit{
    width:100%; margin-top:6px; position:relative; z-index:1;
    display:flex; align-items:center; justify-content:center; gap:10px;
    padding:16px; border:none; border-radius:var(--ai-radius-btn); cursor:pointer;
    background:linear-gradient(115deg,var(--ai-pink) 0%,var(--ai-pink-2) 100%); color:#fff;
    font-weight:700; font-size:.98rem; box-shadow:0 16px 36px rgba(236,72,153,.32); transition:var(--ai-ease);
}
.ai-submit:hover{ transform:translateY(-2px); box-shadow:0 22px 46px rgba(236,72,153,.4); }
.ai-submit:disabled{ opacity:.65; cursor:not-allowed; transform:none; }
.ai-apply-error{
    margin:0 0 16px; padding:12px 16px; border-radius:12px; position:relative; z-index:1;
    background:rgba(220,38,38,.07); border:1px solid rgba(220,38,38,.22);
    color:#b91c1c; font-size:.86rem; font-weight:600; line-height:1.5;
}
.ai-apply-success{ text-align:center; padding:20px 0; position:relative; z-index:1; }
.ai-apply-success-ic{ font-size:3rem; color:var(--ai-pink); margin-bottom:16px; display:block; }
.ai-apply-success h2{ font-family:'Poppins',sans-serif; font-size:1.4rem; color:var(--ai-navy); margin:0 0 10px; }
.ai-apply-success p{ font-size:.94rem; color:var(--ai-navy-mut); max-width:440px; margin:0 auto; line-height:1.65; }

/* ================= TESTIMONIALS — compact navy AI-insight module ================= */

.ai-tst-module{
    position:relative; isolation:isolate; overflow:hidden;
    max-width:820px; margin:0 auto; min-height:0;
    background:linear-gradient(135deg, #123A92 0%, #081B3F 100%);
    border-radius:var(--ai-radius-card);
    padding:34px 40px 30px;
    box-shadow:0 24px 60px rgba(8,20,45,.32);
}
/* small neural-network decoration, low-opacity, top-right corner */
.ai-tst-net{ position:absolute; top:-10px; right:-6px; width:110px; height:110px; opacity:.5; z-index:0; pointer-events:none; }
.ai-tst-net svg{ width:100%; height:100%; }

/* sweeping scan-line effect removed; .ai-tst-scan element left inert */
.ai-tst-scan{ display:none; }

.ai-tst-label{
    position:relative; z-index:1; display:inline-flex; align-items:center; gap:7px;
    font-family:'Montserrat',sans-serif; font-weight:700; font-size:.66rem;
    letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.7);
    margin-bottom:18px;
}
.ai-tst-dot{
    width:6px; height:6px; border-radius:50%; background:var(--ai-pink);
    box-shadow:0 0 8px rgba(236,72,153,.8); animation:aiTstPulse 2.2s ease-in-out infinite;
}
@keyframes aiTstPulse{ 0%,100%{ transform:scale(1); opacity:1; } 50%{ transform:scale(1.5); opacity:.5; } }

.ai-tst-track{ position:relative; z-index:1; min-height:140px; }
.ai-tst-slide{
    position:absolute; inset:0; margin:0; opacity:0; visibility:hidden;
    transform:translateX(14px);
    transition:opacity .5s ease, transform .5s ease, visibility 0s linear .5s;
}
.ai-tst-slide.is-active{
    position:relative; opacity:1; visibility:visible; transform:none;
    transition:opacity .5s ease, transform .5s ease;
}
.ai-tst-slide blockquote{ margin:0 0 18px; }
.ai-tst-slide blockquote p{
    font-size:1rem; line-height:1.7; color:rgba(255,255,255,.94); margin:0; font-style:italic;
}
.ai-tst-slide figcaption{ display:flex; align-items:center; gap:12px; }
.ai-tst-avatar{
    flex-shrink:0; width:38px; height:38px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); color:#fff;
    font-family:'Poppins',sans-serif; font-weight:700; font-size:.76rem;
}
.ai-tst-slide figcaption b{ display:block; font-family:'Poppins',sans-serif; font-size:.9rem; font-weight:700; color:#fff; }
.ai-tst-slide figcaption span{ font-size:.78rem; font-weight:600; color:rgba(255,255,255,.82); }

.ai-tst-nav{ position:relative; z-index:1; display:flex; align-items:center; justify-content:center; gap:16px; margin-top:20px; }
.ai-tst-arrow{
    display:flex; align-items:center; justify-content:center;
    width:32px; height:32px; border-radius:50%; flex-shrink:0;
    background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.2);
    color:#fff; font-size:.74rem; cursor:pointer; transition:background .25s ease, border-color .25s ease;
}
.ai-tst-arrow:hover{ background:rgba(236,72,153,.25); border-color:rgba(236,72,153,.5); }
.ai-tst-dots{ display:flex; align-items:center; gap:8px; }
.ai-tst-dotbtn{
    width:7px; height:7px; border-radius:50%; padding:0; border:none; cursor:pointer;
    background:rgba(255,255,255,.28); transition:background .25s ease, transform .25s ease;
}
.ai-tst-dotbtn.is-active{ background:var(--ai-pink); transform:scale(1.3); }

.ai-tst-tag{
    position:absolute; z-index:1; bottom:16px; right:20px;
    font-family:'Montserrat',sans-serif; font-weight:700; font-size:.62rem;
    letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.4);
}

@media(prefers-reduced-motion:reduce){
    .ai-tst-module::before, .ai-tst-scan, .ai-tst-dot{ animation:none !important; }
}
@media(max-width:640px){
    .ai-tst-module{ padding:28px 24px 26px; }
    .ai-tst-tag{ display:none; }
}

/* ---------- closing quote — subtle editorial endorsement,
   no card/border, sits directly beneath the testimonials ---------- */
.ai-closing-quote{
    position:relative; max-width:700px; margin:36px auto 0; padding:0 20px;
    text-align:center; font-size:clamp(1.15rem,1.8vw,1.35rem); font-weight:500;
    line-height:1.8; color:#4B5563;
}
.ai-closing-mark{
    font-family:'Poppins',sans-serif; font-weight:800; font-size:2.6rem;
    color:rgba(236,72,153,.14); line-height:0; vertical-align:-.32em;
}

/* ================= FINAL CTA (premium closing section) ================= */

.ai-fcta{
    position:relative; overflow:hidden;
    background:#FFFFFF; padding:52px 0;
}
.ai-fcta-bg{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.ai-fcta-net{
    position:absolute; top:0; left:0; width:100%; height:100%;
    opacity:.05;
}
.ai-fcta-net line{ stroke:var(--ai-navy); stroke-width:1.4; }
.ai-fcta-net circle{ fill:var(--ai-pink); }
.ai-fcta-glow{
    position:absolute; border-radius:50%; filter:blur(90px);
}
.ai-fcta-glow-1{ width:420px; height:420px; top:-160px; left:-100px; background:rgba(236,72,153,.14); }
.ai-fcta-glow-2{ width:460px; height:460px; bottom:-200px; right:-120px; background:rgba(16,42,92,.12); }
.ai-fcta-particle{
    position:absolute; width:6px; height:6px; border-radius:50%;
    background:var(--ai-pink); opacity:.04;
    animation:aiFctaFloat 12s ease-in-out infinite;
}
.ai-fcta-p1{ top:18%; left:12%; animation-delay:0s; }
.ai-fcta-p2{ top:64%; left:22%; animation-delay:2.5s; background:var(--ai-navy); }
.ai-fcta-p3{ top:30%; right:16%; animation-delay:5s; }
.ai-fcta-p4{ bottom:20%; right:26%; animation-delay:7.5s; background:var(--ai-navy); }
@keyframes aiFctaFloat{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-22px); }
}

.ai-fcta-inner{
    position:relative; z-index:1;
    max-width:820px; margin:0 auto; text-align:center;
}
.ai-fcta-label{
    display:inline-block; margin-bottom:16px;
    font-size:.8rem; font-weight:600; letter-spacing:3px; text-transform:uppercase;
    color:var(--ai-pink);
}
.ai-fcta-heading{
    font-family:'Poppins',sans-serif; font-weight:800;
    font-size:clamp(2rem,4vw,3.125rem); line-height:1.18; margin:0 0 22px;
    background:linear-gradient(120deg, var(--ai-pink) 0%, var(--ai-navy) 100%);
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:var(--ai-navy);
}
.ai-fcta-desc{
    max-width:760px; margin:0 auto 40px; font-size:1.19rem; line-height:1.8; color:#475569;
    text-align:justify; text-justify:inter-word;
}
.ai-fcta-row{
    display:flex; align-items:center; justify-content:center; gap:26px; flex-wrap:wrap;
}
.ai-fcta-row-text{ font-family:'Poppins',sans-serif; font-weight:700; font-size:1.625rem; color:var(--ai-navy); }
.ai-fcta-btn{
    display:inline-flex; align-items:center; gap:10px;
    padding:16px 38px; border-radius:999px; text-decoration:none; white-space:nowrap;
    background:linear-gradient(135deg, var(--ai-pink) 0%, var(--ai-navy) 100%);
    color:#fff; font-weight:700; font-size:1rem;
    box-shadow:0 16px 40px rgba(236,72,153,.28), 0 8px 20px rgba(16,42,92,.2);
    transition:transform .35s ease, box-shadow .35s ease, filter .35s ease;
}
.ai-fcta-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 22px 52px rgba(236,72,153,.38), 0 10px 26px rgba(16,42,92,.28);
    filter:brightness(1.06);
}
.ai-fcta-btn i{ transition:transform .3s ease; }
.ai-fcta-btn:hover i{ transform:translateX(4px); }

@media (prefers-reduced-motion: reduce){
    .ai-fcta-particle{ animation:none; }
    .ai-fcta-btn{ transition:none; }
    .ai-fcta-btn:hover{ transform:none; }
}

/* ================= RESPONSIVE ================= */

@media (max-width:1100px){
    .ai-pnav-row{ grid-template-columns:repeat(3,1fr); }
    .ai-wc-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:900px){
    :root{ --ai-sec-pad:36px; }
    .ai-mentor-grid{ grid-template-columns:1fr; }
    .ai-mentor-img{ max-width:440px; margin:0 auto; }
    .ai-exp-bento{ grid-template-columns:1fr 1fr; height:auto; }
    .ai-exp-panel{ height:260px; }
    .ai-exp-panel:first-child{ grid-column:span 2; height:320px; }
    .ai-fcta{ padding:40px 0; }
}

@media (max-width:760px){
    .ai-wrap{ padding:0 20px; }
    .ai-pnav-row{ grid-template-columns:repeat(2,1fr); }
    .ai-wc-grid{ grid-template-columns:repeat(2,1fr); }
    .ai-row{ grid-template-columns:1fr; gap:0; }
    .ai-apply-panel{ padding:30px 22px; }
    .ai-fcta{ padding:56px 0; }
    .ai-fcta-desc{ text-align:center; }
    .ai-fcta-row{ flex-direction:column; gap:18px; }
}

@media (max-width:400px){
    .ai-fcta-btn{ width:100%; max-width:320px; justify-content:center; }
}

@media (max-width:520px){
    .ai-wc-grid{ grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce){
    .ai-exp-slide{ transition:none; }
}
