/* ===================================
   EduAvenues UI Component Library
   Auto-generated — do not edit directly
   Edit source files in packages/eduavenues-ui/
   =================================== */

/* ===================================
   EduAvenues Brand Variables
   Single source of truth for all EduAvenues sites
   Package: @monorepo/eduavenues-ui
   =================================== */

/* Inter: the fallback for non-Apple devices (Apple devices resolve San Francisco
   first and never download it). Self-hosted Latin subset, SIL OFL 1.1; the file and
   license ship at css/fonts/ in each site and packages/eduavenues-ui/fonts/. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* ===================
       BRAND COLORS
       Primary: Navy #002e54
       Accent: Blue #018afd
       Highlight: Red #c00000
       =================== */

  /* Primary - Navy (main brand color) */
  --color-primary: #002e54;
  --color-primary-dark: #001a33;
  --color-primary-light: #003d73;

  /* Accent - Blue (CTAs, links, highlights) */
  --color-accent: #018afd;
  --color-accent-dark: #0070d4;
  /* Filled call-to-action buttons: brand blue darkened so white text meets WCAG AA
     (about 4.9:1). Keep --color-accent for accents and large text. */
  --color-cta: var(--color-accent-dark);
  --color-cta-hover: #005fb3;
  --color-accent-light: #33a1fd;

  /* Highlight - Red (emphasis, alerts) */
  --color-red: #c00000;
  --color-red-dark: #990000;
  --color-red-light: #e60000;

  /* Legacy alias (kept for compatibility) */
  --color-green: var(--color-accent);
  --color-green-dark: var(--color-accent-dark);
  --color-green-light: var(--color-accent-light);

  /* ===================
       NEUTRAL COLORS
       =================== */
  --color-white: #ffffff;
  --color-off-white: #f8f9fa;
  --color-cream: #f0f2f5;

  /* Gray Scale */
  --color-gray-50: #f8fafc;
  --color-gray-100: #e4e6e9;
  --color-gray-200: #c9cdd2;
  --color-gray-300: #9ca3af;
  --color-gray-400: #6b7280;
  --color-gray-500: #5f6672;
  --color-gray-600: #4b5563;
  --color-gray-700: #2d3239;
  --color-gray-800: #1f2937;
  --color-gray-900: #1a1d21;

  /* ===================
       STATUS COLORS
       =================== */
  /* Success - Green */
  --color-success: #16a34a;
  --color-success-light: #dcfce7;
  --color-success-dark: #166534;

  /* Forest - Dark Green (for events sidebar) */
  --color-forest: #166534;
  --color-forest-dark: #14532d;

  /* Error - Red */
  --color-error: #dc2626;
  --color-error-light: #fef2f2;
  --color-error-dark: #991b1b;

  /* Warning - Amber */
  --color-warning: #d97706;
  --color-warning-light: #fffbeb;
  --color-warning-dark: #92400e;

  /* ===================
       SEMANTIC COLORS
       =================== */
  --color-star: var(--color-accent);
  --color-link: var(--color-accent);
  --color-link-hover: var(--color-accent-dark);

  /* ===================
       SOCIAL MEDIA COLORS
       (Platform-specific, not brand colors)
       =================== */
  --color-youtube: #ff0000;
  --color-instagram: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  --color-facebook: #1877f2;
  --color-linkedin: #0a66c2;
  --color-twitter: #1d9bf0;
  --color-spotify: #1db954;

  /* ===================
       GRADIENTS
       =================== */
  --gradient-primary: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 50%,
    var(--color-primary-light) 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-accent-light) 100%
  );
  --gradient-hero: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #004d8c 100%);
  --gradient-cta: linear-gradient(135deg, var(--color-accent) 0%, #0099ff 100%);

  /* ===================
       TYPOGRAPHY
       =================== */
  --font-heading: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;

  /* ===================
       SPACING
       =================== */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* ===================
       BORDER RADIUS
       =================== */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* ===================
       SHADOWS
       =================== */
  --shadow-sm: 0 1px 3px rgba(0, 46, 84, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 46, 84, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 46, 84, 0.12);
  --shadow-xl: 0 24px 60px rgba(0, 46, 84, 0.16);

  /* ===================
       TRANSITIONS
       =================== */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-700);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-gray-900);
}

h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 3.25rem);
}
h2 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.25rem);
}
h3 {
  font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.375rem);
}
h4 {
  font-size: 1.125rem;
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ===================================
   Section Styles
   =================================== */
section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section-tag {
  display: inline-block;
  padding: 0;
  background: none;
  color: var(--color-gray-500);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-bottom: var(--space-md);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-gray-500);
}

/* ===================================
   Header
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-100);
  transition: var(--transition-base);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: var(--transition-fast);
}

.logo:hover {
  opacity: 0.85;
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-900);
  white-space: nowrap;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.logo-badge {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-gray-900);
}

/* Two-line sub-brand wordmark: title matches the flagship navy wordmark */
.logo-title {
  display: block;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-primary);
}

.logo-subtitle {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-gray-500);
  letter-spacing: 0.02em;
}

.logo-subtitle sup {
  font-size: 0.5rem;
}

/* Navigation */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-item {
  position: relative;
}

.nav-list > li > a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-900);
  transition: var(--transition-fast);
  padding: var(--space-sm) var(--space-xs);
  display: block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
}

.nav-list > li > a:hover {
  color: var(--color-primary);
}

.nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.25s ease;
}

.nav-list > li:hover > a::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  z-index: 100;
}

.nav-item.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.dropdown li a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  color: var(--color-gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dropdown li a:hover {
  background: var(--color-cream);
  color: var(--color-accent);
}

.dropdown-divider {
  height: 1px;
  background: var(--color-gray-100);
  margin: var(--space-xs) 0;
}

.dropdown li.nav-separator {
  border-top: 1px solid var(--color-gray-200);
  margin-top: var(--space-xs);
  padding-top: var(--space-xs);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  z-index: 100;
  display: flex;
  gap: var(--space-2xl);
  min-width: 480px;
}

.nav-item.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.mega-menu-column {
  flex: 1;
  min-width: 180px;
}

.mega-menu-heading {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-500);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-gray-100);
}

.mega-menu-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.mega-menu-column ul li a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  color: var(--color-gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mega-menu-column ul li a:hover {
  background: var(--color-cream);
  color: var(--color-accent);
}

.mega-menu-column ul li a svg {
  opacity: 0.5;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.mega-menu-column ul li a:hover svg {
  opacity: 1;
  color: var(--color-accent);
}

.mega-menu-column ul li.nav-separator {
  border-top: 1px solid var(--color-gray-200);
  margin-top: var(--space-xs);
  padding-top: var(--space-xs);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-gray-700);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 999;
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 73px;
}

.mobile-nav.active {
  transform: translateX(0);
  opacity: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  padding: var(--space-md) 0;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--color-gray-100);
}

