/* ==========================================================================
   MBN FOUNDATION - REFINED LUXURY MODERN DESIGN SYSTEM & STYLESHEET
   Promoting Skills • Preventing Cancer • Supporting Communities
   Typography & Layout aligned with https://www.mbnfoundation.org/
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@400;500;600;700;800;900&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Palettes */
  --navy-950: #060E1A;
  --navy-900: #0B192C;
  --navy-850: #0F223D;
  --navy-800: #132A4A;
  --navy-700: #1E3E62;
  --navy-600: #2B5282;
  --navy-500: #3B82F6;
  --navy-100: #EBF4FF;
  --navy-50:  #F4F8FC;

  --pink-700: #BE123C;
  --pink-600: #E11D48;
  --pink-500: #EC4899;
  --pink-400: #F472B6;
  --pink-100: #FCE7F3;
  --pink-50:  #FFF1F7;

  --amber-600: #D97706;
  --amber-500: #F59E0B;
  --amber-400: #FBBF24;
  --amber-100: #FEF3C7;
  --amber-50:  #FFFBEB;

  --teal-600: #0D9488;
  --teal-500: #14B8A6;
  --teal-100: #CCFBF1;
  --teal-50:  #F0FDFA;

  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white:     #FFFFFF;

  /* Typography Matching Wix / Live Site */
  --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Raleway', 'Montserrat', -apple-system, sans-serif;
  --font-display: 'Raleway', 'Outfit', sans-serif;
  --base-font-size: 16px;

  /* Layered Modern Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 28px -6px rgba(15, 23, 42, 0.09), 0 4px 14px -3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 8px 20px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 28px 60px -15px rgba(11, 25, 44, 0.22);
  --shadow-glow-pink: 0 10px 25px -5px rgba(225, 29, 72, 0.35);
  --shadow-glow-blue: 0 10px 25px -5px rgba(59, 130, 246, 0.35);

  /* Focus Indicator Ring */
  --focus-ring: 3px solid #2563EB;
  --focus-offset: 3px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Layout */
  --header-height: 88px;
  --max-width: 1240px;
}

/* --- Accessibility Adjustments: Font Sizing --- */
html {
  scroll-behavior: smooth;
  font-size: var(--base-font-size);
}

html.font-size-lg {
  --base-font-size: 18px;
}

html.font-size-xl {
  --base-font-size: 20px;
}

/* Dyslexia Friendly Font Mode */
html.dyslexic-font body,
html.dyslexic-font h1,
html.dyslexic-font h2,
html.dyslexic-font h3,
html.dyslexic-font h4,
html.dyslexic-font h5,
html.dyslexic-font h6,
html.dyslexic-font p,
html.dyslexic-font span,
html.dyslexic-font a,
html.dyslexic-font button,
html.dyslexic-font input,
html.dyslexic-font textarea {
  font-family: Comic Sans MS, "Comic Sans", "Chalkboard", "ChalkboardSE-Regular", "Arial", sans-serif !important;
  letter-spacing: 0.05em !important;
  line-height: 1.8 !important;
}

