/* ══════════════════════════════════════════
   GS BUBAZI — MAIN STYLESHEET
   Navy & Gold | Professional | Rwanda
══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Barlow:wght@300;400;500;600;700&display=swap');

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

:root {
  --navy:        #080f1e;
  --navy-mid:    #0d1f3c;
  --navy-light:  #162d52;
  --navy-card:   #0f1c35;
  --gold:        #c9943a;
  --gold-bright: #e8b84b;
  --gold-light:  #f0cc7a;
  --gold-pale:   #faf0d7;
  --cream:       #f8f4ec;
  --white:       #ffffff;
  --text-body:   #2a2a3e;
  --text-mid:    #5a5a7a;
  --text-light:  #9a9ab0;
  --border:      rgba(201,148,58,0.2);
  --shadow-gold: 0 0 40px rgba(201,148,58,0.15);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--cream);
  color: var(--text-body);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; pointer-events: none;
  z-index: 9999; transform: translate(-50%,-50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: fixed; pointer-events: none;
  z-index: 9998; transform: translate(-50%,-50%);
  transition: transform 0.15s ease, width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.6;
}
body:hover .cursor { opacity: 1; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── SELECTION ── */
::selection { background: var(--gold); color: var(--navy); }

/* ════════════════════════════
   NAVIGATION
════════════════════════════ */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
  background: rgba(8,15,30,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
nav.scrolled {
  height: 62px;
  background: rgba(8,15,30,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }

.nav-crest-svg {
  width: 44px; height: 44px; flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(201,148,58,0.4));
  transition: transform 0.4s ease, filter 0.3s;
}
.nav-logo:hover .nav-crest-svg {
  transform: rotate(15deg) scale(1.05);
  filter: drop-shadow(0 0 14px rgba(232,184,75,0.6));
}

.nav-brand { display: flex; flex-direction: column; }
.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 700;
  color: var(--white); letter-spacing: 0.05em; line-height: 1.1;
}
.nav-brand-tagline {
  font-size: 9px; font-weight: 300; letter-spacing: 0.22em;
  color: var(--gold); text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,0.7);
  transition: color 0.25s;
  position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold-bright);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.nav-explore-btn {
  background: transparent !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 8px 20px; border-radius: 2px;
  transition: background 0.25s, color 0.25s !important;
}
.nav-explore-btn:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}
.nav-explore-btn::after { display: none !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transition: all 0.3s;
}

/* ════════════════════════════
   HERO
════════════════════════════ */
#hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}

.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 70% 70% at 65% 40%, rgba(22,45,82,0.7) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 5% 90%, rgba(201,148,58,0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8,15,30,0.3) 0%, rgba(8,15,30,0.6) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  padding: 130px 8% 100px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(201,148,58,0.1);
  border: 1px solid rgba(201,148,58,0.35);
  padding: 8px 20px; border-radius: 2px;
  margin-bottom: 36px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2.5s infinite;
}
.hero-badge span {
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-light);
  font-weight: 500;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 900; line-height: 1.05;
  color: var(--white); margin-bottom: 12px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.4s forwards;
}
.hero-title-gold {
  font-style: italic; color: var(--gold-light);
  display: block;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400; font-style: italic;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px; letter-spacing: 0.08em;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.55s forwards;
}

.hero-divider {
  width: 80px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s ease 0.65s forwards;
}

.hero-desc {
  font-family: 'Crimson Pro', serif;
  font-size: 19px; font-weight: 300; line-height: 1.8;
  color: rgba(255,255,255,0.6); max-width: 520px;
  margin-bottom: 52px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.85s forwards;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy);
  padding: 14px 34px; border-radius: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none;
  border: none; cursor: none;
  box-shadow: 0 4px 20px rgba(201,148,58,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,148,58,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 34px; border-radius: 2px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201,148,58,0.05);
}

.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 8%;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; animation: fadeUp 1s ease 1.2s forwards;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
.hero-scroll-hint span {
  font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); writing-mode: vertical-rl;
}

/* ════════════════════════════
   SECTION SHARED STYLES
════════════════════════════ */
section { padding: 110px 8%; }