.mobile-nav-item:last-child {
  border-bottom: none;
  padding: var(--space-lg);
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-900);
  text-align: left;
}

.mobile-nav-toggle svg {
  color: var(--color-gray-400);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.mobile-nav-item.active .mobile-nav-toggle svg {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.mobile-nav-item.active .mobile-nav-toggle {
  color: var(--color-accent);
}

.mobile-dropdown {
  display: none;
  background: var(--color-off-white);
  padding: 0 0 var(--space-sm) 0;
}

.mobile-nav-item.active .mobile-dropdown {
  display: block;
}

.mobile-dropdown li a {
  display: block;
  padding: var(--space-sm) var(--space-xl);
  padding-left: calc(var(--space-xl) + var(--space-md));
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-600);
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.mobile-dropdown li a:hover {
  color: var(--color-accent);
  background: rgba(1, 138, 253, 0.05);
}

.mobile-nav-link-primary {
  display: block;
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-cta);
  color: var(--color-white) !important;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
}

.mobile-nav-link-primary:hover {
  background: var(--color-cta-hover);
}

/* Legacy mobile nav link support */
.mobile-nav-list > li > a:not(.mobile-nav-link-primary) {
  display: block;
  padding: var(--space-lg) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.6875rem 1.3125rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-cta);
  color: var(--color-white);
  border-color: var(--color-cta);
}

.btn-primary:hover {
  background: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-gray-900);
  border-color: var(--color-gray-200);
}

.btn-secondary:hover {
  border-color: var(--color-gray-300);
  background: var(--color-gray-50);
}

.btn-ghost {
  background: transparent;
  color: var(--color-gray-700);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--color-accent);
  background: var(--color-cream);
}

.btn-ghost-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-white:hover {
  background: var(--color-off-white);
  border-color: var(--color-off-white);
}

.btn-lg {
  padding: 0.9375rem 1.8125rem;
  font-size: 1rem;
}

/* ===================================
   Hero Section - Centered
   =================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 50, 75, 0.75) 0%, rgba(15, 40, 65, 0.8) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  font-weight: 600;
  font-style: normal;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  animation: fadeSlideUp 0.6s ease forwards;
  letter-spacing: -0.02em;
}

.hero-title-accent {
  color: var(--color-accent);
  font-style: normal;
}

/* Hero Credential Badge */
.hero-credential {
  animation: fadeSlideUp 0.6s ease forwards;
  margin-bottom: var(--space-lg);
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.credential-badge svg {
  color: var(--color-accent-light);
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  animation: fadeSlideUp 0.6s ease 0.15s forwards;
  opacity: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  animation: fadeSlideUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.hero-cta .btn-primary {
  background: var(--color-cta);
  border-color: var(--color-cta);
}

.hero-cta .btn-primary:hover {
  background: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
}

.hero-cta .btn-secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9375rem 1.8125rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.hero-cta .btn-secondary-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
}

.hero-description {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  animation: fadeSlideUp 0.6s ease 0.1s forwards;
  opacity: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Hero Stats - Centered */
.hero-stats {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-4xl);
  animation: fadeSlideUp 0.6s ease 0.25s forwards;
  opacity: 0;
  margin-bottom: var(--space-2xl);
}

.hero-stats .stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stats .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.hero-stats .stat-label {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  line-height: 1.4;
}

.hero-stats .stat-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stats .stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-xs);
}

.hero-stats .stars svg {
  width: 20px;
  height: 20px;
  fill: var(--color-star);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
}

/* Hero Search Container */
.hero-search-container {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  animation: fadeSlideUp 0.6s ease 0.35s forwards;
  opacity: 0;
  z-index: 10;
}

.hero-search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 6px;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-search-box:hover,
.hero-search-box:focus-within {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 4px rgba(1, 138, 253, 0.15);
  transform: translateY(-2px);
}

.search-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: var(--space-md) var(--space-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-white);
  background: transparent;
  min-width: 0;
}

.hero-search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9375rem;
}

.hero-search-input:focus::placeholder {
  opacity: 0.7;
}

.hero-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, var(--color-accent) 0%, #0099ff 100%);
  color: var(--color-white);
  border: none;
  border-radius: calc(var(--radius-xl) - 4px);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(1, 138, 253, 0.35);
}

.hero-search-btn:hover {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 100%);
  transform: translateX(2px);
  box-shadow: 0 4px 20px rgba(1, 138, 253, 0.5);
}

.hero-search-btn svg {
  transition: transform 0.25s ease;
}

.hero-search-btn:hover svg {
  transform: translateX(3px);
}

/* Search Results Dropdown */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 2000;
  overflow: hidden;
  max-height: 500px;
}

.search-results-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  color: var(--color-gray-700);
  text-decoration: none;
  transition: all 0.15s ease;
  border-bottom: 1px solid var(--color-gray-100);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover,
.search-result-item.highlighted {
  background: var(--color-cream);
  color: var(--color-primary);
}

.search-result-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(1, 138, 253, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.search-result-item:hover .search-result-icon,
.search-result-item.highlighted .search-result-icon {
  background: var(--color-accent);
  color: var(--color-white);
}

.search-result-content {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: inherit;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.search-result-title .match {
  background: rgba(1, 138, 253, 0.15);
  color: var(--color-accent-dark);
  padding: 0 3px;
  border-radius: 3px;
}

.search-result-desc {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.search-result-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(1, 138, 253, 0.1);
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
  align-self: flex-start;
}

.search-result-badge.program {
  background: rgba(1, 138, 253, 0.1);
  color: var(--color-accent);
}

.search-result-badge.resource {
  background: rgba(192, 0, 0, 0.12);
  color: var(--color-red);
}

.search-result-badge.blog {
  background: rgba(138, 43, 226, 0.15);
  color: #7b2cbf;
}

.search-no-results {
  padding: var(--space-xl);
  text-align: center;
  color: var(--color-gray-500);
  font-size: 0.9375rem;
}

.search-no-results svg {
  display: block;
  margin: 0 auto var(--space-md);
  color: var(--color-gray-300);
}

/* Popular Tags */
.search-popular {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-off-white);
  border-top: 1px solid var(--color-gray-100);
  flex-wrap: wrap;
}

.search-popular-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.search-popular-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-gray-700);
  text-decoration: none;
  transition: all 0.2s ease;
}

