/* ============================================
   FONTS & RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #FAF7FF;
  color: #2D1B4E;
  overflow-x: hidden;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background: #2D1B4E;
  color: #EDD5FF;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 28px,
    rgba(255,255,255,0.07) 28px, rgba(255,255,255,0.07) 30px
  );
  pointer-events: none;
}
.vinyl {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 50%,
    #666 0%, #222 24%, #555 26%, #333 42%,
    #111 44%, #333 68%, #111 70%, #222 100%);
  margin: 0 auto 1.5rem;
  position: relative;
  animation: spin 8s linear infinite;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}
.vinyl::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #FFB6D5;
}
.vinyl.small { width: 60px; height: 60px; }
.vinyl.small::after { width: 12px; height: 12px; }
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  color: #C8A0FF;
  margin-bottom: 0.8rem;
  position: relative;
}
.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  line-height: 1.1;
  color: #fff;
  position: relative;
}
.hero h1 span { color: #FFB6D5; }
.hero-tagline {
  margin-top: 1rem;
  font-size: 1rem;
  color: #C8A0FF;
  position: relative;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  color: #2D1B4E;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid #C8A0FF;
}

/* ============================================
   GROUP TABS
   ============================================ */
.group-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.gtab {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1.5px solid #C8A0FF;
  background: transparent;
  color: #2D1B4E;
  cursor: pointer;
  transition: all 0.2s;
}
.gtab:hover { background: #EDD5FF; }
.gtab.active {
  background: #2D1B4E;
  color: #EDD5FF;
  border-color: #2D1B4E;
}

/* ============================================
   SLIDESHOW
   ============================================ */
.slideshow {
  display: none;
  border-radius: 12px;
  border: 1.5px solid #C8A0FF;
  background: #fff;          /* ← white, not dark brown */
  overflow: hidden;
}
.slideshow.active { display: block; }

/* Clips the blur without blocking the slide animation */
.slideshow-inner {
  position: relative;
  overflow: hidden;          /* ← overflow here, NOT on slides-track */
}

/* NO overflow:hidden on slides-track — it must scroll freely */
.slides-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

/* Each slide is exactly the width of the container */
.slide {
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

/* Photo box — fixed height */
.photo-wrap {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
}

/* Blurred bg — inset keeps it inside without scale overflow */
.photo-wrap .photo-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.55);
  z-index: 0;
}

/* Photo centred, never expands the box */
.photo-wrap img {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  display: block;
}

/* Caption strip */
.caption-strip {
  background: #fff;
  padding: 14px 20px 16px;
  border-top: 2px solid #C8A0FF;
  overflow: hidden;
}
.caption-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2D1B4E;
  margin-bottom: 4px;
}
.caption-quote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #7A5A9A;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Arrow + dots bar */
.slide-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
  border-top: 1px solid #C8A0FF;
}
.arrow {
  background: none;
  border: 1.5px solid #C8A0FF;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1rem;
  color: #2D1B4E;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.arrow:hover {
  background: #2D1B4E;
  border-color: #2D1B4E;
  color: #EDD5FF;
}
.dots {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 60%;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #C8A0FF;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.2s;
  flex-shrink: 0;
}
.dot.active {
  background: #E05C8A;
  transform: scale(1.35);
}

/* Progress bar */
.progress-bar { height: 3px; background: #EDD5FF; }
.progress-fill {
  height: 100%;
  width: 0%;
  background: #E05C8A;
  transition: width 0.1s linear;
}

/* Slide badges */
.slide-badge {
  position: absolute;
  top: 12px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
  pointer-events: none;
}
.slide-badge.left  { left: 12px; }
.slide-badge.right { right: 12px; }

/* ============================================
   TEACHERS SECTION
   ============================================ */
.teachers-group { background: #FAF7FF; }
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  padding: 20px;
}
.teacher-card {
  background: #fff;
  border: 1.5px solid #C8A0FF;
  border-radius: 10px;
  padding: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.teacher-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.teacher-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #E05C8A;
  margin-bottom: 6px;
}
.teacher-quote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #7A5A9A;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #2D1B4E;
  color: #EDD5FF;
}
.footer-notes {
  font-size: 1.8rem;
  letter-spacing: 10px;
  margin: 1rem 0 0.6rem;
}
.footer-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #FFB6D5;
  margin-bottom: 1rem;
}
.footer-school {
  font-size: 0.8rem;
  color: #2D1B4E;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* ============================================
   PAUSE BUTTON
   ============================================ */
.pause-btn {
  background: none;
  border: 1.5px solid #C8A0FF;
  border-radius: 20px;
  padding: 0 14px;
  height: 36px;
  font-size: 0.75rem;
  color: #2D1B4E;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  transition: all 0.15s;
}
.pause-btn:hover {
  background: #2D1B4E;
  border-color: #2D1B4E;
  color: #FFB6D5;
}
.pause-btn.paused {
  color: #E05C8A;
  border-color: #E05C8A;
}
.pause-btn.paused:hover {
  background: #E05C8A;
  border-color: #E05C8A;
  color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
  .group-tabs { gap: 6px; }
  .gtab { font-size: 0.95rem; padding: 5px 12px; }
  .teachers-grid { grid-template-columns: 1fr 1fr; }
  .caption-quote { font-size: 1.05rem; }
}