/* ═══════════════════════════════════════════════
   EVENTS PAGE — STYLES
   Depends on styles.css design tokens
═══════════════════════════════════════════════ */

/* ── Active nav link ── */
.nav-link--active {
  color: #8CC63F !important;
  background: rgba(0, 152, 69, 0.15) !important;
}

/* ══════════════════════════════════════════════════════
   HERO — Split screen: dark content left +
   glassmorphism event schedule card right
   Distinct from all other page heroes
══════════════════════════════════════════════════════ */
.ev-hero {
  position: relative;
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 740px;
  height: 90vh;
  max-height: 960px;
  background: linear-gradient(152deg, #081B29 0%, #0D2137 50%, #060F1A 100%);
  color: #FFFFFF;
  overflow: hidden;
}

.ev-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ev-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.ev-hero-orb-1 {
  width: 600px; height: 600px;
  top: -220px; left: -160px;
  background: radial-gradient(circle, rgba(0, 152, 69, 0.42) 0%, transparent 68%);
}

.ev-hero-orb-2 {
  width: 420px; height: 420px;
  bottom: -100px; left: 30%;
  background: radial-gradient(circle, rgba(0, 80, 40, 0.28) 0%, transparent 68%);
}

.ev-hero-orb-3 {
  width: 320px; height: 320px;
  top: 10%; right: 5%;
  background: radial-gradient(circle, rgba(0, 152, 69, 0.07) 0%, transparent 68%);
}

.ev-hero-gridlines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.022) 0px, transparent 1px, transparent 60px, rgba(255,255,255,0.022) 61px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.022) 0px, transparent 1px, transparent 60px, rgba(255,255,255,0.022) 61px);
  background-size: 61px 61px;
}

/* Left content panel */
.ev-hero-left {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 56px clamp(28px, 4vw, 56px) 56px max(24px, calc((100vw - 1160px) / 2));
}

.ev-hero-content { max-width: 540px; }

/* Breadcrumb */
.ev-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.ev-breadcrumb a { color: inherit; text-decoration: none; transition: color 200ms ease; }
.ev-breadcrumb a:hover { color: var(--gold); }

/* H1 */
.ev-hero-h1 {
  display: flex;
  flex-direction: column;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 16px 0 22px;
}

.ev-hero-h1 span { display: block; }

.ev-hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 32px;
  max-width: 480px;
}

.ev-hero-actions { margin-bottom: 32px; }

/* Stat chips */
.ev-hero-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ev-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ── Right panel: schedule card ── */
.ev-hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px clamp(24px, 4vw, 56px);
  overflow: visible;
}

/* Large decorative calendar icon in bg */
.ev-cal-bg-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  pointer-events: none;
}

/* Floating CSS shapes behind schedule card */
.ev-hero-shape {
  position: absolute;
  border-radius: 50%;
  animation: ev-shape-float 10s ease-in-out infinite;
}

.ev-hero-shape-1 {
  width: 180px; height: 180px;
  top: 8%; right: 12%;
  background: radial-gradient(circle, rgba(0, 152, 69, 0.25), transparent 70%);
  animation-duration: 11s; animation-delay: 0s;
}

.ev-hero-shape-2 {
  width: 100px; height: 100px;
  bottom: 18%; right: 6%;
  background: radial-gradient(circle, rgba(0, 152, 69, 0.15), transparent 70%);
  animation-duration: 14s; animation-delay: -3s;
}

.ev-hero-shape-3 {
  width: 60px; height: 60px;
  top: 55%; left: 8%;
  background: radial-gradient(circle, rgba(140, 198, 63, 0.12), transparent 70%);
  animation-duration: 9s; animation-delay: -5s;
}

@keyframes ev-shape-float {
  0%, 100% { transform: translateY(0) scale(1); }
  40%       { transform: translateY(-16px) scale(1.05); }
  70%       { transform: translateY(10px) scale(0.97); }
}

/* ── Schedule glass card ── */
.ev-schedule-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 390px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  padding: 28px 26px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255,255,255,0.06) inset;
}

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

