/* =========================
   AICE WEBSITE - site.css
   Theme: Light + Navy (dicest-blue)
   ========================= */

:root{
  --dicest-blue:#0B1C57;
  --dicest-red:#E03131;

  --bg:#fbfcff;            /* light gray background */
  --card:#e3e5f7;          /* ✅ white cards */
  --muted:#64748B;         /* slate muted text */
  --text:#0F172A;          /* main text */

  --border:rgba(15, 23, 42, .10);
  --shadow:0 12px 30px rgba(2, 6, 23, .08);
  --radius:16px;
}

*{box-sizing:border-box}
html,body{height:100%}
html, body{overflow-x:hidden;} /* ✅ horizontal scroll fix */

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{color:inherit;text-decoration:none}
a:hover{text-decoration:none}

.container{
  max-width:1240px;
  margin:0 auto;
  padding:18px 20px;
}

.muted{color:var(--muted)}

/* ───────── NAV ───────── */
/* ===== NAV (Header) ===== */
/* ───────── NAV ───────── */
.site-nav{
  position:sticky;
  top:0;
  z-index:80;
  background:var(--dicest-blue);
  color:#fff;
  box-shadow:0 10px 22px rgba(2, 6, 23, .12);
}

.nav-inner{
  display:flex;
  align-items:center;
  gap:14px;
  position:relative;
  min-height:72px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

/* ✅ logo white box (NOW WORKS because header has brand-logo-box) */
.brand-logo-box{
  width:46px;
  height:46px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(255,255,255,.18);
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 auto;
}

.brand-logo{
  width:34px !important;
  height:34px !important;
  object-fit:contain;
  display:block;
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
  min-width:0;
}

.brand-name{
  font-weight:800;
  font-size:15px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.brand-sub{
  font-size:12px;
  color:rgba(255,255,255,.72);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.nav-links{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:14px;
}

.nav-link{
  color:rgba(255,255,255,.92);
  padding:10px 12px;
  border-radius:12px;
  font-weight:600;
  font-size:14px;
}
.nav-link:hover{ background:rgba(255,255,255,.12); color:#fff; }

.nav-link-btn{
  border:0;
  background:transparent;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.chev{ opacity:.85; font-size:12px; }

.nav-wa{
  margin-left:6px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.10);
  color:#fff;
  font-weight:700;
}
.nav-wa:hover{ background:rgba(255,255,255,.14); }

/* ───────── Mega Menu (FIXED inside viewport) ───────── */
.nav-item{ position:relative; }

.mega{
  position:fixed;                 /* ✅ IMPORTANT */
  left:50%;
  transform:translateX(-50%);
  top:78px;                       /* default (JS will update exact) */
  width:min(980px, calc(100vw - 24px));
  background:#fff;
  color:var(--text);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 24px 60px rgba(2,6,23,.18);
  overflow:hidden;
  display:none;
  z-index:120;
}

.mega.is-open{ display:block; }

.mega-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:0;
}

.mega-left{ padding:16px; }
.mega-title{ font-weight:900; font-size:16px; margin-bottom:4px; }
.mega-sub{ color:var(--muted); font-size:13px; margin-bottom:10px; }

.mega-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:8px;
}

.mega-link{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.08);
  background:rgba(246,248,252,.7);
  font-weight:700;
  font-size:13px;
}
.mega-link:hover{
  border-color:rgba(11,28,87,.22);
  background:rgba(11,28,87,.06);
}
.mega-link .dot{
  width:8px;height:8px;border-radius:999px;background:#22c55e;
}

.mega-right{
  background:rgba(11,28,87,.04);
  border-left:1px solid rgba(15,23,42,.08);
  padding:16px;
}

.mega-card{
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  padding:14px;
}
.mega-card-title{ font-weight:900; margin-bottom:6px; }
.mega-card-sub{ color:var(--muted); font-size:13px; line-height:1.5; margin-bottom:12px; }

.mega-wa{ width:100%; border-radius:14px; }

.mega-mini-links{
  margin-top:10px;
  font-size:12px;
  color:var(--muted);
}
.mega-mini-links a{ color:var(--dicest-blue); font-weight:700; }
.mega-mini-links .sep{ margin:0 6px; opacity:.6; }

/* ───────── Mobile Menu ───────── */
.nav-toggle{
  display:none;
  margin-left:auto;
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
  cursor:pointer;
}
.nav-toggle span{display:block;height:2px;background:#fff;margin:7px 10px;border-radius:999px;opacity:.95}

@media (max-width: 900px){
  .brand-sub{ display:none; }
  .nav-toggle{ display:block; }

  .nav-links{
    position:absolute;
    left:0; right:0;
    top:72px;
    background:var(--dicest-blue);
    border-top:1px solid rgba(255,255,255,.10);
    padding:12px 14px 16px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    z-index:90;
  }
  .nav-links.is-open{ display:flex; }
  .nav-link, .nav-wa{ width:100%; text-align:left; }

  /* mega becomes normal block inside mobile flow */
  .mega{
    position:static;
    transform:none;
    width:100%;
    margin-top:8px;
    box-shadow:none;
    border-radius:14px;
  }
  .mega-inner{ grid-template-columns:1fr; }
  .mega-grid{ grid-template-columns:1fr; }
}


/* ───────── UI helpers ───────── */
.card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--border);
}
.card.pad{padding:16px}

