/* =============================================
   THE PEBBLES STUDENT CARE
   Design System: "Stepping Stones"
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
  --sage: #9A8E6E;
  --sage-dark: #5E6B45;
  --sage-light: #B5AC8E;
  --amber: #E8A824;
  --amber-light: #F0C05C;
  --coral: #B39566;
  --coral-light: #CBAE80;
  --cream: #FAF7F2;
  --pebble: #F0EBE3;
  --pebble-dark: #E0D8CC;
  --charcoal: #2D2D2D;
  --gray: #6B6B6B;
  --gray-light: #9A9A9A;
  --white: #FFFFFF;

  --font-heading: 'Montserrat Alternates', 'DM Serif Display', Georgia, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-accent: 'Montserrat Alternates', sans-serif;

  --nav-height: 72px;
  --container: 1200px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 100px;

  --shadow-sm: 0 2px 8px rgba(45,45,45,0.06);
  --shadow-md: 0 4px 20px rgba(45,45,45,0.08);
  --shadow-lg: 0 8px 40px rgba(45,45,45,0.1);
  --shadow-xl: 0 16px 64px rgba(45,45,45,0.12);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-out);
}

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--sage-dark);
  background: rgba(125, 184, 158, 0.15);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-tag--light {
  color: var(--white);
  background: rgba(255,255,255,0.18);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-title--light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-subtitle--light {
  color: rgba(255,255,255,0.85);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--sage-dark);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(90, 154, 126, 0.35);
}

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn--whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

.btn--white {
  background: var(--white);
  color: var(--sage-dark);
}

.btn--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,255,255,0.25);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn--outline-light:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(253, 248, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(224, 216, 204, 0.5);
  transition: all 0.4s var(--ease-out);
}

.nav--scrolled {
  background: rgba(253, 248, 240, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--charcoal);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.3s var(--ease-out);
}

.nav__links a:hover {
  color: var(--sage-dark);
}

.nav__cta {
  background: var(--sage-dark) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-pill) !important;
}

.nav__cta:hover {
  background: var(--sage) !important;
  transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 120px;
  background: linear-gradient(160deg, var(--pebble) 0%, var(--cream) 40%, rgba(125, 184, 158, 0.08) 100%);
  overflow: hidden;
}

.hero__pebbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__pebble {
  position: absolute;
  border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
  opacity: 0.06;
}

.hero__pebble--1 {
  width: 400px;
  height: 350px;
  background: var(--sage);
  top: -80px;
  right: -100px;
  transform: rotate(-15deg);
  animation: float 20s ease-in-out infinite;
}

.hero__pebble--2 {
  width: 200px;
  height: 180px;
  background: var(--amber);
  top: 20%;
  left: -60px;
  border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
  animation: float 15s ease-in-out infinite reverse;
}

.hero__pebble--3 {
  width: 120px;
  height: 100px;
  background: var(--coral);
  bottom: 25%;
  right: 10%;
  border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
  animation: float 18s ease-in-out infinite 2s;
}

.hero__pebble--4 {
  width: 80px;
  height: 70px;
  background: var(--sage-dark);
  top: 40%;
  left: 15%;
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
  animation: float 12s ease-in-out infinite 1s;
}

.hero__pebble--5 {
  width: 160px;
  height: 140px;
  background: var(--amber);
  bottom: 10%;
  left: 30%;
  border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
  animation: float 22s ease-in-out infinite 3s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -15px) rotate(2deg); }
  50% { transform: translate(-5px, 10px) rotate(-1deg); }
  75% { transform: translate(8px, 5px) rotate(1.5deg); }
}

.hero__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage-dark);
  background: rgba(125, 184, 158, 0.15);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: var(--sage-dark);
  position: relative;
}

.hero__title em::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 2px;
  height: 12px;
  background: rgba(245, 166, 35, 0.25);
  border-radius: 4px;
  z-index: -1;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero__visual {
  position: relative;
}

.hero__image-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.hero__image--main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero__image--main img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__floating-badge {
  position: absolute;
  top: 20px;
  right: -20px;
  background: var(--amber);
  color: var(--white);
  border-radius: 50% 50% 50% 50% / 55% 45% 55% 45%;
  width: 100px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.hero__floating-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1;
}

.hero__floating-label {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Hero Divider */
.hero__divider {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero__divider svg {
  width: 100%;
  height: 80px;
}

/* --- About Section --- */
.about {
  padding: 100px 0;
  background: var(--cream);
}

.about__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.about__header {
  text-align: center;
  margin-bottom: 60px;
}

.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.about__value {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
}

.about__value:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.about__value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.about__value-icon--sage { color: var(--sage-dark); }
.about__value-icon--amber { color: var(--amber); }
.about__value-icon--coral { color: var(--coral); }

.about__value h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.about__value p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
}