.ev-sched-header-left {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.ev-sched-header-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(0, 152, 69, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.ev-sched-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(0, 152, 69, 0.14);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(0, 152, 69, 0.25);
}

/* Schedule list */
.ev-sched-list { margin-bottom: 20px; }

.ev-sched-item {
  display: grid;
  grid-template-columns: 48px 1fr 10px;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 200ms ease;
  border-radius: 8px;
  cursor: default;
}

.ev-sched-item:last-child { border-bottom: none; }

.ev-sched-item:hover { background: rgba(255, 255, 255, 0.04); }

.ev-sched-date-box {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 7px 5px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ev-sched-date-box strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}

.ev-sched-date-box span {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin-top: 2px;
}

.ev-sched-info h4 {
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 3px;
  line-height: 1.2;
}

.ev-sched-info p {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* Category dot */
.ev-sched-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  animation: ev-dot-pulse 2.5s ease-in-out infinite;
}

.ev-dot-charity  { background: #F4B942; }
.ev-dot-education{ background: #f5c842; }
.ev-dot-health   { background: #5ecec8; }

@keyframes ev-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.75); }
}

/* CTA link inside card */
.ev-sched-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 16px;
  transition: gap 200ms ease;
}

.ev-sched-cta:hover { gap: 10px; }

/* Live indicator */
.ev-sched-live {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.ev-sched-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #F4B942;
  box-shadow: 0 0 0 3px rgba(0, 152, 69, 0.2);
  animation: ev-dot-pulse 1.8s ease-in-out infinite;
}

/* Floating "Free to Attend" badge */
.ev-hero-float-badge {
  position: absolute;
  bottom: 18%;
  left: 4%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: ev-shape-float 8s ease-in-out infinite;
  animation-delay: -2s;
}

.ev-hero-float-badge svg { color: var(--gold); }

/* ══════════════════════════════════════════════════════
   STATS BAND — Dark with counters
══════════════════════════════════════════════════════ */
.ev-stats-band {
  position: relative;
  background: linear-gradient(148deg, #081B29 0%, #0D2137 50%, #060F1A 100%);
  color: #FFFFFF;
  padding: 72px 0;
  overflow: hidden;
}

.ev-stats-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ev-stats-inner { position: relative; z-index: 1; }

.ev-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.ev-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.ev-stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 152, 69, 0.12);
  border: 1px solid rgba(0, 152, 69, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 4px;
}

.ev-stat-item .cta-stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1;
}

.ev-stat-item span:last-child {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════
   UPCOMING EVENTS — Filter + cards
══════════════════════════════════════════════════════ */
.ev-upcoming-section { background: var(--cream); }

/* Filter bar */
.ev-filter-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.ev-filter-inner {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(0, 152, 69, 0.07);
  border: 1px solid rgba(0, 152, 69, 0.11);
  border-radius: 100px;
  padding: 4px;
}

.ev-filter-btn {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
  user-select: none;
  white-space: nowrap;
}

.ev-filter-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
}

.ev-filter-btn--active {
  background: var(--navy);
  color: #FFFFFF;
  box-shadow: 0 2px 14px rgba(0, 152, 69, 0.28);
}

/* Events cards grid */
.ev-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Event card ── */
.ev-card {
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 152, 69, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}

.ev-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Image zone */
.ev-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.ev-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease-out);
}

.ev-card:hover .ev-card-img img { transform: scale(1.07); }

.ev-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,27,41,0.55) 0%, transparent 60%);
}

/* Category badge */
.ev-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ev-cat-badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}

.ev-card .ev-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}

/* Charity — deep rose */
.ev-cat--charity {
  background: rgba(190, 40, 70, 0.15);
  color: #c0274a;
  border: 1px solid rgba(190, 40, 70, 0.3);
}

.ev-card .ev-cat--charity,
.ev-past-cat.ev-cat--charity {
  background: rgba(220, 50, 80, 0.82);
  color: #fff;
  border-color: transparent;
}

/* Education — amber gold */
.ev-cat--education {
  background: rgba(200, 145, 10, 0.15);
  color: #a56c00;
  border: 1px solid rgba(200, 145, 10, 0.3);
}

.ev-card .ev-cat--education,
.ev-past-cat.ev-cat--education {
  background: rgba(215, 155, 15, 0.9);
  color: #2a1a00;
  border-color: transparent;
}

/* Health — teal */
.ev-cat--health {
  background: rgba(10, 165, 150, 0.14);
  color: #0a9080;
  border: 1px solid rgba(10, 165, 150, 0.28);
}

.ev-card .ev-cat--health,
.ev-past-cat.ev-cat--health {
  background: rgba(12, 175, 160, 0.88);
  color: #fff;
  border-color: transparent;
}

/* Community — indigo violet */
.ev-cat--community {
  background: rgba(90, 60, 200, 0.12);
  color: #5a38c8;
  border: 1px solid rgba(90, 60, 200, 0.25);
}

.ev-card .ev-cat--community,
.ev-past-cat.ev-cat--community {
  background: rgba(100, 70, 210, 0.85);
  color: #fff;
  border-color: transparent;
}

/* Card body */
.ev-card-body { padding: 22px 22px 20px; }

.ev-card-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.ev-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.ev-meta-item svg { flex-shrink: 0; }

