:root {
  --navy: #0b1f3a;
  --navy-2: #17365f;
  --gold: #d4af37;
  --gold-2: #f3d46b;
  --green: #2e8b57;
  --green-2: #dff2e8;
  --white: #ffffff;
  --gray: #f5f7fa;
  --line: #dfe7f0;
  --text: #243044;
  --muted: #66768c;
  --shadow: 0 18px 45px rgba(11, 31, 58, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.96), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 10% 10%, rgba(46, 139, 87, 0.08), transparent 30%);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin: 0 0 1rem;
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  margin: 0 0 2rem;
}

.section-stack {
  margin-top: 1.5rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.breadcrumb {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
}

.topbar-row {
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar-links,
.topbar-socials,
.topbar span,
.topbar a,
.footer-socials a,
.contact-list p,
.contact-strip-grid div {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar svg,
.footer-socials svg,
.contact-list svg,
.contact-strip svg {
  width: 17px;
  height: 17px;
}

.topbar-links,
.topbar-socials {
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a {
  color: rgba(255, 255, 255, 0.9);
}

.topbar a:hover {
  color: var(--gold-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  backdrop-filter: blur(16px);
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 260px;
}

.brand-logo,
.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 0.22rem;
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.16);
}

.brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy);
  font-weight: 900;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 1.02rem;
  color: var(--navy);
  white-space: nowrap;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.mobile-nav-drawer {
  display: none;
}

.desktop-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.desktop-nav-links a,
.desktop-nav-links .dropdown-toggle {
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 800;
  padding: 0.4rem 0.08rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-links a,
.dropdown-toggle {
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 800;
  padding: 0.4rem 0.08rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

.nav-link-icon svg {
  width: 16px;
  height: 16px;
}

.nav-link-text {
  display: inline-block;
}

.dropdown {
  position: relative;
}

.dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.45rem;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle svg,
.dropdown:focus-within .dropdown-toggle svg,
.dropdown.open .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  display: none;
  z-index: 1200;
  margin-top: 0.35rem;
  padding: 0.45rem;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.dropdown-menu a {
  display: block;
  padding: 0.62rem 0.7rem;
  border-radius: 6px;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--gray);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: grid;
  gap: 0.1rem;
}

.nav-links a:not(.btn)::after,
.dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.dropdown-toggle:hover::after,
.dropdown-toggle:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.75rem 1rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--white);
}

.btn,
.btn-secondary,
.btn-outline,
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.78rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn-secondary:hover,
.btn-outline:hover,
.btn-outline-light:hover {
  transform: translateY(-2px);
}

.btn {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 12px 26px rgba(212, 175, 55, 0.28);
}

.btn-secondary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(46, 139, 87, 0.2);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline.dark {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: calc(100vh - 122px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 31, 58, 0.96), rgba(11, 31, 58, 0.78), rgba(46, 139, 87, 0.38)),
    var(--hero-image, url('../images/hero.svg')) center/cover no-repeat;
}

.hero-logo-badge {
  width: 210px;
  height: 210px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 45px rgba(11, 31, 58, 0.24);
  padding: 1rem;
}

.hero-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(11, 31, 58, 0.36), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: 2.2rem;
  padding: 4.5rem 0;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  margin: 0 0 1rem;
  max-width: 760px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.16rem;
  max-width: 650px;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.compact-actions {
  margin-top: 1rem;
}

.hero-visual {
  display: grid;
  gap: 0.9rem;
}

.hero-visual img,
.image-panel img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 0.85rem;
  text-align: center;
}

.hero-stat strong {
  display: block;
  color: var(--green);
  font-family: 'Poppins', sans-serif;
  font-size: 1.12rem;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.split-feature,
.page-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 2rem;
  align-items: center;
}

.intro-block {
  max-width: 860px;
}