.search-popular-tag:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* Responsive Search Bar */
@media (max-width: 768px) {
  .hero-search-container {
    max-width: 100%;
  }

  .hero-search-box {
    flex-wrap: wrap;
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
  }

  .search-icon-wrapper {
    width: 40px;
    height: 40px;
    margin-left: 0;
  }

  .hero-search-input {
    flex: 1;
    min-width: 150px;
    font-size: 0.9375rem;
  }

  .hero-search-input::placeholder {
    font-size: 0.8125rem;
  }

  .hero-search-btn {
    width: 100%;
    margin-top: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }

  .search-popular {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }

  .search-popular-tag {
    font-size: 0.75rem;
    padding: 3px 10px;
  }
}

@media (max-width: 480px) {
  .hero-search-input::placeholder {
    font-size: 0.75rem;
  }

  .search-result-item {
    padding: var(--space-sm) var(--space-md);
  }

  .search-result-icon {
    width: 36px;
    height: 36px;
  }

  .search-result-title {
    font-size: 0.875rem;
  }
}

/* ===================================================================
   Shared inner-page hero (light) — matches the eduavenues.com PageHero.
   Canonical class is .ea-page-hero; .tj-page-hero is kept as an alias so
   existing TJTestPrep markup keeps working. Same styles for both.
   =================================================================== */
.ea-page-hero,
.tj-page-hero {
  position: relative;
  overflow: hidden;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 4rem 1.5rem 3rem;
}
.ea-page-hero::before,
.tj-page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #002e54;
}
.ea-page-hero .ea-page-hero-inner,
.tj-page-hero .tj-page-hero-inner {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 0;
}
.ea-page-hero .ea-page-hero-eyebrow,
.tj-page-hero .tj-page-hero-eyebrow {
  display: block;
  margin: 0 0 1.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6b7280;
}
.ea-page-hero .ea-page-hero-title,
.tj-page-hero .tj-page-hero-title {
  margin: 0 0 1.25rem;
  color: #030712;
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.ea-page-hero .ea-page-hero-desc,
.tj-page-hero .tj-page-hero-desc {
  max-width: 42rem;
  margin: 0 auto;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.75rem;
}
.ea-page-hero .ea-page-hero-actions,
.tj-page-hero .tj-page-hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .ea-page-hero,
  .tj-page-hero {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }
  .ea-page-hero .ea-page-hero-title,
  .tj-page-hero .tj-page-hero-title {
    font-size: 3rem;
  }
  .ea-page-hero .ea-page-hero-desc,
  .tj-page-hero .tj-page-hero-desc {
    font-size: 17px;
  }
}

/* ===================================
   Offerings Section - Tabbed Layout
   =================================== */
.offerings {
  background: var(--color-white);
  padding-bottom: var(--space-3xl);
}

.offerings .section-header {
  max-width: 720px;
}

.offerings .section-title {
  line-height: 1.3;
}

/* Service Tabs */
.service-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.service-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-700);
  cursor: pointer;
  transition: var(--transition-base);
}

.service-tab:hover {
  border-color: var(--color-gray-300);
  background: var(--color-off-white);
}

.service-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.service-tab svg {
  flex-shrink: 0;
}

/* Service Panels */
.service-panels {
  margin-bottom: var(--space-2xl);
}

.service-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.service-panel.active {
  display: block;
}

/* Service Card - Split Layout */
.service-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card-content {
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

.service-card-description {
  font-size: 1rem;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

/* Feature List with Checkmarks */
.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  line-height: 1.5;
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--color-accent);
  stroke-width: 2.5;
  fill: none;
  margin-top: 2px;
}

.service-card-content .btn {
  align-self: flex-start;
}

/* Service Card Image */
.service-card-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

@media (max-width: 1024px) {
  .service-card-image img {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
}

/* Offerings Bottom CTA */
.offerings-cta {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-gray-100);
}

.offerings-cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-700);
  transition: var(--transition-fast);
}

.offerings-cta-link:hover {
  color: var(--color-accent);
  gap: var(--space-md);
}

.offerings-cta-link svg {
  transition: var(--transition-fast);
}

/* ===================================
   Why Choose Us Section
   =================================== */
.why-us {
  background: var(--color-off-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.why-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
  border: 1px solid var(--color-gray-100);
}

.why-card:hover {
  border-color: var(--color-gray-200);
}

.why-image {
  height: 180px;
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.why-card:hover .why-image img {
  transform: scale(1.05);
}

/* Scroll animation - only hide when JS is available */
.js .animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.js .animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.why-content {
  padding: var(--space-xl);
}

.why-title {
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
  color: var(--color-primary);
}

.why-text {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.why-text-highlight {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-green);
  font-style: italic;
}

/* Why Cards with Icons (no images) */
.why-grid-icons {
  gap: var(--space-lg);
}

.why-card-icon {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.why-card-icon .why-content {
  padding: 0;
  padding-top: var(--space-lg);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
  color: white;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(1, 138, 253, 0.25);
}

.why-icon-gold {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  box-shadow: 0 8px 24px rgba(192, 0, 0, 0.25);
}

.why-icon-teal {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  box-shadow: 0 8px 24px rgba(0, 46, 84, 0.25);
}

.why-card-icon:hover .why-icon {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}

.why-card-icon .why-title {
  margin-top: var(--space-md);
}

/* ===================================
   Results Section
   =================================== */
.results {
  background: var(--color-off-white);
  padding: var(--space-4xl) 0;
}

.results-title {
  text-align: center;
  margin-bottom: var(--space-md);
}

.results-divider {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-2xl);
}

.divider-red {
  width: 60px;
  height: 4px;
  background: var(--color-red);
}

.divider-navy {
  width: 300px;
  height: 4px;
  background: var(--color-primary);
}

.results-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2xl);
  display: inline-flex;
}

.results-header-icon {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.results-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.results-chart,
.results-stats {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-100);
}

.chart-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-gray-900);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xl);
}

/* Bar Chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 220px;
  padding-top: var(--space-xl);
  border-bottom: 2px solid var(--color-gray-200);
}

.bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
}

.bar-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.bar {
  width: 48px;
  background: var(--color-primary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: var(--transition-base);
  min-height: 10px;
}

.bar-item:hover .bar {
  background: var(--color-accent);
}

.bar-year {
  font-size: 0.6875rem;
  color: var(--color-gray-500);
  text-align: center;
  margin-top: var(--space-sm);
}

/* Admissions Stats */
.stat-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gray-700);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
}