.section{margin:14px 0}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.22);
  background:var(--dicest-blue);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.btn:hover{filter:brightness(1.03)}
.btn.btn-light{
  background:#fff;
  color:var(--dicest-blue);
  border:1px solid var(--border)
}

.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media (max-width: 980px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 640px){.grid{grid-template-columns:1fr}}





/* ───────── HERO (Full Viewport Width + 520px) ───────── */
.hero{margin:0;padding:0}

/* full width even if inside .container */
.hero-slider{
  display:block;
  position:relative;
  overflow:hidden;
  width:100vw;
  height:520px;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  border-radius:0;
  background:#0b1c57; /* fallback */
}

.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .55s ease;
  background-size:cover;
  background-position:center;
}
.hero-slide.is-active{opacity:1}

.hero-overlay{
  position:relative;
  height:100%;
  padding:42px;
  max-width:760px;
  display:flex;
  align-items:center;
}

.hero-panel{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.40);
  border-radius:22px;
  padding:26px;
  box-shadow:0 22px 50px rgba(2,6,23,.20);
}

.hero-title{
  margin:0 0 8px;
  font-size:42px;
  line-height:1.12;
  letter-spacing:-.5px
}
.hero-sub{
  margin:0;
  color:rgba(15,23,42,.72);
  font-size:16px
}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}

.hero-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.36);
  background:rgba(2,6,23,.35);
  color:#fff;
  cursor:pointer;
  z-index:10;
}
.hero-nav:hover{background:rgba(2,6,23,.45)}
.hero-nav.prev{left:12px}
.hero-nav.next{right:12px}

.hero-dots{
  position:absolute;
  left:0; right:0;
  bottom:12px;
  display:flex;
  justify-content:center;
  gap:8px;
  z-index:10;
}
.hero-dot{
  width:10px;height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.70);
  background:rgba(255,255,255,.35);
  cursor:pointer;
}
.hero-dot.is-active{background:#fff}

@media (max-width: 740px){
  .hero-overlay{padding:18px;max-width:92%}
  .hero-panel{padding:18px}
  .hero-title{font-size:30px}
  .hero-slider{height:420px}
}

/* ───────── ABOUT ───────── */
.about-head{ text-align:center; margin:22px 0 14px; }
.about-title{
  margin:0;
  font-size:34px;
  letter-spacing:-.3px;
}
.about-tagline{
  margin:8px 0 0;
  color:var(--muted);
  font-size:15px;
}

.about-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  margin-top:14px;
}

.about-card{ padding:18px; }
.about-card h3{ margin:0 0 10px; }

.about-actions{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.about-image-card{
  padding:0;
  overflow:hidden;
}
.about-img{
  width:100%;
  height:100%;
  min-height:260px;
  object-fit:cover;
  display:block;
}

@media (max-width: 900px){
  .about-grid{ grid-template-columns:1fr; }
  .about-title{ font-size:28px; }
  .about-img{ min-height:220px; }
}

/* ───────── CATEGORY LIST (Cards like reference screenshot) ───────── */
.cat-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin:22px 0 14px;
}
.cat-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.7);
  color:var(--muted);
  font-size:13px;
}
.cat-kicker::before{
  content:"";
  width:8px;height:8px;border-radius:999px;
  background:#22c55e;
}

.cat-title{
  margin:8px 0 6px;
  font-size:34px;
  letter-spacing:-.4px;
}
.cat-sub{
  margin:0;
  color:var(--muted);
  max-width:720px;
}