.section-label {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  margin-bottom: 14px; display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; display: inline-block;
  width: 30px; height: 1px; background: var(--gold);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; line-height: 1.12;
  color: var(--navy);
}
.section-title.light { color: var(--white); }

.section-title em {
  font-style: italic; color: var(--gold);
}

.section-desc {
  font-family: 'Crimson Pro', serif;
  font-size: 18px; line-height: 1.8; font-weight: 300;
  color: var(--text-mid); max-width: 600px;
  margin-top: 16px;
}
.section-desc.light { color: rgba(255,255,255,0.6); }

/* reveal animation */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ════════════════════════════
   STATS STRIP
════════════════════════════ */
#stats {
  padding: 0;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border);
}
.stat-item {
  padding: 52px 40px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(201,148,58,0.05); }
.stat-item::before {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%; height: 2px; background: var(--gold);
  transition: transform 0.4s ease;
}
.stat-item:hover::before { transform: translateX(-50%) scaleX(1); }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 52px; font-weight: 900; color: var(--gold-bright);
  line-height: 1; display: block;
  text-shadow: 0 0 30px rgba(232,184,75,0.3);
}
.stat-suffix {
  font-family: 'Playfair Display', serif;
  font-size: 28px; color: var(--gold);
}
.stat-label {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-top: 10px; display: block;
  font-weight: 500;
}

/* ════════════════════════════
   ABOUT
════════════════════════════ */
#about {
  background: var(--cream);
  position: relative; overflow: hidden;
}
#about::before {
  content: 'GS'; position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 280px; font-weight: 900;
  color: rgba(201,148,58,0.04);
  right: -40px; top: 50%; transform: translateY(-50%);
  pointer-events: none; line-height: 1;
  letter-spacing: -0.05em;
}

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}
.about-image-frame {
  width: 100%; aspect-ratio: 4/5;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  border-radius: 2px;
}
.about-image-frame img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.85;
}
.about-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
  color: rgba(255,255,255,0.2);
  font-family: 'Playfair Display', serif;
  font-size: 14px; letter-spacing: 0.1em;
}
.about-image-placeholder svg {
  width: 60px; height: 60px; opacity: 0.3;
  stroke: var(--gold);
}
.about-image-accent {
  position: absolute; bottom: -16px; right: -16px;
  width: 120px; height: 120px;
  border: 2px solid var(--gold);
  border-radius: 2px; z-index: -1;
  opacity: 0.4;
}
.about-image-badge {
  position: absolute; top: 24px; left: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy);
  padding: 12px 20px; border-radius: 2px;
  font-family: 'Playfair Display', serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  box-shadow: 0 6px 20px rgba(201,148,58,0.4);
}

.about-content { }
.about-values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 40px;
}
.about-value-card {
  background: var(--white);
  border: 1px solid rgba(201,148,58,0.15);
  padding: 22px 20px; border-radius: 2px;
  position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(201,148,58,0.12);
}
.about-value-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: var(--gold);
}
.about-value-icon {
  font-size: 22px; margin-bottom: 8px; display: block;
}
.about-value-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin-bottom: 4px;
}
.about-value-text {
  font-size: 12px; color: var(--text-mid); line-height: 1.6;
}

/* ════════════════════════════
   ACADEMICS
════════════════════════════ */
#academics {
  background: var(--navy);
  position: relative; overflow: hidden;
}
#academics::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(201,148,58,0.015) 40px,
    rgba(201,148,58,0.015) 41px
  );
  pointer-events: none;
}

.academics-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px; flex-wrap: wrap; gap: 24px;
}

.academics-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative; z-index: 1;
}

.academic-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  padding: 40px 32px; border-radius: 2px;
  position: relative; overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s;
  transform-style: preserve-3d;
  cursor: none;
}
.academic-card:hover {
  transform: translateY(-8px) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), var(--shadow-gold);
  border-color: rgba(201,148,58,0.5);
}
.academic-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.academic-card:hover::before { transform: scaleX(1); }