.progress-bar {
  height: 12px;
  background: var(--color-gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

.progress-blue {
  background: var(--color-accent);
}

.progress-dark {
  background: var(--color-gray-700);
}

.stat-percent {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  min-width: 70px;
  text-align: right;
}

.stat-footnote {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  font-style: italic;
  margin-top: var(--space-lg);
}

/* Results Banner */
.results-banner {
  background: var(--color-red);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
}

.results-banner p {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

.results-banner strong {
  text-decoration: underline;
  font-weight: 700;
}

/* ===================================
   Alumni Section - Compact Layout
   =================================== */
.alumni {
  background: var(--color-white);
  padding: var(--space-4xl) 0;
}

.alumni.alumni-compact {
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.alumni-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.alumni-header .section-title {
  margin-bottom: 0;
  line-height: 1.3;
}

.alumni-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.alumni-card {
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.alumni-card-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.alumni-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.alumni-card-icon svg {
  color: var(--color-accent);
}

.alumni-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 var(--space-xs);
  color: var(--color-white);
}

.alumni-card-content p {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0.9;
}

.alumni-card-secondary {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  flex-direction: column;
  justify-content: center;
}

.alumni-card-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 var(--space-md);
}

.alumni-institutions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.alumni-institutions-inline span {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-700);
  background: var(--color-white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-gray-200);
  transition: var(--transition-fast);
}

.alumni-institutions-inline span:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* School names with brand colors by default */
.alumni-institutions-inline .alumni-school {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  background: transparent;
  padding: 0;
  border: none;
  cursor: default;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  position: relative;
}

.alumni-institutions-inline .alumni-school::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.alumni-institutions-inline .alumni-school:hover::after {
  transform: scaleX(1);
}

.alumni-institutions-inline .alumni-school:hover {
  transform: translateY(-2px);
}

/* School brand colors */
.alumni-institutions-inline .alumni-school.harvard {
  color: #a51c30;
}

.alumni-institutions-inline .alumni-school.dartmouth {
  color: #00693e;
}

.alumni-institutions-inline .alumni-school.columbia {
  color: #004b8d;
}

.alumni-institutions-inline .alumni-school.brown {
  color: #4e3629;
}

.alumni-institutions-inline .alumni-school.cornell {
  color: #b31b1b;
}

.alumni-cta-inline {
  text-align: center;
  margin-top: var(--space-lg);
}

.alumni-cta-inline .btn-secondary {
  background: var(--color-white);
  border-color: var(--color-gray-200);
  color: var(--color-primary);
}

.alumni-cta-inline .btn-secondary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 46, 84, 0.2);
}

/* Mobile: Stack cards vertically */
@media (max-width: 768px) {
  .alumni-grid {
    grid-template-columns: 1fr;
  }

  .alumni-card {
    padding: var(--space-lg);
  }
}

/* ===================================
   What Our Families Say - Carousel
   =================================== */
.families-say {
  background: var(--color-off-white);
  padding: var(--space-4xl) 0;
}

.families-say .section-header {
  margin-bottom: var(--space-2xl);
}

.testimonial-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-500);
  transition: var(--transition-base);
  flex-shrink: 0;
}

.carousel-arrow:hover {
  border-color: var(--color-gray-200);
  color: var(--color-primary);
}

.carousel-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

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

.testimonial-card-single {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: var(--space-2xl) var(--space-3xl);
  text-align: center;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-lg);
}

.testimonial-stars svg {
  width: 24px;
  height: 24px;
  fill: var(--color-star);
}

.testimonial-quote {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-gray-700);
  font-style: italic;
  margin-bottom: var(--space-xl);
}

.testimonial-author-centered {
  text-align: center;
}

.testimonial-author-centered cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-gray-900);
  margin-bottom: var(--space-xs);
}

.testimonial-author-centered span {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gray-200);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  padding: 0;
}

.dot.active {
  width: 32px;
  border-radius: 5px;
  background: var(--color-primary);
}

.dot:hover:not(.active) {
  background: var(--color-gray-300);
}

/* Google Reviews Link */
.google-reviews-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.google-reviews-link a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-star);
  transition: var(--transition-fast);
}

.google-reviews-link a:hover {
  color: var(--color-accent-dark);
}

/* ===================================
   Resources Section
   =================================== */
.resources {
  background: var(--color-white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.resource-card {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  display: block;
  border: 1px solid var(--color-gray-100);
}

.resource-card:hover {
  border-color: var(--color-gray-200);
}

.resource-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(1, 138, 253, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--color-accent);
  transition: var(--transition-base);
}

.resource-card:hover .resource-icon {
  background: var(--color-accent);
  color: var(--color-white);
}

.resource-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1rem;
  color: var(--color-primary);
}

.resource-card p {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.resource-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: var(--transition-fast);
}

.resource-card:hover .resource-link {
  color: var(--color-accent-dark);
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
  padding: var(--space-4xl) 0;
  background: var(--color-off-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-gray-100);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-gray-200);
}

.faq-item.active {
  border-color: var(--color-gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
}

.faq-question span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-900);
  line-height: 1.5;
}

.faq-question svg {
  flex-shrink: 0;
  color: var(--color-gray-400);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 var(--space-xl) var(--space-xl);
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin: 0;
}

.faq-answer strong {
  color: var(--color-gray-900);
}

@media (max-width: 768px) {
  .faq-question {
    padding: var(--space-md) var(--space-lg);
  }

  .faq-question span {
    font-size: 0.9375rem;
  }

  .faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
  }
}

/* ===================================
   CTA Section
   =================================== */
.cta {
  background: var(--color-primary);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(1, 138, 253, 0.08);
  top: -250px;
  right: -150px;
}

.cta::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(1, 138, 253, 0.05);
  bottom: -150px;
  left: 5%;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-white);
}

.cta-title {
  color: var(--color-white) !important;
  margin-bottom: var(--space-md);
}

.cta .cta-title,
.cta h2.cta-title,
.cta h2 {
  color: var(--color-white) !important;
}

.cta-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.cta .cta-description,
.cta p.cta-description,
.cta p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: var(--color-cta);
  border-color: var(--color-cta);
}

.cta .btn-primary:hover {
  background: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
}

.cta .btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

/* ===================================
   Newsletter Footer Section
   =================================== */
.newsletter-footer {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  padding: var(--space-xl) 0;
}

.newsletter-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
}

.newsletter-info {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.newsletter-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}

.newsletter-text h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin: 0;
  max-width: 400px;
}

.newsletter-form-inline {
  display: flex;
  gap: var(--space-sm);
}

.newsletter-input-inline {
  width: 280px;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: 0.9375rem;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-base);
}

.newsletter-input-inline::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input-inline:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

/* Newsletter success and error states */
.newsletter-success {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: var(--radius-md);
  color: #86efac;
  font-size: 0.9375rem;
  font-weight: 500;
}

.newsletter-success svg {
  color: #4ade80;
  flex-shrink: 0;
}

.newsletter-error {
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 0.8125rem;
}

/* Spinner animation for newsletter button */
.newsletter-form-inline button .spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Subscription success toast */
.subscription-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-radius: var(--radius-md);
  color: white;
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
  z-index: 10000;
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.subscription-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.subscription-toast svg {
  flex-shrink: 0;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--color-primary-dark);
  color: var(--color-gray-300);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4xl);
  padding-bottom: var(--space-3xl);
}