.cat-wa{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 10px 22px rgba(2,6,23,.06);
  font-weight:700;
}
.cat-wa:hover{transform:translateY(-1px); transition:.15s ease;}

/* 4 columns desktop */
.cat-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}
@media (max-width: 1100px){ .cat-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width: 640px){ .cat-grid{grid-template-columns:1fr;} }

.cat-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:0 12px 30px rgba(2,6,23,.06);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:360px;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}
.cat-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(2, 6, 23, .14);
  border-color: rgba(11, 28, 87, .22);
}

.cat-img{
  width:100%;
  height:150px;
  object-fit:cover;
  display:block;
  background:linear-gradient(135deg, rgba(11,28,87,.10), rgba(224,49,49,.05));
  transition: transform .25s ease;
}
.cat-card:hover .cat-img{transform: scale(1.03);}

.cat-body{padding:14px 14px 12px;}
.cat-name{
  margin:2px 0 6px;
  font-size:18px;
  font-weight:900;
}
.cat-mini{
  margin:0 0 10px;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.cat-points{
  margin:0;
  padding-left:18px;
  color:var(--text);
}
.cat-points li{margin:7px 0}
.cat-points li::marker{color:#16a34a}

.cat-footer{
  margin-top:auto;
  padding:12px 14px 14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cat-btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(11,28,87,.14);
  background:rgba(11,28,87,.06);
  color:var(--dicest-blue);
  font-weight:900;
}
.cat-btn:hover{background:rgba(11,28,87,.10)}

.badge{
  position:absolute;
  top:10px;
  right:10px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:900;
  box-shadow:0 10px 22px rgba(2,6,23,.08);
}



/* ✅ categories section spacing */
.cat-section{ padding: 14px 0 28px; }

.cat-head-left{ max-width: 720px; }

/* ✅ image + badge wrapper */
.cat-media{ position:relative; }
.cat-badge{
  position:absolute;
  top:10px; right:10px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:700;
  box-shadow:0 10px 22px rgba(2,6,23,.08);
}

/* ✅ better center on large screen */
.cat-grid{
  align-items:stretch;
}

/* ✅ if only 1-2 cards, keep them left but neat */
@media (min-width: 1101px){
  .cat-grid{ grid-template-columns:repeat(3, 1fr); }
}

/* ───────── PAGE HERO (Category/Course) FULL WIDTH ───────── */
.page-hero{
  width:100vw;
  min-height:320px;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background-size:cover;
  background-position:center;
  position:relative;
}
.page-hero-overlay{
  min-height:320px;
  background:linear-gradient(90deg, rgba(11,28,87,.60), rgba(11,28,87,.18));
  display:flex;
  align-items:center;
  padding:26px 0;
}
.page-hero-card{
  max-width:760px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.45);
  border-radius:22px;
  padding:22px;
  box-shadow:0 18px 44px rgba(2,6,23,.18);
}
.page-hero-title{margin:0 0 8px;font-size:34px;letter-spacing:-.4px}
.page-hero-sub{margin:0;color:rgba(15,23,42,.70)}
.page-hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px
}

/* ───────── FILTER BAR ───────── */
.filter-bar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding:14px 16px;
}
.filter-title{margin:0 0 4px;font-size:20px}
.filter-sub{margin:0}
.filter-right{display:flex;flex-direction:column;gap:6px}
.select{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  min-width:220px;
  outline:none;
}
.select:focus{
  border-color:rgba(11,28,87,.35);
  box-shadow:0 0 0 3px rgba(11,28,87,.10);
}

/* ───────── COURSES GRID ───────── */
.course-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
@media (max-width: 980px){ .course-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width: 640px){ .course-grid{grid-template-columns:1fr;} }

.course-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:0 12px 30px rgba(2,6,23,.06);
  overflow:hidden;
  display:flex;
  flex-direction:column;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}
.course-card:hover{
  transform: translateY(-6px);
  box-shadow:0 18px 44px rgba(2,6,23,.14);
  border-color: rgba(11,28,87,.22);
}

.course-img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
  transition: transform .25s ease;
}
.course-card:hover .course-img{transform: scale(1.03);}

.course-body{padding:14px}
.course-name{margin:2px 0 6px;font-size:18px;font-weight:900}
.course-desc{margin:0;color:var(--muted);font-size:13px;line-height:1.5}

