:root {
  --brand-navy: #101a4a;
  --brand-blue: #1447e6;
  --brand-blue-dark: #0f2fb0;
  --brand-gold: #f5a524;
  --bs-primary: #1447e6;
  --bs-primary-rgb: 20, 71, 230;
  --bs-link-color: #1447e6;
  --bs-link-hover-color: #0f2fb0;
  --bs-body-font-family: "Poppins", system-ui, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--bs-body-font-family); color: #475569; }
main { flex: 1; }

/* Brand utilities */
.text-navy { color: var(--brand-navy) !important; }
.text-brand { color: var(--brand-blue) !important; }
.text-sky { color: #7dd3fc !important; }
.text-slate { color: #64748b !important; }
.text-slate-light { color: #cbd5e1 !important; }
.bg-navy { background-color: var(--brand-navy) !important; }
.bg-brand { background-color: var(--brand-blue) !important; }
.bg-slate { background-color: #f8fafc !important; }
.fw-800 { font-weight: 800; }
.ls-wide { letter-spacing: .1em; }

.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand-blue);
  --bs-btn-border-color: var(--brand-blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-blue-dark);
  --bs-btn-hover-border-color: var(--brand-blue-dark);
  --bs-btn-active-bg: var(--brand-blue-dark);
  --bs-btn-active-border-color: var(--brand-blue-dark);
}
.btn-outline-brand {
  --bs-btn-color: var(--brand-blue);
  --bs-btn-border-color: var(--brand-blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-blue);
  --bs-btn-hover-border-color: var(--brand-blue);
  border-width: 2px;
}
.btn-gold {
  --bs-btn-color: var(--brand-navy);
  --bs-btn-bg: var(--brand-gold);
  --bs-btn-border-color: var(--brand-gold);
  --bs-btn-hover-color: var(--brand-navy);
  --bs-btn-hover-bg: #e3961c;
  --bs-btn-hover-border-color: #e3961c;
}
.btn-whatsapp {
  --bs-btn-color: #fff;
  --bs-btn-bg: #25d366;
  --bs-btn-border-color: #25d366;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1fb957;
  --bs-btn-hover-border-color: #1fb957;
}
.btn { font-weight: 700; font-size: .875rem; }
.btn-pill { border-radius: 50rem; padding: .75rem 1.75rem; }

.eyebrow {
  display: inline-block;
  border-radius: 50rem;
  background: rgba(20, 71, 230, .1);
  color: var(--brand-blue);
  padding: .25rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.heading-bar { height: 4px; width: 64px; border-radius: 4px; background: var(--brand-gold); margin-top: 1rem; }
.section-pad { padding-top: 5rem; padding-bottom: 5rem; }

.card-soft {
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.06);
  overflow: hidden;
  background: #fff;
}
.card-lift { transition: transform .2s, box-shadow .2s; }
.card-lift:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.card-lift .zoom { transition: transform .5s; }
.card-lift:hover .zoom { transform: scale(1.1); }
.rounded-4 { border-radius: 1rem !important; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1) !important; }
.obj-cover { object-fit: cover; }

/* Navbar */
.site-header { background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid #f1f5f9; }
.brand-text { font-size: 1.875rem; font-weight: 800; letter-spacing: -.025em; color: var(--brand-navy); }
.site-header .nav-link {
  font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: #334155;
}
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand-blue); }
.site-header .dropdown-menu { border-color: #f1f5f9; box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); min-width: 16rem; }
.site-header .dropdown-item { font-size: .875rem; font-weight: 500; color: #334155; padding: .6rem 1rem; }
.site-header .dropdown-item:hover { color: var(--brand-blue); background: #f8fafc; }
.site-header .dropdown-item.active { color: var(--brand-blue); background: transparent; }
.site-header .dropdown-item.sub { padding-left: 2rem; }
@media (min-width: 992px) {
  .site-header .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
@media (max-width: 575.98px) {
  .brand-text { font-size: 1.4rem; }
  .brand-logo { height: 44px !important; }
}

/* Hero carousel */
.hero { position: relative; height: 640px; overflow: hidden; }
@media (min-width: 576px) { .hero { height: 720px; } }
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { height: 100%; }
.hero .carousel-item img { height: 100%; width: 100%; object-fit: cover; }
.hero .carousel-fade .carousel-item { transition-duration: 1s; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,.55), rgba(0,0,0,.2));
}
.hero-content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; pointer-events: none; }
.hero-content a { pointer-events: auto; }
.hero .carousel-indicators { z-index: 3; }
.hero .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50rem; border: 0; margin: 0 4px; transition: width .3s; }
.hero .carousel-indicators .active { width: 24px; }

/* Page header */
.page-header { position: relative; overflow: hidden; background: var(--brand-navy); }
.page-header img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.page-header::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--brand-navy), rgba(16,26,74,.9), rgba(20,71,230,.6));
}
.page-header > .container-xl { position: relative; z-index: 1; padding-top: 5rem; padding-bottom: 5rem; }
.page-header a { color: #cbd5e1; text-decoration: none; }
.page-header a:hover { color: #fff; }

/* Home about image badge */
.founded-badge { position: absolute; bottom: -1.5rem; right: -1.5rem; }

/* Core values / impact section */
.impact { position: relative; background: url("../assets/images/medical.jpg") center / cover no-repeat; }
.impact::before { content: ""; position: absolute; inset: 0; background: rgba(16,26,74,.85); }
.impact > .container { position: relative; }
.value-num {
  width: 2rem; height: 2rem; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,71,230,.1); color: var(--brand-blue); font-size: .875rem; font-weight: 700;
}

.donate-banner { background: linear-gradient(to right, var(--brand-blue), var(--brand-navy)); }
.btn-outline-light-soft { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline-light-soft:hover { background: rgba(255,255,255,.1); color: #fff; }

.dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: .55rem; }
.dot-gold { background: var(--brand-gold); }
.dot-blue { background: var(--brand-blue); }

.avatar-initials {
  width: 6rem; height: 6rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,71,230,.1); color: var(--brand-blue); font-size: 1.5rem; font-weight: 700;
}

.form-control:focus, .form-select:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 .2rem rgba(20,71,230,.15); }

/* Footer */
.site-footer { background: var(--brand-navy); color: #94a3b8; }
.site-footer h3 { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.site-footer .bar { height: 2px; width: 40px; background: var(--brand-blue); margin: 1rem 0; }
.site-footer a { color: #94a3b8; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: .6rem; }

.whatsapp-float {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 1050;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,.2);
  transition: transform .15s;
}
.whatsapp-float:hover { transform: scale(1.05); color: #fff; }

/* Program feature (e.g. English app) */
.feature-img { width: 100%; height: 14rem; }
@media (min-width: 576px) { .feature-img { width: 16rem; height: auto; } }