.academic-card-number {
  font-family: 'Playfair Display', serif;
  font-size: 64px; font-weight: 900;
  color: rgba(201,148,58,0.08);
  position: absolute; right: 20px; top: 10px;
  line-height: 1; pointer-events: none;
}
.academic-card-icon {
  width: 52px; height: 52px;
  background: rgba(201,148,58,0.1);
  border: 1px solid rgba(201,148,58,0.2);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 24px;
  transition: background 0.3s, border-color 0.3s;
}
.academic-card:hover .academic-card-icon {
  background: rgba(201,148,58,0.2);
  border-color: var(--gold);
}
.academic-card-level {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; font-weight: 600;
}
.academic-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--white); margin-bottom: 16px; line-height: 1.2;
}
.academic-card-desc {
  font-family: 'Crimson Pro', serif;
  font-size: 16px; line-height: 1.75;
  color: rgba(255,255,255,0.55); margin-bottom: 24px;
}
.academic-card-subjects {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.subject-tag {
  font-size: 10px; letter-spacing: 0.1em;
  background: rgba(201,148,58,0.1);
  border: 1px solid rgba(201,148,58,0.2);
  color: var(--gold-light);
  padding: 5px 12px; border-radius: 2px;
  text-transform: uppercase; font-weight: 500;
}

/* ════════════════════════════
   STAFF
════════════════════════════ */
#staff { background: var(--cream); }

.staff-leadership {
  margin-bottom: 70px;
}

.headmaster-card {
  background: var(--navy);
  border: 1px solid var(--border);
  padding: 50px;
  display: flex; align-items: center; gap: 50px;
  border-radius: 2px;
  position: relative; overflow: hidden;
  max-width: 800px; margin: 0 auto;
  box-shadow: 0 20px 60px rgba(8,15,30,0.3);
}
.headmaster-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--gold-bright));
}
.headmaster-card::after {
  content: 'HEADMASTER';
  position: absolute; top: 16px; right: 20px;
  font-size: 8px; letter-spacing: 0.3em;
  color: rgba(201,148,58,0.4); font-weight: 700;
}

.staff-avatar {
  width: 120px; height: 120px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy-light);
  border: 3px solid var(--gold);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700;
  color: var(--gold);
  box-shadow: 0 0 20px rgba(201,148,58,0.3);
  position: relative;
}
.staff-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}

.headmaster-info {}
.headmaster-name {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 800;
  color: var(--white); margin-bottom: 6px;
}
.headmaster-role {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 600;
}
.headmaster-quote {
  font-family: 'Crimson Pro', serif;
  font-size: 16px; font-style: italic; line-height: 1.7;
  color: rgba(255,255,255,0.55); margin-bottom: 20px;
}
.staff-contact-row {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.staff-contact-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.staff-contact-item svg { width: 14px; height: 14px; stroke: var(--gold); }

/* DOS & DOD */
.leadership-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 24px;
}
.leader-card {
  background: var(--white);
  border: 1px solid rgba(201,148,58,0.15);
  padding: 32px;
  display: flex; align-items: center; gap: 24px;
  border-radius: 2px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(8,15,30,0.1);
}
.leader-card .staff-avatar {
  width: 72px; height: 72px;
  font-size: 22px;
  border-color: rgba(201,148,58,0.5);
  background: var(--navy-mid);
}
.leader-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700;
  color: var(--navy); margin-bottom: 4px;
}
.leader-role {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; font-weight: 600;
}
.leader-contacts { display: flex; flex-direction: column; gap: 5px; }
.leader-contact-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-mid);
}
.leader-contact-item svg { width: 12px; height: 12px; stroke: var(--gold); flex-shrink: 0; }