.course-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}

.course-footer{
  padding:12px 14px 14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* ───────── CHIPS ───────── */
.chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.85);
  color:rgba(15,23,42,.85);
}
.chip-blue{
  background:rgba(11,28,87,.08);
  border-color:rgba(11,28,87,.18);
  color:var(--dicest-blue);
}

/* ───────── COURSE DETAILS PAGE ───────── */
.crumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  font-size:13px;
  color:rgba(15,23,42,.72);
  margin:0 0 10px;
}
.crumbs a{color:rgba(15,23,42,.85)}
.crumb-current{opacity:.85}

.course-page{padding-top:2px}
.course-layout{
  display:grid;
  grid-template-columns: 1.6fr .8fr;
  gap:16px;
  align-items:start;
}
@media (max-width: 980px){
  .course-layout{grid-template-columns:1fr}
}

.h2{margin:0 0 10px;font-size:20px}

.nice-list{margin:0;padding-left:18px}
.nice-list li{margin:8px 0;color:rgba(15,23,42,.85)}

.kv{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:10px 12px;
  margin-top:10px;
  font-size:13px;
}
.kv .k{color:rgba(15,23,42,.60)}
.kv .v{color:rgba(15,23,42,.92);font-weight:700}

.price-box{
  margin-top:14px;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(11,28,87,.04);
}
.price-title{font-size:13px;color:rgba(15,23,42,.60);margin-bottom:6px}
.price-row{display:flex;align-items:baseline;gap:10px}
.price-now{font-size:22px;font-weight:900;color:var(--dicest-blue)}
.price-old{text-decoration:line-through;color:rgba(15,23,42,.45);font-weight:800}

.sticky-card{position:sticky;top:86px}

/* ───────── FOOTER ───────── */
.site-footer{
  margin-top:30px;
  padding:16px 0;
  background:rgba(255,255,255,.7);
  border-top:1px solid var(--border);
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
/* ───────── HOME: Learning Outcomes Section ───────── */
.outcomes{ padding: 8px 0 26px; }

.outcomes-wrap{
  display:grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap:18px;
  align-items:start;
}

@media (max-width: 980px){
  .outcomes-wrap{ grid-template-columns:1fr; }
}

.out-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.75);
  color:var(--muted);
  font-size:13px;
  width:max-content;
}
.out-kicker::before{
  content:"";
  width:8px;height:8px;border-radius:999px;
  background:#22c55e;
}

.out-title{
  margin:10px 0 10px;
  font-size:44px;
  line-height:1.06;
  letter-spacing:-.6px;
}
.out-sub{
  margin:0 0 14px;
  color:var(--muted);
  max-width:520px;
}

@media (max-width: 740px){
  .out-title{ font-size:34px; }
}

.out-note{
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.85);
}

.out-actions{
  margin-top:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Right grid cards */
.out-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}

@media (max-width: 740px){
  .out-grid{ grid-template-columns:1fr; }
}

.out-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 10px 26px rgba(2,6,23,.06);
  padding:14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.out-card:hover{
  transform: translateY(-5px);
  box-shadow:0 18px 44px rgba(2,6,23,.12);
  border-color: rgba(11,28,87,.18);
}

.out-top{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.out-ico{
  width:44px;height:44px;
  display:grid;place-items:center;
  border-radius:14px;
  background:rgba(11,28,87,.06);
  border:1px solid rgba(11,28,87,.10);
  font-size:18px;
  flex:0 0 auto;
}

.out-name{
  font-weight:900;
  margin:0 0 4px;
  color:var(--text);
}
.out-desc{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}

.out-foot{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid rgba(15,23,42,.08);
  color:rgba(15,23,42,.70);
  font-size:12px;
}
/* ───────── WHY CHOOSE US ───────── */
.why{ padding: 4px 0 8px; }

.why-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin: 10px 0 14px;
}

.why-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.75);
  color:var(--muted);
  font-size:13px;
  width:max-content;
}
.why-kicker::before{
  content:"";
  width:8px;height:8px;border-radius:999px;
  background:#22c55e;
}

.why-title{
  margin:10px 0 6px;
  font-size:34px;
  letter-spacing:-.4px;
}
.why-sub{
  margin:0;
  color:var(--muted);
  max-width:720px;
}

.why-wa{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 10px 22px rgba(2,6,23,.06);
  font-weight:800;
}
.why-wa:hover{ transform: translateY(-1px); transition: .15s ease; }

