/* ============================================================
   SAURYA ACADEMY — styles.css
   Banner theme: Bold Red (#CC1B1B) + Deep Navy (#1E3A8A)
   ============================================================ */

:root {
  /* Backgrounds — cool blue-white (matches banner sky) */
  --bg:           #F7FAFF;
  --bg-card:      #EDF3FF;
  --bg-alt:       #E3ECFF;

  /* Primary accent — Banner red ("Shaurya Academy" title) */
  --accent:       #CC1B1B;
  --accent-hover: #A51515;
  --accent-light: #FDEAEA;
  --accent-dark:  #8B0000;

  /* Navy — Banner deep blue (subtitle, address bar, sky) */
  --navy:         #1E3A8A;
  --navy-hover:   #162D6E;
  --navy-light:   #E8EEFF;

  --text-dark:    #0F1A3A;
  --text-mid:     #4A5568;
  --text-light:   #94A3B8;
  --border:       #C8D8EE;
  --white:        #FFFFFF;
  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 4px 24px rgba(30, 58, 138, 0.10);
  --shadow-lg:    0 8px 40px rgba(30, 58, 138, 0.16);
  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ——— Reset ——— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; }

/* ——— Utilities ——— */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

.section-tag {
  display: inline-block;
  background: var(--navy-light);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}
.section-header p { color: var(--text-mid); max-width: 540px; margin: 0 auto; font-size: 0.95rem; }

/* ——— Buttons ——— */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--white);
  padding: 13px 30px; border-radius: 99px;
  font-weight: 600; font-size: 0.9rem;
  border: 2px solid var(--accent);
  cursor: pointer; transition: var(--transition);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-sm { padding: 9px 22px; font-size: 0.82rem; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--accent);
  padding: 13px 30px; border-radius: 99px;
  font-weight: 600; font-size: 0.9rem;
  border: 2px solid var(--accent);
  cursor: pointer; transition: var(--transition);
}
.btn-outline:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }

/* ========================================================
   NAVBAR
   ======================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(247, 250, 255, 0.93);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 70px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--text-dark);
}
.logo-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(30,58,138,0.25);
}
.logo-icon img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-mid);
}
.nav-links > a:hover { color: var(--accent); }
.nav-links .btn-primary,
.nav-links .btn-primary:hover { color: var(--white); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-dark); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 16px 24px 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0; font-weight: 500; font-size: 0.95rem;
  border-bottom: 1px solid var(--border); color: var(--text-mid);
}
.mobile-menu a:last-child { border-bottom: none; margin-top: 12px; }
.mobile-menu .btn-primary { color: var(--white); border-bottom: none; display: flex; width: 100%; justify-content: center; }

/* ========================================================
   HERO
   ======================================================== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 70px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -250px; right: -250px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(30,58,138,0.07) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(204,27,27,0.04) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding-top: 60px;
  padding-bottom: 100px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-light);
  border: 1px solid #C7D2FE;
  color: var(--navy);
  padding: 7px 18px; border-radius: 99px;
  font-size: 0.78rem; font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge i { color: var(--navy); font-size: 0.85rem; }

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.18; color: var(--text-dark); margin-bottom: 22px;
}
.hero-text h1 em { color: var(--accent); font-style: italic; }

.hero-sub {
  color: var(--text-mid); font-size: 1rem;
  max-width: 440px; margin-bottom: 38px; line-height: 1.8;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats { display: flex; align-items: center; gap: 28px; }
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-weight: 700; color: var(--navy);
  line-height: 1;
}
.stat span { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; display: block; }
.stat-divider { width: 1px; height: 44px; background: var(--border); }

/* Hero Visual — right side */
.hero-visual { position: relative; }

/* Hero single image */
.visual-grid {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(30,58,138,0.2), 0 4px 16px rgba(0,0,0,0.1);
  position: relative;
}
.visual-grid img {
  width: 100%; height: 480px;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.visual-grid:hover img { transform: scale(1.03); }
/* Ring accent around the image */
.visual-grid::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 28px;
  border: 2px solid rgba(30,58,138,0.15);
  pointer-events: none; z-index: 1;
}

/* Floating elements */
.visual-float {
  position: absolute;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1.1rem;
  animation: floatY 3.5s ease-in-out infinite;
}
.float-1 { top: -18px; left: 38%; animation-delay: 0s; }
.float-2 { bottom: -18px; right: 8%; animation-delay: 1.8s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Hero wave separator */
.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* ========================================================
   COURSES / PROGRAMMES
   ======================================================== */
.courses {
  padding: 100px 0;
  background: var(--bg-alt);
}

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

.course-card {
  background: var(--white);
  border-radius: var(--radius); padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition); position: relative; overflow: hidden;
}
.course-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--border); transition: var(--transition);
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.course-card:hover::before { background: var(--accent); }
.course-card.featured { border-color: rgba(217,119,6,0.35); box-shadow: var(--shadow); }
.course-card.featured::before { background: var(--accent); }