/* About Images */
.about__image-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 20px;
  align-items: center;
}

.about__img {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about__img--1 { border-radius: 50% 50% var(--radius-lg) var(--radius-lg) / 40% 40% var(--radius-lg) var(--radius-lg); }
.about__img--2 { border-radius: var(--radius-lg); }
.about__img--3 { border-radius: var(--radius-lg) var(--radius-lg) 50% 50% / var(--radius-lg) var(--radius-lg) 40% 40%; }

.about__img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.about__img:hover img {
  transform: scale(1.05);
}

/* --- Pebble Divider --- */
.pebble-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: var(--cream);
}

.pebble-stone {
  display: block;
  border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
  transition: transform 0.5s var(--ease-spring);
}

.pebble-stone:hover {
  transform: translateY(-4px) rotate(10deg);
}

.pebble-stone--1 {
  width: 16px;
  height: 14px;
  background: var(--sage-light);
}

.pebble-stone--2 {
  width: 24px;
  height: 20px;
  background: var(--amber);
  border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
}

.pebble-stone--3 {
  width: 32px;
  height: 28px;
  background: var(--sage);
  border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
}

.pebble-stone--4 {
  width: 22px;
  height: 18px;
  background: var(--coral);
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
}

.pebble-stone--5 {
  width: 14px;
  height: 12px;
  background: var(--pebble-dark);
}

/* --- Programmes Section --- */
.programmes {
  padding: 80px 0 100px;
  background: var(--cream);
}

.programmes__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.programmes__header {
  text-align: center;
  margin-bottom: 60px;
}

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

.programme-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.programme-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.programme-card:nth-child(1)::before,
.programme-card:nth-child(4)::before { background: var(--sage); }
.programme-card:nth-child(2)::before,
.programme-card:nth-child(5)::before { background: var(--amber); }
.programme-card:nth-child(3)::before,
.programme-card:nth-child(6)::before { background: var(--coral); }

.programme-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.programme-card:hover::before {
  opacity: 1;
}

.programme-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.programme-card__icon--sage { color: var(--sage-dark); }
.programme-card__icon--amber { color: var(--amber); }
.programme-card__icon--coral { color: var(--coral); }
.programme-card__icon--sage-light { color: var(--sage); }
.programme-card__icon--amber-light { color: var(--amber-light); }
.programme-card__icon--coral-light { color: var(--coral-light); }

.programme-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.programme-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* --- A Day at Pebbles --- */
.day {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(160deg, var(--sage-dark) 0%, #4A8A6A 50%, #3D7A5C 100%);
  overflow: hidden;
}

.day__bg-pebbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.day__bg-pebble {
  position: absolute;
  border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
  background: rgba(255,255,255,0.04);
}

.day__bg-pebble--1 {
  width: 500px;
  height: 450px;
  top: -150px;
  right: -100px;
  transform: rotate(20deg);
}

.day__bg-pebble--2 {
  width: 300px;
  height: 280px;
  bottom: -80px;
  left: -80px;
  border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
}

.day__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.day__header {
  text-align: center;
  margin-bottom: 60px;
}

.day__timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.day__timeline::before {
  content: '';
  position: absolute;
  left: 89px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: rgba(255,255,255,0.2);
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 20px 1fr;
  gap: 20px;
  align-items: start;
  padding: 16px 0;
}

.timeline-item__time {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-light);
  text-align: right;
  padding-top: 4px;
}

.timeline-item__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--sage-dark);
  margin-top: 6px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.2);
}

.timeline-item__content h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 6px;
}

.timeline-item__content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: var(--pebble);
}

.testimonials__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-light), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--gray-light);
}

/* --- Enrollment CTA --- */
.enroll {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(160deg, var(--charcoal) 0%, #1a1a1a 100%);
  overflow: hidden;
}

.enroll__pebbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.enroll__pebble {
  position: absolute;
  border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
}

.enroll__pebble--1 {
  width: 300px;
  height: 270px;
  background: var(--sage-dark);
  opacity: 0.08;
  top: -60px;
  right: -40px;
  transform: rotate(15deg);
}

.enroll__pebble--2 {
  width: 200px;
  height: 180px;
  background: var(--amber);
  opacity: 0.06;
  bottom: -40px;
  left: 10%;
  border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
}

.enroll__pebble--3 {
  width: 120px;
  height: 100px;
  background: var(--coral);
  opacity: 0.05;
  top: 30%;
  left: -30px;
}

.enroll__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.enroll__content {
  max-width: 560px;
}

.enroll__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.enroll__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.enroll__info-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
}