.why-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:12px;
}
@media (max-width: 980px){
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .why-grid{ grid-template-columns: 1fr; }
}

.why-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 10px 26px rgba(2,6,23,.06);
  padding:14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.why-card:hover{
  transform: translateY(-5px);
  box-shadow:0 18px 44px rgba(2,6,23,.12);
  border-color: rgba(11,28,87,.18);
}

.why-ico{
  width:46px;height:46px;
  display:grid;place-items:center;
  border-radius:14px;
  background:rgba(11,28,87,.06);
  border:1px solid rgba(11,28,87,.10);
  font-size:18px;
  margin-bottom:10px;
}
.why-name{
  margin:0 0 6px;
  font-size:16px;
  font-weight:900;
}
.why-desc{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}
/* ───────── TESTIMONIALS ───────── */
.testi{ padding: 6px 0 10px; }

.testi-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin: 10px 0 14px;
}

.testi-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.75);
  color:var(--muted);
  font-size:13px;
  width:max-content;
}
.testi-kicker::before{
  content:"";
  width:8px;height:8px;border-radius:999px;
  background:#f59e0b; /* warm dot */
}

.testi-title{
  margin:10px 0 6px;
  font-size:34px;
  letter-spacing:-.4px;
}
.testi-sub{
  margin:0;
  color:var(--muted);
  max-width:720px;
}

.testi-wa{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 10px 22px rgba(2,6,23,.06);
  font-weight:800;
}
.testi-wa:hover{ transform: translateY(-1px); transition: .15s ease; }

.testi-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
  margin-top:12px;
}
@media (max-width: 820px){
  .testi-grid{ grid-template-columns: 1fr; }
}

.testi-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 10px 26px rgba(2,6,23,.06);
  padding:14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.testi-card:hover{
  transform: translateY(-5px);
  box-shadow:0 18px 44px rgba(2,6,23,.12);
  border-color: rgba(11,28,87,.18);
}

.testi-top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}

.testi-avatar{
  width:44px;height:44px;
  border-radius:14px;
  display:grid;place-items:center;
  font-weight:900;
  color:var(--dicest-blue);
  background:rgba(11,28,87,.06);
  border:1px solid rgba(11,28,87,.12);
  flex:0 0 auto;
}

.testi-name{
  font-weight:900;
  color:var(--text);
  line-height:1.1;
}
.testi-meta{
  font-size:12px;
  color:var(--muted);
  margin-top:3px;
}

.testi-stars{
  margin-left:auto;
  font-size:12px;
  letter-spacing:1px;
  color:#f59e0b;
  font-weight:900;
}

.testi-text{
  margin:0;
  color:rgba(15,23,42,.80);
  line-height:1.6;
  font-size:13px;
}
/* ───────── FOOTER (PRO) ───────── */
/* ───────── FOOTER (DARK like header) ───────── */
.site-footer{
  margin-top:32px;
  background: var(--dicest-blue);
  color:#fff;
  border-top:1px solid rgba(255,255,255,.10);
  font-weight: 400; /* base normal */
}

.site-footer .muted{ color: rgba(255,255,255,.72); }

.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap:18px;
  padding:26px 0 16px;
}
@media (max-width: 980px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 640px){
  .footer-grid{ grid-template-columns:1fr; }
}

.footer-col{ min-width:0; }

.footer-brand{
  display:flex; align-items:center; gap:12px;
  margin-bottom:10px;
}
.footer-mark{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  font-weight:700; /* was 900 */
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
}

.footer-title{ font-size:16px; font-weight:700; color:#fff; } /* was 900 */
.footer-sub{ font-size:12px; color: rgba(255,255,255,.72); margin-top:2px; font-weight:400; }

.footer-text{
  margin:0 0 12px;
  color: rgba(255,255,255,.80);
  line-height:1.6;
  font-size:13px;
  max-width:520px;
  font-weight:400;
}

.footer-wa{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  background: rgba(255,255,255,.12);
  color:#fff;
  font-weight:600; /* was 900 */
  border:1px solid rgba(255,255,255,.18);
}
.footer-wa:hover{ filter:brightness(1.05); transform:translateY(-1px); transition:.15s ease; }

.footer-head{
  font-weight:700; /* was 900 */
  margin:6px 0 10px;
  color:#fff;
}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}
.footer-links a{
  color: rgba(255,255,255,.86);
  font-weight:500; /* was 700 */
  font-size:13px;
}
.footer-links a:hover{ color:#fff; text-decoration:underline; }

.footer-item{ margin:10px 0; }
.footer-label{ font-size:12px; color: rgba(255,255,255,.65); font-weight:400; }

.footer-value{
  font-size:13px;
  font-weight:600; /* was 800 */
  color: rgba(255,255,255,.92);
  margin-top:4px;
}
.footer-value a{ color:inherit; }
.footer-value a:hover{ color:#fff; text-decoration:underline; }

.footer-note{
  margin-top:12px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.80);
  font-size:12px;
  line-height:1.5;
  font-weight:400;
}

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding:14px 0 12px;
  border-top:1px solid rgba(255,255,255,.12);
}

