/* ============================================
   Discovery Bay High School Alumni Association
   Hero Section
   ============================================ */

:root {
  --navy: #0e1b33;
  --navy-deep: #0a1428;
  --blue: #2f6fed;
  --blue-dark: #1e56d6;
  --text-light: #dbe2f0;
  --white: #ffffff;
  --bg-soft: #f8fafc;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

[hidden] {
  display: none !important;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
}

/* ===== NAVBAR ===== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(15, 27, 51, 0.06), 0 12px 30px -18px rgba(5, 39, 77, 0.25);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(15, 27, 51, 0.08), 0 16px 34px -16px rgba(5, 39, 77, 0.3);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 84px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: #1a2740;
  letter-spacing: 0.1px;
  transition: color 0.15s ease;
  white-space: nowrap;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--blue);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-login {
  padding: 11px 20px;
  font-size: 14px;
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.18s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(47, 111, 237, 0.35);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(47, 111, 237, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-icon .icon {
  width: 17px;
  height: 17px;
}

/* ===== HERO =====
   Full-bleed single photo with a centered content column and a dark navy
   tint over it — not a collage, not a split-screen. */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 140px 40px 64px;
  background-image: url("assets/photos/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 35%, rgba(2, 10, 24, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 39, 77, 0.82) 0%, rgba(5, 39, 77, 0.72) 45%, rgba(5, 39, 77, 0.88) 100%),
    radial-gradient(650px 460px at 12% 12%, rgba(77, 159, 255, 0.16), transparent 62%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0px, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 46px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0px, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 46px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-center {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-divider {
  width: 64px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 22px auto 0;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #5b9bff;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-title .accent {
  color: #4d9fff;
}

.hero-tagline {
  margin-top: 26px;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn {
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.hero .btn-primary {
  box-shadow: 0 8px 24px rgba(47, 111, 237, 0.4);
}

.hero .btn-primary:hover {
  box-shadow: 0 10px 32px rgba(47, 111, 237, 0.55);
  transform: translateY(-2px) scale(1.03);
}

.hero .btn-outline:hover {
  transform: translateY(-1px) scale(1.03);
}

.btn:active {
  transform: scale(0.96);
}

.hero .icon {
  width: 18px;
  height: 18px;
}

/* ===== HERO ENTRANCE ===== */

.hero-badge, .hero-title, .hero-tagline, .hero-buttons, .scroll-indicator, .stats-row {
  opacity: 0;
  animation: heroFadeUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge { animation-delay: 0s; }
.hero-title { animation-delay: 0.05s; }
.hero-tagline { animation-delay: 0.1s; }
.hero-buttons { animation-delay: 0.15s; }
.scroll-indicator { animation-delay: 0.2s; }
.stats-row { animation-delay: 0.25s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero-title, .hero-tagline, .hero-buttons, .stats-row {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}

.scroll-indicator-mouse {
  width: 24px;
  height: 38px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  position: relative;
  flex-shrink: 0;
}

.scroll-indicator-mouse::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--blue);
  transform: translateX(-50%);
  animation: scrollDotBounce 1.8s ease-in-out infinite;
}

@keyframes scrollDotBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  60% { transform: translate(-50%, 10px); opacity: 0.3; }
}

.scroll-indicator-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-indicator-mouse::before {
    animation: none;
  }
}

/* ===== STATS ROW — four glass cards over the photo ===== */

.stats-row {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 56px auto 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(8, 20, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 24px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.02);
  background: rgba(8, 20, 40, 0.68);
}

.stat-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.25);
  color: #5b9bff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-badge svg {
  width: 22px;
  height: 22px;
}

.stat-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
  min-width: 0;
}

.stat-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
}

/* ===== STORY / TIMELINE ===== */

.story-section {
  position: relative;
  background-image:
    radial-gradient(900px 500px at 85% 10%, rgba(47, 111, 237, 0.14), transparent 60%),
    linear-gradient(160deg, rgba(10, 18, 38, 0.88) 0%, rgba(13, 28, 61, 0.85) 55%, rgba(10, 20, 40, 0.92) 100%),
    url("assets/photos/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 90px 40px 64px;
}

.story-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 32%) 1fr;
  gap: 50px;
  align-items: center;
}

/* This section's markup is shared with about.html's timeline band. Only
   override the grid/typography when a .story-image is actually present
   (the homepage's photo layout) so about.html's timeline keeps its
   original narrower text column. */
