/* ============================================================
   Home hero banner — layered backgrounds + HTML text/buttons
   (ken burns zoom, per-slide FX, staggered entrance, parallax)
   ============================================================ */

/* ---------- slide layers ---------- */
.hero-slide{position:relative;overflow:hidden;aspect-ratio:100/30;display:flex;flex-direction:column;justify-content:center;}
.hb-bg{position:absolute;inset:-8% 0 -8% 0;background-size:cover;background-position:center;transform:scale(1.05);will-change:transform;}
.hero-slide.on .hb-bg{animation:kenburns 9s linear forwards;}
@keyframes kenburns{
  from{transform:scale(1.05) translateY(0);}
  to{transform:scale(1.14) translateY(-14px);}
}
.hb-fx{position:absolute;inset:0;pointer-events:none;z-index:1;will-change:transform;}
.hero-content{position:relative;z-index:2;margin-left:6%;max-width:46%;will-change:transform;}

/* ---------- fx layer 1: floating light dots (slide 1) ---------- */
.fx-1 i{position:absolute;width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 10px 2px rgba(120,220,255,.95);animation:fxp 3.2s ease-in-out infinite;}
.fx-1 i:nth-child(1){left:48%;top:24%;animation-delay:0s;}
.fx-1 i:nth-child(2){left:58%;top:40%;animation-delay:.4s;}
.fx-1 i:nth-child(3){left:52%;top:62%;animation-delay:.9s;}
.fx-1 i:nth-child(4){left:66%;top:28%;animation-delay:1.3s;}
.fx-1 i:nth-child(5){left:74%;top:52%;animation-delay:.2s;}
.fx-1 i:nth-child(6){left:63%;top:76%;animation-delay:1.6s;}
.fx-1 i:nth-child(7){left:84%;top:36%;animation-delay:.7s;}
.fx-1 i:nth-child(8){left:88%;top:68%;animation-delay:1.1s;}
@keyframes fxp{0%,100%{opacity:.2;transform:scale(.7);}50%{opacity:1;transform:scale(1.3);}}

/* ---------- fx layer 2: sweeping light band (slide 2) ---------- */
.fx-2{background:linear-gradient(115deg,transparent 32%,rgba(255,255,255,.35) 46%,rgba(255,255,255,.12) 52%,transparent 62%);background-size:250% 100%;animation:sheen 7.5s ease-in-out infinite;}
@keyframes sheen{0%{background-position:135% 0;}55%,100%{background-position:-85% 0;}}

/* ---------- fx layer 3: glow + dots (slide 3) ---------- */
.fx-3::before{content:"";position:absolute;right:4%;top:10%;width:36%;height:78%;background:radial-gradient(ellipse at center,rgba(80,190,255,.30),transparent 65%);animation:fxp 4.2s ease-in-out infinite;}
.fx-3 i{position:absolute;width:5px;height:5px;border-radius:50%;background:rgba(160,225,255,.95);box-shadow:0 0 8px 1px rgba(120,210,255,.9);animation:fxp 3.6s ease-in-out infinite;}
.fx-3 i:nth-child(1){left:54%;top:26%;animation-delay:0s;}
.fx-3 i:nth-child(2){left:66%;top:48%;animation-delay:.6s;}
.fx-3 i:nth-child(3){left:72%;top:22%;animation-delay:1.1s;}
.fx-3 i:nth-child(4){left:80%;top:58%;animation-delay:.3s;}
.fx-3 i:nth-child(5){left:60%;top:70%;animation-delay:1.5s;}
.fx-3 i:nth-child(6){left:88%;top:40%;animation-delay:.9s;}

/* ---------- fx layer 4: subtle dots over illustration (slide 4) ---------- */
.fx-4 i{position:absolute;width:4px;height:4px;border-radius:50%;background:rgba(13,43,82,.45);animation:fxp 4s ease-in-out infinite;}
.fx-4 i:nth-child(1){left:62%;top:30%;animation-delay:0s;}
.fx-4 i:nth-child(2){left:70%;top:18%;animation-delay:.8s;}
.fx-4 i:nth-child(3){left:78%;top:44%;animation-delay:.3s;}
.fx-4 i:nth-child(4){left:86%;top:28%;animation-delay:1.4s;}
.fx-4 i:nth-child(5){left:90%;top:62%;animation-delay:.6s;}
.fx-4 i:nth-child(6){left:74%;top:72%;animation-delay:1.9s;}

/* ---------- shared text styles ---------- */
.hc-el{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease;}
.hero-content.is-in .hc-el{opacity:1;transform:translateY(0);}
.hero-content.is-in .hc-el:nth-child(1){transition-delay:.12s;}
.hero-content.is-in .hc-el:nth-child(2){transition-delay:.26s;}
.hero-content.is-in .hc-el:nth-child(3){transition-delay:.40s;}
.hero-content.is-in .hc-el:nth-child(4){transition-delay:.54s;}
.hero-content.is-in .hc-el:nth-child(5){transition-delay:.68s;}
.hero-content.is-in .hc-el:nth-child(6){transition-delay:.82s;}

