/* ==========================================================================
   MED AID TRUST - CORE DESIGN SYSTEM & STYLESHEET
   Tagline: Medicine and Hygiene for All Citizens
   Colors: Primary Blue (#164C8C), Primary Teal (#15A8AD), Accent Red (#FF1818)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Color Tokens */
  --primary-blue: #164C8C;
  --primary-blue-dark: #0f3562;
  --primary-blue-light: #ebf3fb;
  --primary-blue-rgb: 22, 76, 140;

  --primary-teal: #15A8AD;
  --primary-teal-dark: #0f868a;
  --primary-teal-light: #e8f8f8;
  --primary-teal-rgb: 21, 168, 173;

  --accent-red: #FF1818;
  --accent-red-dark: #d90b0b;
  --accent-red-light: #ffebeb;
  --accent-red-rgb: 255, 24, 24;

  --text-dark: #17233C;
  --text-muted: #5b6982;
  --text-light: #8a97ab;
  --text-white: #ffffff;

  --bg-light: #F7FAFC;
  --surface-white: #FFFFFF;
  --surface-card: #FFFFFF;
  --border-light: #E4EAF0;
  --border-dark: #CBD5E1;

  /* Typography */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(22, 76, 140, 0.05);
  --shadow-sm: 0 2px 8px rgba(22, 76, 140, 0.08);
  --shadow-md: 0 8px 24px rgba(22, 76, 140, 0.10);
  --shadow-lg: 0 16px 36px rgba(22, 76, 140, 0.12);
  --shadow-xl: 0 24px 48px rgba(22, 76, 140, 0.15);
  --shadow-red: 0 6px 18px rgba(255, 24, 24, 0.28);
  --shadow-teal: 0 6px 18px rgba(21, 168, 173, 0.28);
  --shadow-blue: 0 6px 18px rgba(22, 76, 140, 0.28);

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1320px;
  --header-height: 82px;
  --topbar-height: 40px;
}

/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Keeps anchor-linked sections from hiding behind the sticky header */
[id] {
  scroll-margin-top: calc(var(--header-height) + var(--topbar-height) + 1rem);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 600; }
