/* ==========================================================================
   Dr. Bhausaheb Morey Organ Foundation - Modern Custom Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Brand Variables */
:root {
  --brand-navy: #1b355a;
  --brand-navy-light: #2c4c7c;
  --brand-navy-dark: #10223b;
  --brand-crimson: #e11d48;
  --brand-rose: #db2777;
  --brand-cyan: #0ea5e9;
  --brand-peach: #f97316;
  --brand-gold: #f59e0b;
  --brand-bg: #f8fafc;
  
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html, body {
  font-family: 'Inter', sans-serif;
  background-color: var(--brand-bg);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.25;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--slate-100);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-navy-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-navy);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5.5rem;
  z-index: 100;
  background: linear-gradient(to bottom, #ffffff 85%, rgba(16, 34, 59, 0.12) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
}

.nav-container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem; /* Reduced horizontal padding on mobile to secure hamburger button */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

.nav-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-img {
  height: 3.75rem;
  width: auto;
  background: #ffffff;
  border-radius: 0.375rem;
  padding: 0.125rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.nav-logo-text {
  display: none;
  flex-direction: column;
}

@media (min-width: 768px) {
  .nav-logo-text {
    display: flex;
  }
}

.logo-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--brand-navy);
}

.logo-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-rose);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-item {
  background: transparent;
  border: none;
  color: var(--brand-navy-light);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0.25rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-smooth);
}

.nav-item:hover, .nav-item.active {
  color: var(--brand-rose);
  border-bottom-color: var(--brand-rose);
}

.btn-cta {
  background-color: var(--brand-crimson);
  color: #ffffff;
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cta:hover {
  background-color: #be123c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.4);
}

.mobile-toggle {
  background: transparent;
  border: none;
  color: var(--brand-navy);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  display: block;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: absolute;
  top: 5.5rem;
  left: 0;
  width: 100%;
  background-color: var(--brand-navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem 2rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.mobile-drawer.open {
  display: flex;
}

.nav-item-mobile {
  background: transparent;
  border: none;
  color: var(--slate-100);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  padding: 0.75rem 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.drawer-cta-container {
  margin-top: 1rem;
}

.btn-cta-mobile {
  width: 100%;
  background-color: var(--brand-crimson);
  color: #ffffff;
  border: none;
  padding: 0.875rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  display: block;
}

/* ==============================================
   ROUTER & PAGES CORE
   ============================================== */
.router-container {
  height: calc(100vh - 5.5rem);
  width: 100%;
  margin-top: 5.5rem;
  position: relative;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.main-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==============================================
   PAGE 1: HOME PAGE
   ============================================== */

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 7rem 0;
  }
}

/* Blur Background Elements */
.glow-element {
  position: absolute;
  border-radius: 9999px;
  opacity: 0.15;
  filter: blur(100px);
  -webkit-filter: blur(100px);
  pointer-events: none;
}

.glow-top-right {
  top: -10rem;
  right: -10rem;
  width: 25rem;
  height: 25rem;
  background-color: var(--brand-crimson);
}

.glow-bottom-left {
  bottom: -10rem;
  left: -10rem;
  width: 25rem;
  height: 25rem;
  background-color: var(--brand-cyan);
}

.hero-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 7fr 5fr;
  }
}

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

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

.advocacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.25);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fda4af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--brand-crimson);
  border-radius: 50%;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.gradient-text {
  background: linear-gradient(to right, #fda4af, #fcd34d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fda4af;
}

.highlight-text {
  text-decoration: underline;
  text-decoration-color: var(--brand-crimson);
  text-decoration-thickness: 4px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--slate-300) !important;
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .hero-description {
    margin-left: 0;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-ctas {
    justify-content: flex-start;
  }
}

.btn-primary {
  background-color: var(--brand-crimson);
  color: #ffffff !important;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: #be123c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.4);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-portrait {
  display: flex;
  justify-content: center;
}

.canvas-frame {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 400px;
  background-color: var(--slate-900);
  border: 4px solid rgba(255, 255, 255, 0.08);
}

.portrait-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Event Announcement Block */
.announcement-section {
  padding: 3.5rem 0;
  background-color: var(--slate-100);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.announcement-card-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.announcement-card {
  background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 100%);
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(16, 34, 59, 0.25);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.25rem 1.25rem 1.25rem;
}

@media (min-width: 768px) {
  .announcement-card {
    padding: 2.5rem;
  }
}

.announcement-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--brand-gold);
  color: var(--brand-navy-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 0 1rem;
}