.grid {
  display: grid;
  gap: 1.15rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.panel,
.benefit-card,
.program-card,
.media-card,
.testimonial-card,
.faq-card,
.timeline-item {
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.benefit-card,
.program-card,
.testimonial-card,
.faq-card,
.timeline-item {
  padding: 1.35rem;
}

.card h3,
.benefit-card h3,
.program-card h3,
.media-card h3,
.news-card h3,
.testimonial-card h2 {
  margin: 0.6rem 0 0.55rem;
}

.card p:last-child,
.benefit-card p:last-child,
.program-card p:last-child,
.media-card p:last-child,
.news-card p:last-child,
.testimonial-card p:last-child {
  margin-bottom: 0;
}

.benefit-grid,
.program-grid,
.gallery-grid,
.news-grid,
.metrics,
.contact-strip-grid {
  display: grid;
  gap: 1rem;
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-grid,
.news-grid,
.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-badge {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--green-2);
  color: var(--green);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.76rem;
  border-radius: var(--radius);
  background: #eef3f8;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.92rem;
}

.list {
  color: var(--muted);
  padding-left: 1.2rem;
}

.metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.metric {
  background: linear-gradient(135deg, #fff8e2, #ffffff);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius);
  padding: 1.3rem;
  text-align: center;
}

.metric strong {
  display: block;
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
}

.metric span {
  color: var(--muted);
  font-weight: 800;
}

.program-card {
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.program-card span,
.news-tag {
  display: inline-flex;
  color: var(--green);
  font-weight: 900;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.learning-area-section,
.co-curricular-section {
  padding: 1.6rem;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.learning-area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.learning-area-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.learning-area-card h3 {
  margin: 0 0 0.7rem;
}

.learning-area-card .chip-row {
  margin: 0;
}

.activity-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.activity-cloud span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.78rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  font-size: 0.92rem;
}

.inclusive-band {
  background: linear-gradient(135deg, #ffffff 0%, #eef8f2 100%);
}

.media-card {
  overflow: hidden;
}

.media-card img,
.news-card img,
.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.media-card div {
  padding: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  cursor: pointer;
  background: var(--navy);
}

.gallery-item img {
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.82;
}

.gallery-item figcaption {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-weight: 900;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.news-card {
  overflow: hidden;
}

.news-body {
  padding: 1rem 1.1rem 1.2rem;
}

.news-body a {
  color: var(--green);
  font-weight: 900;
}

.testimonial-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.admissions-section {
  padding-top: 1rem;
}

.admissions-spotlight,
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 2rem;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
}

.admissions-spotlight h2,
.cta h2 {
  color: var(--white);
  margin: 0 0 0.5rem;
}

.admissions-spotlight p,
.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.admissions-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-strip {
  padding: 1.5rem 0 4rem;
}

.contact-strip-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-strip-grid div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(11, 31, 58, 0.96), rgba(46, 139, 87, 0.88)),
    url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 4.4rem 0 3.6rem;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin: 0.2rem 0 0.7rem;
}

.page-hero p:not(.breadcrumb) {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.page-content {
  padding: 4rem 0 5rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-item span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}

.fee-section {
  padding: 1.6rem;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 248, 226, 0.72), rgba(255, 255, 255, 0.96)),
    var(--white);
  box-shadow: var(--shadow);
}

.fee-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.fee-download-panel {
  display: grid;
  gap: 0.7rem;
  justify-items: end;
}

.fee-download-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.fee-select {
  min-width: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  background: var(--white);
  color: var(--text);
}

.fee-download-success {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(46, 139, 87, 0.22);
  border-radius: var(--radius);
  background: #f2fbf4;
  color: var(--navy);
}

.fee-header h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
}

.fee-header p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
}

.fee-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.fee-includes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.4rem 0;
}

.fee-includes span {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.85rem;
  border: 1px solid rgba(46, 139, 87, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  font-weight: 800;
}

.fee-includes svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--green);
  margin-top: 0.18rem;
}

.fee-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.fee-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.fee-table th,
.fee-table td {
  padding: 0.86rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.fee-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
}

.fee-table tbody th {
  color: var(--navy);
  font-weight: 900;
}

.fee-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.fee-table tbody tr:last-child th,
.fee-table tbody tr:last-child td {
  border-bottom: 0;
}

.fee-notes {
  margin-top: 1rem;
}

.fee-value-card {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}

.fee-value-card h3 {
  color: var(--gold-2);
  margin: 0 0 0.6rem;
}

.fee-value-card p {
  margin: 0;
}

.admission-form-section {
  padding: 1.6rem;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-heading h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
}

.form-heading p:last-child {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.form-alert {
  margin: 0 0 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
}

.form-alert.success {
  background: #ecfdf3;
  border-color: rgba(46, 139, 87, 0.25);
  color: #17633c;
}

.form-alert.error {
  background: #fff4f0;
  border-color: rgba(177, 54, 26, 0.25);
  color: #9b2f18;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-list {
  display: grid;
  gap: 0.55rem;
}

.contact-list p {
  margin: 0;
  align-items: flex-start;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--navy);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.newsletter input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.82rem 0.9rem;
  color: var(--text);
  background: var(--white);
}

.contact-form textarea {
  min-height: 138px;
  resize: vertical;
}