.story-inner:has(.story-image) {
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.story-inner-solo {
  grid-template-columns: 1fr;
}

.story-inner-solo .story-left {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.story-inner-solo .story-text {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.story-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #5b9bff;
  margin-bottom: 14px;
}

.story-heading {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 12px;
}

.story-inner:has(.story-image) .story-heading {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
  margin-bottom: 18px;
}

.story-heading .accent {
  color: #4f8dfd;
}

.story-text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  max-width: 360px;
  margin-bottom: 18px;
}

.story-inner:has(.story-image) .story-text {
  font-size: 15px;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 28px;
}

.story-cta {
  padding: 10px 22px;
  font-size: 13.5px;
}

.story-inner:has(.story-image) .story-cta {
  padding: 13px 26px;
  font-size: 14.5px;
}

.story-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(2, 8, 20, 0.55);
}

.story-image img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.story-image:hover img {
  transform: scale(1.04);
}

.timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.timeline-line {
  position: absolute;
  top: 27px;
  left: 27px;
  right: 27px;
  height: 2px;
  background: linear-gradient(90deg, rgba(47, 111, 237, 0.7), rgba(47, 111, 237, 0.1));
  z-index: 0;
}

.timeline-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.timeline-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 25, 50, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: #6f9bff;
  margin-bottom: 10px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.timeline-circle svg {
  width: 21px;
  height: 21px;
}

.timeline-item.active .timeline-circle {
  border-color: var(--blue);
  background: rgba(47, 111, 237, 0.25);
  color: var(--white);
  animation: timelinePulse 2.6s ease-in-out infinite;
}

@keyframes timelinePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.15), 0 0 18px rgba(47, 111, 237, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(47, 111, 237, 0.08), 0 0 26px rgba(47, 111, 237, 0.65); }
}

.timeline-item.upcoming .timeline-circle {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.4);
}

.timeline-item.upcoming .timeline-dot {
  background: rgba(255, 255, 255, 0.25);
}

.timeline-item.upcoming .timeline-year {
  color: rgba(255, 255, 255, 0.55);
}

.timeline-label em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.timeline-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  margin-bottom: 8px;
}

.timeline-year {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 3px;
}

.timeline-label {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
  max-width: 120px;
}

/* ===== SHARED SECTION HELPERS ===== */

.section-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.view-all svg {
  width: 15px;
  height: 15px;
}

/* ===== EXECUTIVE TEAM (homepage teaser) ===== */

.exec-teaser-section {
  padding: 80px 0 20px;
  background: var(--white);
}

.exec-teaser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.exec-teaser-header .section-title {
  text-align: left;
  margin-bottom: 0;
}

.exec-teaser-header .section-title::after {
  margin: 14px 0 0;
}

.exec-teaser-carousel {
  position: relative;
}

.exec-teaser-track-viewport {
  overflow: hidden;
}

.exec-teaser-grid {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}

.exec-teaser-grid::-webkit-scrollbar {
  display: none;
}

.exec-teaser-grid .leader-card {
  flex: 0 0 160px;
}

.exec-teaser-grid .leader-photo {
  max-width: 116px;
}

/* ===== MEET OUR ALUMNI ===== */

.alumni-section {
  padding: 80px 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 40px;
  position: relative;
}

.section-title .accent {
  color: var(--blue);
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 14px auto 0;
}

.alumni-carousel {
  position: relative;
}

.alumni-track-viewport {
  overflow: hidden;
}

.alumni-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}

.alumni-track::-webkit-scrollbar {
  display: none;
}

.alumni-card {
  flex: 0 0 200px;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(14, 27, 51, 0.08);
  border: 1px solid #eef1f6;
  padding-bottom: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.alumni-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(14, 27, 51, 0.14);
}

.alumni-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.alumni-photo span {
  font-size: 40px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 1px;
}

.alumni-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  padding: 0 16px;
  margin-bottom: 2px;
}

.alumni-class {
  font-size: 13px;
  color: #8892a6;
  padding: 0 16px;
  margin-bottom: 8px;
}

.alumni-role {
  font-size: 13px;
  line-height: 1.5;
  color: #5b6a85;
  padding: 0 16px;
  margin-bottom: 14px;
  min-height: 40px;
}

.alumni-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.read-story {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.read-story svg {
  width: 14px;
  height: 14px;
}

.li-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  border: 1.5px solid #dce5f7;
  transition: background 0.2s ease, color 0.2s ease;
}