/* Teachers grid */
.teachers-header {
  display: flex; align-items: center; gap: 16px;
  margin: 60px 0 30px;
}
.teachers-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; color: var(--navy);
}
.teachers-header-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(201,148,58,0.4), transparent);
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* flip card */
.teacher-card {
  height: 260px; perspective: 1000px; cursor: none;
}
.teacher-card-inner {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.teacher-card:hover .teacher-card-inner {
  transform: rotateY(180deg);
}
.teacher-card-front,
.teacher-card-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: 2px;
  overflow: hidden;
}
.teacher-card-front {
  background: var(--white);
  border: 1px solid rgba(201,148,58,0.15);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; padding: 24px;
}
.teacher-card-front .staff-avatar {
  width: 80px; height: 80px; font-size: 26px;
  border-color: rgba(201,148,58,0.4);
  background: var(--navy-mid);
}
.teacher-front-name {
  font-family: 'Playfair Display', serif;
  font-size: 14px; font-weight: 700;
  color: var(--navy); text-align: center;
}
.teacher-front-subject {
  font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 600; text-align: center;
}
.teacher-card-back {
  background: var(--navy);
  border: 1px solid var(--border);
  transform: rotateY(180deg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; padding: 24px; text-align: center;
}
.teacher-back-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700; color: var(--white);
}
.teacher-back-role {
  font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 600;
}
.teacher-back-divider {
  width: 40px; height: 1px; background: var(--border);
}
.teacher-back-contacts { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.teacher-back-contact {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: 11px; color: rgba(255,255,255,0.55);
  word-break: break-all;
}
.teacher-back-contact svg { width: 12px; height: 12px; stroke: var(--gold); flex-shrink: 0; }

/* ════════════════════════════
   ACHIEVEMENTS / HONOR
════════════════════════════ */
#achievements {
  background: var(--navy-mid);
  position: relative; overflow: hidden;
}

.achievements-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  margin-top: 60px;
}

.achievement-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--white); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.achievement-block h3 span {
  font-size: 20px;
}

.honor-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.honor-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  border-radius: 2px;
  transition: background 0.3s, border-color 0.3s;
}
.honor-item:hover {
  background: rgba(201,148,58,0.08);
  border-color: rgba(201,148,58,0.4);
}
.honor-rank {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 900;
  color: var(--gold); width: 32px; flex-shrink: 0;
}
.honor-info {}
.honor-name {
  font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 2px;
}
.honor-detail {
  font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.05em;
}

.award-list { display: flex; flex-direction: column; gap: 14px; }
.award-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 20px 24px;
  border-radius: 2px;
  transition: all 0.3s;
}
.award-item:hover {
  background: rgba(201,148,58,0.08);
  border-color: rgba(201,148,58,0.4);
  transform: translateX(6px);
}
.award-year {
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--gold); font-weight: 600; text-transform: uppercase;
  margin-bottom: 6px;
}
.award-title {
  font-size: 15px; font-weight: 600; color: var(--white);
}
.award-desc {
  font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 4px;
}

/* ════════════════════════════
   NEWS & EVENTS
════════════════════════════ */
#news {
  background: var(--cream);
}
.news-events-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 50px;
  margin-top: 50px;
}

.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-card {
  background: var(--white);
  border: 1px solid rgba(201,148,58,0.12);
  padding: 28px 30px;
  border-radius: 2px;
  display: flex; gap: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: none;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(8,15,30,0.08);
}
.news-date {
  flex-shrink: 0; text-align: center;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px; border-radius: 2px;
  min-width: 60px;
}
.news-date-day {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 900;
  color: var(--gold-bright); display: block; line-height: 1;
}
.news-date-month {
  font-size: 9px; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.news-content {}
.news-category {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 6px;
}
.news-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700;
  color: var(--navy); margin-bottom: 8px; line-height: 1.3;
}
.news-excerpt {
  font-size: 13px; line-height: 1.7; color: var(--text-mid);
}

.events-sidebar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: var(--navy);
  margin-bottom: 20px;
}
.event-list { display: flex; flex-direction: column; gap: 14px; }
.event-item {
  background: var(--navy);
  padding: 18px 20px; border-radius: 2px;
  border-left: 3px solid var(--gold);
  transition: transform 0.2s;
}
.event-item:hover { transform: translateX(4px); }
.event-date-str {
  font-size: 10px; letter-spacing: 0.15em;
  color: var(--gold); font-weight: 600;
  text-transform: uppercase; margin-bottom: 6px;
}
.event-name {
  font-size: 14px; font-weight: 600;
  color: var(--white); margin-bottom: 4px;
}
.event-meta {
  font-size: 11px; color: rgba(255,255,255,0.4);
}

