/* MediReach Ghana — Website Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #1a6b3c;
  --green-dark:  #134f2d;
  --green-mid:   #2d8a52;
  --green-light: #e8f5ee;
  --gold:        #d4a017;
  --gold-light:  #fdf6e3;
  --white:       #ffffff;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-400:    #9ca3af;
  --gray-600:    #4b5563;
  --gray-800:    #1f2937;
  --red:         #dc2626;
  --radius:      10px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow:      0 2px 12px rgba(0,0,0,0.09);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
  --max-w:       1100px;
  --nav-h:       68px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  font-size: 16px;
}

/* ── NAVIGATION ── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: var(--green);
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-inner {
  max-width: var(--max-w); width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark {
  width: 38px; height: 38px;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark::before {
  content: ''; position: absolute;
  width: 11px; height: 30px;
  background: white; border-radius: 4px;
}
.nav-logo-mark::after {
  content: ''; position: absolute;
  width: 30px; height: 11px;
  background: white; border-radius: 4px;
}
.nav-logo-dot {
  position: absolute; width: 9px; height: 9px;
  background: var(--gold); border-radius: 50%; z-index: 2;
}
.nav-brand-text { color: white; line-height: 1.1; }
.nav-brand-text strong { display: block; font-size: 17px; letter-spacing: 1.5px; }
.nav-brand-text span { display: block; font-size: 10px; letter-spacing: 3px; color: var(--gold); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  padding: 8px 14px; border-radius: 6px; font-size: 14px;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255,255,255,0.15); }
.nav-cta {
  background: var(--gold) !important; color: var(--gray-800) !important;
  font-weight: 700 !important; padding: 9px 20px !important; border-radius: 7px !important;
}
.nav-cta:hover { opacity: 0.9; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; display: block; }

/* ── HERO ── */
.hero {
  background: var(--green);
  padding: 90px 32px 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.05) 0%, transparent 60%);
}
.hero-inner { max-width: 700px; margin: 0 auto; position: relative; }
.hero-eyebrow {
  display: inline-block; background: rgba(212,160,23,0.2);
  color: var(--gold); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
  border: 1px solid rgba(212,160,23,0.3);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px); font-weight: 800;
  color: white; line-height: 1.1; margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { font-size: 18px; color: rgba(255,255,255,0.82); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold); color: var(--gray-800);
  padding: 15px 32px; border-radius: 8px; font-size: 16px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.15s, opacity 0.15s; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.93; }
.btn-outline {
  background: transparent; color: white;
  padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 600;
  text-decoration: none; border: 2px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s, background 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }
.btn-green {
  background: var(--green); color: white;
  padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 700;
  text-decoration: none; display: inline-block; border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn-green:hover { background: var(--green-mid); }

/* ── SECTIONS ── */
.section { padding: 72px 32px; }
.section-alt { background: var(--gray-50); }
.section-green { background: var(--green); }
.section-dark { background: var(--green-dark); }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.section-title { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; color: var(--green); margin-bottom: 14px; line-height: 1.15; }
.section-title.white { color: white; }
.section-sub { font-size: 17px; color: var(--gray-600); max-width: 540px; margin-bottom: 48px; }
.section-sub.white { color: rgba(255,255,255,0.75); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: white; border-radius: 14px;
  padding: 28px; box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 36px; margin-bottom: 14px; }
.card h3 { font-size: 17px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.card-price { margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--green); }

/* ── STATS ── */
.stats-bar { background: var(--green-dark); padding: 40px 32px; }
.stats-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.stat-num { font-size: 42px; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 6px; }

/* ── HOW IT WORKS ── */
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0; }
.step { padding: 32px 24px; text-align: center; position: relative; }
.step:not(:last-child)::after {
  content: '→'; position: absolute; right: -10px; top: 40px;
  color: var(--gold); font-size: 22px; font-weight: 700;
}
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--gray-600); }

/* ── PAGE HEADER ── */
.page-header { background: var(--green); padding: 56px 32px 48px; text-align: center; }
.page-header h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: white; margin-bottom: 10px; }
.page-header p { font-size: 16px; color: rgba(255,255,255,0.78); max-width: 500px; margin: 0 auto; }

/* ── FORMS ── */
.form-wrap { background: white; border-radius: 16px; padding: 40px; box-shadow: var(--shadow-lg); }
.form-wrap h2 { font-size: 22px; font-weight: 800; color: var(--green); margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 600; color: var(--gray-600); }
.req { color: var(--red); }
input, select, textarea {
  border: 1.5px solid var(--gray-200); border-radius: 8px;
  padding: 11px 14px; font-size: 14px; color: var(--gray-800);
  outline: none; transition: border 0.2s, box-shadow 0.2s;
  background: var(--gray-50); width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--green); background: white;
  box-shadow: 0 0 0 3px rgba(26,107,60,0.08);
}
textarea { resize: vertical; min-height: 90px; }
.form-section-title {
  grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--green);
  padding: 12px 16px; background: var(--green-light);
  border-radius: 8px; display: flex; align-items: center; gap: 8px; margin-top: 8px;
}
.btn-submit {
  width: 100%; padding: 15px; background: var(--green); color: white;
  border: none; border-radius: 8px; font-size: 16px; font-weight: 700;
  cursor: pointer; margin-top: 24px; transition: background 0.2s;
}
.btn-submit:hover { background: var(--green-mid); }

/* ── SUCCESS ── */
.success-box {
  display: none; text-align: center;
  background: var(--green-light); border: 2px solid var(--green);
  border-radius: 14px; padding: 40px 32px;
}
.success-box.show { display: block; }
.success-icon { font-size: 56px; margin-bottom: 16px; }
.success-box h3 { color: var(--green); font-size: 22px; margin-bottom: 10px; }
.success-box p { color: var(--gray-600); font-size: 15px; margin-bottom: 6px; }
.ref-code { font-size: 22px; font-weight: 800; color: var(--green); margin: 14px 0; letter-spacing: 2px; }

/* ── FOOTER ── */
footer { background: var(--green-dark); color: rgba(255,255,255,0.75); padding: 56px 32px 28px; }
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { color: white; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; }
.footer-badge { background: rgba(212,160,23,0.15); color: var(--gold); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; border: 1px solid rgba(212,160,23,0.25); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 28px; transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ── CONTACT ── */
.contact-info-card { background: var(--green); border-radius: 14px; padding: 32px; color: white; }
.contact-info-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.contact-item h4 { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 600; margin-bottom: 4px; }
.contact-item p { font-size: 15px; font-weight: 600; }
.contact-item a { color: var(--gold); text-decoration: none; }

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.team-card { background: white; border-radius: 14px; padding: 28px; text-align: center; box-shadow: var(--shadow); }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 16px; }
.team-card h3 { font-size: 16px; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 13px; color: var(--gray-600); }

/* ── BADGE ── */
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-gold  { background: var(--gold-light); color: #92400e; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--green-dark); padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: 8px; }
  .hamburger { display: flex; }
  .hero { padding: 60px 20px 52px; }
  .section { padding: 52px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .form-wrap { padding: 24px 18px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}