.announcement-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .announcement-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.announcement-subtitle {
  color: var(--brand-gold);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.5rem;
}

.announcement-title {
  color: #ffffff !important;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .announcement-title {
    font-size: 1.75rem;
  }
}

.event-details-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .event-details-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

.meta-item {
  color: var(--slate-300);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-item i {
  color: var(--brand-rose);
}

.meta-item i.fa-calendar-days {
  color: var(--brand-gold);
}

.announcement-paragraph {
  color: var(--slate-300);
  font-size: 0.9rem;
  line-height: 1.6;
}

.announcement-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 1.25rem;
  text-align: center;
}

.countdown-label {
  font-size: 0.75rem;
  color: var(--slate-400);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.timer-box {
  background-color: rgba(16, 34, 59, 0.5);
  border-radius: 0.5rem;
  padding: 0.5rem 0.25rem;
  min-width: 3rem;
}

@media (min-width: 768px) {
  .timer-box {
    padding: 0.5rem;
    min-width: 3.5rem;
  }
}

.timer-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-gold);
  font-family: monospace;
}

@media (min-width: 768px) {
  .timer-value {
    font-size: 1.5rem;
  }
}

.timer-box:last-child .timer-value {
  color: var(--brand-rose);
}

.timer-label-unit {
  display: block;
  font-size: 0.65rem;
  color: var(--slate-400);
  text-transform: uppercase;
}

.btn-gold {
  background-color: var(--brand-gold);
  color: var(--brand-navy-dark);
  border: none;
  width: 100%;
  padding: 0.875rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-gold:hover {
  background-color: #d97706;
  transform: translateY(-1px);
}

/* Pillars Grid Section */
.pillars-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.pillars-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--slate-600);
  font-size: 1.05rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  border-color: var(--slate-200);
}