.li-btn svg {
  width: 15px;
  height: 15px;
}

.li-btn:hover {
  background: var(--blue);
  color: var(--white);
}

.carousel-next {
  position: absolute;
  top: 40%;
  right: -8px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #e3e7ee;
  box-shadow: 0 8px 20px rgba(14, 27, 51, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.carousel-next svg {
  width: 18px;
  height: 18px;
}

.carousel-next:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

/* ===== EVENTS + DONATE ===== */

.events-section {
  padding: 0 0 80px;
  background: var(--white);
}

.events-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.events-grid-solo {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.events-card {
  background: #f7f9fc;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid #eef1f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.events-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(14, 27, 51, 0.14);
}

.events-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.events-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
}

.events-row {
  display: flex;
  align-items: flex-start;
}

.events-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 10px;
  gap: 14px;
}

.events-empty svg {
  width: 36px;
  height: 36px;
  color: #c7d0e0;
}

.events-empty p {
  font-size: 14px;
  line-height: 1.6;
  color: #5b6a85;
  max-width: 320px;
}

.events-empty a {
  color: var(--blue);
  font-weight: 600;
}

.event-item {
  flex: 1;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.event-divider {
  width: 1px;
  align-self: stretch;
  background: #e3e7ee;
  margin: 0 18px;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}

.event-date .month {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.event-date .day {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
}

.event-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 4px;
}

.event-loc {
  font-size: 12.5px;
  color: #8892a6;
  margin-bottom: 6px;
}

.event-time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #5b6a85;
}

.event-time svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ===== MOMENTS GALLERY ===== */

.moments-section {
  padding: 0 0 90px;
  background: var(--white);
}

.moments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.moments-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
}

.moments-carousel {
  position: relative;
}

.moments-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  scrollbar-width: none;
}

.moments-grid::-webkit-scrollbar {
  display: none;
}

.moment-photo {
  flex: 0 0 260px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(14, 27, 51, 0.12);
}

.moment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.moment-photo:hover img {
  transform: scale(1.08);
}

.moments-grid .moment-photo:nth-child(1) { transition-delay: 0s; }
.moments-grid .moment-photo:nth-child(2) { transition-delay: 0.08s; }
.moments-grid .moment-photo:nth-child(3) { transition-delay: 0.16s; }
.moments-grid .moment-photo:nth-child(4) { transition-delay: 0.24s; }

/* ===== FOOTER ===== */

.site-footer {
  position: relative;
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(47, 111, 237, 0.1), transparent 60%),
    #070d1c;
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 44px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo img {
  width: 52px;
  height: auto;
  flex-shrink: 0;
  filter: brightness(1.55) saturate(1.2) drop-shadow(0 0 8px rgba(79, 141, 253, 0.35));
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.footer-logo-text .line1,
.footer-logo-text .line2 {
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
}

.footer-logo-text .line3 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #4f8dfd;
  margin-top: 2px;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a svg {
  width: 15px;
  height: 15px;
}

.footer-social a:hover {
  background: var(--blue);
  color: var(--white);
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  color: #4f8dfd;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-newsletter {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px;
}

.footer-newsletter p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 13.5px;
  font-family: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--blue);
}

.newsletter-form button {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-inner p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-legal span {
  color: rgba(255, 255, 255, 0.25);
}

/* ===== ABOUT PAGE: PAGE HERO ===== */

.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 24px;
  text-align: center;
  background-image:
    linear-gradient(180deg, rgba(9, 17, 35, 0.75) 0%, rgba(10, 20, 40, 0.8) 60%, rgba(8, 15, 30, 0.88) 100%),
    url("assets/photos/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-inner {
  max-width: 700px;
}

.breadcrumb {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  margin: 0 4px;
  color: rgba(255, 255, 255, 0.35);
}

.page-hero h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* ===== ABOUT PAGE: MISSION ===== */

.mission-section {
  padding: 90px 0;
  background: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 60px;
  align-items: center;
}

.mission-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(14, 27, 51, 0.15);
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.mission-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 18px;
}

.mission-text {
  font-size: 15px;
  line-height: 1.75;
  color: #5b6a85;
  margin-bottom: 32px;
}

.mission-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mission-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.mission-point svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.mission-point h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.mission-point p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #5b6a85;
}

/* ===== ABOUT PAGE: VALUES ===== */