h5 { font-size: 1.05rem; font-weight: 600; }
h6 { font-size: 0.95rem; font-weight: 600; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}
p:last-child {
  margin-bottom: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

.container-wide {
  max-width: 1400px;
}

/* ==========================================================================
   UTILITY & HELPER CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-blue) !important; }
.text-teal { color: var(--primary-teal) !important; }
.text-red { color: var(--accent-red) !important; }
.text-white { color: var(--text-white) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-white { background-color: var(--surface-white); }
.bg-light { background-color: var(--bg-light); }
.bg-blue-light { background-color: var(--primary-blue-light); }
.bg-teal-light { background-color: var(--primary-teal-light); }
.bg-dark-blue { background-color: var(--primary-blue-dark); color: #fff; }

.section-padding {
  padding: 5rem 0;
}

.section-padding-sm {
  padding: 3rem 0;
}

.section-padding-lg {
  padding: 6.5rem 0;
}

/* Section Titles */
.section-header {
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-badge.badge-blue {
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
}

.section-badge.badge-teal {
  background-color: var(--primary-teal-light);
  color: var(--primary-teal-dark);
}

.section-badge.badge-red {
  background-color: var(--accent-red-light);
  color: var(--accent-red);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid System */
.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); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-column { display: flex; flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
}

.btn-pill {
  border-radius: var(--radius-pill);
}

/* Button Variants */
.btn-primary {
  background: var(--primary-blue);
  color: var(--text-white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 76, 140, 0.35);
  color: var(--text-white);
}

.btn-teal {
  background: var(--primary-teal);
  color: var(--text-white);
  box-shadow: var(--shadow-teal);
}
.btn-teal:hover {
  background: var(--primary-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 168, 173, 0.35);
  color: var(--text-white);
}

.btn-red {
  background: var(--accent-red);
  color: var(--text-white);
  box-shadow: var(--shadow-red);
}
.btn-red:hover {
  background: var(--accent-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 24, 24, 0.35);
  color: var(--text-white);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}
.btn-outline-primary:hover {
  background: var(--primary-blue);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}
.btn-outline-white:hover {
  background: var(--text-white);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-outline-teal {
  background: transparent;
  color: var(--primary-teal);
  border: 2px solid var(--primary-teal);
}
.btn-outline-teal:hover {
  background: var(--primary-teal);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--surface-white);
  color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: #f8fafc;
  color: var(--primary-blue-dark);
  transform: translateY(-2px);
}

/* Pulse animation for urgent help */
.pulse-red {
  animation: pulseRed 2s infinite;
}
@keyframes pulseRed {
  0% { box-shadow: 0 0 0 0 rgba(255, 24, 24, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(255, 24, 24, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 24, 24, 0); }
}

/* ==========================================================================
   TOP BAR & NAVIGATION HEADER
   ========================================================================== */
.top-bar {
  background: #0d2c54;
  color: #d1dded;
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e2ebf7;
  transition: color var(--transition-fast);
}
.top-bar-links a:hover {
  color: #4ce5eb;
}

.tax-badge {
  background: rgba(21, 168, 173, 0.2);
  color: #4ce5eb;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(21, 168, 173, 0.4);
}

/* Main Navigation Header */
.main-header {
  background: var(--surface-white);
  box-shadow: 0 2px 10px rgba(15, 42, 74, 0.08);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.main-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 42, 74, 0.12);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.25rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 52px;
  width: auto;
  display: block;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.5rem 0.25rem;
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary-teal);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.nav-item {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 0.72rem;
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.nav-item:hover .dropdown-toggle i {
  transform: rotate(180deg);
  color: var(--primary-teal);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--surface-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  padding: 0.65rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-item i {
  color: var(--primary-teal);
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
}

.dropdown-item:hover {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-btn-help {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--accent-red);
  color: var(--accent-red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: all var(--transition-normal);
}
.header-btn-help:hover {
  background: var(--accent-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.header-btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--primary-teal);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: var(--shadow-teal);
  transition: all var(--transition-normal);
}
.header-btn-donate:hover {
  background: var(--primary-teal-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 168, 173, 0.4);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1002;
}

.mobile-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-blue);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--surface-white);
  box-shadow: -8px 0 24px rgba(0,0,0,0.15);
  padding: 5rem 1.5rem 2rem;
  transition: right var(--transition-normal);
  z-index: 999;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 998;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  color: var(--primary-blue);
}

.mobile-submenu {
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.mobile-sub-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f8f8 50%, #ffffff 100%);
  padding: 5.5rem 0 6rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-headline {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  color: var(--primary-blue);
}

.hero-headline span.highlight {
  color: var(--primary-teal);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.7;
  color: #3b4b66;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(22, 76, 140, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.trust-item i {
  color: var(--primary-teal);
  font-size: 1.1rem;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.hero-main-card {
  background: var(--surface-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition-normal);
}

.hero-main-card:hover {
  transform: translateY(-5px);
}

.hero-image-wrap {
  position: relative;
  height: 320px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: overlay;
  opacity: 0.85;
}

.hero-image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
}

.hero-image-badge i {
  color: var(--accent-red);
}

.hero-card-content {
  padding: 1.75rem;
}

.floating-impact-badge {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-teal-light);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
  animation: floatSlow 4s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-teal-light);
  color: var(--primary-teal-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-text h5 {
  font-size: 1.1rem;
  color: var(--primary-blue);
  margin-bottom: 0.1rem;
}

.floating-text p {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Floating Urgent Help Badge */
.floating-urgent-badge {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent-red);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  animation: floatSlowAlt 5s ease-in-out infinite;
}

@keyframes floatSlowAlt {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ==========================================================================
   EMERGENCY MEDICAL HELP BANNER / TICKER
   ========================================================================== */
.emergency-banner {
  background: linear-gradient(90deg, #103560 0%, #164C8C 100%);
  color: var(--text-white);
  padding: 1.25rem 0;
  border-bottom: 3px solid var(--accent-red);
}

.emergency-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.emergency-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.emergency-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 24, 24, 0.25);
  border: 2px solid var(--accent-red);
  color: #ff5252;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.emergency-text h4 {
  color: var(--text-white);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.emergency-text p {
  color: #cadbee;
  font-size: 0.9rem;
}

/* ==========================================================================
   ABOUT & PILLARS SECTION (MISSION, VISION, VALUES)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}

.about-feat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text-dark);
}

.about-feat-item i {
  color: var(--primary-teal);
}

/* Pillar Cards (Mission, Vision, Values) */
.pillar-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-blue);
  transition: height var(--transition-fast);
}

.pillar-card.card-teal::before {
  background: var(--primary-teal);
}

.pillar-card.card-red::before {
  background: var(--accent-red);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pillar-card:hover::before {
  height: 6px;
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.pillar-card .pillar-icon {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
}

.pillar-card.card-teal .pillar-icon {
  background: var(--primary-teal-light);
  color: var(--primary-teal);
}

.pillar-card.card-red .pillar-icon {
  background: var(--accent-red-light);
  color: var(--accent-red);
}

.pillar-card h3 {
  margin-bottom: 0.75rem;
}

.values-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.value-tag {
  background: var(--bg-light);
  color: var(--primary-blue);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   OUR PROGRAMS CARDS
   ========================================================================== */
.program-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(22, 76, 140, 0.2);
}

.program-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #e2ebf5;
}

.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.program-card:hover .program-card-img img {
  transform: scale(1.06);
}

.program-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--primary-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}

.program-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-top: -2.75rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--surface-white);
}