.pillar-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.bg-blue-light { background-color: #eff6ff; }
.bg-rose-light { background-color: #fff1f2; }
.bg-cyan-light { background-color: #ecfeff; }

.text-navy { color: var(--brand-navy); }
.text-rose { color: var(--brand-crimson); }
.text-cyan { color: var(--brand-cyan); }

.pillar-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar-card-text {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pillar-card-link {
  background: transparent;
  border: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  cursor: pointer;
  align-self: flex-start;
  transition: var(--transition-smooth);
}

.pillar-card-link.text-rose { color: var(--brand-crimson); }
.pillar-card-link.text-cyan { color: var(--brand-cyan); }

.pillar-card:hover .pillar-card-link {
  gap: 0.75rem;
}

/* ==============================================
   PAGE 2: OUR LEGACY
   ============================================== */
.legacy-banner, .campaigns-banner, .contact-banner {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
}

.legacy-banner::after, .campaigns-banner::after, .contact-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 20px 20px;
}

.banner-tag {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.banner-title {
  color: #ffffff !important;
  font-size: 1.75rem;
  font-weight: 800;
  max-width: 50rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .banner-title {
    font-size: 2.5rem;
  }
}

.legacy-content, .campaigns-content, .contact-content {
  max-width: 56rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.campaigns-content {
  max-width: 72rem;
}

.contact-content {
  max-w: 80rem;
  margin: 0 auto;
}

/* Editorial Quote Card */
.quote-card {
  background-color: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
  margin-bottom: 5rem;
}

.quote-icon-box {
  position: absolute;
  top: -1.5rem;
  left: 3rem;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: var(--brand-crimson);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 16px rgba(225, 29, 72, 0.25);
}

.quote-card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.quote-card-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.quote-author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar-frame {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brand-crimson);
}

.author-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  display: block;
  font-weight: 700;
  color: var(--brand-navy);
}

.author-role {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* Chronological Timeline */
.timeline-section {
  margin-top: 4rem;
}

.timeline-line {
  position: relative;
  border-left: 3px solid var(--brand-navy-light);
  margin-left: 1rem;
  padding: 1rem 0;
}

@media (min-width: 640px) {
  .timeline-line {
    margin-left: 8rem;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
  cursor: pointer;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: -0.65rem;
  top: 0.375rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid var(--brand-navy);
  box-shadow: 0 0 0 4px rgba(27, 53, 90, 0.15);
  z-index: 10;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-node,
.timeline-node.active {
  background-color: var(--brand-crimson);
  border-color: var(--brand-crimson);
  box-shadow: 0 0 0 6px rgba(225, 29, 72, 0.2), 0 0 15px rgba(225, 29, 72, 0.4);
}

.timeline-desktop-year {
  display: none;
  position: absolute;
  left: -8rem;
  width: 6rem;
  text-align: right;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
  top: 0;
}

@media (min-width: 640px) {
  .timeline-desktop-year {
    display: block;
  }
}

.timeline-card {
  background-color: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-card {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: var(--slate-300);
}

.timeline-mobile-year {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .timeline-mobile-year {
    display: none;
  }
}

.timeline-card-header {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.timeline-arrow {
  font-size: 0.95rem;
  color: var(--slate-400);
  transition: var(--transition-smooth);
}

.timeline-card-body {
  margin-top: 0.75rem;
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.timeline-card-body.expanded {
  max-height: 250px;
}

/* ==============================================
   PAGE 3: AWARENESS CAMPAIGNS
   ============================================== */
.corridor-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 6rem;
}

@media (min-width: 1024px) {
  .corridor-row {
    grid-template-columns: 5fr 7fr;
  }
}

.corridor-text-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.corridor-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-cyan);
  letter-spacing: 0.08em;
}

.corridor-title {
  font-size: 2rem;
}

.corridor-description {
  color: var(--slate-600);
}

.corridor-stat-box {
  background-color: var(--slate-100);
  border-left: 4px solid var(--brand-cyan);
  padding: 1.5rem;
  border-radius: 0 1rem 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-navy);
  text-transform: uppercase;
}

.stat-value-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .stat-value-container {
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
  }
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-cyan);
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.corridor-diagram-block {
  background-color: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.diagram-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--slate-400);
  text-align: center;
  margin-bottom: 1rem;
}

.corridor-svg-container {
  position: relative;
  width: 100%;
  aspect-ratio: 2/1;
  background-color: var(--slate-950);
  border-radius: 1rem;
  overflow: hidden;
  border: 4px solid #090d16;
}

.corridor-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.corridor-overlay-bar {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  background-color: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--slate-300);
}

.corridor-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #38bdf8;
}

.pulse-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--brand-cyan);
  box-shadow: 0 0 10px var(--brand-cyan);
  animation: pulse-dot 1.5s infinite;
}

.corridor-priority {
  color: #10b981;
  font-weight: 700;
}

/* Walkathons Section */
.walkathons-section {
  margin-top: 6rem;
}

.walkathons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .walkathons-grid {
    grid-template-columns: 4fr 8fr;
  }
}

.walkathons-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-route-btn {
  background-color: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: var(--transition-smooth);
}

.map-route-btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border-color: var(--slate-300);
}

.map-route-btn.active {
  background-color: var(--brand-navy) !important;
  border-color: var(--brand-navy) !important;
  color: #ffffff !important;
}