.hc-kicker{display:inline-block;font-size:clamp(13px,1.05vw,19px);font-weight:700;letter-spacing:.22em;text-transform:uppercase;opacity:.92;}
.hc-title{font-size:clamp(30px,4.1vw,72px);font-weight:800;line-height:1.1;margin:10px 0 0;}
.hc-bullets{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-direction:column;gap:12px;}
.hc-bullets li{font-size:clamp(15px,1.5vw,26px);font-weight:600;display:flex;align-items:center;gap:10px;}
.hc-bullets li::before{content:"•";font-size:1.35em;line-height:1;}
.hc-sub{font-size:clamp(13px,1.15vw,20px);line-height:1.65;margin:18px 0 0;max-width:46ch;}
.hc-btn{display:inline-flex;align-items:center;gap:8px;margin-top:26px;background:#0D2B52;color:#fff;font-weight:700;font-size:clamp(12px,1.05vw,17px);padding:14px 30px;border-radius:10px;text-decoration:none;box-shadow:0 10px 24px rgba(13,43,82,.28);transition:background .2s,transform .2s,box-shadow .2s;}
.hc-btn:hover{background:#123a6e;transform:translateY(-2px);box-shadow:0 14px 30px rgba(13,43,82,.35);}
.hc-tags{position:absolute;left:6%;bottom:4.5%;display:flex;gap:10px;flex-wrap:wrap;}
.hc-tag{background:rgba(255,255,255,.92);color:#0D2B52;font-weight:600;font-size:clamp(11px,.95vw,16px);padding:8px 16px;border-radius:9px;box-shadow:0 4px 14px rgba(13,43,82,.12);}
.hc-bottombar{position:absolute;right:6%;bottom:5.5%;font-size:clamp(12px,1vw,17px);font-weight:600;text-align:right;letter-spacing:.02em;}
.hc-foot{position:absolute;left:6%;right:6%;bottom:5%;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.hf-item{font-size:clamp(11px,.9vw,15px);font-weight:500;opacity:.9;}

/* slide-level foot/tags/bottombar: fade in after the content stagger */
.hc-foot,.hc-tags,.hc-bottombar{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease;}
.hero-slide.on .hc-foot,.hero-slide.on .hc-tags,.hero-slide.on .hc-bottombar{opacity:1;transform:translateY(0);transition-delay:.85s;}

/* ---------- slide-specific layout & colors ---------- */
.hs-1 .hero-content,.hs-3 .hero-content{margin-left:6%;max-width:46%;}
.hs-1{color:#fff;}
/* slide 1: text style unified with slide 3 (standard kicker + bold title); 2011 keeps blue */
.hs-1 .hc-title .num{color:#57B8FF;text-shadow:0 1px 0 rgba(255,255,255,.4),0 2px 10px rgba(6,26,58,.5);}
.hs-1 .hc-bullets li::before{color:#7fe3ff;}
.hs-1 .hf-item{color:rgba(255,255,255,.88);}

.hs-2 .hero-content{margin-left:6%;max-width:56%;}
.hs-2{color:#0D2B52;}
.hs-2 .hc-title{font-size:clamp(26px,3.2vw,56px);}
.hs-2 .hc-sub{color:#33506e;max-width:54ch;}
.hs-2 .hc-kicker{color:#0D2B52;}

.hs-3{color:#fff;}
.hs-3 .hc-sub{color:rgba(255,255,255,.86);}
.hs-3 .hc-bottombar{color:rgba(255,255,255,.92);}

.hs-4 .hero-content{margin-left:20%;max-width:40%;}
.hs-4{color:#0D2B52;}
.hs-4 .hc-lead1{font-size:clamp(16px,1.5vw,26px);font-weight:700;line-height:1.4;margin:12px 0 0;}
.hs-4 .hc-lead2{font-size:clamp(14px,1.25vw,22px);font-weight:600;margin:14px 0 0;color:#123a6e;}
.hs-4 .hc-para{font-size:clamp(12px,1.02vw,18px);line-height:1.7;margin:16px 0 0;color:#3a4d63;max-width:52ch;}
.hs-4 .hc-yellow{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;}
.hs-4 .hy-tag{background:#F7C948;color:#123a6e;font-weight:700;font-size:clamp(11px,.95vw,16px);padding:8px 14px;border-radius:9px;box-shadow:0 6px 16px rgba(247,201,72,.35);}
.hs-4 .hc-foot{color:#0D2B52;justify-content:flex-end;}

/* ---------- mid-size desktop: give the content room above the bottom bar ---------- */
@media (min-width:769px) and (max-width:1440px){
  .hero-slide{aspect-ratio:100/36;min-height:400px;}
}

/* ---------- large desktop ---------- */
@media (min-width:1441px){
  .hero-slide{aspect-ratio:100/34;}
}

/* ---------- mobile ---------- */
@media (max-width:768px){
  .hero-slide{aspect-ratio:auto;height:360px;}
  .hs-4{height:360px;}
  .hero-content,.hs-1 .hero-content,.hs-2 .hero-content,.hs-3 .hero-content{margin:0 7%;max-width:none;}
  .hs-4 .hero-content{margin:0 7%;max-width:none;}
  .hc-title{font-size:25px;}
  .hc-kicker{font-size:11px;}
  .hc-bullets{gap:8px;margin-top:14px;}
  .hc-bullets li{font-size:13px;}
  .hc-sub{font-size:12px;margin-top:10px;line-height:1.5;}
  .hc-btn{margin-top:16px;font-size:12px;padding:11px 22px;}
  .hc-lead1{font-size:15px;margin:10px 0 0;}
  .hc-lead2{font-size:13px;margin:10px 0 0;}
  .hc-para{font-size:11.5px;margin:12px 0 0;line-height:1.6;}
  .hs-4 .hc-yellow{margin-top:14px;gap:7px;}
  .hs-4 .hy-tag{font-size:10.5px;padding:6px 10px;}
  .hs-1 .hc-bullets li{font-size:14px;}
  .hc-tags{position:absolute;left:7%;right:7%;bottom:3%;gap:7px;}
  .hc-tag{font-size:10.5px;padding:6px 11px;}
  .hc-bottombar{position:absolute;right:7%;bottom:4%;text-align:right;font-size:11px;}
  .hc-foot{position:absolute;left:7%;right:7%;bottom:3.5%;justify-content:space-between;}
  .hf-item{font-size:10.5px;}
  /* hide tags & foot bar on mobile */
  .hc-tags,.hc-foot{display:none;}
  /* hide bottombar & yellow chips on mobile */
  .hc-bottombar{display:none;}
  .hs-4 .hc-yellow{display:none;}
  /* disable ken burns zoom on mobile */
  .hero-slide.on .hb-bg{animation:none;transform:scale(1.05);}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  .hero-slide.on .hb-bg{animation:none;transform:scale(1.05);}
  .fx-1 i,.fx-2,.fx-3::before,.fx-3 i,.fx-4 i{animation:none;opacity:.6;}
  .hc-el{opacity:1;transform:none;transition:none;}
  .hc-foot,.hc-tags,.hc-bottombar{opacity:1;transform:none;transition:none;}
}

/* ---------- fx layer 5: subtle red floating dots (slide 5) ---------- */
.fx-5 i{position:absolute;width:5px;height:5px;border-radius:50%;background:#F25E41;box-shadow:0 0 8px 1px rgba(242,94,65,.55);animation:fxp 3.6s ease-in-out infinite;}
.fx-5 i:nth-child(1){left:56%;top:24%;animation-delay:0s;}
.fx-5 i:nth-child(2){left:64%;top:52%;animation-delay:.7s;}
.fx-5 i:nth-child(3){left:74%;top:34%;animation-delay:1.2s;}
.fx-5 i:nth-child(4){left:70%;top:72%;animation-delay:.4s;}

/* ---------- slide 5: light background (white + red grid), dark text ---------- */
.hs-5 .hero-content{margin-left:6%;max-width:46%;}
.hs-5{color:#0D2B52;}
.hs-5 .hc-kicker{color:#F25E41;}
.hs-5 .hc-sub{color:#3a4d63;max-width:52ch;}
.hs-5 .hc-tag{background:rgba(255,255,255,.92);border:1px solid rgba(13,43,82,.18);}
.hs-5 .hc-tag:hover{background:#fff;}

/* light slide: darken dots & arrows for visibility on white bg */
.hero.on-light .hero-dots .dot{background:rgba(13,43,82,.5);border-color:rgba(13,43,82,.35);box-shadow:0 1px 5px rgba(255,255,255,.6);}
.hero.on-light .hero-dots .dot.on{background:var(--orange);border-color:var(--orange);}
.hero.on-light .hero-arrow{background:rgba(255,255,255,.78);color:#0D2B52;border:1px solid rgba(13,43,82,.25);box-shadow:0 2px 10px rgba(13,43,82,.15);}
.hero.on-light .hero-arrow:hover{background:#F25E41;color:#fff;}

@media (max-width:768px){
  .hs-5 .hero-content{max-width:none;}
  .hs-5 .hc-tag{font-size:10.5px;padding:6px 10px;}
}

/* slide 5: tags sit under the subtitle (inline flow) */
.hs-5 .hc-tags{position:static;left:auto;right:auto;bottom:auto;margin-top:24px;}
@media (max-width:768px){
  .hs-5 .hc-tags{position:static;left:auto;right:auto;bottom:auto;margin-top:14px;}
}