.footer-brand {
  flex-shrink: 0;
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-logo-text {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.footer-logo-text sup {
  font-size: 0.6rem;
  vertical-align: super;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  font-weight: 400;
  margin-bottom: var(--space-lg);
}

.footer .contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition-fast);
}

.footer .contact-link:hover {
  color: var(--color-white);
}

.footer .contact-link svg {
  opacity: 0.7;
}

.footer-nav {
  display: flex;
  gap: var(--space-4xl);
}

.footer-links h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: var(--space-lg);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition-fast);
}

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

/* Footer Social */
.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
}

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

/* Social media brand colors on hover */
.footer-social a[aria-label='Spotify']:hover {
  color: #1db954;
}

.footer-social a[aria-label='Facebook']:hover {
  color: #1877f2;
}

.footer-social a[aria-label='Instagram']:hover {
  color: #e4405f;
}

.footer-social a[aria-label='LinkedIn']:hover {
  color: #0a66c2;
}

.footer-social a[aria-label='YouTube']:hover {
  color: #ff0000;
}

.footer-social a[aria-label='X (Twitter)']:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
}

.copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition-fast);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: var(--space-lg);
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ===================================
   Contact Us Page - Styles
   =================================== */

/* Contact Hero Section */
.contact-hero {
  position: relative;
  padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
  overflow: hidden;
  background: var(--gradient-hero);
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 80%, rgba(1, 138, 253, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(1, 138, 253, 0.1) 0%, transparent 40%);
}

.contact-hero-split {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  position: relative;
  z-index: 2;
}

.contact-hero-content {
  flex: 1;
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  animation: fadeSlideUp 0.6s ease forwards;
}

.contact-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  animation: fadeSlideUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.contact-hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeSlideUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.contact-hero-image {
  flex: 0 0 420px;
  animation: fadeSlideUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.contact-hero-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Step 1: Resources Section */
.contact-resources {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
}

.faq-card-icon-red {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.faq-card:hover .faq-card-icon-red {
  background: #dc2626;
  color: var(--color-white);
}

.faq-card-icon-teal {
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
}

.faq-card:hover .faq-card-icon-teal {
  background: #0d9488;
  color: var(--color-white);
}

.faq-card-icon-purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.faq-card:hover .faq-card-icon-purple {
  background: #7c3aed;
  color: var(--color-white);
}

/* Contact Main Section */
.contact-main {
  padding: var(--space-4xl) 0;
  background: var(--color-off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-3xl);
  border: 1px solid var(--color-gray-100);
}

.form-header {
  margin-bottom: var(--space-2xl);
}

.form-header h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-sm);
}

.form-header p {
  font-size: 1rem;
  color: var(--color-gray-500);
  margin: 0;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-700);
}

.form-group label .required {
  color: var(--color-red);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-gray-900);
  background: var(--color-white);
  transition: all 0.2s ease;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-300);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(1, 138, 253, 0.1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--color-gray-300);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235f6672' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 44px;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Checkbox */
.form-checkbox {
  flex-direction: row;
  align-items: center;
  gap: var(--space-sm);
}

.form-checkbox input[type='checkbox'] {
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  accent-color: var(--color-accent);
}

.form-checkbox label {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-gray-500);
  cursor: pointer;
}

/* Submit Button */
.form-submit-btn {
  margin-top: var(--space-md);
  position: relative;
  overflow: hidden;
}

.form-submit-btn .btn-text,
.form-submit-btn .btn-icon {
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.form-submit-btn .btn-loading {
  position: absolute;
  display: none;
}

.form-submit-btn.loading .btn-text,
.form-submit-btn.loading .btn-icon {
  opacity: 0;
  transform: translateY(10px);
}

.form-submit-btn.loading .btn-loading {
  display: flex;
}

.spinner {
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Success Message */
.form-success {
  text-align: center;
  padding: var(--space-3xl);
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
  border-radius: 50%;
  color: var(--color-white);
  margin-bottom: var(--space-xl);
  animation: scaleIn 0.5s ease forwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-sm);
}

.form-success p {
  font-size: 1rem;
  color: var(--color-gray-500);
  margin-bottom: var(--space-xl);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border: 1px solid var(--color-gray-100);
  display: flex;
  gap: var(--space-lg);
  transition: all 0.25s ease;
}

.contact-info-card:hover {
  border-color: var(--color-gray-200);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  background: rgba(1, 138, 253, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-info-icon-green {
  background: rgba(22, 163, 74, 0.1);
  color: var(--color-success);
}

.contact-info-icon-gold {
  background: rgba(1, 138, 253, 0.1);
  color: var(--color-accent);
}

.contact-info-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-xs);
}

.contact-info-content p {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  margin-bottom: var(--space-sm);
}

.contact-note {
  font-size: 0.8125rem !important;
  color: var(--color-gray-400) !important;
  margin-top: var(--space-md) !important;
}

.contact-link-primary {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: color 0.2s ease;
}

.contact-link-primary:hover {
  color: var(--color-accent-dark);
}

.contact-link-secondary {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-600);
  transition: color 0.2s ease;
}

.contact-link-secondary:hover {
  color: var(--color-primary);
}

.response-time {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-green);
}

/* Quick Links */
.quick-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.quick-links li a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-600);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.quick-links li a::before {
  content: '→';
  font-size: 0.875rem;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.quick-links li a:hover {
  color: var(--color-accent);
}

.quick-links li a:hover::before {
  transform: translateX(4px);
}

/* Social Links Card */
.contact-social {
  background: var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  color: var(--color-white);
}

.contact-social h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.contact-social p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

.social-links {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all 0.25s ease;
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-youtube:hover {
  background: var(--color-youtube);
}

.social-instagram:hover {
  background: var(--color-instagram);
}

.social-facebook:hover {
  background: var(--color-facebook);
}

.social-linkedin:hover {
  background: var(--color-linkedin);
}

.social-twitter:hover {
  background: var(--color-twitter);
}

/* Location Card */
.contact-info-icon-red {
  background: rgba(192, 0, 0, 0.1);
  color: var(--color-red);
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.location-list p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 0;
}

/* Consultation Section */
.consultation-section {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
}

.consultation-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-3xl);
  border: 1px solid var(--color-gray-100);
}

.consultation-header {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  margin-bottom: var(--space-2xl);
}

.consultation-icon {
  width: 56px;
  height: 56px;
  background: rgba(1, 138, 253, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.consultation-header h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-sm);
}

.consultation-header p {
  font-size: 1rem;
  color: var(--color-gray-500);
  line-height: 1.6;
  max-width: 680px;
  margin: 0;
}

