/* =========================================================
   Grab Knowledge — Core Styles
   Design direction inspired by a clean, premium education UI:
   white space, soft blue sections, yellow accents, navy type.
   ========================================================= */

:root {
  --navy: #123B75;
  --navy-deep: #0B2852;
  --blue: #1689E8;
  --blue-dark: #0E6FC0;
  --sky: #DDF3FF;
  --sky-soft: #EDF8FF;
  --yellow: #FFC928;
  --yellow-soft: #FFF6D9;
  --white: #FFFFFF;
  --soft: #F6FAFF;
  --text: #25364B;
  --muted: #667085;
  --green: #42B883;
  --line: #E4ECF5;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 6px 18px rgba(18, 59, 117, 0.07);
  --shadow: 0 18px 45px rgba(18, 59, 117, 0.10);
  --shadow-lg: 0 28px 60px rgba(18, 59, 117, 0.14);
  --container: 1180px;
  --header-h: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: "Baloo 2", "Plus Jakarta Sans", sans-serif;
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 16px;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.15rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 16px; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 8px; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container-narrow { width: min(100% - 40px, 840px); margin-inline: auto; }

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-soft { background: var(--soft); }
.section-sky { background: linear-gradient(180deg, var(--sky-soft) 0%, #ffffff 100%); }
.section-yellow { background: var(--yellow-soft); }
.section-white { background: var(--white); }

.section-head {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow.blue { background: var(--sky); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

.text-accent { color: var(--blue); }
.text-yellow { color: #E5A900; }
.text-muted { color: var(--muted); }
.center { text-align: center; }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-3px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 12px 26px rgba(255, 201, 40, 0.32);
}
.btn-primary:hover { background: #ffd44f; color: var(--navy); box-shadow: 0 16px 34px rgba(255, 201, 40, 0.42); }

.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 12px 26px rgba(22, 137, 232, 0.24); }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline-white:hover { background: #fff; color: var(--navy); }

.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue-dark);
}
.link-arrow svg { transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------------- Header ---------------- */

#site-header-root { position: relative; z-index: 60; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(18, 59, 117, 0.10);
  border-color: var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-logo { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo img { width: 152px; height: auto; }

.main-nav { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 26px); }
.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 650;
  font-size: 0.94rem;
  padding: 10px 2px;
  background: none;
  border: 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  border-radius: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.nav-link[aria-expanded="true"]::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--blue-dark); }

.nav-chevron { width: 14px; height: 14px; transition: transform .25s ease; }
.nav-item.is-open .nav-chevron { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: -18px;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s var(--ease), visibility .22s;
}

.nav-item.is-open .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}
.dropdown-panel a:hover { background: var(--sky-soft); color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--navy);
  transition: background .2s ease, transform .2s ease;
}
.icon-btn:hover { background: var(--sky); transform: rotate(-6deg); }
.icon-btn svg { width: 19px; height: 19px; }

.wa-header-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 9px 16px;
  background: #25D366; color: #fff;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(37,211,102,.24);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.wa-header-btn:hover { background: #1EBE57; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,211,102,.34); }
.wa-header-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.login-btn {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 8px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  place-items: center;
}
.mobile-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform .3s var(--ease), background .3s;
}
.mobile-toggle span::before,
.mobile-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.mobile-toggle span::before { top: -7px; }
.mobile-toggle span::after { top: 7px; }
.mobile-toggle[aria-expanded="true"] span { background: transparent; }
.mobile-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(255,255,255,.98);
  padding: 22px 20px 100px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .3s ease, transform .3s var(--ease), visibility .3s;
  z-index: 55;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a, .mobile-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
}
.mobile-menu a[aria-current="page"] { color: var(--blue-dark); }
.mobile-menu .mobile-actions { margin-top: 26px; display: grid; gap: 12px; }
.mobile-menu .mobile-socials { display: flex; gap: 12px; margin-top: 26px; }
.mobile-menu .mobile-socials a {
  width: 40px; height: 40px; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%; padding: 0;
}
.mobile-menu .mobile-socials img { width: 19px; height: 19px; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(11, 40, 82, .62);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-box {
  width: min(100%, 680px);
  background: #fff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-16px) scale(.98);
  transition: transform .3s var(--ease);
}
.search-overlay.is-open .search-box { transform: translateY(0) scale(1); }
.search-box-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.search-box-head h3 { margin: 0; }
.search-field { display: flex; gap: 10px; }
.search-field input {
  flex: 1; min-width: 0; padding: 14px 18px;
  border: 2px solid var(--line); border-radius: 14px;
}
.search-field input:focus { border-color: var(--blue); outline: none; }
.search-results { margin-top: 18px; max-height: 45vh; overflow: auto; }
.search-result {
  display: block; padding: 12px 14px; border-radius: 12px;
  color: var(--text);
}
.search-result:hover { background: var(--sky-soft); }
.search-result strong { display: block; color: var(--navy); }
.search-result small { color: var(--muted); }
.search-empty { color: var(--muted); padding: 16px 4px; margin: 0; }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(255,201,40,.22), transparent 26%),
    radial-gradient(circle at 5% 85%, rgba(22,137,232,.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--sky-soft) 100%);
  padding: clamp(60px, 7vw, 100px) 0 clamp(70px, 8vw, 120px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero::before { width: 340px; height: 340px; background: rgba(221,243,255,.75); top: -130px; right: -70px; }
.hero::after { width: 190px; height: 190px; border: 18px solid rgba(255,201,40,.22); bottom: -90px; left: -60px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.hero-copy p.lead { font-size: 1.12rem; color: var(--muted); max-width: 600px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 22px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.trust-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.trust-icon svg { width: 20px; height: 20px; }

.hero-visual { position: relative; }
.hero-image-wrap {
  position: relative;
  border-radius: 42% 42% 32% 32% / 30% 30% 22% 22%;
  overflow: hidden;
  background: var(--sky);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1.08 / 1;
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.float-deco {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.float-deco svg { width: 26px; height: 26px; }
.float-deco.bulb { width: 62px; height: 62px; top: -18px; left: -22px; background: var(--yellow); color: var(--navy); border-radius: 50%; }
.float-deco.book { width: 60px; height: 56px; bottom: 26px; left: -26px; color: var(--blue); }
.float-deco.star { width: 52px; height: 52px; top: 22%; right: -20px; background: var(--sky); color: var(--navy); border-radius: 50%; animation-delay: 1.2s; }
.float-deco.pencil { width: 58px; height: 58px; bottom: -20px; right: 18%; color: var(--green); animation-delay: 2s; }

.decor-blob {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.decor-blob.one { width: 90px; height: 90px; right: -34px; bottom: 12%; background: rgba(255,201,40,.35); }
.decor-blob.two { width: 46px; height: 46px; left: 6%; top: -18px; background: rgba(22,137,232,.18); }

/* ---------------- Cards & grids ---------------- */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(22,137,232,.2); }
.card-body { padding: 24px; }
.card-body p:last-child { margin-bottom: 0; }

.category-card { position: relative; padding: 0; }
.category-media { height: 180px; overflow: hidden; background: var(--sky); }
.category-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.category-card:hover .category-media img { transform: scale(1.08); }
.category-icon {
  position: absolute;
  top: 150px;
  left: 22px;
  width: 58px; height: 58px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow);
  z-index: 2;
}
.category-icon svg { width: 28px; height: 28px; }
.category-card .card-body { padding-top: 40px; }
.category-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.category-card p { color: var(--muted); font-size: .94rem; min-height: 48px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.tag {
  display: inline-flex; align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--navy);
  font-size: .76rem;
  font-weight: 700;
}
.tag.yellow { background: var(--yellow-soft); }
.tag.green { background: #E7F8F0; color: #207457; }
.tag.sample { background: #FFF0E8; color: #9A4B20; }

.course-card { display: flex; flex-direction: column; }
.course-media { position: relative; height: 205px; overflow: hidden; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.course-card:hover .course-media img { transform: scale(1.07); }
.course-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.94);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .73rem; font-weight: 800;
}
.course-card .card-body { display: flex; flex-direction: column; flex: 1; }
.course-card h3 { font-size: 1.2rem; }
.course-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.course-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; margin-bottom: 18px; }
.course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-meta svg { width: 16px; height: 16px; color: var(--blue); }

.feature-card { text-align: left; padding: 30px; }
.feature-icon {
  width: 62px; height: 62px; border-radius: 20px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  background: var(--sky); color: var(--blue);
}
.feature-icon.yellow { background: var(--yellow-soft); color: #D49100; }
.feature-icon.green { background: #E7F8F0; color: var(--green); }
.feature-icon svg { width: 30px; height: 30px; }
.feature-card h3 { font-size: 1.3rem; }

.benefit-card { display: flex; gap: 18px; align-items: flex-start; padding: 28px; }
.benefit-card .feature-icon { flex-shrink: 0; margin: 0; }
.benefit-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.benefit-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.impact-panel {
  background: linear-gradient(135deg, var(--navy) 0%, #1D5CA8 100%);
  border-radius: 36px;
  padding: clamp(30px, 5vw, 58px);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.impact-panel::before {
  content: ""; position: absolute; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255,201,40,.13); right: -80px; top: -90px;
}
.impact-panel h2 { color: #fff; }
.impact-panel p { color: rgba(255,255,255,.82); }
.impact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.impact-item { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: .95rem; }
.impact-item span { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.14); color: var(--yellow); }
.impact-item svg { width: 20px; height: 20px; }
.impact-art { position: relative; z-index: 1; }
.impact-art img { border-radius: 28px; width: 100%; box-shadow: 0 22px 50px rgba(0,0,0,.22); }

.testimonial-track { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; transition: transform .45s var(--ease); }
.testimonial-card { padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.quote-mark { font-family: Georgia, serif; font-size: 3rem; line-height: .7; color: var(--yellow); }
.testimonial-card p { color: var(--text); font-size: .95rem; }
.carousel-controls { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff; color: var(--navy);
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.carousel-btn:hover { background: var(--yellow); transform: scale(1.06); }
.carousel-btn svg { width: 18px; height: 18px; }

/* ---------------- Device CTA ---------------- */

.device-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #123B75 0%, #1689E8 100%);
  color: #fff;
  border-radius: 36px;
  padding: clamp(34px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}
.device-cta::before { content:""; position:absolute; width:300px; height:300px; border-radius:50%; background:rgba(255,201,40,.14); left:-120px; bottom:-140px; }
.device-cta h2 { color: #fff; }
.device-cta p { color: rgba(255,255,255,.85); }
.device-cta .btn-outline-white:hover { color: var(--navy); }
.device-mockups { display: flex; align-items: flex-end; justify-content: center; gap: 16px; position: relative; z-index: 1; }
.device {
  background: #fff; border: 7px solid rgba(255,255,255,.9);
  box-shadow: 0 20px 45px rgba(0,0,0,.2);
  overflow: hidden;
}
.device-laptop { width: 52%; border-radius: 12px 12px 4px 4px; }
.device-laptop .screen { aspect-ratio: 16 / 10; }
.device-tablet { width: 30%; border-radius: 14px; }
.device-tablet .screen { aspect-ratio: 3 / 4; }
.device-phone { width: 18%; border-radius: 16px; border-width: 5px; }
.device-phone .screen { aspect-ratio: 9 / 16; }
.screen {
  background: linear-gradient(160deg, var(--sky) 0%, #fff 55%, var(--yellow-soft) 100%);
  padding: 12px 10px;
  display: flex; flex-direction: column; gap: 7px;
}
.screen-line { height: 7px; border-radius: 5px; background: rgba(18,59,117,.14); }
.screen-line.short { width: 60%; }
.screen-line.yellow { background: var(--yellow); width: 45%; }
.screen-block { flex: 1; border-radius: 8px; background: rgba(22,137,232,.16); min-height: 24px; }

/* ---------------- Page hero (inner pages) ---------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 96px) 0;
  background: linear-gradient(180deg, var(--sky-soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: ""; position: absolute; right: -90px; top: -110px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,201,40,.2); pointer-events: none;
}
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: center; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.page-hero p { font-size: 1.08rem; color: var(--muted); max-width: 620px; }
.page-hero img.hero-photo { width: 100%; border-radius: 30px; box-shadow: var(--shadow); aspect-ratio: 1.35; object-fit: cover; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue-dark); }
.breadcrumbs span[aria-current] { color: var(--navy); font-weight: 700; }

/* ---------------- Content layouts ---------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-weight: 600; }
.check-list svg { flex-shrink: 0; width: 24px; height: 24px; color: var(--green); margin-top: 2px; }

.story-block { max-width: 760px; margin: 0 auto; }
.story-block h2, .story-block h3 { text-align: left; }
.story-block p { color: var(--muted); }

.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission-card { padding: 32px; }
.mission-card h3 { font-size: 1.35rem; }
.mission-card p { color: var(--muted); margin: 0; }

.value-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: var(--navy); border-radius: 30px; padding: 34px;
  color: #fff;
}
.value-strip h3 { color: var(--yellow); font-size: 1.1rem; }
.value-strip p { color: rgba(255,255,255,.8); font-size: .9rem; margin: 0; }

.stats-section { padding: 0 0 28px; }
.stats-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 172px; padding: 28px 20px; text-align: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.stat-item:hover {
  transform: translateY(-6px);
  border-color: var(--sky);
  box-shadow: var(--shadow);
}
.stat-item strong {
  display: block; color: var(--blue-dark);
  font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1;
}
.stat-item h3 { margin: 10px 0 4px; font-size: 1rem; color: var(--navy); }
.stat-item p { margin: 0; color: var(--muted); font-size: .86rem; }

.guide-steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.guide-step { padding: 30px; position: relative; }
.guide-step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 16px;
  background: var(--yellow); color: var(--navy);
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.2rem;
  margin-bottom: 16px;
}
.guide-step h3 { font-size: 1.2rem; }

/* ---------------- Filters, search, sorting ---------------- */

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 18px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.filter-btn {
  border: 2px solid transparent; background: var(--soft);
  color: var(--navy); border-radius: 999px;
  padding: 9px 16px; font-weight: 700; font-size: .86rem;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn:hover { background: var(--sky); }
.filter-btn.is-active { background: var(--navy); color: #fff; }
.filter-search { position: relative; flex: 1 1 240px; }
.filter-search input, .filter-search select {
  width: 100%; padding: 12px 16px 12px 42px;
  border: 2px solid var(--line); border-radius: 14px; background: #fff;
  color: var(--text);
}
.filter-search select { padding-left: 16px; }
.filter-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.filter-count { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); }

.blog-card .card-body { display: flex; flex-direction: column; }
.blog-card h3 { font-size: 1.22rem; }
.blog-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .8rem; margin: 14px 0 18px; }
.blog-media { height: 215px; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-media img { transform: scale(1.06); }

/* ---------------- FAQ accordion ---------------- */

.faq-list { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%; border: 0; background: transparent;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; text-align: left;
  font-weight: 700; color: var(--navy); font-size: 1rem;
}
.faq-question:hover { background: var(--sky-soft); }
.faq-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; color: var(--blue-dark); transition: transform .3s var(--ease), background .3s; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--yellow); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item.is-open .faq-answer { max-height: 600px; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.faq-category-title { text-align: center; margin: 46px 0 22px; font-size: 1.5rem; }

/* ---------------- Forms ---------------- */

.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 28px; padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--navy); }
.field label .required { color: #D64545; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 2px solid var(--line); border-radius: 13px;
  background: var(--soft); color: var(--text);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; outline: none; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #D64545; }
.field-error { color: #B43232; font-size: .8rem; min-height: 0; }
.form-note { color: var(--muted); font-size: .86rem; margin-top: 16px; }
.form-message { margin-top: 18px; padding: 14px 18px; border-radius: 13px; font-weight: 700; display: none; }
.form-message.is-visible { display: block; }
.form-message.success { background: #E7F8F0; color: #207457; }
.form-message.error { background: #FDECEC; color: #B43232; }

.newsletter-inner {
  background: linear-gradient(120deg, #0B2852 0%, #123B75 55%, #1E6CB8 100%);
  border-radius: 34px; padding: clamp(32px, 5vw, 60px);
  color: #fff; display: grid; grid-template-columns: 1fr .9fr; gap: 36px; align-items: center;
  position: relative; overflow: hidden;
}
.newsletter-inner::before { content:""; position:absolute; width:240px; height:240px; border-radius:50%; background:rgba(255,201,40,.14); right:-70px; top:-100px; }
.newsletter-inner h2 { color: #fff; }
.newsletter-inner p { color: rgba(255,255,255,.8); }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input { flex: 1 1 220px; padding: 14px 18px; border: 0; border-radius: 999px; }
.newsletter-form .btn { flex-shrink: 0; }

.contact-option {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  height: 100%;
}
.contact-option .feature-icon { width: 50px; height: 50px; border-radius: 15px; margin: 0; }
.contact-option h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-option p { margin: 0; font-size: .92rem; color: var(--muted); word-break: break-word; }

/* ---------------- Article ---------------- */

.article-wrap { max-width: 820px; margin-inline: auto; }
.article-header { text-align: center; margin-bottom: 34px; }
.article-header h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; color: var(--muted); font-size: .88rem; }
.author-chip { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-family: "Baloo 2", sans-serif; color: var(--navy); font-weight: 800; }
.article-hero { width: 100%; border-radius: 26px; box-shadow: var(--shadow); margin-bottom: 36px; }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: 22px; padding: 26px 30px; margin-bottom: 40px; }
.toc h2 { font-size: 1.25rem; margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 22px; }
.toc a { color: var(--navy); font-weight: 600; }
.article-body { font-size: 1.04rem; }
.article-body h2 { margin-top: 46px; font-size: 2rem; }
.article-body h3 { margin-top: 30px; font-size: 1.4rem; }
.article-body p, .article-body li { color: #3C4A5E; }
.article-body img { border-radius: 20px; width: 100%; margin: 28px 0; box-shadow: var(--shadow-sm); }
.article-callout { background: var(--sky-soft); border-left: 5px solid var(--blue); border-radius: 16px; padding: 22px 26px; margin: 28px 0; }
.article-callout p:last-child { margin-bottom: 0; }
.resources-box { background: var(--yellow-soft); border-radius: 22px; padding: 26px 30px; margin: 34px 0; }
.resources-box h2 { font-size: 1.3rem; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--soft); color: var(--navy); font-weight: 700; font-size: .86rem; }
.share-btn:hover { background: var(--sky); }

/* ---------------- Policy pages ---------------- */

.policy-wrap { max-width: 860px; margin-inline: auto; }
.policy-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.policy-card h2 { font-size: 1.6rem; }
.policy-card p, .policy-card li { color: var(--muted); }
.review-badge { display: inline-block; background: #FFF0E8; color: #9A4B20; border-radius: 999px; padding: 4px 10px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-left: 8px; }
.effective-note { background: var(--yellow-soft); border-radius: 16px; padding: 18px 22px; margin-bottom: 28px; color: #6B5200; }

/* ---------------- Sticky mobile enquiry ---------------- */

.sticky-enquiry {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(18,59,117,.1);
}
.sticky-enquiry .btn { width: 100%; }

/* ---------------- WhatsApp ---------------- */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.4);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.whatsapp-float:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 18px 38px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 31px; height: 31px; fill: currentColor; }
.whatsapp-float .wa-pulse {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.5);
  animation: waPulse 2.6s ease-out infinite;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.78);
  position: relative;
  overflow: hidden;
  padding: 78px 0 0;
}
.site-footer::before { content:""; position:absolute; width:420px; height:420px; border-radius:50%; background:rgba(22,137,232,.14); left:-180px; top:-180px; }
.site-footer::after { content:""; position:absolute; width:280px; height:280px; border-radius:50%; background:rgba(255,201,40,.08); right:-100px; bottom:-120px; }
.footer-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 56px;
}
.footer-logo {
  display: inline-block;
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.footer-logo img {
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
}
.footer-brand p { font-size: .92rem; }
.footer-col h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255,255,255,.76); font-size: .9rem; }
.footer-col a:hover { color: var(--yellow); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.09); color: #fff;
  display: grid; place-items: center;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.footer-socials a:hover { background: var(--yellow); color: var(--navy); transform: translateY(-2px); }
.footer-socials svg { width: 19px; height: 19px; }
.footer-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0 30px;
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  font-size: .85rem;
}
.back-to-top {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--navy);
  border: 0; border-radius: 999px; padding: 9px 16px;
  font-weight: 700; font-size: .82rem;
}
.back-to-top:hover { background: #ffd44f; color: var(--navy); }
.back-to-top svg { width: 15px; height: 15px; }

/* ---------------- Utilities ---------------- */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px;
  border-radius: 0 0 12px 12px; font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-30 { margin-top: 30px; }
.text-center { text-align: center; }
.hide { display: none !important; }

/* ---------------- Skeleton while components load ---------------- */

.component-loading { min-height: var(--header-h); }