.values-section {
  padding: 90px 0;
  background: #f7f9fc;
}

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

.value-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 26px;
  text-align: center;
  border: 1px solid #eef1f6;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(14, 27, 51, 0.1);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(47, 111, 237, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.value-icon svg {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #5b6a85;
}

/* ===== ABOUT PAGE: LEADERSHIP ===== */

.leadership-section {
  padding: 90px 0;
  background: var(--white);
}

.leadership-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px 24px;
}

.leader-card {
  text-align: center;
  padding-bottom: 6px;
  flex: 0 1 200px;
}

.leader-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  max-width: 140px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 12px 26px rgba(14, 27, 51, 0.12);
  overflow: hidden;
}

.leader-photo span {
  font-size: 32px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.leader-photo {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.leader-card:hover .leader-photo {
  box-shadow: 0 0 0 5px rgba(47, 111, 237, 0.18), 0 14px 30px -8px rgba(47, 111, 237, 0.4);
  transform: translateY(-3px);
}

.leader-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.leader-role {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 2px;
}

.leader-class {
  font-size: 12.5px;
  color: #8892a6;
}

/* ===== ABOUT PAGE: CTA BAND ===== */

.cta-band {
  background: linear-gradient(135deg, #2f6fed 0%, #1a3f8f 100%);
  padding: 70px 0;
}

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

.cta-inner h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-inner p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #f0f5ff;
  transform: translateY(-2px);
}

/* ===== MEMBERSHIP PAGE ===== */

.membership-section {
  padding: 0 0 100px;
  background: #f7f9fc;
}

.membership-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.membership-intro {
  max-width: 720px;
}

.membership-intro h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.membership-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: #5b6a85;
}

.membership-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(14, 27, 51, 0.1);
  border: 1px solid #eef1f6;
  position: relative;
}

.gform-link-card {
  text-align: center;
  padding: 48px 24px;
}

.gform-link-text {
  font-size: 15px;
  color: #5b6a85;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.required-mark {
  color: #e0455c;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field input[type="url"],
.form-field select {
  padding: 12px 14px;
  border-radius: 9px;
  border: 1.5px solid #dfe4ee;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s ease;
}

.form-field select {
  cursor: pointer;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue);
}

.field-help {
  font-size: 12px;
  color: #8892a6;
  margin-top: 2px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-top: 4px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin: 8px 0 6px;
  padding-top: 22px;
  border-top: 1px solid #eef1f6;
}

.form-step > .form-section-title:first-child {
  padding-top: 0;
  border-top: none;
}

.form-section-note {
  font-size: 13px;
  line-height: 1.6;
  color: #8892a6;
  margin-bottom: 18px;
}

.form-field textarea {
  padding: 12px 14px;
  border-radius: 9px;
  border: 1.5px solid #dfe4ee;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--navy);
  resize: vertical;
  transition: border-color 0.2s ease;
}

.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.field-optional {
  font-weight: 400;
  color: #a3adc0;
}

.form-progress {
  margin-bottom: 28px;
}

.form-progress-bar {
  height: 6px;
  border-radius: 3px;
  background: #eef1f6;
  overflow: hidden;
}

.form-progress-bar span {
  display: block;
  height: 100%;
  width: 33.33%;
  background: var(--blue);
  border-radius: 3px;
  transition: width 0.35s ease;
}

.form-progress-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #8892a6;
  margin-top: 10px;
}

.form-step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}

.form-step-nav .btn {
  flex: 1;
}

.btn-step-back {
  background: #f0f2f7;
  color: var(--navy);
}

.btn-step-back:hover {
  background: #e3e7ee;
  transform: translateY(-1px);
}