.consultation-header p strong {
  color: var(--color-gray-900);
}

.consultation-wrapper iframe {
  border-radius: var(--radius-lg);
  width: 100%;
}

@media (max-width: 768px) {
  .consultation-wrapper {
    padding: var(--space-xl);
  }

  .consultation-header {
    flex-direction: column;
    gap: var(--space-md);
  }

  .consultation-header h2 {
    font-size: 1.5rem;
  }

  .consultation-wrapper iframe {
    height: 500px;
  }
}

@media (max-width: 480px) {
  .consultation-wrapper {
    padding: var(--space-lg);
  }

  .consultation-wrapper iframe {
    height: 450px;
  }
}

/* FAQ Section */
.contact-faq {
  background: var(--color-white);
  padding: var(--space-4xl) 0;
}

.faq-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.faq-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all 0.25s ease;
  display: block;
  text-decoration: none;
}

.faq-card:hover {
  border-color: var(--color-gray-200);
}

.faq-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(1, 138, 253, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  transition: all 0.25s ease;
}

.faq-card:hover .faq-card-icon {
  background: var(--color-accent);
  color: var(--color-white);
}

.faq-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-sm);
}

.faq-card p {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.faq-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: color 0.2s ease;
}

.faq-card:hover .faq-card-link {
  color: var(--color-accent-dark);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .contact-info-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .contact-social {
    grid-column: span 2;
  }

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

@media (max-width: 768px) {
  .contact-hero {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
  }

  .contact-hero-split {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .contact-hero-content {
    text-align: center;
  }

  .contact-hero-image {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-hero-image img {
    height: 220px;
  }

  .contact-hero-subtitle br {
    display: none;
  }

  .contact-form-wrapper {
    padding: var(--space-xl);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-sidebar {
    grid-template-columns: 1fr;
  }

  .contact-social {
    grid-column: span 1;
  }

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

  .contact-info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .contact-form-wrapper {
    padding: var(--space-lg);
  }

  .form-header h2 {
    font-size: 1.5rem;
  }

  .contact-hero-title {
    font-size: 2rem;
  }

  .contact-hero-subtitle {
    font-size: 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 0.9375rem;
  }
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1024px) {
  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card-image {
    min-height: 300px;
    order: -1;
  }

  .service-card-content {
    padding: var(--space-2xl);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xl);
  }

  .footer-nav {
    gap: var(--space-2xl);
    flex-wrap: wrap;
  }

  .newsletter-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .newsletter-info {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-text {
    text-align: center;
  }

  .newsletter-text p {
    max-width: none;
  }

  .hero-subtitle {
    font-size: 1.0625rem;
  }
}

@media (max-width: 900px) {
  .mega-menu {
    min-width: 360px;
    padding: var(--space-lg);
    gap: var(--space-lg);
  }

  .mega-menu-column {
    min-width: 140px;
  }
}

@media (max-width: 768px) {
  .nav,
  .header-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .logo-text {
    font-size: 0.8125rem;
  }

  .hero {
    padding-top: calc(80px + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .credential-badge {
    font-size: 0.8125rem;
    padding: 8px 16px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .hero-cta .btn,
  .hero-cta .btn-secondary-light {
    width: 100%;
  }

  .stat-divider {
    display: none;
  }

  .search-box {
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.1);
  }

  .search-icon {
    display: none;
  }

  .search-input {
    text-align: center;
    color: var(--color-white);
  }

  .search-btn {
    width: 100%;
  }

  .why-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .service-tabs {
    gap: var(--space-xs);
  }

  .service-tab {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }

  .service-tab svg {
    width: 16px;
    height: 16px;
  }

  .service-card-content {
    padding: var(--space-xl);
  }

  .service-card-title {
    font-size: 1.375rem;
  }

  .service-card-image {
    min-height: 240px;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .bar-chart {
    height: 180px;
  }

  .bar {
    width: 32px;
  }

  .stat-row {
    flex-wrap: wrap;
  }

  .stat-percent {
    font-size: 1.5rem;
  }

  .results-banner p {
    font-size: 1rem;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .testimonial-card-single {
    padding: var(--space-xl);
  }

  .testimonial-quote {
    font-size: 1.0625rem;
  }

  .newsletter-form-inline {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-input-inline {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
  }

  /* Additional mobile fixes */
  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }

  .section-header {
    text-align: center;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xl);
  }

  .footer-brand {
    text-align: center;
  }

  .footer-tagline {
    text-align: center;
  }

  .contact-link {
    justify-content: center;
  }

  /* Mobile menu hamburger animation */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Events toggle button - mobile */
  .events-toggle-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 0.75rem;
  }

  .logo-image {
    height: 32px;
  }

  .hero-credential {
    margin-bottom: var(--space-md);
  }

  .credential-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    gap: 6px;
  }

  .credential-badge svg {
    width: 16px;
    height: 16px;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
  }

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

  .cta-actions .btn {
    width: 100%;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .footer-social {
    flex-wrap: wrap;
    gap: var(--space-md);
  }
}

/* ===================================
   Events Sidebar - Warm & Approachable
   =================================== */
.events-sidebar {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
}

/* Disable floating Events sidebar + toggle (2026-05-01: temporarily off per request) */
.events-toggle-btn,
.events-sidebar {
  display: none !important;
}

.events-sidebar.active {
  pointer-events: auto;
}

/* Backdrop */
.events-sidebar-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.events-sidebar.active .events-sidebar-backdrop {
  opacity: 1;
}

/* Panel - Light, warm background */
.events-sidebar-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--color-white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.events-sidebar.active .events-sidebar-panel {
  transform: translateX(0);
}

/* Close Button */
.events-sidebar-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  background: var(--color-off-white);
  border: 1px solid var(--color-gray-100);
  border-radius: 50%;
  color: var(--color-gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.events-sidebar-close:hover {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
}

/* Header - Clean and professional */
.events-sidebar-header {
  flex-shrink: 0; /* Prevent header from shrinking */
  padding: var(--space-md) var(--space-lg);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border-bottom: 1px solid var(--color-gray-100);
  background: linear-gradient(180deg, #f8fafc 0%, var(--color-white) 100%);
}

.events-sidebar-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.events-sidebar-header h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin: 0;
}

/* Content Area */
.events-sidebar-content {
  flex: 1;
  min-height: 0; /* Required for flex child to scroll properly */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on iOS */
  overscroll-behavior: contain; /* Prevent scroll chaining */
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--color-off-white);
}

/* Custom Scrollbar */
.events-sidebar-content::-webkit-scrollbar {
  width: 6px;
}

.events-sidebar-content::-webkit-scrollbar-track {
  background: var(--color-gray-100);
}

.events-sidebar-content::-webkit-scrollbar-thumb {
  background: var(--color-gray-300);
  border-radius: 3px;
}

.events-sidebar-content::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-500);
}

/* Event Card - Clean card style */
.event-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  overflow: visible;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.event-card:hover {
  border-color: var(--color-gray-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.event-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-accent);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.event-card-accent.accent-teal {
  background: var(--color-green);
}

.event-card-accent.accent-forest {
  background: var(--color-forest);
}

.event-card-accent.accent-red {
  background: var(--color-red);
}

.event-card-content {
  padding: var(--space-md);
  padding-left: calc(var(--space-md) + 8px);
  padding-bottom: var(--space-md);
}

/* Event Badge */
.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(1, 138, 253, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
}

.event-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.event-badge.badge-upcoming {
  background: rgba(1, 138, 253, 0.1);
  color: var(--color-green);
}

.event-badge-dot.dot-teal {
  background: var(--color-green);
}

.event-badge-dot.dot-forest {
  background: var(--color-forest);
}

.event-badge.badge-forest {
  background: rgba(22, 101, 52, 0.1);
  color: var(--color-forest);
}

.event-badge.badge-red {
  background: rgba(192, 0, 0, 0.1);
  color: var(--color-red);
}

/* Event Title */
.event-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-xs);
  line-height: 1.35;
}

/* Event Meta */
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-gray-100);
}

.event-meta-item {
  display: flex;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.event-meta-label {
  color: var(--color-gray-500);
  font-weight: 600;
  flex-shrink: 0;
}

.event-meta-value {
  color: var(--color-gray-700);
}

/* Event Features */
.event-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-lg);
}