.ev-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 10px;
}

.ev-card-desc {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ev-card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
}

.ev-card-location svg { flex-shrink: 0; color: var(--navy-2); }

/* ── Countdown timer ── */
.ev-countdown {
  display: flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0d3a1a 100%);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.ev-cd-unit {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.ev-cd-num {
  display: block;
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.ev-cd-unit span {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 3px;
}

.ev-cd-sep {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.22);
  padding: 0 2px;
  align-self: flex-start;
  padding-top: 2px;
}

/* Card footer */
.ev-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ev-card-seats {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.ev-register-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--navy);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms ease, transform 160ms ease;
  white-space: nowrap;
}

.ev-register-btn:hover {
  background: var(--navy-2);
  transform: scale(1.04);
}

/* ══════════════════════════════════════════════════════
   FEATURED SPOTLIGHT — Large two-column event card
══════════════════════════════════════════════════════ */
.ev-spotlight-section { background: var(--paper); }

.ev-spotlight {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 152, 69, 0.1);
}

.ev-spotlight-img-wrap {
  position: relative;
  overflow: hidden;
}

.ev-spotlight-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.ev-spotlight:hover .ev-spotlight-img-wrap img { transform: scale(1.04); }

.ev-spotlight-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, rgba(8,27,41,0.4) 100%),
              linear-gradient(to top, rgba(8,27,41,0.7) 0%, transparent 50%);
}

.ev-spotlight-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Floating stats strip on image */
.ev-spotlight-img-stats {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(8, 27, 41, 0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ev-spotlight-stat {
  flex: 1;
  text-align: center;
}

.ev-spotlight-stat strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.ev-spotlight-stat span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ev-spotlight-stat-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
}

/* Spotlight body (dark right panel) */
.ev-spotlight-body {
  background: linear-gradient(145deg, #0D2137 0%, #060F1A 100%);
  color: #FFFFFF;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ev-spotlight-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.025em;
}

.ev-spotlight-metas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.ev-spotlight-meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ev-spotlight-meta-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(0, 152, 69, 0.12);
  border: 1px solid rgba(0, 152, 69, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.ev-spotlight-meta small {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 2px;
}

.ev-spotlight-meta strong {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  line-height: 1.3;
}

.ev-spotlight-desc {
  font-size: 0.87rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 22px;
}

/* Spotlight countdown */
.ev-countdown--spotlight {
  margin-bottom: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.ev-countdown--spotlight .ev-cd-num { font-size: 1.5rem; }

.ev-spotlight-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════
   PAST EVENTS — Completed event cards
══════════════════════════════════════════════════════ */
.ev-past-section { background: var(--cream); }

.ev-past-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ev-past-card {
  background: var(--paper);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 152, 69, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.ev-past-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ev-past-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.ev-past-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%);
  transition: filter 300ms ease, transform 400ms ease;
}

.ev-past-card:hover .ev-past-img img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.ev-past-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,27,41,0.5) 0%, transparent 60%);
}

.ev-past-done-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ev-past-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ev-past-cat::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}

.ev-past-body { padding: 20px; }

.ev-past-date {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.ev-past-body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 9px;
  line-height: 1.3;
}

.ev-past-body p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ev-past-reach {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--aqua);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS — Dark section with glass cards
══════════════════════════════════════════════════════ */
.ev-testimonials-section {
  position: relative;
  background: linear-gradient(148deg, #081B29 0%, #0D2137 50%, #060F1A 100%);
  color: #FFFFFF;
  padding: 96px 0;
  overflow: hidden;
}

.ev-testimonials-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ev-test-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.ev-test-orb-1 {
  width: 500px; height: 500px;
  top: -150px; left: -100px;
  background: radial-gradient(circle, rgba(0, 152, 69, 0.3) 0%, transparent 68%);
}

.ev-test-orb-2 {
  width: 380px; height: 380px;
  bottom: -100px; right: -80px;
  background: radial-gradient(circle, rgba(0, 152, 69, 0.1) 0%, transparent 68%);
}

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

.ev-test-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 250ms ease, transform 250ms ease;
}

.ev-test-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.ev-test-quote-icon {
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 16px;
}

.ev-test-text {
  font-size: 0.93rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 24px;
  font-style: italic;
}

.ev-test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ev-test-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-2), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

.ev-test-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.ev-test-author span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.42);
}

/* ══════════════════════════════════════════════════════
   FAQ — Accordion (same pattern as services)
══════════════════════════════════════════════════════ */
.ev-faq-section { background: var(--paper); }

.ev-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  max-width: 940px;
  margin: 0 auto;
}