.course-icon {
  width: 62px; height: 62px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 22px;
}
.icon-academics { background: #DBEAFE; color: #1E3A8A; }
.icon-music     { background: #FCE7F3; color: #DB2777; }
.icon-code      { background: #DCFCE7; color: #16A34A; }

.course-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; margin-bottom: 8px;
}
.course-sub { color: var(--text-mid); font-size: 0.85rem; margin-bottom: 22px; }
.course-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.course-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; color: var(--text-mid);
}
.course-list i { color: var(--accent); margin-top: 4px; flex-shrink: 0; font-size: 0.7rem; }
.course-list li strong { color: var(--text-dark); }

.course-tag {
  display: inline-block;
  background: var(--navy-light); color: var(--navy);
  padding: 5px 16px; border-radius: 99px;
  font-size: 0.75rem; font-weight: 600;
}

/* ========================================================
   HOW WE DELIVER
   ======================================================== */
.delivery { padding: 100px 0; background: var(--bg); }

.delivery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px; max-width: 760px; margin: 0 auto;
}

.delivery-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 48px 40px; text-align: center;
  border: 1px solid var(--border); transition: var(--transition);
}
.delivery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.delivery-icon {
  width: 76px; height: 76px; background: var(--navy);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 1.6rem; color: white;
  box-shadow: 0 8px 20px rgba(30,58,138,0.3);
}
.delivery-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; margin-bottom: 14px;
}
.delivery-card p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.8; }

/* ========================================================
   GALLERY
   ======================================================== */
.gallery { padding: 100px 0; background: var(--bg-alt); }

.gallery-grid { columns: 3; column-gap: 16px; }

.gallery-item {
  break-inside: avoid; margin-bottom: 16px;
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer;
}

/* Staggered heights for masonry feel */
.gallery-item:nth-child(1) img { height: 220px; }
.gallery-item:nth-child(2) img { height: 290px; }
.gallery-item:nth-child(3) img { height: 250px; }
.gallery-item:nth-child(4) img { height: 200px; }
.gallery-item:nth-child(5) img { height: 270px; }
.gallery-item:nth-child(6) img { height: 230px; }

.gallery-item img {
  width: 100%; display: block; object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* Label overlay on hover */
.gallery-item::after {
  content: attr(data-label);
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,20,55,0.65));
  color: white; font-size: 0.82rem; font-weight: 600;
  padding: 36px 16px 14px; opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* ========================================================
   TEAM PREVIEW
   ======================================================== */
.team { padding: 100px 0; background: var(--bg); }

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-bottom: 44px;
}

.team-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 36px 20px; text-align: center;
  border: 1px solid var(--border); transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.team-avatar {
  width: 82px; height: 82px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: rgba(0,0,0,0.55);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.team-card h4 { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.team-card p { color: var(--text-mid); font-size: 0.8rem; margin-bottom: 16px; }

.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy-light); color: var(--navy);
  font-size: 0.85rem; transition: var(--transition);
}
.social-link:hover { background: var(--accent); color: white; transform: scale(1.1); }

.team-cta { text-align: center; }

/* ========================================================
   CONTACT  (kedarkul.com layout)
   ======================================================== */
.contact {
  padding: 100px 0;
  background: var(--white);
}

/* Section head — centered, no button */
.contact-head {
  text-align: center;
  margin-bottom: 60px;
}
.contact-eyebrow {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 10px;
}
.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  color: var(--text-dark); line-height: 1.2;
}

/* 2-col grid: form left, info+map right */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px; align-items: start;
}

/* Form */
.contact-form { display: flex; flex-direction: column; }
.contact-field {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px;
}
.contact-field label {
  font-size: 0.8rem; font-weight: 600; color: var(--navy);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  background: var(--white);
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 16px; font-family: 'Poppins', sans-serif;
  font-size: 0.875rem; color: var(--text-dark);
  outline: none; transition: var(--transition); width: 100%;
  box-shadow: 0 1px 3px rgba(30,58,138,0.06);
}
.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
  border-color: var(--navy-hover);
}
.contact-field select {
  appearance: none; -webkit-appearance: none;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231E3A8A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}
.contact-field select.placeholder-selected { color: var(--text-light); }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--text-light); }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--navy); background: var(--white);
  box-shadow: 0 0 0 4px rgba(30,58,138,0.12);
}
.contact-field textarea { resize: vertical; }

.contact-field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

.contact-submit { margin-top: 6px; width: 100%; justify-content: center; }

/* Right: contact info items + map */
.contact-info { display: flex; flex-direction: column; }

.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.contact-info-item:first-child { border-top: 1px solid var(--border); }

.contact-info-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--navy-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}

.contact-info-label {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-light); margin-bottom: 3px; display: block;
}
.contact-info-value {
  font-size: 0.9rem; font-weight: 500; color: var(--text-dark);
}
a.contact-info-value:hover { color: var(--accent); }

.contact-map {
  margin-top: 24px; border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
  position: relative;
}
.contact-map iframe { display: block; border: none; }