/* ════════════════════════════
   CLUBS
════════════════════════════ */
#clubs {
  background: var(--navy);
  text-align: center;
}
.clubs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 50px;
}
.club-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  padding: 36px 20px;
  border-radius: 2px; text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: none;
}
.club-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.club-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.club-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700; color: var(--white);
  margin-bottom: 8px;
}
.club-desc { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ════════════════════════════
   TESTIMONIALS
════════════════════════════ */
#testimonials {
  background: var(--gold-pale);
  position: relative; overflow: hidden;
}
#testimonials::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 400px; font-weight: 900;
  color: rgba(201,148,58,0.07);
  position: absolute; top: -80px; left: 40px;
  line-height: 1; pointer-events: none;
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 50px; position: relative;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(201,148,58,0.15);
  padding: 36px 30px; border-radius: 2px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(8,15,30,0.1);
}
.testimonial-stars {
  color: var(--gold); font-size: 14px; margin-bottom: 18px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-family: 'Crimson Pro', serif;
  font-size: 17px; font-style: italic; line-height: 1.75;
  color: var(--text-mid); margin-bottom: 24px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-mid);
  border: 2px solid rgba(201,148,58,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px; font-weight: 700; color: var(--navy);
}
.testimonial-role {
  font-size: 11px; color: var(--text-light); margin-top: 2px;
}

/* ════════════════════════════
   FAQ
════════════════════════════ */
#faq { background: var(--cream); }
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 50px;
}
.faq-item {
  background: var(--white);
  border: 1px solid rgba(201,148,58,0.12);
  border-radius: 2px; overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 24px; cursor: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px; font-weight: 600; color: var(--navy);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-chevron {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: var(--gold); transition: transform 0.3s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 14px; line-height: 1.7; color: var(--text-mid);
  font-family: 'Crimson Pro', serif; font-size: 16px;
}

/* ════════════════════════════
   AFFILIATIONS
════════════════════════════ */
#affiliations {
  background: var(--navy-mid);
  padding: 60px 8%;
  text-align: center;
}
.affiliations-label {
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 30px;
  font-weight: 500;
}
.affiliations-row {
  display: flex; align-items: center; justify-content: center;
  gap: 50px; flex-wrap: wrap;
}
.affiliation-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 16px 28px; border-radius: 2px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  transition: all 0.3s;
}
.affiliation-badge:hover {
  background: rgba(201,148,58,0.1);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ════════════════════════════
   NOTICE BOARD
════════════════════════════ */
.notice-board {
  position: fixed; bottom: 30px; right: 30px;
  z-index: 500; width: 300px;
  transform: translateX(340px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.notice-board.open { transform: translateX(0); }
.notice-toggle {
  position: absolute; left: -46px; top: 0;
  background: var(--gold);
  color: var(--navy);
  width: 40px; height: 40px;
  border-radius: 2px 0 0 2px;
  border: none; cursor: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: -4px 0 12px rgba(0,0,0,0.2);
}
.notice-content {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 2px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.notice-header {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.notice-header span {
  font-size: 11px; letter-spacing: 0.2em;
  font-weight: 700; color: var(--navy);
  text-transform: uppercase;
}
.notice-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--navy); opacity: 0.4;
  animation: pulse 1.5s infinite;
}
.notice-items { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.notice-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 12px 14px; border-radius: 2px;
}
.notice-item-date {
  font-size: 9px; letter-spacing: 0.15em;
  color: var(--gold); text-transform: uppercase;
  font-weight: 600; margin-bottom: 4px;
}
.notice-item-text { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ════════════════════════════
   CONTACT
════════════════════════════ */
#contact { background: var(--navy); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px;
  margin-top: 60px;
}

.contact-info-block { display: flex; flex-direction: column; gap: 30px; }
.contact-info-item {
  display: flex; gap: 18px; align-items: flex-start;
}
.contact-icon-box {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(201,148,58,0.1);
  border: 1px solid rgba(201,148,58,0.25);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon-box svg { width: 18px; height: 18px; stroke: var(--gold); }
.contact-info-label {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 4px;
}
.contact-info-value {
  font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6;
}

.contact-social { display: flex; gap: 12px; margin-top: 10px; }
.social-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.social-btn:hover {
  background: rgba(201,148,58,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* contact form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); font-weight: 600;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px; padding: 14px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px; color: var(--white);
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(201,148,58,0.06);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--navy-mid); }
.form-submit {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy);
  padding: 15px 36px; border: none; border-radius: 2px;
  font-family: 'Barlow', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; cursor: none;
  transition: transform 0.2s, box-shadow 0.2s;
  align-self: flex-start;
  box-shadow: 0 4px 20px rgba(201,148,58,0.3);
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,148,58,0.45);
}

/* ════════════════════════════
   FOOTER
════════════════════════════ */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 50px 8% 30px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px; margin-bottom: 40px;
}
.footer-brand .nav-brand-name { font-size: 18px; margin-bottom: 4px; }
.footer-brand .nav-brand-tagline { margin-bottom: 16px; display: block; }
.footer-brand p {
  font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7;
}
.footer-col h4 {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; font-weight: 600;
}
.footer-col a {
  display: block; font-size: 13px;
  color: rgba(255,255,255,0.45); text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-size: 12px; color: rgba(255,255,255,0.25);
}
.footer-copy span { color: var(--gold); }