.event-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  line-height: 1.5;
}

.event-features li span {
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
}

.event-features li svg {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.event-card:nth-child(2) .event-features li svg {
  color: var(--color-green);
}

/* Event Description */
.event-description {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  display: none;
}

.event-description.expanded {
  display: block;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: var(--space-sm);
  margin-bottom: var(--space-md);
}

/* Custom scrollbar for event descriptions */
.event-description.expanded::-webkit-scrollbar {
  width: 6px;
}

.event-description.expanded::-webkit-scrollbar-track {
  background: var(--color-gray-100);
  border-radius: 3px;
}

.event-description.expanded::-webkit-scrollbar-thumb {
  background: var(--color-gray-300);
  border-radius: 3px;
}

.event-description.expanded::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-500);
}

.event-description p {
  margin-bottom: var(--space-sm);
}

.event-description ul {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
  padding-left: 1.25rem;
}

.event-description li {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.event-description strong {
  color: var(--color-gray-900);
  font-weight: 600;
}

.event-description-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 0;
  margin-bottom: var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  cursor: pointer;
  transition: var(--transition-fast);
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
}

.event-description-toggle:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.event-description-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.event-description-toggle.expanded svg {
  transform: rotate(180deg);
}

/* Event Actions */
.event-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding-top: var(--space-sm);
}

/* Event Button */
.event-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  background: var(--color-accent);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.event-btn:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(1, 138, 253, 0.25);
}

.event-btn.btn-teal {
  background: var(--color-green);
}

.event-btn.btn-teal:hover {
  background: var(--color-green-dark);
  box-shadow: 0 4px 12px rgba(1, 138, 253, 0.25);
}

.event-btn.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.event-btn.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 46, 84, 0.2);
}

/* Event Summary */
.event-summary {
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  line-height: 1.45;
  margin: var(--space-xs) 0 var(--space-sm) 0;
}

/* Event CTA Button */
.event-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 10px 20px;
  background: var(--color-accent);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  margin-top: var(--space-sm);
}

.event-cta-btn:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(1, 138, 253, 0.3);
}

.event-cta-btn.btn-teal {
  background: var(--color-green);
}

.event-cta-btn.btn-teal:hover {
  background: var(--color-green-dark);
  box-shadow: 0 6px 16px rgba(1, 138, 253, 0.3);
}

.event-cta-btn.btn-forest {
  background: var(--color-forest);
  color: var(--color-white);
}

.event-cta-btn.btn-forest:hover {
  background: var(--color-forest-dark);
  box-shadow: 0 6px 16px rgba(22, 101, 52, 0.3);
}

.event-cta-btn.btn-red {
  background: var(--color-red);
}

.event-cta-btn.btn-red:hover {
  background: var(--color-red-dark);
  box-shadow: 0 6px 16px rgba(192, 0, 0, 0.3);
}

.event-cta-btn svg {
  flex-shrink: 0;
}

/* Sidebar Footer */
.events-sidebar-footer {
  flex-shrink: 0; /* Prevent footer from shrinking */
  padding: var(--space-sm) var(--space-lg);
  border-top: 1px solid var(--color-gray-100);
  background: var(--color-white);
  text-align: center;
}

.events-sidebar-footer p {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin: 0;
}

.events-sidebar-footer a {
  color: var(--color-accent);
  font-weight: 600;
  transition: color 0.2s ease;
}

.events-sidebar-footer a:hover {
  color: var(--color-accent-dark);
}

/* Events Toggle Button - Friendly pill style */
.events-toggle-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  padding-right: var(--space-md);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-right: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  color: var(--color-gray-700);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.08);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.events-toggle-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  padding-right: var(--space-lg);
  box-shadow: -4px 2px 20px rgba(0, 46, 84, 0.2);
}

.events-toggle-btn:hover .events-toggle-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.events-toggle-btn:hover .events-toggle-badge {
  background: var(--color-white);
  color: var(--color-red);
}

.events-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  writing-mode: horizontal-tb;
  transition: all 0.25s ease;
}

.events-toggle-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-sm) 0;
}

.events-toggle-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  width: 20px;
  height: 20px;
  background: var(--color-red);
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: horizontal-tb;
  transition: all 0.25s ease;
}

/* Hide toggle when sidebar is open */
.events-sidebar.active ~ .events-toggle-btn {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(20px);
}

/* Responsive */
@media (max-width: 1024px) {
  .events-sidebar-panel {
    width: min(380px, 85vw);
  }
}

