/* =========================================================
   Kamal Hossain Coaching Centre — Global Styles
   ========================================================= */

:root {
  /* Brand palette derived from logo */
  --green-900: #0b3d22;
  --green-800: #0f5132;
  --green-700: #1b6f3d;
  --green-600: #2a8c50;
  --green-50:  #e8f4ee;

  --orange-600: #e1751b;
  --orange-500: #ef8c2e;
  --orange-400: #f4a64a;
  --orange-100: #fde8d0;

  --yellow-500: #f4c842;
  --yellow-100: #fff3c4;

  --ink-900: #1a1a1a;
  --ink-700: #333333;
  --ink-500: #5a5a5a;
  --ink-300: #9a9a9a;
  --ink-100: #e6e6e6;

  --cream:    #fffbf2;
  --paper:    #ffffff;
  --bg-soft:  #f7f4ea;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 6px rgba(15, 81, 50, 0.06);
  --shadow:    0 8px 24px rgba(15, 81, 50, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 81, 50, 0.18);

  --container: 1200px;

  --font-en: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-bn: 'Hind Siliguri', 'Noto Sans Bengali', 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Allow long Bengali strings and similar to wrap properly without forcing mid-word breaks in English copy */
.bn, .hero__bn { overflow-wrap: anywhere; word-break: normal; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--orange-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-en);
  color: var(--green-900);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.7rem, 2.5vw + .5rem, 2.4rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { color: var(--ink-700); }

.bn { font-family: var(--font-bn); font-weight: 500; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--cream); }
.section--dark {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.85); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { margin-top: 14px; color: var(--ink-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 8px 20px rgba(225, 117, 27, 0.35);
}
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(225, 117, 27, 0.45); }

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn--ghost:hover { background: rgba(255,255,255,.22); }

.btn--outline {
  background: transparent;
  color: var(--green-800);
  border: 1.5px solid var(--green-800);
}
.btn--outline:hover { background: var(--green-800); color: #fff; }

.btn--green {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 81, 50, 0.25);
}
.btn--green:hover { background: var(--green-800); transform: translateY(-2px); }

.btn--block { width: 100%; justify-content: center; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--green-900);
  color: #d8e5dd;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--yellow-500); }
.topbar__list {
  display: flex; flex-wrap: wrap; gap: 18px;
}
.topbar__list li {
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- Header & Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(15,81,50,0.08);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.brand__logo {
  width: 54px; height: 54px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
.brand__name {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--green-800);
  line-height: 1.1;
}
.brand__tag {
  font-size: 0.75rem;
  color: var(--orange-600);
  font-weight: 600;
  letter-spacing: .04em;
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav__link {
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-700);
  border-radius: 10px;
  position: relative;
}
.nav__link:hover { color: var(--green-800); background: var(--green-50); }
.nav__link.is-active {
  color: var(--green-800);
  font-weight: 700;
}
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 3px; border-radius: 2px;
  background: var(--orange-500);
}

.nav__cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--ink-100);
  color: var(--green-800);
  align-items: center; justify-content: center;
  flex-shrink: 0;
  background: #fff;
}
.nav-toggle:hover { background: var(--green-50); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-bars  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }


/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background:
    radial-gradient(circle at top right, rgba(244, 200, 66, 0.18), transparent 60%),
    radial-gradient(circle at bottom left, rgba(15, 81, 50, 0.06), transparent 60%),
    var(--cream);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px;
}
.hero__copy { max-width: 620px; }
.hero h1 { font-weight: 800; }
.hero__sub {
  font-size: 1.1rem;
  color: var(--ink-700);
  margin: 18px 0 8px;
}
.hero__bn {
  font-family: var(--font-bn);
  font-size: 1.1rem;
  color: var(--green-800);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 8px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px dashed rgba(15, 81, 50, 0.18);
}
.hero__stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green-800);
}
.hero__stat span {
  font-size: 0.85rem;
  color: var(--ink-500);
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  bottom: 18px; left: 18px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.96);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-800);
}
.hero__badge i {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--orange-100);
  color: var(--orange-600);
  border-radius: 10px;
  font-style: normal; font-weight: 800;
}
.hero__sticker {
  position: absolute;
  top: 22px; right: 22px;
  background: var(--green-700);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: #fff;
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(244, 200, 66, 0.35), transparent 60%);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); margin-top: 12px; font-size: 1.05rem; max-width: 720px; }
.crumb {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* ---------- Marquee / quick info strip ---------- */
.strip {
  background: var(--green-800);
  color: #fff;
  padding: 14px 0;
}
.strip__inner {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-around; align-items: center;
  font-size: 0.95rem;
}
.strip__item {
  display: inline-flex; align-items: center; gap: 10px;
}
.strip__item i {
  font-style: normal;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  font-weight: 700;
}

/* ---------- Card grid (Features / Why us) ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid rgba(15, 81, 50, 0.06);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(15, 81, 50, 0.15);
}
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--green-50);
  color: var(--green-800);
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card__icon--orange {
  background: var(--orange-100);
  color: var(--orange-600);
}
.card__icon--yellow {
  background: var(--yellow-100);
  color: var(--orange-600);
}
.card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.card p { color: var(--ink-500); font-size: 0.95rem; }

/* ---------- TET booklet showcase — image-only gallery ---------- */
.booklets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.booklet {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
}
.booklet:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.booklet img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}
.booklet:hover img { transform: scale(1.03); }
.booklet::after {
  content: '🔍';
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(11, 61, 34, 0.85);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.booklet:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Course cards ---------- */
.course-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 81, 50, 0.08);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-card__top {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: #fff;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
.course-card__top::after {
  content: '';
  position: absolute;
  right: -30px; bottom: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(244, 200, 66, 0.4), transparent 65%);
}
.course-card__tag {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  padding: 4px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 10px;
}
.course-card__title { color: #fff; font-size: 1.3rem; }
.course-card__bn {
  font-family: var(--font-bn);
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
}
.course-card__body {
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1;
}
.course-card__features {
  display: flex; flex-direction: column; gap: 8px;
}
.course-card__features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.93rem; color: var(--ink-500);
}
.course-card__features li::before {
  content: '✓';
  color: var(--green-700);
  font-weight: 800;
  flex-shrink: 0;
}
.course-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px dashed rgba(15, 81, 50, 0.15);
  background: var(--bg-soft);
}
.course-card__price {
  font-weight: 800; color: var(--green-800);
}
.course-card__price small { font-weight: 500; color: var(--ink-500); font-size: .8rem; }

/* ---------- About preview ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-preview__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about-preview__visual img { width: 100%; height: 100%; object-fit: cover; }
.about-preview__chip {
  position: absolute;
  bottom: -22px; right: -22px;
  background: var(--orange-500);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: .85rem;
  font-weight: 600;
}
.about-preview__chip strong { display: block; font-size: 1.8rem; font-weight: 800; }
.about-preview h2 { margin-bottom: 16px; }
.about-preview ul {
  margin: 20px 0;
  display: grid; gap: 10px;
}
.about-preview ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-weight: 500;
  color: var(--ink-700);
}
.about-preview ul li::before {
  content: '✓';
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(6) { grid-column: span 2; }

.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 61, 34, 0.55));
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery__item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(11, 61, 34, 0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 30px;
  z-index: 100;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 85vh;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.4rem;
  display: grid; place-items: center;
}
.lightbox__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.5rem;
}
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

/* ---------- Testimonials / press ---------- */
.press-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.press-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--orange-500);
}
.press-card__source {
  font-family: var(--font-bn);
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 10px;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-weight: 600;
}
.press-card blockquote {
  font-family: var(--font-bn);
  font-size: 1.05rem;
  color: var(--green-800);
  line-height: 1.5;
  font-weight: 500;
}

