@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@600;700;800&display=swap');

/* === Color system (single source of truth) === */
:root {
  --color-primary: #4f46e5;        /* indigo-600 — primary CTA/buttons, links, active states */
  --color-primary-hover: #4338ca;  /* indigo-700 */
  --color-primary-light: #6366f1;  /* indigo-500 — icon backgrounds, badges, accents on dark */
  --color-primary-tint: #eef2ff;   /* indigo-50 — tinted backgrounds */

  --color-secondary: #0d9488;      /* teal-600 — secondary accent, section icons */
  --color-secondary-hover: #0f766e;
  --color-secondary-light: #14b8a6;

  --color-accent: #f59e0b;         /* amber-500 — FAQ accent, highlights */
  --color-accent-hover: #d97706;

  --color-text: #1e293b;           /* slate-800 — text inside light cards */
  --color-text-muted: #64748b;     /* slate-500 — muted text inside light cards */
  --color-border: #cbd5e1;         /* slate-300 */

  --color-text-light: #e2e8f0;         /* slate-200 — headings/body text on dark sections */
  --color-text-light-muted: #94a3b8;   /* slate-400 — secondary text on dark sections */

  --color-bg-white: #ffffff;       /* card/content surfaces */
  --color-bg-dark: #0f172a;        /* slate-900 — primary dark section bg */
  --color-bg-dark-alt: #1e293b;    /* slate-800 — alternating dark section bg */
  --color-bg-darkest: #0b1120;     /* deepest anchor tone — footer */

  --nav-height: 78px;              /* floating nav's approximate rendered height */
}

/* === Global Resets & Base === */
html { scroll-behavior: smooth; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  padding: 0 20px 40px;
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

h1, h2, h3,
.brand, .footer-brand,
.hero-title, .section-title, .classroom-heading, .faq-heading,
.member-name, .join-card h2 {
  font-family: 'Space Grotesk', sans-serif;
}

/* Only the root clips horizontally: a scroll container on body would break the sticky home slider */
html { overflow-x: hidden; }
body { overflow-x: clip; }
body.has-topbar { padding-top: 40px; }

.logo { max-width: 200px; margin: 0 auto 40px; display: block; }
.container { max-width: 1200px; margin: 0 auto; }
.header { display: contents; }

h1 { font-size: 3rem; font-weight: 800; color: var(--color-text-light); }
.subtitle {
  font-size: 1.25rem; color: var(--color-text-light-muted); margin-top: -30px; margin-bottom: 40px;
  text-align: left; font-weight: 400;
}

.star-icon {
  width: 80px; height: 80px; background: var(--color-primary);
  border-radius: 15px; display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: #fff; flex-shrink: 0;
}

@media (max-width: 768px){
  h1 { font-size: 2.5rem; }
  .star-icon { width: 60px; height: 60px; font-size: 30px; }
}

/* === Officers / Members (light cards floating on dark sections) === */
.members-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-bottom: 40px; }
.members-grid.mobile-layout { grid-template-columns: repeat(2, 1fr) !important; gap: 20px; }

.member-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 40px 30px; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25); transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.member-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.35); background: rgba(255,255,255,0.07); }