/* Underline All Links Mode */
html.underline-links a {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

/* High Contrast Mode */
html.high-contrast {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

html.high-contrast body {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

html.high-contrast .site-header,
html.high-contrast .site-footer,
html.high-contrast .home-hero-simple,
html.high-contrast .section,
html.high-contrast .section-subtle,
html.high-contrast .card,
html.high-contrast .pillar-card,
html.high-contrast .spotlight-card,
html.high-contrast .form-container,
html.high-contrast .founder-box,
html.high-contrast .memorial-box,
html.high-contrast .ribbon-item,
html.high-contrast .contact-info-card,
html.high-contrast .donation-modal-box,
html.high-contrast .gallery-item {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  border-color: #FFFF00 !important;
  box-shadow: none !important;
}

html.high-contrast h1,
html.high-contrast h2,
html.high-contrast h3,
html.high-contrast h4,
html.high-contrast h5,
html.high-contrast h6,
html.high-contrast strong {
  color: #FFFF00 !important;
}

html.high-contrast p,
html.high-contrast span,
html.high-contrast li {
  color: #FFFFFF !important;
}

html.high-contrast a {
  color: #00FFFF !important;
}

html.high-contrast .btn-primary,
html.high-contrast .btn-pink,
html.high-contrast .btn-donate,
html.high-contrast .btn-gold,
html.high-contrast .btn-outline {
  background: #000000 !important;
  color: #FFFF00 !important;
  border: 2px solid #FFFF00 !important;
}

html.high-contrast .form-control {
  background: #000000 !important;
  color: #FFFFFF !important;
  border: 2px solid #FFFF00 !important;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce), (update: slow) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html.reduced-motion *,
html.reduced-motion *::before,
html.reduced-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

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

body {
  font-family: var(--font-sans);
  color: var(--slate-700);
  background-color: #FAFCFE;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --- Visible Focus Rings for Keyboard Accessibility --- */
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #2563EB !important;
  outline-offset: 3px !important;
}

/* Skip to Main Content Link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1.5rem;
  background: #0B192C;
  color: #FFFFFF;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--radius-md);
  z-index: 99999;
  box-shadow: var(--shadow-xl);
  border: 2px solid #3B82F6;
  text-decoration: none;
  transition: top 0.2s ease-in-out;
}

.skip-to-content:focus {
  top: 1.5rem;
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Typography Hierarchy (Matching live Wix Raleway style) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-950);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: 0.04em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); font-weight: 700; letter-spacing: 0.03em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 700; letter-spacing: 0.02em; }
h4 { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.02em; }
h5 { font-size: 1.1rem; font-weight: 600; }

p {
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--navy-700);
  text-decoration: none;
  transition: all var(--transition-fast);
}
a:hover {
  color: var(--pink-600);
}

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

/* --- Container & Sections --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 880px;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-lg {
  padding: 7.5rem 0;
}

.section-dark {
  background: linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-850) 100%);
  color: var(--slate-200);
  position: relative;
  overflow: hidden;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-subtle {
  background-color: #F3F7FB;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.75rem;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pink-600);
  margin-bottom: 0.85rem;
  background: var(--pink-50);
  border: 1px solid rgba(225, 29, 72, 0.18);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.06);
}

.section-eyebrow.navy {
  color: var(--navy-700);
  background: var(--navy-100);
  border-color: rgba(30, 62, 98, 0.2);
}

.section-eyebrow.gold {
  color: var(--amber-600);
  background: var(--amber-50);
  border-color: rgba(217, 119, 6, 0.2);
}

.section-eyebrow.teal {
  color: var(--teal-600);
  background: var(--teal-50);
  border-color: rgba(13, 148, 136, 0.2);
}

.section-title {
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-desc {
  font-size: 1.12rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.section-dark .section-desc {
  color: var(--slate-300);
}

/* --- Grids --- */
.grid {
  display: grid;
  gap: 2rem;
}

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

.items-center {
  align-items: center;
}

/* --- Buttons & Badges --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 1rem 2.35rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 25, 44, 0.38);
}

.btn-pink {
  background: linear-gradient(135deg, var(--pink-600), #db2777);
  color: var(--white);
  box-shadow: var(--shadow-glow-pink);
}
.btn-pink:hover {
  background: linear-gradient(135deg, #c2185b, var(--pink-600));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.45);
}

.btn-donate {
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.btn-donate:hover {
  background: linear-gradient(135deg, #BE123C 0%, #9F1239 100%);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 26px rgba(225, 29, 72, 0.55);
}

.btn-gold {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--amber-600), #b45309);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.4);
}

.btn-outline {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  border-color: var(--navy-700);
  background-color: var(--navy-50);
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy-950);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.badge-pink {
  background-color: var(--pink-100);
  color: var(--pink-700);
}

.badge-blue {
  background-color: var(--navy-100);
  color: var(--navy-800);
}

.badge-gold {
  background-color: var(--amber-100);
  color: var(--amber-700);
}

.badge-teal {
  background-color: var(--teal-100);
  color: var(--teal-700);
}

/* ==================== HEADER & BRAND LOGO IN 2 LINES ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: all var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* MBN FOUNDATION IN TWO LINES */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.brand-logo:hover img {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-title-top {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-title-bottom {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.24em;
  line-height: 1.1;
  margin-top: 2px;
  text-transform: uppercase;
}

.brand-tagline {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--pink-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--slate-700);
  padding: 0.6rem 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link:hover {
  color: var(--navy-950);
  background-color: var(--slate-100);
}

.nav-link.active {
  color: var(--navy-950);
  background-color: var(--navy-100);
  font-weight: 700;
}

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .dropdown-arrow,
.nav-item-dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.16);
  padding: 0.6rem 0;
  list-style: none;
  margin: 0.35rem 0 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 1050;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--slate-700);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.dropdown-link:hover,
.dropdown-link:focus {
  background-color: var(--navy-100);
  color: var(--navy-950);
  padding-left: 1.6rem;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Accessibility Quick Toolbar Trigger in Header */
.a11y-header-btn {
  background: var(--navy-50);
  border: 1.5px solid var(--slate-300);
  color: var(--navy-900);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.a11y-header-btn:hover,
.a11y-header-btn:focus {
  background: var(--navy-100);
  border-color: var(--navy-600);
  transform: scale(1.05);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy-950);
  border-radius: var(--radius-sm);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 84%;
  max-width: 390px;
  height: 100vh;
  background-color: var(--white);
  z-index: 2000;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  padding: 1.85rem;
  transition: right var(--transition-slow);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 19, 38, 0.6);
  backdrop-filter: blur(6px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 1.5rem;
}

.drawer-close {
  background: var(--slate-100);
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  transition: all var(--transition-fast);
}
.drawer-close:hover {
  background: var(--slate-200);
  color: var(--navy-950);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--slate-800);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: block;
}

.drawer-link:hover,
.drawer-link.active {
  background-color: var(--navy-100);
  color: var(--navy-950);
}

.drawer-subnav {
  list-style: none;
  padding-left: 1.25rem;
  margin: 0.25rem 0 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 2px solid var(--slate-300);
  margin-left: 1rem;
}

.drawer-sublink {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--slate-600);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  display: block;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.drawer-sublink:hover,
.drawer-sublink.active {
  color: var(--navy-950);
  background-color: var(--slate-100);
}

/* ==================== ACCESSIBILITY PANEL MODAL ==================== */
.a11y-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 26, 0.7);
  backdrop-filter: blur(8px);
  z-index: 3800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base);
  padding: 1.5rem;
}

.a11y-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.a11y-modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  max-width: 540px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}

