*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #111827;
  background-color: #f3f4f6;
  line-height: 1.6;
}

/* Layout utilities */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
  background-color: #ffffff;
}

.section-light {
  padding: 4rem 0;
  background-color: #f3f4f6;
}

.section-accent {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0f6eff, #0074ff);
  color: #ffffff;
}

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

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

/* Typography */

h1, h2, h3, h4 {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: #111827;
}

.section-accent h2 {
  color: #ffffff;
}

p {
  margin: 0 0 1rem;
  color: #4b5563;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: contain;
  margin-right: 0.5rem;
  background-color: #0f6eff1a;
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: #0f6eff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #4b5563;
}

.main-nav a:hover {
  color: #0f6eff;
}

.main-nav a.active {
  font-weight: 600;
  color: #0f6eff;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f6eff, #0074ff);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 10px 18px rgba(15, 110, 255, 0.25);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(15, 110, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: #0f6eff;
  border: 1px solid #0f6eff;
  box-shadow: none;
}

.btn-outline:hover {
  background: #0f6eff0d;
}

.btn-small {
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background-color: #0f6eff;
  color: #ffffff;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, #f4b40055 0, transparent 40%),
    radial-gradient(circle at 90% 20%, #34a8534d 0, transparent 45%),
    linear-gradient(135deg, #0f6eff, #0074ff);
  opacity: 0.98;
}

.hero-subpage .hero-gradient {
  background:
    radial-gradient(circle at 5% 15%, #f4b40055 0, transparent 45%),
    radial-gradient(circle at 95% 10%, #34a8534d 0, transparent 40%),
    linear-gradient(135deg, #0f6eff, #0074ff);
}

.hero-content {
  position: relative;
  padding: 4.5rem 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  max-width: 640px;
}

.hero-text h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.hero-text p {
  color: #e5e7eb;
  font-size: 1.02rem;
  max-width: 540px;
  margin: 0 auto 1.75rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Grid */

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

/* Cards */

.card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.card p {
  margin-bottom: 0;
}

.accent-gold {
  border-top: 4px solid #f4b400;
}

.accent-green {
  border-top: 4px solid #34a853;
}

/* Get Involved preview */

.get-involved-preview {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.get-involved-preview p {
  max-width: 520px;
}

.get-involved-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Counter */

.counter-wrapper {
  margin-top: 1.5rem;
}

.counter-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.counter-label {
  font-size: 0.95rem;
  color: #e5e7eb;
}

/* Footer */

.site-footer {
  background-color: #020617;
  color: #e5e7eb;
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
}

.site-footer p,
.site-footer a {
  color: #9ca3af;
  font-size: 0.95rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid #111827;
  padding: 0.75rem 0;
  font-size: 0.85rem;
}

/* Timeline */

.timeline {
  position: relative;
  margin-top: 2rem;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0.4rem;
  width: 2px;
  height: 100%;
  background: linear-gradient(#0f6eff, #34a853);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
}

.timeline-badge {
  position: absolute;
  left: -0.35rem;
  top: 0;
  transform: translateX(-100%);
  background-color: #0f172a;
  color: #f9fafb;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.timeline-content {
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-details p {
  margin-bottom: 0.6rem;
}

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

label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: #374151;
}

input[type="text"],
input[type="email"],
textarea {
  margin-top: 0.25rem;
  border-radius: 0.7rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
}

input:focus,
textarea:focus {
  outline: 2px solid #0f6eff40;
  border-color: #0f6eff;
}

.form-helper {
  font-size: 0.85rem;
  color: #6b7280;
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

/* Donate */

.donate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.donate-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #0f6eff;
  font-weight: 500;
  margin-top: 0.75rem;
}

/* Images / placeholders */

.image-placeholder,
.video-placeholder {
  border-radius: 1rem;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 0.9rem;
  padding: 3rem 1rem;
}

.image-grid .image-placeholder {
  padding: 4rem 1rem;
}

.kit-grid .image-placeholder {
  padding: 3rem 1rem;
}

/* Quotes */

.quote {
  font-style: italic;
}

.quote-attrib {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Nav toggle for mobile */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.18rem;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background-color: #111827;
}

/* Responsive */

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-layout,
  .donate-layout {
    grid-template-columns: 1fr;
  }

  .get-involved-preview {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content {
    padding: 3.75rem 0 3.25rem;
  }
}

@media (max-width: 700px) {
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .hero-text h1 {
    font-size: 1.85rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section,
  .section-light,
  .section-accent {
    padding: 3rem 0;
  }
}


/* --- BridgeMed Kits custom updates --- */

/* Nav link color */
.main-nav a {
  color: #c89e62;
}
.main-nav a:hover {
  color: #fbbf24;
}

/* Donate button in nav */
.main-nav .btn.btn-small {
  background-color: #c89e62;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.4rem 1rem;
}

/* Hero logos */
.hero-logo {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
}
.hero-logo-left {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
}
.hero-logo-right {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
}

/* Button styles */
.btn,
.btn.btn-outline,
.main-nav .btn.btn-small {
  border-radius: 999px;
}

.btn.btn-outline {
  border: 2px solid #c89e62;
  background-color: transparent;
  color: #ffffff;
}

/* Accent cards */
.card.accent-gold {
  border-top: 4px solid #c89e62;
}
.card.accent-green {
  border-top: 4px solid #16a34a;
}
.card.accent-blue {
  border-top: 4px solid #0ea5e9;
}

/* Kits shipped subtitle */
.section-accent p {
  color: #ffffff;
}

/* Impact images */
.impact-grid {
  gap: 1.25rem;
}
.impact-photo-main img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
}
.impact-photo img {
  width: 100%;
  border-radius: 0.9rem;
}

/* Impact video */
.impact-video {
  margin-top: 2rem;
}
.impact-video-player,
.testimonial-video {
  width: 100%;
  max-width: 640px;
  border-radius: 1rem;
  display: block;
}

/* Kits layout */
.kit-card-main {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem;
  align-items: center;
}
.kit-image-main img,
.kit-image-secondary img {
  width: 100%;
  border-radius: 1rem;
}
.grid.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.kit-coming-soon {
  position: relative;
}
.coming-soon-badge {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background-color: #c89e62;
  color: #ffffff;
  font-size: 0.8rem;
}
/* Extra spacing around the secondary kit cards */
.kit-grid-secondary {
  margin-top: 3rem;       /* space ABOVE the maternal/pediatric row */
  margin-bottom: 4rem;    /* space BELOW it, so the black footer isn't squished */
}
/* Footer note */
.footer-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #9ca3af;
}
/* === Gold outline pill button === */
.gold-pill {
  border-radius: 999px;
  border: 2px solid #c89e62;
  padding: 0.55rem 1.8rem;
  background-color: #ffffff;
  color: #0066ff;          /* main blue text */
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.gold-pill:hover {
  background-color: #c89e62;
  color: #ffffff;
}
/* === Hero logo tweaks === */
.hero-logo-tall {
  position: absolute;
  top: 10%;
  transform: translateY(-50%);
  height: 10%;      /* how tall they are inside the blue area */
  width: auto;
}
.kits-subtitle {
  color: #ffffff;
}
/* === Card top banner === */
.card-top-banner {
  height: 6px;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #0d6efd, #00c48c, #c89e62);
}
/* Center the video section */
.video-stories {
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  margin-top: 20px;
}

.video-stories h3 {
  text-align: center;
  margin-bottom: 15px;
}

/* Center and size the video itself */
.testimonial-video {
  display: block;
  margin: 0 auto;
  width: 80%;
  max-width: 750px;
  border-radius: 12px;
}
/* Center the video section */
.video-stories {
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  margin-top: 20px;
}

.video-stories h3 {
  text-align: center;
  margin-bottom: 15px;
}

/* Center and size the video itself */
.testimonial-video {
  display: block;
  margin: 0 auto;
  width: 80%;
  max-width: 750px;
  border-radius: 12px;
}
/* ============================
   HERO BUTTON STYLING
============================ */
.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #a1de63;    /* green background */
  color: white !important;       /* white text */
  border: 2px solid #c89e62;     /* gold border */
  border-radius: 50px;           /* oval shape */
  text-decoration: none !important;
  font-weight: 600;
  transition: 0.25s ease-in-out;
}

/* Hover for both buttons */
.hero-btn:hover {
  background-color: #8bd452; /* slightly darker green */
  color: white;
}

/* Special hover for Get Involved → turns gold */
.hero-btn-hover:hover {
  background-color: #c89e62 !important;
  border-color: #c89e62 !important;
  color: white !important;
}
/* ============================
   HERO BUTTON STYLING — FINAL OVERRIDE
============================ */
.hero-btn,
.hero-btn:hover,
.hero-btn.hero-btn-hover:hover {
  all: unset;
  display: inline-block;
  padding: 12px 28px !important;
  background-color: #a1de63 !important; /* green */
  color: white !important;
  border: 2px solid #c89e62 !important; /* gold */
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

/* hover for both */
.hero-btn:hover {
  background-color: #8bd452 !important;
}

/* special hover */
.hero-btn.hero-btn-hover:hover {
  background-color: #c89e62 !important;
  border-color: #c89e62 !important;
  color: white !important;
}
.hero-btn:not(.hero-btn-hover):hover {
  background-color: #c89e62 !important;
  border-color: #c89e62 !important;
  color: white !important;
}
.support-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background-color: #0f6eff; /* blue */
  color: #ffffff !important;
  border: 2px solid #c89e62; /* gold */
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

.support-pill:hover {
  background-color: #c89e62; /* gold on hover */
  border-color: #c89e62;
  color: #ffffff !important;
}
/* =============================
   FINAL FIX FOR SUPPORT PILLS
   OVERRIDES *ALL* PREVIOUS BUTTON CSS
============================= */
.support-pill {
  all: unset;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 999px !important;
  background-color: #0f6eff !important; /* blue */
  color: #ffffff !important;            /* white text */
  border: 2px solid #c89e62 !important; /* gold border */
  font-weight: 600 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: 0.25s ease-in-out !important;
}

/* Hover → gold pill */
.support-pill:hover {
  background-color: #c89e62 !important;
  border-color: #c89e62 !important;
  color: #ffffff !important;
}
.kit-grid-secondary {
  margin-top: 2rem;
  margin-bottom: 3.5rem; /* gives breathing room before footer */
}
/* ============================================
   GET INVOLVED — DONATE BUTTON CUSTOM PILL STYLE
============================================ */

.donate-buttons a {
  all: unset !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.6rem 1.6rem !important;
  border-radius: 999px !important;

  background-color: #0f6eff !important;   /* blue background */
  color: #ffffff !important;              /* white text */
  border: 2px solid #c89e62 !important;   /* gold outline */

  font-weight: 600 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: 0.25s ease-in-out !important;
}

/* Hover → turn gold */
.donate-buttons a:hover {
  background-color: #c89e62 !important;
  border-color: #c89e62 !important;
  color: #ffffff !important;
}
/* ============================================
   HERO LOGOS — BIG & CENTERED IN HERO BAND
============================================ */
.hero-content {
  position: relative; /* make sure logos use this as their positioning parent */
}

.hero-logo {
  position: absolute;
  top: 50%;                      /* vertically centered in the blue hero area */
  transform: translateY(-50%);   /* fix true centering */
  height: 140px;                 /* make them larger */
  width: auto;
  border-radius: 999px;
  object-fit: cover;
  opacity: 0.95;
}

/* Left logo: toward left side, not hugging the edge */
.hero-logo-left {
  left: 6%;
  bottom: auto;                  /* override old bottom position */
}

/* Right logo: toward right side */
.hero-logo-right {
  right: 6%;
  top: 50%;                      /* make sure it follows the same centering */
}

/* Optional: hide the big logos on small screens so they don't crowd text */
@media (max-width: 900px) {
  .hero-logo {
    display: none;
  }
}
.success-message {
  background: #e6ffed;
  border: 1px solid #48c774;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #215732;
  font-weight: 500;
  font-size: 1rem;
}
body {
  background-color: #ffffff;
}
/* FORCE FOOTER FULL WIDTH */
.site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