.enroll__info-card h3 {
  font-size: 1.1rem;
  color: var(--amber);
  margin-bottom: 16px;
}

.enroll__info-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.enroll__info-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.enroll__info-card li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.enroll__info-card li span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.enroll__info-card li strong {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
}

/* --- Footer --- */
.footer {
  background: #111;
  padding: 60px 0 30px;
}

.footer__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer__logo span:last-child {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
}

.footer__brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.3s var(--ease-out);
}

.footer__links a:hover {
  color: var(--sage-light);
}

.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
}

.footer__contact li svg {
  opacity: 0.5;
  flex-shrink: 0;
}

.footer__contact a {
  color: rgba(255,255,255,0.45);
}

.footer__contact a:hover {
  color: var(--sage-light);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer__bottom a {
  color: var(--sage);
  transition: color 0.3s var(--ease-out);
}

.footer__bottom a:hover {
  color: var(--sage-light);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.35s var(--ease-spring);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* --- Fade Up Animation --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Schools Near Us --- */
.schools {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.schools__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.schools__header {
  text-align: center;
  margin-bottom: 60px;
}

.schools__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.schools__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--pebble);
}

.schools__map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.schools__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.school-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.school-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.school-card:nth-child(1)::before { background: var(--sage); }
.school-card:nth-child(2)::before { background: var(--amber); }
.school-card:nth-child(3)::before { background: var(--coral); }
.school-card:nth-child(4)::before { background: var(--sage-dark); }
.school-card:nth-child(5)::before { background: var(--amber-light); }

.school-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.school-card:hover::before {
  opacity: 1;
}

.school-card__icon {
  width: 36px;
  height: 36px;
  color: var(--sage-dark);
}

.school-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--charcoal);
}

.school-card__badge {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.school-card__badge--moe {
  color: var(--sage-dark);
  background: rgba(125, 184, 158, 0.15);
}

.school-card__badge--intl {
  color: var(--amber);
  background: rgba(232, 168, 36, 0.12);
}

.school-card__distance {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage-dark);
  background: rgba(94, 107, 69, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
}

.schools__footer {
  text-align: center;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.schools__note {
  font-size: 1rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .schools__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .schools__map {
    aspect-ratio: 16 / 9;
  }

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

  .hero__container {
    gap: 40px;
  }

  .about__values {
    gap: 20px;
  }

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

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

  .testimonials__grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .enroll__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: -8px 0 40px rgba(0,0,0,0.1);
  }

  .nav__links.active {
    transform: translateX(0);
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 80px;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__image-stack {
    max-width: 320px;
  }

  .hero__floating-badge {
    right: -5px;
    top: 10px;
    width: 80px;
    height: 72px;
  }

  .hero__floating-number {
    font-size: 1.3rem;
  }

  .about {
    padding: 60px 0;
  }

  .about__values {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about__value {
    padding: 28px 24px;
  }

  .about__image-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .about__img--3 {
    display: none;
  }

  .about__img img {
    height: 200px;
  }

  .programmes {
    padding: 60px 0 80px;
  }

  .programmes__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .programme-card {
    padding: 28px 24px;
  }

  .schools {
    padding: 60px 0;
  }

  .schools__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .schools__map {
    aspect-ratio: 16 / 10;
  }

  .schools__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .school-card {
    flex-direction: row;
    align-items: center;
    padding: 16px 20px;
    gap: 14px;
  }

  .school-card h3 {
    flex: 1;
    font-size: 0.9rem;
  }

  .school-card__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .day {
    padding: 80px 0;
  }

  .day__timeline::before {
    left: 9px;
  }

  .timeline-item {
    grid-template-columns: 20px 1fr;
    gap: 16px;
  }

  .timeline-item__time {
    grid-column: 1 / -1;
    text-align: left;
    padding-top: 0;
    margin-bottom: -8px;
  }

  .testimonials {
    padding: 60px 0;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonials__grid .testimonial-card:last-child {
    max-width: none;
  }

  .testimonial-card {
    padding: 28px;
  }

  .enroll {
    padding: 80px 0;
  }

  .enroll__container {
    text-align: center;
  }

  .enroll__actions {
    justify-content: center;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

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

  .enroll__actions {
    flex-direction: column;
    align-items: center;
  }
}