.footer-mini-links{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  color: rgba(255,255,255,.72);
  font-weight:500; /* was 700 */
}
.footer-mini-links a{ color: rgba(255,255,255,.86); font-weight:500; }
.footer-mini-links a:hover{ color:#fff; text-decoration:underline; }
.footer-mini-links .dot{ opacity:.6; }

/* credits line */
.footer-credits{
  padding: 10px 0 18px;
  border-top:1px solid rgba(255,255,255,.10);
  text-align:center;
  font-size:12px;
  color: rgba(255,255,255,.72);
  font-weight:400;
}
.footer-credits a{
  color:#fff;
  font-weight:600; /* was 900 */
}
.footer-credits a:hover{ text-decoration:underline; }
/* ===== MOBILE NAV FIX ===== */
@media (max-width: 740px){

  .site-nav .nav-inner{
    position:relative;
    gap:10px;
    padding-top:10px;
    padding-bottom:10px;
  }

  .brand{
    flex:1;
    min-width:0;
  }

  .brand-text{
    font-size:14px;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width: calc(100vw - 120px);
  }

  .nav-toggle{
    margin-left:auto;
  }

  /* dropdown panel */
  .nav-links{
    position:absolute;
    left:12px;
    right:12px;
    top:62px;
    border-radius:16px;
    padding:12px;
    gap:6px;
    box-shadow:0 18px 40px rgba(2,6,23,.22);
  }

  .nav-link{
    width:100%;
    padding:12px 12px;
    border-radius:14px;
  }

  .nav-wa{
    width:100%;
    margin:4px 0 0;
    justify-content:center;
    padding:12px 14px;
  }

  /* Mega menu in mobile should be inside dropdown without floating */
  .mega{
    position:static !important;
    width:100% !important;
    margin-top:8px;
    border-radius:14px;
  }
}
/* ===== HERO MOBILE FIX ===== */
@media (max-width: 740px){

  .hero-slider{
    height: 420px; /* mobile me better height */
  }

  .hero-overlay{
    padding:14px;
    max-width:100%;
    align-items:flex-end; /* panel neeche rahe */
  }

  .hero-panel{
    width:100%;
    padding:16px;
    border-radius:18px;
  }

  .hero-title{
    font-size:26px;
    line-height:1.15;
    margin-bottom:6px;
  }

  .hero-sub{
    font-size:13px;
    line-height:1.45;
  }

  .hero-actions{
    margin-top:12px;
    gap:8px;
  }

  .hero-actions .btn{
    width:100%;
  }

  /* arrows smaller + side safe */
  .hero-nav{
    width:36px;
    height:36px;
    border-radius:12px;
    top:55%;
  }
  .hero-nav.prev{ left:8px; }
  .hero-nav.next{ right:8px; }

  /* dots above bottom */
  .hero-dots{
    bottom:8px;
  }
}
/* ===== GENERAL MOBILE SPACING ===== */
@media (max-width: 740px){
  .container{ padding:14px 14px; }
  .section{ margin:14px 0; }
}
/* ===== ABOUT PAGE ===== */
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}
@media (max-width: 980px){ .stats-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width: 640px){ .stats-grid{ grid-template-columns:1fr; } }

.stat{ text-align:left; }
.stat-num{
  font-size:22px;
  font-weight:900;
  color:var(--dicest-blue);
  margin-bottom:6px;
}
.stat-title{ font-weight:800; }
.stat-sub{ font-size:13px; }

.about-two{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap:16px;
  margin-top:14px;
}
@media (max-width: 980px){ .about-two{ grid-template-columns:1fr; } }

.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