.avatar {
  width: 130px; height: 175px; background: var(--color-primary);
  border-radius: 16px; overflow: hidden;
  margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
}
.avatar svg { width: 60px; height: 60px; fill: #fff; }
.member-name { font-size: 1.5rem; font-weight: 600; color: var(--color-text-light); margin-bottom: 8px; }
.member-role { font-size: 1rem; color: var(--color-text-light-muted); font-weight: 400; }

/* === Join Card === */
.join-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); max-width: 400px; }
.grad-icon {
  width: 60px; height: 60px; background: var(--color-primary);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.grad-icon svg { width: 35px; height: 35px; fill: #fff; }
.join-card h2 { font-size: 1.5rem; font-weight: 600; color: var(--color-text-light); margin-bottom: 12px; }
.join-card p { color: var(--color-text-light-muted); line-height: 1.6; margin-bottom: 25px; }

.join-btn {
  background: var(--color-primary); color: #fff; border: none;
  padding: 14px 28px; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.join-btn:hover { transform: translateY(-2px); box-shadow: 0 2px 10px rgba(79,70,229,0.35); background: var(--color-primary-hover); }

/* === Navbar (transparent, always pinned to the top of the viewport) === */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: none;
  padding: 20px 20px;
}
.nav-inner { max-width: 1600px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 22px; }

/* brand */
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 700; font-size: 1.625rem; color: var(--color-text-light);
}
.brand-logo { width: 100px; height: 32px; object-fit: contain; border-radius: 8px; display: inline-block; vertical-align: middle; }

/* links */
.nav-links { list-style: none; display: flex; gap: 18px; }
.nav-links a { text-decoration: none; color: var(--color-text-light); font-weight: 700; padding: 8px 6px; border-radius: 8px; transition: background-color .2s ease, color .2s ease; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* calls to action */
.btn-signup {
  text-decoration: none; font-weight: 700; padding: 10px 16px; border-radius: 8px;
  background-color: var(--color-primary); color: #fff; transition: opacity .15s ease, transform .15s ease, background-color .15s ease;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-signup:hover { opacity: .9; transform: translateY(-1px); background-color: var(--color-primary-hover); }

/* hamburger */
.hamburger { display: none; width: 42px; height: 42px; border: none; background: transparent; padding: 8px; border-radius: 8px; }
.hamburger .bar { display: block; height: 2px; margin: 6px 0; background: var(--color-text-light); width: 100%; border-radius: 2px; }

/* mobile drawer */
.drawer { display: none; border-top: 1px solid rgba(255,255,255,0.08); padding: 12px 20px 18px; }
.site-nav.open .drawer { display: block; }
.drawer-links { list-style: none; font-weight: 700; display: grid; gap: 6px; margin-bottom: 10px; }
.drawer-links a { display: block; padding: 10px 8px; border-radius: 8px; text-decoration: none; color: var(--color-text-light-muted); transition: background-color .2s ease, color .2s ease; }
.drawer-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.drawer-cta { width: max-content; }

@media (max-width: 768px){
  .nav-links { display: none; }
  .hamburger { display: inline-block; }
  .nav-right > .btn-signup { display: none; }
}

/* Bleed full-width sections safely */
.hero,
.classroom-section,
.gallery-section,
.officers-section,
.site-footer {
  width: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.classroom-section,
.gallery-section,
.officers-section,
.site-footer {
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}
.hero { margin-top: 0; margin-bottom: 0; }
.classroom-section { margin-top: 0; margin-bottom: 0; }
.gallery-section { margin-top: 0; margin-bottom: 0; }
.officers-section { margin-top: 0; margin-bottom: 0; }
.site-footer { margin-top: 0; margin-bottom: -40px; }


/* === Home slider: hero/about/gallery/officers slide continuously with scroll (no snapping) === */
.home-slider-spacer {
  position: relative;
  height: 400vh; /* 4 slides * 100vh — reserves scroll distance for the slider */
  margin: 0 -20px; /* cancel body side padding so the slider is full-bleed */
}
.home-slider {
  position: sticky; /* pinned by the browser itself, so there's no jump when it pins/unpins */
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 6;
}

.hero.slide, .classroom-section.slide, .gallery-section.slide, .officers-section.slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0 !important;
  overflow: hidden;
  box-sizing: border-box;
  will-change: transform;
  transform: translateY(100%); /* JS drives the real position continuously; this is only the no-JS fallback */
}
.slide:first-child { transform: translateY(0); }

/* === FAQ === */
.faq { --faq-accent: var(--color-accent); max-width: 900px; margin: 70px auto 20px; }
.faq-heading { color: var(--faq-accent); display: inline-flex; align-items: center; gap: 10px; font-size: 3rem; font-weight: 800; letter-spacing: .5px; margin-bottom: 18px; }
.faq-heading .fi { line-height: 1; font-size: 1em; color: var(--faq-accent); }
.faq-list { background: transparent; }
.faq-item { padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,0.1); }
.faq-item:first-of-type { border-top: none; padding-top: 8px; }
.faq-q { border-left: 4px solid var(--faq-accent); padding-left: 12px; font-weight: 700; font-size: 1.25rem; color: var(--color-text-light); margin-bottom: 8px; }
.faq-a { color: var(--color-text-light-muted); line-height: 1.7; }
.inline-link { color: var(--color-primary-light); text-decoration: underline; text-underline-offset: 2px; }
.inline-link:hover { opacity: .9; }

/* === Footer (deepest, dark contrast section) === */
.site-footer { background: var(--color-bg-darkest); border-top: 1px solid rgba(255,255,255,0.06); box-shadow: 0 -8px 30px rgba(0,0,0,0.2); padding: 16px 20px; }
.site-footer.is-visible { display: block; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: flex-start; gap: 36px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: #f8fafc; white-space: nowrap; text-decoration: none; }
.footer-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.footer-title { font-weight: 750; letter-spacing: .5px; }
.footer-columns { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 28px; }
.footer-col h4 { font-size: .95rem; font-weight: 700; color: #f8fafc; margin-bottom: 10px; }
.footer-col a { display: block; text-decoration: none; color: #94a3b8; margin: 8px 0; transition: color .2s ease; }
.footer-col a:hover { color: #f8fafc; }
.footer-note { color: #94a3b8; line-height: 1.5; }
.footer-socials { display: flex; gap: 14px; align-items: center; }
.footer-socials .fi { font-size: 22px; line-height: 1; color: #94a3b8; display: block; transition: color .2s ease; }
.footer-socials a:hover .fi { color: #fff; }

@media (max-width: 768px){
  .footer-inner { flex-direction: column; gap: 16px; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* === In the Classroom Section (alternating dark tone) === */
.classroom-section {
  background: var(--color-bg-dark-alt); position: relative;
  min-height: 100vh; box-sizing: border-box; padding: calc(var(--nav-height) + 24px) 20px 32px;
  display: flex; align-items: center;
}
.classroom-section::before {
  content: ''; position: absolute; inset: 0; height: 100%; background-image: none; pointer-events: none;
}
.classroom-inner { max-width: 1200px; width: 100%; margin: 0 auto; position: relative; z-index: 1; }
.classroom-icon-wrapper { display: flex; justify-content: center; margin-bottom: 15px; }
.classroom-icon { width: 80px; height: 80px; background: var(--color-secondary); border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff; }
.classroom-heading { font-size: 3.5rem; font-weight: 700; color: var(--color-text-light); text-align: center; margin-bottom: 50px; }
.classroom-content { display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; }
.classroom-image {
  position: relative; width: 100%;
  min-height: clamp(400px, 42vw, 600px);
  margin-left: clamp(-70px, -6vw, -30px);
}
.classroom-image img {
  position: absolute; width: auto; height: auto;
  object-fit: contain; display: block;
  box-shadow: 0 20px 45px rgba(0,0,0,0.5); border-radius: 16px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.classroom-image img:nth-of-type(1) {
  top: -4%; left: 0; z-index: 1; max-width: 88%; max-height: 80%; transform: rotate(-4deg);
}
.classroom-image img:nth-of-type(2) {
  bottom: -4%; right: -4%; z-index: 2; max-width: 78%; max-height: 66%; transform: rotate(3deg);
}
.classroom-image img:hover { transform: rotate(0deg) scale(1.03); box-shadow: 0 25px 55px rgba(0,0,0,0.6); z-index: 3; }

@media (max-width: 560px){
  .classroom-image { min-height: clamp(210px, 58vw, 320px); }
}
.classroom-details { display: flex; flex-direction: column; gap: 26px; }
#classroom .classroom-details p strong {
  font-weight: 400; text-decoration-line: underline; text-decoration-color: var(--color-secondary-light); text-underline-offset: 3px; text-decoration-thickness: 2px;
}
.classroom-details ul, .classroom-details ol { padding-left: 1.25rem; margin: 8px 0; }
.classroom-details li { margin: 6px 0; }
.classroom-details li::marker { color: var(--color-secondary-light); }
.classroom-item {
  border-left: 2px solid var(--color-secondary);
  padding-left: 22px;
}
.classroom-item h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--color-text-light); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: .08em;
}
.classroom-item p { color: var(--color-text-light-muted); line-height: 1.7; font-size: 1.05rem; }

/* === Gallery (base dark tone; title left, photos right) === */
.gallery-section {
  background: var(--color-bg-dark); position: relative;
  min-height: 100vh; box-sizing: border-box; padding: calc(var(--nav-height) + 48px) 20px 32px;
  display: flex; align-items: flex-start;
}
.gallery-inner { max-width: 1200px; width: 100%; margin: 0 auto; }
.gallery-content {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 1.1fr;
  grid-template-rows: auto 1fr 1fr;
  grid-template-areas:
    "header p1     p2"
    "p3     p1     p2"
    "p3     p4     p5";
  gap: 18px;
  align-items: stretch; justify-items: stretch;
  height: clamp(420px, 58vh, 560px);
}
.gallery-header { grid-area: header; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; gap: 10px; }
.gallery-header .section-subtitle { text-align: left; margin-top: -4px; margin-bottom: 0; }
.gallery-grid { display: contents; }
.gallery-photo {
  width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden;
  object-fit: cover; border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.08);
  transition: transform .35s ease, box-shadow .35s ease;
}
.gallery-photo:nth-child(1) { grid-area: p1; --tilt: -2deg; }
.gallery-photo:nth-child(2) { grid-area: p2; --tilt: 2deg; }
.gallery-photo:nth-child(3) { grid-area: p3; --tilt: -1.5deg; }
.gallery-photo:nth-child(4) { grid-area: p4; --tilt: 2deg; }
.gallery-photo:nth-child(5) { grid-area: p5; --tilt: -2deg; }
.gallery-photo.reveal:hover {
  --tilt: 0deg; transform: scale(1.04) rotate(var(--tilt));
  box-shadow: 0 22px 55px rgba(0,0,0,0.6); z-index: 5; position: relative;
}

@media (max-width: 900px){
  .gallery-content {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "header header"
      "p1     p2"
      "p3     p4"
      "p5     p5";
    height: auto; gap: 14px 16px;
  }
  .gallery-header { align-items: center; text-align: center; }
  .gallery-header .section-subtitle { text-align: center; }
  .gallery-photo { height: auto; aspect-ratio: 4 / 2.7; }
  .gallery-photo:nth-child(5) { max-width: 55%; margin-inline: auto; }
}
.gallery-icon { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover)); }

@media (max-width: 768px){
  .classroom-heading { font-size: 2.5rem; }
  .classroom-content { grid-template-columns: 1fr; gap: 18px; }
  .classroom-icon { width: 60px; height: 60px; font-size: 30px; }
  .classroom-image { margin-left: 0; }
  .classroom-details { gap: 14px; }
  .classroom-item p { font-size: 0.92rem; line-height: 1.5; }
}

/* === Officers (alternating dark tone; compact homepage variant) === */
.officers-section {
  background: var(--color-bg-dark-alt); position: relative;
  min-height: 100vh; box-sizing: border-box; padding: calc(var(--nav-height) + 24px) 20px 32px;
  display: flex; align-items: center;
}
.officers-inner { max-width: 1100px; width: 100%; margin: 0 auto; }
.home-members-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-bottom: 28px; }
.home-members-grid .member-card { padding: 46px 26px; }
.home-members-grid .avatar { width: 144px; height: 192px; margin-bottom: 20px; }
.home-members-grid .avatar svg { width: 56px; height: 56px; }
.home-members-grid .member-name { font-size: 1.4rem; margin-bottom: 4px; }
.home-members-grid .member-role { font-size: 1.05rem; }
.home-join-line {
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  text-align: center;
}
.home-join-line p { color: var(--color-text-light-muted); font-size: 1.05rem; }

@media (max-width: 900px){
  .home-members-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px){
  .home-members-grid { gap: 16px; }
  .home-members-grid .member-card { padding: 24px 16px; }
  .home-members-grid .avatar { width: 100px; height: 134px; margin-bottom: 10px; }
  .home-members-grid .avatar svg { width: 40px; height: 40px; }
  .home-members-grid .member-name { font-size: 1.05rem; margin-bottom: 2px; }
  .home-members-grid .member-role { font-size: .82rem; }
}

/* === Hero (full-bleed banner image with overlaid text) === */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-dark);
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-image {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 45%;
  filter: blur(3px);
  transform: scale(1.06);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,17,32,0.6), rgba(11,17,32,0.8));
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto; padding: calc(var(--nav-height) + 50px) 20px 70px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%;
}
.hero-text { text-align: center; min-width: 0; }
.hero-title { font-size: clamp(2.25rem, 4.5vw, 4.5rem); line-height: 1.05; font-weight: 800; color: #fff; letter-spacing: .3px; margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,0.35); }
.highlight-accessible { color: var(--color-primary-light); }
.hero-subtitle { font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--color-text-light); max-width: 46ch; line-height: 1.7; margin: 0 auto 28px; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-cta .btn-signup, .hero-cta .btn-secondary { padding: 14px 26px; font-size: 1.05rem; border-radius: 10px; }
.btn-secondary{
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-secondary:hover{
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

@media (max-width: 900px){
  .hero { min-height: 100vh; }
  .hero-inner { padding: calc(var(--nav-height) + 30px) 20px 50px; }
}

/* === Unified section headers (icon above title) === */
.section-header { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 20px; }
.section-icon {
  width: 80px; height: 80px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: #fff; background: var(--color-primary);
}
.section-icon .fi { color: #fff; line-height: 1; }
.about-icon { background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-hover)); }
.officers-icon { background: var(--color-primary); }
.faq-icon { background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover)); }
.section-title { font-size: 3rem; font-weight: 800; color: var(--color-text-light); letter-spacing: .5px; }
.section-subtitle { font-size: 1.125rem; color: var(--color-text-light-muted); margin-top: -4px; margin-bottom: 28px; text-align: center; font-weight: 400; }

@media (max-width: 768px){
  .section-icon { width: 60px; height: 60px; font-size: 30px; }
  .section-title { font-size: 2.5rem; }
}

/* === Page spacing between sections === */
#about { margin-bottom: 0; }
#about .testimonies, #about .reviews, #about .testimonials { margin-bottom: 0; }
#officers { margin-top: 160px; margin-bottom: 160px; }
#faq { margin-top: 0; }

/* === Scroll-reveal transitions (replays every time an element crosses into view) === */
.reveal {
  --tilt: 0deg;
  opacity: 0;
  transform: translateY(24px) rotate(var(--tilt));
  transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0) rotate(var(--tilt)); }

/* Staggered cascade for grouped items */
.gallery-grid .reveal:nth-child(2), .members-grid .reveal:nth-child(2) { transition-delay: .08s; }
.gallery-grid .reveal:nth-child(3), .members-grid .reveal:nth-child(3) { transition-delay: .16s; }
.gallery-grid .reveal:nth-child(4), .members-grid .reveal:nth-child(4) { transition-delay: .24s; }
.classroom-details .reveal:nth-of-type(2) { transition-delay: .08s; }
.classroom-details .reveal:nth-of-type(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
