:root{--royal:#0b3d91; --gold:#ffb400; --muted:#6b7280; --card-radius:12px;}
*{box-sizing:border-box;}
body{font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial; background:#f6f8fb; color:#0f1724;}

.topbar{background:var(--royal); color:#fff; font-weight:600; padding:8px 0; text-align:center; font-size:14px;}
.navbar{background:#fff; box-shadow:0 6px 22px rgba(11,61,145,0.04);}
.navbar-brand{font-weight:800; color:var(--royal); display:flex; gap:12px; align-items:center;}
.brand-title{color:var(--royal); font-weight:800; font-size:18px;}
.nav-link{color:#1f2b43; font-weight:600;}
.nav-link:hover{color:var(--royal);}

.btn-accent{background:var(--gold); color:#000; border:none; padding:12px 26px; font-weight:700; border-radius:8px;}
.btn-light{border-radius:8px;}

/* ===========================
   HERO (UPDATED BANNER ONLY)
   =========================== */
.hero.hero-animated{
  position: relative;
  isolation: isolate;
  padding: 110px 0;
  text-align: center;
  overflow: hidden;
  color:#fff;
}

/* background slides (5 images) */
.hero-bg{position:absolute; inset:0; z-index:0;}
.hero-bg-slide{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 7.5s ease;
  filter: saturate(1.05) contrast(1.03);
}
.hero-bg-slide.active{opacity:1; transform: scale(1.16);}

/* overlay */
.hero-overlay{
  position:absolute; inset:0; z-index:1;
  background: linear-gradient(180deg, rgba(11,61,145,0.90), rgba(11,61,145,0.72));
}

/* copy */
.hero-copy{z-index:2; position:relative; max-width: 980px; margin: 0 auto;}

/* top badge (static trust) */
.hero-badge{
  display:inline-block;
  font-weight:800;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--gold);
  color:#000;
  transform: translateY(10px);
  opacity:0;
  animation: heroIn 800ms ease forwards 120ms;
}

/* sales kicker (dynamic) */
.hero-kicker{
  margin-top: 14px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
  font-weight:900;
  letter-spacing: .01em;
  opacity:0;
  transform: translateY(14px);
  animation: heroIn 900ms ease forwards 190ms;
}
.hero-kicker .dot{
  width:10px;height:10px;border-radius:50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(255,180,0,0.16);
}
.hero-kicker small{font-weight:900; opacity:.98}

.hero-title{
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 18px;
  opacity:0;
  transform: translateY(18px);
  animation: heroIn 900ms ease forwards 260ms;
  text-wrap: balance;
}
.hero-sub{
  font-size: 18px;
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 900ms ease forwards 380ms;
  margin-top: 14px;
  color: rgba(255,255,255,0.92);
  text-wrap: pretty;
}
.hero-ctas{
  opacity:0;
  transform: translateY(18px);
  animation: heroIn 900ms ease forwards 520ms;
}

.hero-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  opacity:0;
  transform: translateY(14px);
  animation: heroIn 900ms ease forwards 640ms;
}
.hero-chip{
  font-weight:800;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  user-select:none;
}

@keyframes heroIn{to{opacity:1; transform:translateY(0)}}

/* animated swap (kicker + title + sub) */
.hero-swap-out{animation: heroSwapOut 420ms ease forwards;}
.hero-swap-in{animation: heroSwapIn 520ms ease forwards;}
@keyframes heroSwapOut{to{opacity:0; transform: translateY(-10px)}}
@keyframes heroSwapIn{from{opacity:0; transform: translateY(14px)} to{opacity:1; transform: translateY(0)}}

/* floating visuals */
.hero-floats{position:absolute; inset:0; z-index:2; pointer-events:none;}
.float-card{
  position:absolute;
  width: 190px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.20);
  animation: floaty 6.8s ease-in-out infinite;
}
.float-title{font-weight:900; font-size:14px;}
.float-sub{font-weight:800; font-size:12px; opacity:0.92;}
.float-pill{
  position:absolute;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight:900;
  font-size: 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  animation: floaty 7.4s ease-in-out infinite;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}
.float-1{left:6%; top:28%;}
.float-2{right:7%; top:25%; animation-duration: 7.6s;}
.float-3{left:10%; bottom:20%; animation-duration: 8.3s;}
.float-4{right:10%; bottom:22%; animation-duration: 7.0s;}
.float-5{left:50%; bottom:12%; transform: translateX(-50%); animation-duration: 7.9s;}
@keyframes floaty{
  0%,100%{transform: translateY(0) translateX(0)}
  50%{transform: translateY(-14px) translateX(6px)}
}

/* controls (ONLY ARROWS - no dots, no progress bar) */
.hero-controls{
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
}
.hero-arrow{
  pointer-events:auto;
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:52px;
  height:52px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.12);
  color:#fff;
  font-weight:900;
  font-size:30px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.20);
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
  opacity:.92;
  user-select:none;
}
.hero-arrow:hover{transform: translateY(-50%) scale(1.06); background: rgba(255,255,255,0.18);}
.hero-arrow:active{transform: translateY(-50%) scale(0.98);}
.hero-prev{left:14px;}
.hero-next{right:14px;}

/* sections */
.section{padding:70px 0;}
.section-title{font-weight:800; color:var(--royal); font-size:30px; margin-bottom:24px; text-align:center;}
.feature-card{background:#fff; border-radius:12px; padding:28px; box-shadow:0 10px 30px rgba(11,61,145,0.04); border:1px solid rgba(15,23,36,0.03);}
.course-card{background:#fff; border-radius:12px; padding:20px; box-shadow:0 8px 24px rgba(11,61,145,0.04); border:1px solid rgba(15,23,36,0.03); display:flex; flex-direction:column;}
.course-card h6{font-weight:800; color:var(--royal);}
.course-card .meta{font-size:13px; color:var(--muted); font-weight:600;}
.course-cta{margin-top:auto;}
footer{background:var(--royal); color:#fff; padding:36px 0;}
footer a{color:var(--gold); text-decoration:none;}

/* WhatsApp float */
.whatsapp-float{
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
}
.whatsapp-float a{display:inline-flex; align-items:center; justify-content:center; width:56px; height:56px; border-radius:50%; background:#25D366; color:#fff; box-shadow:0 8px 24px rgba(0,0,0,0.2);}
.whatsapp-float a img{width:28px; height:28px;}

/* responsive */
@media(max-width:767px){
  .hero.hero-animated{padding:74px 12px;}
  .hero-title{font-size:30px;}
  .float-card, .float-pill{display:none;}
  .hero-arrow{width:44px; height:44px; font-size:26px; opacity:.95;}
  .hero-prev{left:10px;}
  .hero-next{right:10px;}
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero-bg-slide, .float-card, .float-pill,
  .hero-badge, .hero-kicker, .hero-title, .hero-sub, .hero-ctas, .hero-chips{
    animation: none !important;
    transition: none !important;
  }
}

/* Course CTA buttons – wrap neatly on small screens */
.course-cta{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