.ev-faq-item {
  border-bottom: 1px solid rgba(0, 152, 69, 0.1);
}

.ev-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: color 200ms ease;
}

.ev-faq-trigger:hover { color: var(--navy); }

.ev-faq-chevron {
  flex-shrink: 0;
  color: var(--navy-2);
  transition: transform 280ms var(--ease-out);
}

.ev-faq-item--open .ev-faq-chevron { transform: rotate(180deg); }

.ev-faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 360ms var(--ease-out);
}

.ev-faq-body p {
  font-size: 0.87rem;
  line-height: 1.72;
  color: var(--muted);
  padding-bottom: 18px;
  margin: 0;
}

.ev-faq-item--open .ev-faq-body { max-height: 240px; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — 1080px
══════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .ev-hero { grid-template-columns: 54% 46%; }

  .ev-stats-grid { grid-template-columns: repeat(2, 1fr); }

  .ev-cards-grid { grid-template-columns: repeat(2, 1fr); }

  .ev-past-grid { grid-template-columns: repeat(2, 1fr); }

  .ev-test-grid { grid-template-columns: repeat(2, 1fr); }

  .ev-spotlight { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — 860px
══════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .ev-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    height: auto;
    max-height: none;
  }

  .ev-hero-left {
    padding: 100px clamp(20px, 5vw, 40px) 40px;
    justify-content: center;
  }

  .ev-hero-content { max-width: 100%; text-align: center; }

  .ev-hero-h1 { align-items: center; }

  .ev-hero-actions { justify-content: center; }

  .ev-hero-chips { justify-content: center; }

  .ev-hero-right {
    padding: 32px clamp(20px, 5vw, 40px) 56px;
    justify-content: center;
  }

  .ev-hero-float-badge { display: none; }

  .ev-schedule-card { max-width: 460px; }

  .ev-faq-grid { grid-template-columns: 1fr; }

  .ev-spotlight {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ev-spotlight-img-wrap { height: 280px; }

  .ev-spotlight-body { padding: 32px 28px; }

  .ev-spotlight-metas { grid-template-columns: 1fr 1fr; }

  .ev-past-grid { grid-template-columns: 1fr 1fr; }

  .ev-test-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — 640px
══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .ev-hero-h1 { font-size: 2.1rem; }

  .ev-hero-subtitle { font-size: 0.92rem; }

  .ev-hero-actions { flex-direction: column; align-items: center; }

  .ev-hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  .ev-stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .ev-filter-inner {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: calc(100vw - 48px);
  }

  .ev-filter-inner::-webkit-scrollbar { display: none; }

  .ev-filter-btn { padding: 7px 14px; font-size: 0.8rem; }

  .ev-cards-grid { grid-template-columns: 1fr; gap: 20px; }

  .ev-spotlight-metas { grid-template-columns: 1fr; }

  .ev-spotlight-actions { flex-direction: column; }

  .ev-past-grid { grid-template-columns: 1fr; }

  .ev-test-grid { grid-template-columns: 1fr; }

  .ev-faq-grid { grid-template-columns: 1fr; }

  .ev-cd-num { font-size: 1.1rem; }
}


/* ══════════════════════════════════════════════════════
   ALTERNATING LIGHT / DARK SECTIONS
   ev-hero → always dark
   ev-upcoming → LIGHT (off-white)
   ev-spotlight → DARK (explicit)
   ev-past → LIGHT (white)
   ev-testimonials → always dark (hardcoded)
   ev-faq → LIGHT (off-white)
   cta → always dark
══════════════════════════════════════════════════════ */
.ev-upcoming-section,
.ev-past-section,
.ev-faq-section {
  --ink:       #081B29;
  --ink-2:     #243B53;
  --muted:     #4A6480;
  --paper:     #FFFFFF;
  --cream:     #F4F7FA;
  --aqua:      #E8F5F0;
  --border:    rgba(36, 59, 83, 0.1);
  --border-mid: rgba(36, 59, 83, 0.2);
}

.ev-upcoming-section  { background: #F0F5FA; }
.ev-past-section      { background: #FFFFFF; }
.ev-faq-section       { background: #F0F5FA; }
.ev-spotlight-section { background: #0D2137; }

/* Kicker pills in light sections */
.ev-upcoming-section .kicker-pill,
.ev-past-section     .kicker-pill,
.ev-faq-section      .kicker-pill {
  background:   rgba(0, 152, 69, 0.09);
  border-color: rgba(0, 152, 69, 0.25);
  color:        #007835;
}
.ev-upcoming-section .kicker-pill::before,
.ev-past-section     .kicker-pill::before,
.ev-faq-section      .kicker-pill::before { background: #009845; }
