:root {
  --yellow: #ffe276;
  --yellow-dark: #e8c742;
  --yellow-soft: #fff8d8;

  --green: #9bc677;
  --green-dark: #3f805f;
  --green-soft: #edf7e8;

  --navy: #203d3e;
  --text: #526060;
  --muted: #82908e;
  --white: #ffffff;
  --cream: #fffdf4;
  --border: #e7ece6;
  --shadow: 0 18px 50px rgba(38, 64, 56, 0.09);

  --heading-font: "Baloo 2", cursive;
  --body-font: "Nunito", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background: var(--white);
  font-family: var(--body-font);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1150px, calc(100% - 40px));
  margin: 0 auto;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--heading-font);
  line-height: 1.15;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--text);
}

.eyebrow {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section {
  padding: 105px 0;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 55px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading > p:last-child {
  margin-top: 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(231, 236, 230, 0.8);
  backdrop-filter: blur(15px);
}

.nav-wrapper {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
}

.brand-name,
.brand-subtitle {
  display: block;
  line-height: 1;
  font-family: var(--heading-font);
  font-weight: 800;
}

.brand-name {
  color: var(--navy);
  font-size: 1.25rem;
}

.brand-subtitle {
  color: var(--green-dark);
  font-size: 1rem;
  margin-top: 4px;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navigation a {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.navigation a:hover {
  color: var(--green-dark);
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 13px 22px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-button {
  color: var(--navy);
  background: var(--yellow);
}

.nav-button:hover,
.button:hover {
  transform: translateY(-3px);
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  font-size: 1.7rem;
}

/* Buttons */

.button-primary {
  color: var(--navy);
  background: var(--yellow);
}

.button-primary:hover {
  background: var(--yellow-dark);
}

.button-outline {
  color: var(--navy);
  border: 1px solid var(--navy);
}

.button-outline:hover {
  color: var(--white);
  background: var(--navy);
}

.button-light {
  color: var(--navy);
  background: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--navy);
}

.button-dark:hover {
  background: var(--green-dark);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 105px 0 125px;
  background:
    radial-gradient(circle at 12% 30%, rgba(255, 226, 118, 0.28), transparent 31%),
    radial-gradient(circle at 90% 20%, rgba(155, 198, 119, 0.24), transparent 28%),
    var(--cream);
}

.hero::after {
  position: absolute;
  right: -100px;
  bottom: -170px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(155, 198, 119, 0.16);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 75px;
}

.hero-content h1 {
  max-width: 700px;
  margin-bottom: 26px;
}

.hero-content h1 span {
  color: var(--green-dark);
  display: block;
}

.hero-text {
  max-width: 600px;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 43px;
}

.hero-details > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 50%;
}

.green-icon {
  background: var(--green);
}

.hero-details strong,
.hero-details small {
  display: block;
}

.hero-details strong {
  color: var(--navy);
  font-size: 0.84rem;
}

.hero-details small {
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-card {
  padding: 15px;
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-image-placeholder {
  min-height: 370px;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--green-dark);
  text-align: center;
  background:
    linear-gradient(rgba(155, 198, 119, 0.25), rgba(255, 226, 118, 0.33)),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 12px,
      rgba(255, 255, 255, 0.3) 12px,
      rgba(255, 255, 255, 0.3) 24px
    );
  border-radius: 22px;
}

.hero-card-content {
  padding: 22px 8px 8px;
  transform: rotate(-2deg);
}

.small-label {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-card-content h2 {
  margin: 5px 0;
  font-size: 2rem;
}

/* About */

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: 90px;
}

.section-image {
  padding: 12px;
  background: var(--yellow-soft);
  border-radius: 30px;
}

.image-placeholder {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--green-dark);
  text-align: center;
  border: 2px dashed var(--green);
  border-radius: 22px;
  background: var(--green-soft);
}

.section-content > p {
  margin-bottom: 16px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
}

.feature-item p {
  font-size: 0.9rem;
}

/* Quick info */

.quick-info {
  padding: 0 0 100px;
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 25px;
  border-radius: 20px;
}

.yellow-card {
  background: var(--yellow-soft);
}

.green-card {
  background: var(--green-soft);
}

.cream-card {
  background: #fff8ec;
}

.info-card-icon {
  font-size: 1.65rem;
}

.info-card h3 {
  font-size: 1.15rem;
}

.info-card p,
.info-card strong {
  display: block;
  font-size: 0.82rem;
}

.info-card strong {
  color: var(--green-dark);
}

/* Activities */

.activities-section {
  background: var(--cream);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.activity-card,
.teacher-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 8px 25px rgba(38, 64, 56, 0.04);
}

.activity-image,
.teacher-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--green-soft);
}

.activity-image img,
.teacher-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font-weight: 800;
  pointer-events: none;
}

.activity-image img[src*="activity-"],
.teacher-image img[src*="teacher-"] {
  background: transparent;
}

.activity-content {
  position: relative;
  padding: 25px;
}

.activity-number {
  position: absolute;
  top: -23px;
  right: 20px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 800;
}

.activity-content h3 {
  margin-bottom: 7px;
}

.activity-content p {
  font-size: 0.9rem;
}

/* Teachers */

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.teacher-image {
  height: 280px;
  background: var(--yellow-soft);
}

.teacher-content {
  padding: 22px;
}

.teacher-content h3 {
  margin-bottom: 2px;
}