.program-card:nth-child(even) .program-card-icon {
  background: var(--primary-teal-light);
  color: var(--primary-teal);
}

.program-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.program-card p {
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.program-checklist {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.program-checklist li {
  font-size: 0.85rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.program-checklist li i {
  color: var(--primary-teal);
  font-size: 0.75rem;
}

/* ==========================================================================
   HOW WE HELP (4-STEP PROCESS)
   ========================================================================== */
.process-section {
  background: linear-gradient(180deg, var(--surface-white) 0%, #f2f7fc 100%);
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-teal);
}

.step-num-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}

.process-step:nth-child(2) .step-num-badge { background: var(--primary-teal); }
.process-step:nth-child(3) .step-num-badge { background: var(--primary-blue-dark); }
.process-step:nth-child(4) .step-num-badge { background: #16a34a; }

.step-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0.75rem auto 1.25rem;
  transition: transform var(--transition-normal);
}

.process-step:hover .step-icon-wrap {
  transform: scale(1.1);
}

.process-step h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
}

/* ==========================================================================
   ACTIVE CAMPAIGNS WITH PROGRESS BARS
   ========================================================================== */
.campaign-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.campaign-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.campaign-img {
  position: relative;
  height: 220px;
  background: #cbd5e1;
}

.campaign-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
  text-transform: uppercase;
}

.campaign-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.campaign-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.campaign-body p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* Progress bar */
.progress-wrap {
  margin-bottom: 1.5rem;
}

.progress-track {
  width: 100%;
  height: 10px;
  background: var(--border-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-teal), var(--primary-blue));
  border-radius: var(--radius-pill);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.meta-raised strong {
  color: var(--primary-blue);
  font-weight: 800;
}

.meta-target {
  color: var(--text-muted);
}

.campaign-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.campaign-supported {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-teal-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   IMPACT STATISTICS SECTION
   ========================================================================== */
.impact-section {
  background: linear-gradient(135deg, #0e3059 0%, #164C8C 100%);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  transition: transform var(--transition-normal);
}

.stat-box:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
}

.stat-icon {
  font-size: 2.2rem;
  color: #4ce5eb;
  margin-bottom: 0.75rem;
}

.stat-number {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #d1e2f7;
}

/* ==========================================================================
   UPCOMING EVENTS & MEDICAL CAMPS
   ========================================================================== */
.event-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: all var(--transition-normal);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-teal);
}

.event-date-badge {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: center;
  min-width: 80px;
  flex-shrink: 0;
  border: 1px solid rgba(22, 76, 140, 0.15);
}

.event-day {
  font-size: 1.75rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
}