.route-number {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: #ffe4e6;
  color: var(--brand-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.map-route-btn.active .route-number {
  background-color: var(--brand-rose);
  color: #ffffff;
}

.route-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-navy);
  transition: var(--transition-smooth);
}

.map-route-btn.active .route-title {
  color: #ffffff;
}

.route-subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-500);
  transition: var(--transition-smooth);
}

.map-route-btn.active .route-subtitle {
  color: var(--slate-300);
}

.walkathons-display-card {
  background-color: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .walkathons-display-card {
    grid-template-columns: 1fr 1fr;
  }
}

.map-visual-container {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-150);
  border-radius: 1.25rem;
  padding: 1.5rem;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
}

.map-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--slate-400);
  text-align: center;
  margin-bottom: 1rem;
}

.map-svg {
  width: 100%;
  height: 100%;
  flex-grow: 1;
}

.map-details-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

.metrics-row {
  background-color: #fff1f2;
  border: 1px solid #ffe4e6;
  border-radius: 1rem;
  padding: 1.25rem;
}

.metrics-header {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--brand-crimson);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.metric-big {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.itinerary-box {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.itinerary-header {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.itinerary-list {
  list-style: none;
  max-height: 14rem;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.itinerary-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.8rem;
}

.itinerary-list li:last-child {
  border-bottom: none;
}

.itinerary-step-num {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--slate-100);
  border: 1px solid var(--slate-300);
  color: var(--slate-600);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.itinerary-step-text {
  color: var(--slate-700);
}

/* ==============================================
   PAGE 4: CONTACT US
   ============================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 4fr 8fr;
  }
  .contact-info-column {
    order: 1;
  }
  .contact-form-column {
    order: 2;
  }
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-header-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-title {
  font-size: 1.75rem;
}

.contact-subtitle {
  color: var(--slate-600);
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.details-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.details-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: var(--slate-100);
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.details-label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-navy);
}

.details-val {
  font-size: 0.9rem;
  color: var(--slate-600);
}

.location-map-card {
  background-color: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.map-card-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--slate-400);
  text-align: center;
  margin-bottom: 0.75rem;
}

.location-svg-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background-color: var(--slate-100);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.location-svg {
  width: 100%;
  height: 100%;
}

.location-badge {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background-color: var(--slate-900);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
}

.contact-form-column {
  width: 100%;
}

.contact-form-card {
  background-color: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.75rem;
}

.form-subtitle {
  color: var(--slate-600);
  margin-top: 0.5rem;
}

.contact-form-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.4;
  margin-bottom: 0;
  cursor: pointer;
}

.btn-submit {
  background-color: var(--brand-crimson);
  color: #ffffff;
  border: none;
  padding: 0.875rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-submit:hover {
  background-color: #be123c;
  transform: translateY(-1px);
}

/* ==============================================
   SUCCESS / CERTIFICATE MODAL
   ============================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background-color: #ffffff;
  border-radius: 2rem;
  width: 100%;
  max-width: 42rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
  opacity: 1;
}

.modal-header {
  background-color: var(--brand-navy);
  color: #ffffff;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-modal-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
}

.btn-modal-close:hover {
  color: var(--brand-rose);
}

.modal-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.certificate-frame {
  background-color: #fffbeb;
  border: 6px double var(--brand-gold);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.certificate-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10rem;
  color: var(--brand-gold);
  opacity: 0.05;
  pointer-events: none;
}

.cert-subtitle {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #b45309;
  letter-spacing: 0.4em;
  margin-bottom: 0.75rem;
}

.cert-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.cert-divider {
  width: 5rem;
  height: 2px;
  background-color: var(--brand-crimson);
  margin: 1rem auto;
}

.cert-context-italic {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--slate-500);
}

.cert-holder {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
  border-bottom: 1px dashed var(--slate-300);
  padding: 0.25rem 2rem 0.5rem;
  margin: 0.5rem 0 1rem;
}

.cert-desc {
  font-size: 0.85rem;
  color: var(--slate-600);
  max-width: 26rem;
  margin: 0 auto;
  line-height: 1.6;
}

.cert-footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-200);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cert-footer-left { text-align: left; }
.cert-footer-right { text-align: right; }

.cert-meta-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
}

.cert-meta-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.cert-footer-left .cert-meta-val {
  font-family: monospace;
}

.modal-notice {
  font-size: 0.75rem;
  color: var(--slate-500);
  text-align: center;
}

.modal-actions {
  display: flex;
  gap: 1rem;
}

.btn-modal-action-primary {
  background-color: var(--brand-crimson);
  color: #ffffff;
  border: none;
  padding: 0.875rem;
  border-radius: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  width: 50%;
  transition: var(--transition-smooth);
}

.btn-modal-action-primary:hover {
  background-color: #be123c;
}

.btn-modal-action-secondary {
  background: transparent;
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  padding: 0.875rem;
  border-radius: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  width: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-modal-action-secondary:hover {
  background-color: var(--slate-50);
}

@media print {
  body * {
    visibility: hidden;
  }
  #printable-certificate, #printable-certificate * {
    visibility: visible;
  }
  #printable-certificate {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: 6px double #000;
  }
}

/* ==============================================
   FOOTER
   ============================================== */
.footer {
  background-color: var(--brand-navy-dark);
  color: #ffffff;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-img {
  height: 2.25rem;
  width: auto;
  background-color: #ffffff;
  border-radius: 0.25rem;
  padding: 0.125rem;
}

.footer-logo-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--slate-400);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-item-footer {
  background: transparent;
  border: none;
  color: var(--slate-300);
  font-size: 0.8rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.nav-item-footer:hover {
  color: var(--brand-rose);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.25rem;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.7rem;
  color: var(--slate-500);
}

/* Custom radio button styles for Purpose of Contact */
.purpose-radio-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 0.65rem;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .purpose-radio-group {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.radio-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 2rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--slate-700);
  user-select: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.radio-container:hover {
  color: var(--brand-navy);
}

/* Hide default input */
.radio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Custom indicator checkmark */
.radio-checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 1.25rem;
  width: 1.25rem;
  background-color: #ffffff;
  border: 2px solid var(--slate-300);
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
}

.radio-container:hover input ~ .radio-checkmark {
  border-color: var(--brand-rose);
}

.radio-container input:checked ~ .radio-checkmark {
  background-color: var(--brand-rose);
  border-color: var(--brand-rose);
  box-shadow: 0 0 0 4px rgba(219, 39, 119, 0.15);
}

.radio-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.radio-container input:checked ~ .radio-checkmark:after {
  display: block;
}

.radio-container .radio-checkmark:after {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #ffffff;
}

/* Contact form field stacked layouts & input styles */
.contact-form-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.contact-form-form input[type="text"],
.contact-form-form input[type="email"],
.contact-form-form input[type="tel"],
.contact-form-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--slate-800);
  background-color: #ffffff;
  transition: var(--transition-smooth);
}

.contact-form-form input[type="text"]:focus,
.contact-form-form input[type="email"]:focus,
.contact-form-form input[type="tel"]:focus,
.contact-form-form textarea:focus {
  outline: none;
  border-color: var(--brand-rose);
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1);
}

/* Red asterisk for required labels */
.required-asterisk {
  color: var(--brand-crimson);
  margin-left: 0.25rem;
}

/* Footer & Contact Social Links */
.footer-social-links, .contact-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--slate-300);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.footer .social-icon-btn:hover {
  background-color: var(--brand-rose);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Contact page social styling */
.contact-social-links .social-icon-btn {
  background-color: var(--slate-100);
  color: var(--brand-navy);
}

.contact-social-links .social-icon-btn:hover {
  background-color: var(--brand-rose);
  color: #ffffff;
  transform: translateY(-2px);
}