/* ---------- Awards section ---------- */
.awards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.award {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease;
}
.award:hover { transform: translateY(-6px); }
.award__img {
  aspect-ratio: 4/5;
  overflow: hidden;
}
.award__img img { width: 100%; height: 100%; object-fit: cover; }
.award__body {
  padding: 16px 18px;
}
.award__body strong { color: var(--green-800); display: block; margin-bottom: 4px; }
.award__body span  { font-size: 0.85rem; color: var(--ink-500); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(circle at 80% 20%, rgba(244, 200, 66, 0.25), transparent 50%),
    linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: var(--radius-xl);
  padding: 60px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 14px auto 26px; max-width: 580px; }
.cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.contact-card {
  background: #fff;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 81, 50, 0.08);
}
.contact-card i {
  width: 42px; height: 42px;
  background: var(--green-50);
  color: var(--green-800);
  display: grid; place-items: center;
  border-radius: 10px;
  font-style: normal;
  margin-bottom: 10px;
  font-weight: 700;
}
.contact-card strong { display: block; color: var(--green-800); margin-bottom: 6px; }
.contact-card p { font-size: 0.95rem; color: var(--ink-500); line-height: 1.5; }
.contact-card a { color: var(--ink-700); }
.contact-card a:hover { color: var(--orange-600); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 81, 50, 0.08);
  background: var(--bg-soft);
}
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.78);
  padding-top: 70px;
}
.footer a:hover { color: var(--yellow-500); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.footer__about p { line-height: 1.7; }
.footer__brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.footer__brand img {
  width: 50px; height: 50px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}
.footer__brand strong { color: #fff; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { color: rgba(255,255,255,0.78); }
.footer__contact li {
  display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.93rem;
}
.footer__contact i {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  flex-shrink: 0;
  font-style: normal;
}
.footer__socials { display: flex; gap: 10px; margin-top: 16px; }
.footer__socials a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.footer__socials a:hover { background: var(--orange-500); transform: translateY(-2px); color: #fff; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; flex-wrap: wrap; gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Animations on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 992px) {
  .hero { padding: 60px 0 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 480px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .booklets { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item:nth-child(1) { grid-column: span 2; }
  .gallery__item:nth-child(6) { grid-column: span 2; }
  .about-preview { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .awards { grid-template-columns: repeat(2, 1fr); }
  .press-list { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  /* Topbar — compact single-line on mobile */
  .topbar { padding: 7px 0; font-size: 0.78rem; }
  .topbar__inner { justify-content: center; gap: 10px; }
  .topbar__list { gap: 14px; }
  .topbar__hide-mobile { display: none !important; }

  /* Header — slimmer */
  .header__inner { padding: 10px 0; gap: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand__logo { width: 42px; height: 42px; padding: 3px; }
  .brand__name { font-size: 0.88rem; line-height: 1.15; }
  .brand__tag { display: none; }

  /* Hamburger button visible */
  .nav-toggle { display: inline-flex; }

  /* Mobile menu — slide-in side panel */
  .nav {
    position: fixed;
    top: 0; bottom: 0; right: 0;
    width: min(86vw, 340px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    box-shadow: -10px 0 40px rgba(11, 61, 34, 0.18);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .32s;
    will-change: transform;
    z-index: 60;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
  }
  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .32s cubic-bezier(.4, 0, .2, 1), visibility 0s linear 0s;
  }

  /* Menu header inside panel */
  .nav__head {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 18px 18px 20px;
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: #fff;
    margin-bottom: 8px;
    position: relative;
  }
  .nav__head img {
    width: 44px; height: 44px;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    object-fit: contain;
    flex-shrink: 0;
  }
  .nav__head strong { display: block; color: #fff; font-size: 0.95rem; line-height: 1.2; }
  .nav__head span  { display: block; color: rgba(255,255,255,0.78); font-size: 0.72rem; margin-top: 2px; }

  /* Close button inside menu header */
  .nav__close {
    position: absolute;
    top: 10px; right: 10px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background .2s ease;
    border: 0;
    cursor: pointer;
  }
  .nav__close:hover, .nav__close:focus-visible {
    background: rgba(255,255,255,0.28);
  }
  .nav__close svg { width: 18px; height: 18px; }

  /* Nav links — large touch targets */
  .nav__link {
    padding: 16px 20px;
    font-size: 1.02rem;
    font-weight: 500;
    border-radius: 0;
    border-bottom: 1px solid rgba(15, 81, 50, 0.06);
    color: var(--ink-700);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav__link:hover { background: var(--green-50); color: var(--green-800); }
  .nav__link::after { content: '›'; color: var(--ink-300); font-size: 1.2rem; transition: color .15s; }
  .nav__link:hover::after { color: var(--green-700); }
  .nav__link.is-active {
    background: var(--green-50);
    color: var(--green-800);
    font-weight: 700;
    border-left: 3px solid var(--orange-500);
    padding-left: 17px;
  }
  .nav__link.is-active::after { display: none; }

  /* CTA in menu */
  .nav__cta {
    margin: 18px 20px 0;
    justify-content: center;
    width: calc(100% - 40px);
  }

  /* Contact block in menu footer */
  .nav__footer {
    display: block !important;
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid rgba(15, 81, 50, 0.08);
    background: var(--bg-soft);
  }
  .nav__footer-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-500);
    font-weight: 700;
    margin-bottom: 10px;
  }
  .nav__footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--green-800);
    font-weight: 600;
    font-size: 0.95rem;
  }
  .nav__footer a:hover { color: var(--orange-600); }
  .nav__footer a i {
    width: 32px; height: 32px;
    background: var(--green-50);
    color: var(--green-800);
    border-radius: 8px;
    display: grid; place-items: center;
    font-style: normal;
    flex-shrink: 0;
  }

  /* Hero — mobile sizing */
  .hero { padding: 50px 0 70px; }
  .hero h1 { font-size: 1.85rem; line-height: 1.18; }
  .hero__sub { font-size: 1rem; margin: 14px 0 6px; }
  .hero__bn { font-size: 1rem; margin-bottom: 18px; }
  .hero__cta { flex-direction: column; gap: 10px; }
  .hero__cta .btn { width: 100%; justify-content: center; padding: 13px 18px; font-size: 0.95rem; }
  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 28px;
    padding-top: 22px;
  }
  .hero__stat strong { font-size: 1.35rem; }
  .hero__stat span { font-size: 0.72rem; line-height: 1.3; }
  .hero__sticker { font-size: 0.7rem; padding: 8px 12px; top: 14px; right: 14px; }
  .hero__badge { font-size: 0.78rem; padding: 10px 14px; bottom: 14px; left: 14px; }
  .hero__badge i { width: 30px; height: 30px; }

  /* Page hero on inner pages */
  .page-hero { padding: 56px 0 50px; }
  .page-hero h1 { font-size: 1.85rem; }
  .page-hero p { font-size: 0.95rem; }

  /* Section heads */
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 0.95rem; }

  /* Grids */
  .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 22px; }

  /* Course cards */
  .course-card__title { font-size: 1.15rem; }

  /* Booklets */
  .booklets { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .booklet::after { width: 32px; height: 32px; bottom: 8px; right: 8px; }

  /* Awards / press / gallery */
  .awards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .award__body { padding: 12px 14px; }
  .award__body strong { font-size: 0.95rem; }
  .award__body span  { font-size: 0.78rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 10px; }

  /* Cards & misc */
  .contact-cards { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 22px; }
  .cta-banner h2 { font-size: 1.4rem; }
  .cta-banner p { font-size: 0.95rem; }

  /* Strip */
  .strip { padding: 12px 0; }
  .strip__inner { gap: 14px; font-size: 0.85rem; flex-direction: column; align-items: flex-start; padding: 0 4px; }

  /* Footer */
  .footer { padding-top: 50px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 32px; }
  .footer__bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 0.78rem; }

}

/* Hide mobile-menu-only pieces on desktop */
.nav__head, .nav__footer { display: none; }

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .awards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