body.modal-open {
  overflow: hidden;
}

.admission-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(11, 31, 58, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.admission-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.admission-modal {
  width: min(880px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  padding: 1.4rem;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 26px 60px rgba(11, 31, 58, 0.26);
  position: relative;
}

.admission-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--gray);
  color: var(--navy);
  font-size: 1.45rem;
  cursor: pointer;
}

.map-embed {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-top: 1.2rem;
}

.map-embed iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}

.faq-modern-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1rem;
  align-items: center;
  padding: 2rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.98), rgba(23, 54, 95, 0.92));
  box-shadow: var(--shadow);
}

.faq-hero-copy h2 {
  color: var(--white);
  margin: 0 0 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.faq-hero-copy p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  max-width: 700px;
}

.faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.faq-modern-shell {
  margin-top: 1.5rem;
}

.faq-modern-list {
  display: grid;
  gap: 0.9rem;
}

.modern-faq-card {
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(11, 31, 58, 0.08);
  overflow: hidden;
}

.modern-faq-card summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  list-style: none;
}

.modern-faq-card summary::-webkit-details-marker {
  display: none;
}

.modern-faq-card summary svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--green);
  transition: transform 0.2s ease;
}

.modern-faq-card[open] summary {
  border-bottom: 1px solid var(--line);
}

.modern-faq-card[open] summary svg {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  gap: 0.9rem;
  padding: 0 1.2rem 1.15rem;
}

.faq-answer p {
  color: var(--muted);
  margin: 0;
  max-width: 920px;
}

.faq-answer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.faq-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--gray);
  color: var(--navy);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.08);
}

.faq-action-btn.primary {
  background: linear-gradient(135deg, var(--green), #3ca76b);
  color: var(--white);
  border-color: transparent;
}

.faq-action-btn.secondary {
  background: var(--navy);
  color: var(--white);
  border-color: transparent;
}

.site-footer {
  background: linear-gradient(135deg, var(--navy), #142f52);
  color: rgba(255, 255, 255, 0.9);
  padding: 3.2rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  color: var(--gold-2);
  margin: 0 0 0.8rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand p {
  max-width: 310px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links,
.footer-contact,
.footer-socials {
  display: grid;
  gap: 0.45rem;
}

.footer-links a,
.footer-contact a,
.footer-socials a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-socials a:hover,
.footer-bottom a:hover {
  color: var(--gold-2);
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.74);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.back-to-top.visible {
  display: grid;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 1.5rem;
  background: rgba(11, 31, 58, 0.88);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(100%, 1000px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .navbar {
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  .nav-links {
    gap: 0.52rem;
  }
}

@media (max-width: 920px) {
  .hero-inner,
  .split-feature,
  .page-lead,
  .faq-overview,
  .faq-quick-grid,
  .grid-2,
  .grid-3,
  .learning-area-grid,
  .benefit-grid,
  .program-grid,
  .gallery-grid,
  .news-grid,
  .metrics,
  .timeline,
  .contact-strip-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual img,
  .image-panel img {
    height: 320px;
  }

  .hero-logo-badge {
    width: 170px;
    height: 170px;
  }

  .admissions-spotlight,
  .cta,
  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .topbar-row,
  .topbar-links {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.45rem 0;
    gap: 0.35rem;
  }

  .topbar-socials {
    display: none;
  }

  .navbar {
    min-height: 74px;
    align-items: center;
  }

  .brand {
    min-width: 0;
  }

  .brand-text strong {
    white-space: normal;
    font-size: 0.92rem;
  }

  .brand-text span {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5.5rem 1.2rem 1.2rem;
    background: var(--white);
    box-shadow: -18px 0 45px rgba(11, 31, 58, 0.16);
    transform: translateX(105%);
    transition: transform 0.25s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 0.72rem 0;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    justify-content: space-between;
    width: 100%;
    padding: 0.72rem 0;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0.1rem 0 0.5rem;
    padding: 0.35rem 0.55rem;
    box-shadow: none;
    background: var(--gray);
  }

  .dropdown.open .dropdown-menu {
    display: grid;
  }

  .nav-cta {
    margin-top: 0.4rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-stat-strip {
    grid-template-columns: 1fr;
  }

  .section,
  .page-content {
    padding: 3rem 0;
  }

  .page-hero {
    padding: 3.1rem 0 2.7rem;
  }

  .newsletter {
    grid-template-columns: 1fr;
  }

  .fee-header {
    flex-direction: column;
  }

  .fee-includes {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