.a11y-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-200);
}

.a11y-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.a11y-btn-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.a11y-btn-option:hover,
.a11y-btn-option:focus {
  background: var(--navy-100);
  border-color: var(--navy-600);
  transform: translateY(-2px);
}

.a11y-btn-option.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.a11y-btn-option svg {
  width: 26px;
  height: 26px;
}

/* ==================== HERO SECTIONS ==================== */
.home-hero-simple {
  position: relative;
  background: radial-gradient(circle at 50% -20%, rgba(225, 29, 72, 0.05) 0%, transparent 60%),
              radial-gradient(circle at 10% 30%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
              linear-gradient(180deg, #FFFFFF 0%, #F6F9FD 100%);
  border-bottom: 1px solid var(--slate-200);
  padding: 5rem 0 4.5rem;
  text-align: center;
  overflow: hidden;
}

.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.home-tagline-main {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.home-tagline-sub {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 800;
  color: var(--pink-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(225, 29, 72, 0.12);
}

.home-banner-wrapper {
  position: relative;
  max-width: 1080px;
  margin: 1.5rem auto 0;
  padding: 8px;
  background: var(--white);
  border-radius: calc(var(--radius-xl) + 6px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 24px 60px -15px rgba(11, 25, 44, 0.16);
}

.home-hero-banner-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  display: block;
}

/* Feature Ribbons */
.highlight-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1040px;
  margin: 3rem auto 0;
}

.ribbon-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.ribbon-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-200);
}

.ribbon-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.ribbon-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy-950);
  line-height: 1.2;
}

.ribbon-text span {
  font-size: 0.84rem;
  color: var(--slate-500);
}

/* ==================== 3 CORE PILLAR CARDS ==================== */
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  padding: 3rem 2.25rem;
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-700), var(--pink-600));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--slate-300);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.pillar-card:hover .pillar-card-icon {
  transform: scale(1.1);
}

.pillar-card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  color: var(--navy-950);
}

.pillar-card-desc {
  color: var(--slate-600);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

/* ==================== GET TO KNOW US SECTION ==================== */
.get-to-know-section {
  background: radial-gradient(circle at 80% 20%, rgba(225, 29, 72, 0.15), transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.18), transparent 50%),
              linear-gradient(135deg, #050d18 0%, #0B192C 60%, #0f233f 100%);
  color: var(--white);
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}

.get-to-know-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.get-to-know-title {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.get-to-know-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

/* Subpage Heroes */
.page-hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at 85% 25%, rgba(225, 29, 72, 0.18), transparent 50%),
              radial-gradient(circle at 15% 75%, rgba(20, 184, 166, 0.14), transparent 50%),
              linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-850) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

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

