/* ================================================================
   SACRED HEART PUBLIC SCHOOL — DESIGN SYSTEM
   ================================================================ */

/* ── Google Fonts ──────────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Lato:wght@300;400;700;900&display=swap");

/* ── CSS Custom Properties ─────────────────────────────────────── */
:root {
  /* Colors */
  --primary: #3d3dc6;
  --primary-dark: #2e2ea0;
  --primary-light: #5b5bd6;
  --white: #ffffff;
  --off-white: #f8f8fb;
  --footer-bg: #f0f0f6;
  --text-dark: #1a1a2e;
  --text-body: #4a4a6a;
  --text-light: #7a7a9a;
  --accent-teal: #2cb5a0;
  --accent-gradient: linear-gradient(135deg, #3d3dc6 0%, #2cb5a0 100%);
  --gold-star: #ffb800;
  --overlay: rgba(10, 10, 40, 0.45);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-header: 0 2px 20px rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Lato", "Segoe UI", sans-serif;

  /* Spacing */
  --section-pad: 100px 0;
  --section-pad-sm: 60px 0;
  --container-max: 1200px;
  --container-pad: 0 24px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* ── Reset & Base ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

/* ── Typography ────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
}
h2 {
  font-size: clamp(28px, 3.5vw, 40px);
}
h3 {
  font-size: clamp(22px, 2.5vw, 28px);
}
h4 {
  font-size: clamp(18px, 2vw, 22px);
}

p {
  margin-bottom: 1em;
  font-size: 17px;
  line-height: 1.8;
}

/* ── Utility ───────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.section {
  padding: var(--section-pad);
}

.section--grey {
  background-color: var(--off-white);
}

.section--footer-grey {
  background-color: var(--footer-bg);
}

.text-center {
  text-align: center;
}
.text-white {
  color: var(--white);
}
.text-primary {
  color: var(--primary);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 16px auto 0;
}

.accent-line--left {
  margin-left: 0;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn--white {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}
.btn--white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(61, 61, 198, 0.3);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(61, 61, 198, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ================================================================
   HEADER / NAVIGATION
   ================================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  transition: var(--transition);
  height: 80px;
}

.header.scrolled {
  box-shadow: var(--shadow-header);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header__logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.header__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.header__name span {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Social icons in header */
.header__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__social a {
  color: var(--text-light);
  font-size: 18px;
  transition: var(--transition);
}
.header__social a:hover {
  color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ================================================================
   HERO BANNER
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 50, 0.55) 0%,
    rgba(10, 10, 50, 0.3) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 24px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(40px, 6vw, 64px);
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__tagline {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 32px;
  font-weight: 400;
}

.hero__mission {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-top: 24px;
  font-weight: 300;
}

/* Page hero (shorter, for inner pages) */
.page-hero {
  background: var(--primary);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(91, 91, 214, 0.4) 0%,
    transparent 70%
  );
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(36px, 5vw, 56px);
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ================================================================
   PRINCIPAL'S QUOTE
   ================================================================ */
.principal-quote {
  padding: var(--section-pad);
  background: var(--off-white);
}

.principal-quote__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 24px;
}

.principal-quote__icon {
  font-family: var(--font-heading);
  font-size: 120px;
  line-height: 0.6;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.principal-quote__text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.principal-quote__name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
}

/* ================================================================
   APPROACH SECTION (Two-column)
   ================================================================ */
.approach {
  padding: var(--section-pad);
  background: var(--white);
}

.approach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.approach__heading {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  color: var(--text-dark);
}

.approach__text p {
  color: var(--text-body);
  font-size: 17px;
}

/* ================================================================
   FEATURE CARDS
   ================================================================ */
.features {
  padding: 0 0 var(--section-pad);
  padding-bottom: 100px;
  background: var(--white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card__image {
  height: 260px;
  overflow: hidden;
}

.feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.feature-card:hover .feature-card__image img {
  transform: scale(1.05);
}

.feature-card__body {
  padding: 28px 24px;
}

.feature-card__title {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-card__desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ================================================================
   PHOTO STRIP
   ================================================================ */
.photo-strip {
  display: flex;
  overflow: hidden;
  height: 220px;
}

.photo-strip img {
  flex: 1;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials {
  padding: var(--section-pad);
  background: var(--accent-gradient);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  top: -100px;
  right: -100px;
}

.testimonials__title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--white);
  text-align: center;
  margin-bottom: 50px;
}

.testimonial-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-slide {
  text-align: center;
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial__stars {
  color: var(--gold-star);
  font-size: 22px;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.testimonial__text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 28px;
}

.testimonial__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.testimonial__name {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 700;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* ================================================================
   SUBSCRIBE / CTA BANNER
   ================================================================ */
.subscribe {
  padding: 60px 0;
  background: var(--primary);
  text-align: center;
}

.subscribe__divider {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 auto 32px;
}

.subscribe__heading {
  color: var(--white);
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.subscribe__form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.subscribe__input {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.subscribe__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.subscribe__input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ================================================================
   STATS COUNTERS
   ================================================================ */
.stats {
  padding: 80px 0;
  background: var(--white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 600;
}

/* ================================================================
   TWO-COLUMN SECTIONS (About page, etc.)
   ================================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.two-col--center {
  align-items: center;
}

/* Mission / Vision / Philosophy */
.mvp-block {
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.mvp-block:last-child {
  border-bottom: none;
}

.mvp-block .two-col {
  gap: 40px;
}

.mvp-block__label {
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--text-dark);
}

/* ================================================================
   SUBJECT CARDS (Academics — alternating rows)
   ================================================================ */
.subject-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  min-height: 350px;
}

.subject-row:nth-child(even) {
  background: var(--off-white);
}

.subject-row__image {
  height: 100%;
  min-height: 350px;
}

.subject-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subject-row__content {
  padding: 50px 60px;
}

.subject-row__content h3 {
  margin-bottom: 16px;
}

.subject-row__content p {
  color: var(--text-body);
}

.subject-row--reverse .subject-row__image {
  order: 2;
}
.subject-row--reverse .subject-row__content {
  order: 1;
}

/* ================================================================
   ACTIVITY CARDS
   ================================================================ */
.activity-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.activity-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.activity-card__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: var(--primary);
}

.activity-card__title {
  font-size: 20px;
  margin-bottom: 12px;
}

.activity-card__desc {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 0;
}

/* Sports / Cultural Events 3-col layout */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.event-card {
  padding: 32px 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.event-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.event-card h4 {
  margin-bottom: 10px;
  color: var(--primary);
}

.event-card p {
  font-size: 15px;
  margin-bottom: 0;
}

/* ================================================================
   GALLERY
   ================================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(61, 61, 198, 0.3);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  z-index: 2001;
  transition: var(--transition);
}

.lightbox__close:hover {
  transform: rotate(90deg);
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__prev {
  left: 20px;
}
.lightbox__next {
  right: 20px;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.contact-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0f0f0;
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.contact-card__icon {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--primary);
}

.contact-card h4 {
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form .form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e8;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(61, 61, 198, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Map */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 60px;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ================================================================
   ADMISSIONS
   ================================================================ */
.admission-process {
  counter-reset: step;
}

.admission-step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.admission-step__num {
  counter-increment: step;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.admission-step__content h4 {
  margin-bottom: 6px;
}

.admission-step__content p {
  font-size: 15px;
  margin-bottom: 0;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--footer-bg);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer__col h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.footer__col p {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 4px;
}

.footer__nav {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid #ddd;
}

.footer__nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

.footer__nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
}

.footer__nav-links a:hover {
  color: var(--primary);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer__social a {
  color: var(--text-body);
  font-size: 18px;
  transition: var(--transition);
}

.footer__social a:hover {
  color: var(--primary);
}

.footer__bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #ddd;
  font-size: 13px;
  color: var(--text-light);
}

.footer__bottom a {
  color: var(--primary);
  font-weight: 600;
}

.footer__bottom a:hover {
  text-decoration: underline;
}

/* ================================================================
   TOAST NOTIFICATION
   ================================================================ */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-pad: 70px 0;
  }

  .nav__list {
    gap: 20px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .subject-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .subject-row__image {
    min-height: 250px;
  }

  .subject-row__content {
    padding: 30px;
  }

  .subject-row--reverse .subject-row__image {
    order: 0;
  }
  .subject-row--reverse .subject-row__content {
    order: 0;
  }

  .approach__grid {
    gap: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-pad: 50px 0;
  }

  .header__inner {
    padding: 0 16px;
  }

  .hamburger {
    display: flex;
  }

  .header__social {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 100px 32px 40px;
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .hero {
    min-height: 90vh;
  }

  .hero__content {
    padding: 0 20px;
  }

  .approach__grid,
  .two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .features__grid,
  .activity-cards,
  .events-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .photo-strip {
    height: 140px;
  }

  .subscribe__form {
    flex-direction: column;
  }

  .subscribe__input {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__nav-links {
    gap: 16px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero {
    min-height: 200px;
  }

  .subject-row__content {
    padding: 24px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 26px;
  }
}