.teacher-content > span {
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

.teacher-content p {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Fees */

.fees-section {
  background: var(--green-soft);
}

.fees-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: stretch;
  gap: 22px;
}

.fee-highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px;
  text-align: center;
  background: var(--yellow);
  border-radius: 24px;
}

.fee-label {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fee-highlight strong {
  color: var(--navy);
  font-family: var(--heading-font);
  font-size: 4.5rem;
  line-height: 1;
  margin: 15px 0;
}

.fee-highlight p {
  color: var(--navy);
  font-size: 0.9rem;
}

.price-table-wrapper,
.meal-table-wrapper {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.price-table,
.meal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 470px;
}

.price-table th,
.price-table td,
.meal-table th,
.meal-table td {
  padding: 17px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.price-table th,
.meal-table th {
  color: var(--navy);
  background: var(--yellow-soft);
  font-size: 0.85rem;
  font-weight: 800;
}

.price-table td:last-child {
  color: var(--green-dark);
  font-weight: 800;
}

.price-table tr:last-child td,
.meal-table tr:last-child td {
  border-bottom: 0;
}

/* Meals */

.meal-table td:first-child {
  color: var(--green-dark);
  font-weight: 800;
}

/* Stationery */

.stationery-section {
  background: var(--cream);
}

.stationery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.stationery-card {
  padding: 35px;
  background: var(--yellow-soft);
  border-radius: 24px;
}

.green-stationery {
  background: var(--green-soft);
}

.stationery-card h3 {
  margin-bottom: 20px;
}

.stationery-card ul {
  padding-left: 20px;
}

.stationery-card li {
  margin-bottom: 9px;
}

/* Transport */

.transport-section {
  padding: 95px 0;
  color: var(--white);
  background: var(--green-dark);
}

.transport-grid {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  align-items: center;
  gap: 70px;
}

.transport-section h2,
.transport-section p {
  color: var(--white);
}

.transport-section .eyebrow {
  color: var(--yellow);
}

.transport-details {
  display: grid;
  gap: 9px;
  margin: 25px 0;
}

.transport-details div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.transport-details span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 800;
}

.transport-details p {
  font-size: 0.95rem;
}

.transport-note {
  margin-bottom: 28px;
  color: #e7f5df !important;
}

.transport-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
  background: var(--yellow);
  border-radius: 50%;
  transform: rotate(4deg);
}

.transport-price span,
.transport-price strong,
.transport-price small {
  color: var(--navy);
  transform: rotate(-4deg);
}

.transport-price span {
  font-size: 0.9rem;
  font-weight: 800;
}

.transport-price strong {
  font-family: var(--heading-font);
  font-size: 4.3rem;
  line-height: 1;
  margin: 7px 0;
}

.transport-price small {
  font-size: 0.8rem;
}

/* Enrolment */

.enrol-section {
  padding: 80px 0;
  background: var(--yellow-soft);
}

.enrol-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.enrol-box h2 {
  margin-bottom: 12px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-list > a,
.contact-list > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 50%;
}

.contact-list strong,
.contact-list small {
  display: block;
}

.contact-list strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.contact-list small {
  color: var(--muted);
  font-size: 0.86rem;
}

.map-placeholder {
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 35px;
  text-align: center;
  border-radius: 28px;
  background:
    linear-gradient(rgba(155, 198, 119, 0.45), rgba(255, 226, 118, 0.45)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 16px,
      rgba(255, 255, 255, 0.45) 16px,
      rgba(255, 255, 255, 0.45) 32px
    );
}

.map-pin {
  color: var(--green-dark);
  font-size: 3rem;
}

.map-placeholder h3 {
  margin: 10px 0;
}

.map-placeholder p {
  margin-bottom: 22px;
}

/* Footer */

.site-footer {
  padding: 45px 0 20px;
  color: var(--white);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 35px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
}

.footer-brand h3,
.footer-brand p {
  color: var(--white);
}

.footer-brand h3 {
  font-size: 1.2rem;
}

.footer-brand p {
  color: #c8d6d3;
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a,
.footer-contact a {
  color: #e5eeee;
  font-size: 0.85rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--yellow);
}

.footer-contact {
  display: grid;
  gap: 5px;
  justify-items: end;
}

.copyright {
  padding-top: 25px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.copyright p {
  color: #c8d6d3;
  font-size: 0.78rem;
}

/* Responsive design */

@media (max-width: 900px) {
  .navigation {
    position: absolute;
    top: 84px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .navigation.open {
    display: flex;
  }

  .navigation a {
    padding: 11px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-button {
    display: none;
  }

  .hero-grid,
  .two-column,
  .transport-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-card {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
  }

  .activities-grid,
  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-info-grid {
    grid-template-columns: 1fr;
  }

  .fees-layout {
    grid-template-columns: 1fr;
  }

  .transport-price {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
  }

  .enrol-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact {
    justify-items: start;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1150px);
  }

  .section {
    padding: 75px 0;
  }

  .hero {
    padding: 75px 0 90px;
  }

  .hero-content h1 {
    font-size: 3.1rem;
  }

  .hero-details {
    display: grid;
  }

  .feature-list,
  .activities-grid,
  .teachers-grid,
  .stationery-grid {
    grid-template-columns: 1fr;
  }

  .activity-image {
    height: 240px;
  }

  .teacher-image {
    height: 310px;
  }

  .fee-highlight {
    padding: 35px 20px;
  }

  .transport-price {
    min-height: 250px;
  }

  .transport-price strong {
    font-size: 3.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    justify-items: start;
  }

  .copyright {
    text-align: center;
  }
}