.page-hero-title {
  font-family: var(--font-heading);
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.3rem, 4.8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-hero-subtitle {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.page-hero-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--slate-400);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero-breadcrumbs a {
  color: var(--slate-300);
}
.page-hero-breadcrumbs a:hover {
  color: var(--pink-400);
}

/* ==================== CARDS & MODULES ==================== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--slate-300);
}

.card-body {
  padding: 2.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-img-top {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background-color: var(--slate-100);
  transition: transform var(--transition-slow);
}

.card:hover .card-img-top {
  transform: scale(1.04);
}

.card-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.card-icon-box.blue {
  background-color: var(--navy-100);
  color: var(--navy-800);
}

.card-icon-box.pink {
  background-color: var(--pink-100);
  color: var(--pink-700);
}

.card-icon-box.gold {
  background-color: var(--amber-100);
  color: var(--amber-700);
}

.card-icon-box.teal {
  background-color: var(--teal-100);
  color: var(--teal-700);
}

.card-title {
  margin-bottom: 0.85rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.card-text {
  color: var(--slate-600);
  flex: 1;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.card-footer-action {
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Spotlight Luxury Cards */
.spotlight-card {
  background: linear-gradient(145deg, var(--white) 0%, #F5F9FF 100%);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.spotlight-card.pink-accent {
  background: linear-gradient(145deg, var(--white) 0%, #FFF5F9 100%);
  border-color: var(--pink-100);
}

/* Memorial Box Luxury */
.memorial-box {
  background: radial-gradient(circle at 80% 30%, rgba(225, 29, 72, 0.22), transparent 50%),
              linear-gradient(145deg, #162438 0%, #0d1726 100%);
  border: 1px solid rgba(244, 114, 182, 0.3);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.memorial-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.memorial-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.memorial-portrait img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.memorial-quote {
  font-style: italic;
  color: #FBCFE8;
  font-size: 1.2rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--pink-500);
  padding-left: 1.5rem;
  line-height: 1.6;
}

/* Founder Box */
.founder-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.founder-box:hover {
  box-shadow: var(--shadow-xl);
}

.founder-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.founder-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--slate-100);
}

.founder-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* STREAM Track Cards */
.stream-track-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.stream-track-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--navy-600);
}

.stream-track-img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.stream-track-card:hover .stream-track-img {
  transform: scale(1.05);
}

.stream-track-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.stream-track-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-800);
  background: var(--navy-100);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.stream-track-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--navy-950);
}

.stream-track-desc {
  font-size: 0.96rem;
  color: var(--slate-600);
  margin-bottom: 0;
  line-height: 1.65;
}

/* Timeline component */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 2.25rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: linear-gradient(180deg, var(--pink-600) 0%, var(--navy-600) 100%);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.75rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.25rem;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--pink-600);
  box-shadow: 0 0 0 5px rgba(225, 29, 72, 0.2);
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--pink-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.timeline-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.timeline-desc {
  color: var(--slate-600);
  font-size: 1.02rem;
}

/* Gallery & Lightbox */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.gallery-filter-btn {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn:focus {
  border-color: var(--navy-700);
  color: var(--navy-950);
  transform: translateY(-2px);
}

.gallery-filter-btn.active {
  background: var(--navy-950);
  color: var(--white);
  border-color: var(--navy-950);
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-base);
}

.gallery-item:hover,
.gallery-item:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-caption {
  padding: 1.25rem 1.5rem;
  background: var(--white);
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
  color: var(--navy-950);
}

.gallery-subtitle {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 500;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base);
  padding: 2rem;
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 980px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-caption-text {
  color: var(--white);
  font-family: var(--font-heading);
  margin-top: 1.25rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.lightbox-close:hover,
.lightbox-close:focus {
  background: rgba(255, 255, 255, 0.35);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background var(--transition-fast);
}
.lightbox-nav-btn:hover,
.lightbox-nav-btn:focus {
  background: rgba(255, 255, 255, 0.35);
}
.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

/* ==================== DONATION MODAL ==================== */
.donation-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base);
  padding: 1.5rem;
}