/* ════════════════════════════
   EXPLORE PAGE
════════════════════════════ */
.explore-hero {
  min-height: 55vh;
  background: var(--navy);
  display: flex; align-items: center;
  padding: 120px 8% 80px;
  position: relative; overflow: hidden;
}
.explore-hero::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 30px,
    rgba(201,148,58,0.02) 30px, rgba(201,148,58,0.02) 31px
  );
}
.gallery-section { padding: 80px 8%; background: var(--cream); }
.gallery-filters {
  display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap;
}
.filter-btn {
  background: var(--white);
  border: 1px solid rgba(201,148,58,0.2);
  padding: 10px 22px; border-radius: 2px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-mid);
  cursor: none; transition: all 0.25s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 4/3;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 2px; overflow: hidden;
  position: relative; cursor: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.gallery-item:first-child,
.gallery-item:nth-child(4) {
  grid-column: span 2;
}
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: rgba(255,255,255,0.15);
}
.gallery-placeholder svg { width: 40px; height: 40px; stroke: var(--gold); opacity: 0.3; }
.gallery-placeholder span { font-size: 12px; letter-spacing: 0.1em; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,15,30,0.85) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label {
  font-size: 12px; font-weight: 600; color: var(--white);
  letter-spacing: 0.05em;
}

.virtual-section {
  padding: 80px 8%;
  background: var(--navy);
  text-align: center;
}
.virtual-frame {
  margin-top: 40px;
  aspect-ratio: 16/9;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  max-width: 900px; margin: 40px auto 0;
}
.virtual-play {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--navy);
  cursor: none;
  box-shadow: 0 0 40px rgba(201,148,58,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.virtual-play:hover {
  transform: scale(1.1);
  box-shadow: 0 0 60px rgba(201,148,58,0.6);
}
.virtual-frame p {
  font-family: 'Crimson Pro', serif;
  font-size: 18px; color: rgba(255,255,255,0.4); font-style: italic;
}

/* ════════════════════════════
   ANIMATIONS
════════════════════════════ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 1100px) {
  .academics-grid { grid-template-columns: 1fr 1fr; }
  .clubs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; top: 74px; left: 0; right: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--border);
    padding: 24px 5%; gap: 20px;
  }
  .about-grid,
  .contact-grid,
  .achievements-grid,
  .news-events-grid { grid-template-columns: 1fr; }
  .leadership-pair { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  section { padding: 70px 5%; }
  .headmaster-card { flex-direction: column; text-align: center; padding: 32px; }
  .staff-contact-row { justify-content: center; }
}

@media (max-width: 600px) {
  .academics-grid,
  .clubs-grid,
  .stats-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 110px 5% 70px; }
  .form-row { grid-template-columns: 1fr; }
  .notice-board { right: 16px; bottom: 16px; width: 270px; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}