.event-month {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.event-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.event-meta span i {
  color: var(--primary-teal);
}

/* ==========================================================================
   SUCCESS STORIES & BENEFICIARY IMPACT
   ========================================================================== */
.story-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.story-card-img {
  height: 200px;
  background: #dbe4ef;
  position: relative;
}

.story-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.story-category {
  color: var(--primary-teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.story-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.story-quote {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 3px solid var(--primary-teal);
  padding-left: 0.75rem;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   INTERACTIVE DONATION WIDGET / CALCULATOR
   ========================================================================== */
.donation-widget {
  background: var(--surface-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.donation-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-light);
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
}

.donation-tab-btn {
  flex: 1;
  padding: 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.donation-tab-btn.active {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.amount-btn {
  background: var(--bg-light);
  border: 2px solid var(--border-light);
  padding: 0.9rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-dark);
  transition: all var(--transition-fast);
  text-align: center;
}

.amount-btn:hover {
  border-color: var(--primary-teal);
  background: var(--primary-teal-light);
}

.amount-btn.selected {
  border-color: var(--primary-blue);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(22, 76, 140, 0.2);
}

.impact-outcome-box {
  background: var(--primary-teal-light);
  border-left: 4px solid var(--primary-teal);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  color: #0c6165;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.impact-outcome-box i {
  font-size: 1.35rem;
  color: var(--primary-teal);
}

/* ==========================================================================
   FORMS & INPUT STYLES
   ========================================================================== */
.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: var(--accent-red);
}

.form-control, .form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--surface-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3.5px rgba(22, 76, 140, 0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Radio / Checkbox Cards */
.radio-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.radio-card-label {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  background: var(--surface-white);
  transition: all var(--transition-fast);
  font-size: 0.9rem;
  font-weight: 600;
}

.radio-card-label:hover {
  border-color: var(--primary-teal);
  background: var(--bg-light);
}

.radio-card-label input[type="radio"]:checked + span,
.radio-card-label:has(input[type="radio"]:checked),
.radio-card-label:has(input[type="checkbox"]:checked) {
  border-color: var(--primary-blue);
  background: var(--primary-blue-light);
  color: var(--primary-blue);
}

/* File Upload Dropzone */
.file-dropzone {
  border: 2px dashed var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  background: var(--bg-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-dropzone:hover {
  border-color: var(--primary-blue);
  background: var(--primary-blue-light);
}

.file-dropzone i {
  font-size: 2.2rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.file-dropzone p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Form Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-blue);
  margin-top: 3px;
  cursor: pointer;
}

/* ==========================================================================
   PARTNERS & SUPPORTERS SECTION
   ========================================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.partner-logo-box {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.partner-logo-box:hover {
  transform: translateY(-3px);
  border-color: var(--primary-teal);
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.partner-logo-box i {
  font-size: 1.75rem;
  color: var(--primary-teal);
}

/* ==========================================================================
   PHOTO & VIDEO GALLERY
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--surface-white);
  border: 1.5px solid var(--border-light);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal-dark);
}

.filter-btn.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #dbe4ef;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(22, 76, 140, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.gallery-overlay span {
  color: #5ce6ec;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==========================================================================
   NEWS & BLOG ARTICLES
   ========================================================================== */
.article-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.article-img {
  height: 200px;
  background: #cbd8e8;
  position: relative;
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.article-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.article-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.article-body p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 0.9rem;
}

.read-more-link:hover {
  color: var(--primary-teal);
  gap: 0.6rem;
}

/* ==========================================================================
   TRUSTEES & LEADERSHIP PROFILES
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  height: 220px;
  background: linear-gradient(135deg, #d3e4f7, #c6f0f1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar i {
  font-size: 5rem;
  color: var(--primary-blue);
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-position {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.team-info p {
  font-size: 0.85rem;
}

/* ==========================================================================
   TRANSPARENCY & LEGAL DOCUMENTS CARDS
   ========================================================================== */
.doc-card {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}

.doc-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.doc-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--accent-red-light);
  color: var(--accent-red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.doc-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.doc-info p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER (DARK BLUE BRAND THEME)
   ========================================================================== */
.main-footer {
  background: #0b223d;
  color: #c7d9ee;
  padding: 5rem 0 2rem;
  position: relative;
  border-top: 4px solid var(--primary-teal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: #a3bcdb;
  font-size: 0.925rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary-teal);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2.5px;
  background: var(--primary-teal);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #a3bcdb;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: #5ce6ec;
  transform: translateX(4px);
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--primary-teal);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #a3bcdb;
}

.footer-contact-item i {
  color: var(--primary-teal);
  font-size: 1.1rem;
  margin-top: 3px;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #7f99b8;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #7f99b8;
}
.footer-legal-links a:hover {
  color: #fff;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & EMERGENCY WIDGET
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 990;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #17233C;
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
  pointer-events: none;
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

/* Scroll to top button */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  background: var(--surface-white);
  color: var(--primary-blue);
  border: 1.5px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--primary-blue);
  color: #fff;
}

/* ==========================================================================
   MODAL DIALOGS (RECEIPTS, CHECKOUT, LIGHTBOX)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 35, 60, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--surface-white);
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(15px);
  transition: transform var(--transition-normal);
  position: relative;
}

.modal-backdrop.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.35rem;
  color: var(--primary-blue);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-dark);
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: #e2ebf5;
  color: var(--accent-red);
}

.modal-body {
  padding: 2rem;
}

/* Receipt Print View */
.receipt-box {
  border: 2px dashed var(--primary-teal);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  background: #fbfdfd;
  margin-bottom: 1.5rem;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.receipt-details-table {
  width: 100%;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.receipt-details-table td {
  padding: 0.45rem 0;
}

.receipt-details-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
}

.receipt-details-table td:last-child {
  font-weight: 700;
  color: var(--text-dark);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--surface-white);
  border-left: 4px solid var(--primary-teal);
  box-shadow: var(--shadow-xl);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 300px;
  animation: slideInRight 0.35s ease;
}

.toast.toast-success { border-left-color: #10b981; }
.toast.toast-error { border-left-color: var(--accent-red); }
.toast.toast-info { border-left-color: var(--primary-blue); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}