.donation-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.donation-modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 620px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--slate-200);
}

.donation-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--slate-100);
  border: none;
  color: var(--slate-700);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.donation-modal-close:hover,
.donation-modal-close:focus {
  background: var(--slate-200);
  color: var(--navy-950);
}

/* ==================== FORMS & INPUTS ==================== */
.form-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3.25rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.6rem;
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--slate-800);
  margin-bottom: 0.55rem;
}

.form-label.required::after {
  content: ' *';
  color: var(--pink-600);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--slate-900);
  background-color: #F8FAFC;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--pink-600);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12);
}

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

.radio-group {
  display: flex;
  gap: 1.75rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
}

/* Toast Message */
.toast-msg {
  display: none;
  padding: 1.35rem 1.6rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  font-weight: 600;
  animation: fadeIn 0.3s ease;
}

.toast-msg.success {
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.toast-msg.error {
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* Contact Info Cards */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
  padding: 1.65rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.contact-info-card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--navy-100);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.35rem;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: linear-gradient(180deg, #071326 0%, #030811 100%);
  color: var(--slate-300);
  padding: 5.5rem 0 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.98rem;
  color: var(--slate-400);
  margin-top: 1.35rem;
  margin-bottom: 1.6rem;
  line-height: 1.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.footer-logo img {
  height: 48px;
  background: var(--white);
  padding: 4px;
  border-radius: var(--radius-sm);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--pink-400);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  color: var(--slate-400);
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--pink-400);
}

.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-btn:hover,
.social-btn:focus {
  background: var(--pink-600);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.4);
}

.footer-bottom {
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--slate-500);
}

.footer-bottom a {
  color: var(--slate-400);
}
.footer-bottom a:hover,
.footer-bottom a:focus {
  color: var(--pink-400);
}

/* --- Back to top button --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(11, 25, 44, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 1500;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:active,
.back-to-top:focus {
  background: var(--pink-600);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.45);
}

/* --- Floating Accessibility Widget Button (Bottom Left) --- */
.a11y-floating-trigger {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(11, 25, 44, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1500;
  transition: all var(--transition-base);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.a11y-floating-trigger:hover,
.a11y-floating-trigger:active,
.a11y-floating-trigger:focus {
  background: #2563EB;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

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

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .highlight-ribbon {
    grid-template-columns: 1fr;
  }
  .memorial-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }
  .memorial-portrait img,
  .founder-img img {
    max-width: 340px;
    height: auto;
  }
}

@media (max-width: 860px) {
  .header-inner {
    height: 76px;
    flex-wrap: nowrap;
    gap: 0.75rem;
  }
  .brand-logo {
    gap: 0.65rem;
    flex-shrink: 1;
    min-width: 0;
  }
  .brand-logo img {
    height: 42px;
  }
  .brand-title-top {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
  }
  .brand-title-bottom {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
  }
  .brand-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
  .header-cta-group {
    gap: 0.5rem;
    flex-shrink: 0;
  }
  .header-cta-group .btn-donate {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
  }
  .header-cta-group .btn-donate svg {
    width: 22px;
    height: 22px;
    margin: 0;
    display: block;
    color: #FFFFFF;
  }
  .header-cta-group .btn-donate-text {
    display: none !important;
  }
  .nav-menu {
    display: none;
  }
  .a11y-header-btn {
    display: none !important;
  }
  .mobile-toggle {
    display: block;
    padding: 0.35rem;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-1-2,
  .grid-2-1,
  .form-row,
  .a11y-options-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 4rem 0;
  }
  .page-hero {
    padding: 4rem 0 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-modal { padding: 1rem; }
  .form-container,
  .memorial-box,
  .founder-box,
  .spotlight-card,
  .pillar-card,
  .a11y-modal-box {
    padding: 2rem 1.5rem;
  }
  .a11y-floating-trigger {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 46px;
    height: 46px;
    z-index: 1500;
  }
  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 46px;
    height: 46px;
    z-index: 1500;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 72px;
    gap: 0.5rem;
  }
  .brand-logo img {
    height: 38px;
  }
  .brand-title-top {
    font-size: 1.12rem;
  }
  .brand-title-bottom {
    font-size: 0.78rem;
  }
  .brand-tagline {
    font-size: 0.58rem;
  }
}