/* Floating "Open in Google Maps" button — top-left, Google Maps UI style */
.map-directions-btn {
  position: absolute; top: 10px; left: 10px; z-index: 10;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  border-radius: 4px;
  padding: 8px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  color: #1a73e8;
  box-shadow: 0 2px 6px rgba(0,0,0,0.28), 0 1px 2px rgba(0,0,0,0.18);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  white-space: nowrap; cursor: pointer;
}
.map-directions-btn svg { color: #EA4335; flex-shrink: 0; }
.map-directions-btn:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.22), 0 2px 4px rgba(0,0,0,0.14);
  transform: translateY(-1px);
  color: #1558b0;
}

/* ========================================================
   FOOTER  (kedarkul.com style)
   ======================================================== */
.footer { background: #0D1B4B; color: rgba(255,255,255,0.55); }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px; padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo { color: white; display: inline-flex; margin-bottom: 18px; }
.footer-brand .logo-text { color: white; }
.footer-brand > p {
  font-size: 0.875rem; line-height: 1.9; max-width: 280px;
  color: rgba(255,255,255,0.45); margin-bottom: 28px;
}

.footer-socials { display: flex; gap: 10px; }
.footer-social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 0.95rem;
  transition: var(--transition);
}
.footer-social-btn:hover { background: var(--accent); color: white; transform: translateY(-2px); }

.footer-col h5 {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: white; margin-bottom: 20px;
}
.footer-col a, .footer-col span {
  display: block; font-size: 0.875rem;
  color: rgba(255,255,255,0.5); padding: 5px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: white; }

.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 22px 0;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 0.78rem; color: rgba(255,255,255,0.28); transition: var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }
.footer-credit {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}
.footer-credit .heart { color: var(--accent); }
.footer-credit a { color: rgba(255,255,255,0.4); text-decoration: none; transition: var(--transition); }
.footer-credit a:hover { color: white; }

/* ========================================================
   ABOUT PAGE — PAGE HERO
   ======================================================== */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, var(--bg) 60%, var(--bg-alt) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(217,119,6,0.07) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px; line-height: 1.2;
}
.page-hero p { color: var(--text-mid); font-size: 1rem; max-width: 520px; margin: 0 auto; }

/* ——— Story Section ——— */
.story { padding: 100px 0; background: var(--bg); }
.story-prose {
  max-width: 720px; margin: 0 auto;
}
.story-prose .section-tag { margin-bottom: 14px; }
.story-prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  margin-bottom: 24px; line-height: 1.25;
}
.story-prose p { color: var(--text-mid); font-size: 1rem; line-height: 1.95; margin-bottom: 18px; }

/* ——— Mission / Vision ——— */
.mission { padding: 100px 0; background: var(--bg-alt); }
.mission-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.mission-card {
  background: var(--white); border-radius: var(--radius);
  padding: 40px 30px; text-align: center;
  border: 1px solid var(--border); transition: var(--transition);
}
.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mission-card .m-icon {
  width: 68px; height: 68px; background: var(--navy-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 1.5rem; color: var(--navy);
}
.mission-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; margin-bottom: 12px;
}
.mission-card p { color: var(--text-mid); font-size: 0.875rem; line-height: 1.85; }

/* ——— Full Team Section ——— */
.full-team { padding: 100px 0; background: var(--bg); }

/* ========================================================
   ANIMATIONS
   ======================================================== */
.fade-in {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-right {
  opacity: 0; transform: translateX(44px);
  transition: opacity 0.75s ease 0.15s, transform 0.75s ease 0.15s;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Stagger for grid children */
.courses-grid .course-card:nth-child(2) { transition-delay: 0.1s; }
.courses-grid .course-card:nth-child(3) { transition-delay: 0.2s; }
.team-grid    .team-card:nth-child(2)   { transition-delay: 0.1s; }
.team-grid    .team-card:nth-child(3)   { transition-delay: 0.2s; }
.team-grid    .team-card:nth-child(4)   { transition-delay: 0.3s; }
.full-team-grid .full-team-card:nth-child(2) { transition-delay: 0.12s; }
.full-team-grid .full-team-card:nth-child(3) { transition-delay: 0.12s; }
.full-team-grid .full-team-card:nth-child(4) { transition-delay: 0.24s; }
.mission-grid .mission-card:nth-child(2) { transition-delay: 0.1s; }
.mission-grid .mission-card:nth-child(3) { transition-delay: 0.2s; }

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1024px) {
  .hero-container { gap: 40px; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid .course-card:last-child { grid-column: span 2; max-width: 480px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .hero-container { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; padding-bottom: 80px; }
  .visual-grid { max-width: 400px; margin: 0 auto; }

  .courses-grid { grid-template-columns: 1fr; }
  .courses-grid .course-card:last-child { grid-column: 1; max-width: 100%; }

  .delivery-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .gallery-grid { columns: 2; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-head { flex-direction: column; align-items: flex-start; }

  .mission-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: 1; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas a { text-align: center; justify-content: center; }
  .hero-badge { flex-wrap: wrap; justify-content: center; }
  .hero-stats { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .visual-card { padding: 24px 14px; }
  .contact-field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