.consent-text {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.consent-text p {
  font-size: 12.5px;
  line-height: 1.65;
  color: #5b6a85;
  margin-bottom: 12px;
}

.consent-text p:last-child {
  margin-bottom: 0;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #3d4a63;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-item.consent {
  margin: 28px 0 26px;
  padding-top: 22px;
  border-top: 1px solid #eef1f6;
  font-size: 13.5px;
  color: #5b6a85;
}

.submit-btn {
  width: 100%;
  padding: 15px 24px;
  font-size: 15.5px;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: #a3adc0;
  margin-top: 14px;
}

.form-success {
  text-align: center;
  padding: 30px 10px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(47, 111, 237, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.success-icon svg {
  width: 30px;
  height: 30px;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.form-success p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #5b6a85;
  max-width: 420px;
  margin: 0 auto 26px;
}

/* ===== LOGIN PAGE ===== */

.login-section {
  padding: 90px 0 110px;
  background: #f7f9fc;
}

.login-tabs {
  max-width: 480px;
  margin: 0 auto 24px;
  display: flex;
  gap: 6px;
  background: #eef1f7;
  border-radius: 12px;
  padding: 5px;
}

.login-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  color: #5b6a85;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.login-tab.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(14, 27, 51, 0.08);
}

.login-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 20px 50px rgba(14, 27, 51, 0.1);
  border: 1px solid #eef1f6;
  text-align: center;
}

.login-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(47, 111, 237, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.login-icon svg {
  width: 28px;
  height: 28px;
}

.login-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.login-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #5b6a85;
  margin-bottom: 16px;
}

.login-note {
  font-size: 13.5px !important;
  padding-bottom: 22px;
  margin-bottom: 22px !important;
  border-bottom: 1px solid #eef1f6;
}

.login-note a {
  color: var(--blue);
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */

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

@media (max-width: 860px) {
  .story-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .story-text {
    max-width: none;
  }
  .timeline {
    flex-wrap: wrap;
    row-gap: 40px;
  }
  .timeline-item {
    flex: 1 1 40%;
  }
  .timeline-line {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: 0;
    padding: 130px 24px 40px;
  }
  .hero-left {
    max-width: none;
  }
  .stats-row {
    flex-wrap: wrap;
  }
  .stat-card {
    flex: 1 1 calc(50% - 10px);
  }
}

@media (max-width: 640px) {
  .btn {
    padding: 11px 18px;
    font-size: 14px;
  }
  .nav-login {
    display: none;
  }
  .stat-card {
    flex: 1 1 100%;
  }
}

@media (max-width: 1000px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .events-row {
    flex-direction: column;
    gap: 20px;
  }
  .event-divider {
    display: none;
  }
  .event-item {
    align-items: center;
  }
  .donate-items {
    flex-direction: column;
    gap: 16px;
  }
  .section-inner {
    padding: 0 24px;
  }
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .t-arrow {
    display: none;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

/* staggered pop-in for repeating groups */
.timeline .timeline-item:nth-child(2) { transition-delay: 0.08s; }
.timeline .timeline-item:nth-child(3) { transition-delay: 0.16s; }
.timeline .timeline-item:nth-child(4) { transition-delay: 0.24s; }
.timeline .timeline-item:nth-child(5) { transition-delay: 0.32s; }

.alumni-track .alumni-card:nth-child(1) { transition-delay: 0s; }
.alumni-track .alumni-card:nth-child(2) { transition-delay: 0.08s; }
.alumni-track .alumni-card:nth-child(3) { transition-delay: 0.16s; }
.alumni-track .alumni-card:nth-child(4) { transition-delay: 0.24s; }
.alumni-track .alumni-card:nth-child(5) { transition-delay: 0.32s; }


.values-grid .value-card:nth-child(1) { transition-delay: 0s; }
.values-grid .value-card:nth-child(2) { transition-delay: 0.08s; }
.values-grid .value-card:nth-child(3) { transition-delay: 0.16s; }
.values-grid .value-card:nth-child(4) { transition-delay: 0.24s; }

.leadership-grid .leader-card:nth-child(1) { transition-delay: 0s; }
.leadership-grid .leader-card:nth-child(2) { transition-delay: 0.08s; }
.leadership-grid .leader-card:nth-child(3) { transition-delay: 0.16s; }
.leadership-grid .leader-card:nth-child(4) { transition-delay: 0.24s; }

/* ===== ABOUT PAGE RESPONSIVE ===== */

@media (max-width: 900px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .mission-image {
    max-height: 320px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .page-hero h1 {
    font-size: 32px;
  }
  .mission-content h2 {
    font-size: 24px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .leader-card {
    flex-basis: 140px;
  }
  .cta-inner h2 {
    font-size: 24px;
  }
}

/* ===== MEMBERSHIP PAGE RESPONSIVE ===== */

@media (max-width: 640px) {
  .membership-form-card {
    padding: 26px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== EVENTS PAGE ===== */

.events-page-section {
  padding: 90px 0;
  background: var(--white);
}

.events-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.events-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 70px 24px;
  background: #f7f9fc;
  border: 1px dashed #dde3ee;
  border-radius: 18px;
}

.events-empty-state svg {
  width: 44px;
  height: 44px;
  color: #a3adc0;
}

.events-empty-state h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.events-empty-state p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #5b6a85;
  max-width: 400px;
}

.event-card-full {
  background: #f7f9fc;
  border: 1px solid #eef1f6;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card-full:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(14, 27, 51, 0.1);
}

.event-card-date {
  background: linear-gradient(135deg, #2f6fed 0%, #1a3f8f 100%);
  padding: 22px 26px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.event-card-date .month {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

.event-card-date .day {
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
}

.event-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.event-card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #5b6a85;
  margin-bottom: 6px;
}

/* ===== INTERACTIVE-STATE OVERRIDES =====
   Must stay below .reveal.is-visible: it sets transform:none at equal
   specificity, which would otherwise cancel these once scroll-revealed. */

.event-card-meta svg {
  width: 14px;
  height: 14px;
  color: var(--blue);
  flex-shrink: 0;
}

.event-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #5b6a85;
  margin: 12px 0 20px;
  flex: 1;
}

.btn-outline-light {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid #c7d5f7;
  align-self: flex-start;
}

.btn-outline-light:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-1px);
}

@media (max-width: 1000px) {
  .events-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .events-page-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== GIVE BACK PAGE ===== */

.giveback-donate-section {
  padding: 0 0 90px;
  background: var(--white);
}

.giveback-donate-card {
  background: linear-gradient(160deg, #0d1c3d 0%, #0a1428 100%);
  border-radius: 22px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.giveback-donate-text h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.giveback-donate-text p {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
  max-width: 480px;
}

.giveback-donate-stats {
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 40px;
}

.giveback-stat {
  display: flex;
  flex-direction: column;
}

.giveback-stat-number {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
}

.giveback-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .giveback-donate-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
  .giveback-donate-stats {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 0;
    padding-top: 28px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px;
  }
}

/* ===== CONTACT PAGE ===== */

.contact-section {
  padding-top: 90px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-info-item p {
  font-size: 13.5px;
  color: #5b6a85;
}

.contact-social a {
  background: #f0f2f7;
  color: var(--blue);
}

.contact-social a:hover {
  background: var(--blue);
  color: var(--white);
}

/* ===== PAY YOUR DUES ===== */

.dues-section {
  padding: 0 0 90px;
  background: #f7f9fc;
}

.dues-card {
  background: linear-gradient(160deg, #0d1c3d 0%, #0a1428 100%);
  border-radius: 22px;
  padding: 50px;
}

.dues-header {
  max-width: 560px;
  margin-bottom: 36px;
}

.dues-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.dues-header p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.dues-methods {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
}

.dues-method h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.dues-method > p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.dues-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.dues-link {
  color: #4f8dfd;
  text-decoration: underline;
}

.dues-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 14px;
  margin-bottom: 0 !important;
}

@media (max-width: 800px) {
  .dues-card {
    padding: 36px 28px;
  }
  .dues-methods {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dues-divider {
    width: 100%;
    height: 1px;
  }
}

/* ===== GALLERY PAGE ===== */

.gallery-section {
  padding: 90px 0 60px;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: none;
  display: block;
  box-shadow: 0 12px 30px rgba(14, 27, 51, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 20, 40, 0);
  color: var(--white);
  opacity: 0;
  transition: background 0.25s ease, opacity 0.25s ease;
}

.gallery-zoom svg {
  width: 28px;
  height: 28px;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-zoom {
  background: rgba(10, 20, 40, 0.4);
  opacity: 1;
}

.gallery-grid .gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-grid .gallery-item:nth-child(2) { transition-delay: 0.08s; }
.gallery-grid .gallery-item:nth-child(3) { transition-delay: 0.16s; }
.gallery-grid .gallery-item:nth-child(4) { transition-delay: 0.24s; }

.gallery-note {
  text-align: center;
  font-size: 13px;
  color: #a3adc0;
  margin-top: 36px;
  font-style: italic;
}

/* ===== LIGHTBOX ===== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 10, 22, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

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

@media (max-width: 560px) {
  .lightbox {
    padding: 20px;
  }
  .lightbox-nav {
    width: 42px;
    height: 42px;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */

.checkout-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  padding: 46px 24px 40px;
  text-align: center;
}

.checkout-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.checkout-hero .breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.checkout-hero .breadcrumb a {
  color: var(--text-light);
}

.checkout-hero h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.checkout-hero p {
  font-size: 14.5px;
  color: var(--text-light);
}

.checkout-section {
  background: linear-gradient(180deg, #f4f7fc 0%, #eef2fa 100%);
  padding: 56px 24px 90px;
}

.checkout-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ---- Left column: details form ---- */

.checkout-form-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: 0 20px 50px -20px rgba(14, 27, 51, 0.18);
  padding: 34px 34px 30px;
}

.checkout-form-section {
  margin-bottom: 30px;
}

.checkout-form-section:last-child {
  margin-bottom: 0;
}

.checkout-form-section h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-form-section h3 svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.checkout-type-toggle {
  display: flex;
  background: #eef1f8;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.checkout-type-toggle button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 14px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #5b6a85;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-type-toggle button.is-active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 6px 16px -6px rgba(14, 27, 51, 0.25);
}

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

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.checkout-field:first-child {
  margin-top: 0;
}

.checkout-field-row .checkout-field {
  margin-top: 0;
}

.checkout-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.checkout-field label .optional {
  font-weight: 400;
  color: #94a1ba;
  text-transform: none;
  letter-spacing: 0;
}

.checkout-field input {
  padding: 13px 15px;
  border-radius: 11px;
  border: 1.5px solid #e2e7f2;
  background: rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--navy);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.checkout-field input::placeholder {
  color: #a7b1c6;
}

.checkout-field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.14);
}

.checkout-amount-field {
  position: relative;
}

.checkout-amount-field .currency-prefix {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14.5px;
  color: #6b7690;
  font-weight: 600;
  pointer-events: none;
}

.checkout-amount-field input {
  padding-left: 32px;
}

.checkout-dues-note {
  background: #eef4ff;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: #35507e;
  line-height: 1.5;
}

.checkout-payment-methods {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.checkout-payment-chip {
  flex: 1;
  border: 1.5px solid #e2e7f2;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 11px;
  padding: 12px 10px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #5b6a85;
}

.checkout-payment-chip svg {
  width: 20px;
  height: 20px;
  margin: 0 auto 6px;
  display: block;
  color: var(--blue);
}

.checkout-security-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #6b7690;
  background: rgba(47, 111, 237, 0.06);
  border-radius: 12px;
  padding: 13px 15px;
}

.checkout-security-note svg {
  width: 17px;
  height: 17px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
}

.checkout-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #5b6a85;
  line-height: 1.5;
}

.checkout-terms input {
  margin-top: 3px;
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.checkout-terms a {
  color: var(--blue);
  font-weight: 600;
}

.checkout-error-banner {
  background: #fdecec;
  color: #d33f4c;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 13.5px;
  margin-bottom: 18px;
}

/* ---- Right column: order summary ---- */

.checkout-summary-card {
  position: sticky;
  top: 24px;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 70%);
  border-radius: 20px;
  padding: 30px 28px 26px;
  color: var(--white);
  box-shadow: 0 24px 60px -22px rgba(10, 20, 40, 0.5);
  overflow: hidden;
  isolation: isolate;
}

.checkout-summary-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(47, 111, 237, 0.35), transparent 55%);
  z-index: -1;
}

.checkout-summary-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9db4e8;
  margin-bottom: 6px;
}

.checkout-summary-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 22px;
}

.checkout-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-light);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.checkout-summary-line span:last-child {
  color: var(--white);
  font-weight: 600;
}

.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.checkout-summary-total span:last-child {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(90deg, #ffffff, #bcd0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.checkout-summary-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: #a9b7d6;
  margin: 14px 0 24px;
}

.checkout-pay-btn {
  width: 100%;
  border: none;
  border-radius: 13px;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 14px 30px -10px rgba(47, 111, 237, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.checkout-pay-btn svg {
  width: 16px;
  height: 16px;
}

.checkout-pay-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(47, 111, 237, 0.65);
}

.checkout-pay-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.checkout-trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 22px;
}

.checkout-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #cdd8f0;
}

.checkout-badge svg {
  width: 14px;
  height: 14px;
  color: #6fd0a8;
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-summary-card {
    position: static;
  }
  .checkout-form-card {
    padding: 26px 22px 24px;
  }
}

@media (max-width: 520px) {
  .checkout-field-row {
    grid-template-columns: 1fr;
  }
  .checkout-payment-methods {
    flex-wrap: wrap;
  }
  .checkout-payment-chip {
    flex: 1 1 30%;
  }
}