@media (max-width: 768px) {
  .events-sidebar-panel {
    width: min(360px, 90vw);
  }

  .events-sidebar-header {
    padding: var(--space-lg);
    padding-top: var(--space-xl);
  }

  .events-sidebar-header h2 {
    font-size: 1.25rem;
  }

  .events-sidebar-icon {
    width: 40px;
    height: 40px;
  }

  .events-sidebar-content {
    padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  .events-sidebar-panel {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
  }

  /* More prominent floating action button style on mobile */
  .events-toggle-btn {
    top: auto;
    bottom: var(--space-xl);
    right: var(--space-md);
    transform: none;
    writing-mode: horizontal-tb;
    border-radius: var(--radius-full);
    padding: var(--space-md);
    border: none;
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 46, 84, 0.3);
    min-width: 56px;
    min-height: 56px;
    justify-content: center;
  }

  .events-toggle-btn .events-toggle-text {
    display: none;
  }

  .events-toggle-btn .events-toggle-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    width: 24px;
    height: 24px;
  }

  .events-toggle-btn .events-toggle-badge {
    top: -4px;
    left: auto;
    right: -4px;
  }

  .events-toggle-btn:hover {
    transform: none;
    padding-right: var(--space-md);
  }

  .events-sidebar.active ~ .events-toggle-btn {
    transform: translateX(20px);
  }

  /* Improved mobile header */
  .events-sidebar-header {
    padding: var(--space-md);
    padding-top: var(--space-lg);
  }

  .events-sidebar-header h2 {
    font-size: 1.125rem;
  }

  .events-sidebar-icon {
    width: 36px;
    height: 36px;
  }

  /* Touch-friendly event cards */
  .event-card {
    margin-bottom: var(--space-md);
  }

  .event-card-content {
    padding: var(--space-md);
    padding-left: calc(var(--space-md) + 6px);
  }

  .event-title {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
  }

  .event-summary {
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: var(--space-sm);
  }

  .event-meta {
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
  }

  .event-meta-item {
    font-size: 0.75rem;
  }

  /* Larger touch-friendly CTA buttons */
  .event-cta-btn {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.875rem;
    min-height: 48px;
  }

  .events-sidebar-footer {
    padding: var(--space-md);
  }
}

/* ===================================
   Announcement Bar
   =================================== */
.announcement-bar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1001;
  background: #c00000;
  color: #fff;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  transition: transform 0.3s ease;
}

.announcement-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.625rem 3rem 0.625rem 1rem;
}

.announcement-bar a {
  color: #fff;
  text-decoration: none;
}

.announcement-bar a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announcement-bar .announcement-cta {
  font-weight: 700;
  text-decoration: underline;
}

.announcement-bar-dismiss {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  font-size: 1.125rem;
  transition: color 0.2s ease;
}

.announcement-bar-dismiss:hover {
  color: #fff;
}

/* Shift the fixed header down when the bar is visible */
body.has-announcement-bar .header {
  top: var(--announcement-bar-height, 40px);
}

/* Shift the mobile nav down when the bar is visible */
body.has-announcement-bar .mobile-nav {
  padding-top: calc(73px + var(--announcement-bar-height, 40px));
}

/* Add extra top padding to hero to compensate */
body.has-announcement-bar .hero {
  padding-top: calc(80px + var(--space-3xl) + var(--announcement-bar-height, 40px));
}

/* For non-hero pages that use a different first section */
body.has-announcement-bar .page-header {
  padding-top: calc(80px + var(--space-3xl) + var(--announcement-bar-height, 40px));
}

/* Mobile: smaller font */
@media (max-width: 768px) {
  .announcement-bar {
    font-size: 0.8125rem;
  }
  .announcement-bar .announcement-desktop {
    display: none;
  }
}

@media (min-width: 769px) {
  .announcement-bar .announcement-mobile {
    display: none;
  }
}

/* ===================================
   Info Session Popup
   =================================== */
.info-session-popup {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  pointer-events: none;
}

.info-session-popup.active {
  pointer-events: auto;
}

.info-session-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.5);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.info-session-popup.active .info-session-popup-backdrop {
  opacity: 1;
}

.info-session-popup-panel {
  position: relative;
  width: min(100%, 430px);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  background: var(--color-white);
  padding: var(--space-xl);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.info-session-popup.active .info-session-popup-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.info-session-popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-gray-400);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.info-session-popup-close:hover {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
}

.info-session-popup-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(1, 138, 253, 0.1);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.info-session-popup-eyebrow {
  margin: 0 0 var(--space-xs);
  color: var(--color-gray-500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-session-popup-panel h2 {
  margin: 0;
  color: var(--color-gray-900);
  font-family: var(--font-heading);
  font-size: 1.625rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.info-session-popup-body {
  margin: var(--space-sm) 0 0;
  color: var(--color-gray-600);
  font-size: 0.98rem;
  line-height: 1.6;
}

.info-session-popup-host {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding: var(--space-sm) 0 0;
  border-top: 1px solid var(--color-gray-100);
  border-radius: 0;
  background: transparent;
}

.info-session-popup-host + .info-session-popup-meta {
  margin-top: var(--space-md);
}

.info-session-popup-body + .info-session-popup-meta {
  margin-top: var(--space-md);
}

.info-session-popup-host-avatar {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: var(--radius-full);
  background: #0f2f56;
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  object-fit: cover;
}

.info-session-popup-host-name,
.info-session-popup-host-title {
  margin: 0;
  line-height: 1.35;
}

.info-session-popup-host-name {
  color: var(--color-gray-900);
  font-size: 0.9375rem;
  font-weight: 800;
}

.info-session-popup-host-title {
  color: var(--color-gray-600);
  font-size: 0.8125rem;
}

.info-session-popup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin: 0 0 var(--space-lg);
}

.info-session-popup-meta span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-sm);
  background: var(--color-off-white);
  color: var(--color-gray-700);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.45rem 0.75rem;
}

.info-session-popup-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.info-session-popup-primary,
.info-session-popup-secondary {
  min-height: 46px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
}

.info-session-popup-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  background: var(--color-cta);
  color: var(--color-white);
  text-decoration: none;
  padding: 0.875rem 1rem;
  transition: background 0.2s ease;
}

.info-session-popup-primary:hover {
  background: var(--color-cta-hover);
  color: var(--color-white);
}

.info-session-popup-primary:focus-visible,
.info-session-popup-secondary:focus-visible,
.info-session-popup-close:focus-visible {
  outline: 2px solid rgba(15, 47, 86, 0.35);
  outline-offset: 2px;
}

.info-session-popup-secondary {
  border: 1px solid var(--color-gray-100);
  background: var(--color-white);
  color: var(--color-gray-600);
  cursor: pointer;
  padding: 0.875rem 1rem;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.info-session-popup-secondary:hover {
  border-color: var(--color-gray-200);
  background: var(--color-off-white);
  color: var(--color-gray-900);
}

@media (max-width: 480px) {
  .info-session-popup {
    align-items: flex-end;
    padding: var(--space-md);
  }

  .info-session-popup-panel {
    width: 100%;
    padding: var(--space-lg);
  }

  .info-session-popup-panel h2 {
    font-size: 1.375rem;
  }

  .info-session-popup-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .info-session-popup-primary,
  .info-session-popup-secondary {
    width: 100%;
  }
}
