/* ========== Global Reset & Base ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f5f7fb;
  --bg-alt: #ffffff;
  --bg-soft: #f0f4ff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --primary: #03624b;
  --primary-soft: rgba(3, 98, 75, 0.08);
  --accent: #f4a933;
  --border-soft: #e5e7eb;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.16);
  --shadow-card: 0 10px 25px rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: radial-gradient(circle at top left, #e7f7f1 0, #f5f7fb 45%, #ffffff 100%);
}

/* Utility */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: #f9fafb;
}

.section h2 {
  font-size: clamp(1.9rem, 2.4vw, 2.2rem);
  margin-bottom: 0.7rem;
}

.section-intro {
  max-width: 650px;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

h1, h2, h3 {
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
}

/* ========== Header & Navigation ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: #032e19; /* deep green */
  border-bottom: 3px solid var(--accent); /* gold line */
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

/* Brand with logo */
.brand {
  display: flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.4px;
}

.brand-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #fef3c7; /* soft gold */
}

/* Desktop navigation */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.3rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: #e5e7eb;
  padding-bottom: 0.2rem;
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #ffffff, var(--accent));
  border-radius: var(--radius-pill);
  transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  border-radius: 99px;
  padding: 0.2rem 0.6rem;
  font-size: 1.4rem;
  cursor: pointer;
  color: #ffffff;
}

/* ========== Hero Section ========== */

.hero {
  padding: 4rem 0 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  margin-bottom: 0.4rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 0.6rem;
}

.hero-description {
  max-width: 36rem;
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
}

.primary-btn {
  background: linear-gradient(135deg, #059669, var(--primary));
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(5,150,105,0.45);
}

.primary-btn:hover {
  box-shadow: 0 22px 55px rgba(5,150,105,0.6);
}

.secondary-btn {
  background: #ffffff;
  color: var(--text-main);
  border-color: rgba(55,65,81,0.18);
  box-shadow: 0 10px 25px rgba(15,23,42,0.08);
}

.secondary-btn:hover {
  background-color: #f9fafb;
}

/* Hero image */
.hero-image img {
  width: 100%;
  max-width: 380px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  display: block;
  margin-left: auto;
}

/* ========== Grid & Lists ========== */

.grid {
  display: grid;
  gap: 2rem;
}

.grid.two-columns {
  grid-template-columns: 1fr 1fr;
}

.list {
  list-style: none;
}

.list li {
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  position: relative;
  font-size: 0.95rem;
  color: #374151;
}

.list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

/* ========== Generic Timeline (not bus-specific) ========== */

.timeline {
  border-left: 2px solid rgba(150,150,170,0.6);
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.timeline-item {
  padding-bottom: 1.5rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.05rem;
  top: 0.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--primary);
}

.timeline-item h3 {
  margin-bottom: 0.4rem;
}

.timeline-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ========== Cards ========== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.card h3, .card h4 {
  margin-bottom: 0.4rem;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.94rem;
  color: #374151;
  margin-bottom: 0.9rem;
}

.card-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--primary);
}

/* ========== Forms ========== */

.contact-form {
  background: #ffffff;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font: inherit;
  color: var(--text-main);
  background-color: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(3,98,75,0.3);
}

.form-fieldset {
  margin: 1rem 0 1.1rem;
  padding: 0.75rem 0.9rem 0.9rem;
  border-radius: 6px;
  border: 1px solid #d4d4d8;
  background-color: #f9fafb;
}

.form-fieldset legend {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0 0.25rem;
}

.form-options label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.form-options input[type="radio"] {
  margin-right: 0.4rem;
}

.small-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Volunteer section */
.volunteer-section {
  background-color: #f0f8f4;
  border-top: 1px solid #e0f0e8;
  border-bottom: 1px solid #e0f0e8;
}

/* Contact details */
.contact-details h3 {
  margin-bottom: 0.75rem;
}

.contact-details .list li a {
  color: var(--primary);
}

/* Strategic Sylhet-3 generic cards */
#strategic-sylhet-3 .card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  margin-bottom: 1rem;
}

/* ========== Strategic Sylhet-3 sub menu ========== */

.strategic-subnav {
  margin: 1.2rem 0 1.6rem;
  background: #fffaf1;
  border-radius: var(--radius-md);
  border: 1px solid rgba(244, 169, 51, 0.35);
  padding: 0.75rem 1rem;
}

.strategic-subnav .list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
}

.strategic-subnav .list li {
  padding-left: 0;
  margin-bottom: 0;
}

.strategic-subnav .list li::before {
  content: none;
}

.strategic-subnav a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #92400e;
  background: #fff4d6;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 169, 51, 0.5);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.strategic-subnav a:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(148, 93, 32, 0.25);
}

/* ========== Bus Route Timeline (Strategic Sylhet-3) ========== */

.bus-timeline-card {
  padding: 1.5rem;
}

.bus-stop-title {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

/* Timeline container specific to bus route */
.bus-timeline {
  position: relative;
  margin-left: 1rem;
  padding-left: 1rem;
}

/* Vertical line for route */
.bus-timeline::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-soft); /* uses global border colour */
}

/* Each stop */
.bus-timeline-item {
  position: relative;
  padding: 0.6rem 0 0.6rem 0.8rem;
}

/* Last stop: tidy bottom spacing */
.bus-timeline-item.last {
  padding-bottom: 0;
}

/* Stop marker (circle) */
.bus-timeline-marker {
  position: absolute;
  left: -0.15rem;
  top: 0.9rem;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  border: 3px solid var(--primary); /* green from your theme */
  box-shadow: 0 0 0 2px #e5e7eb;
}

/* Stop label text */
.bus-timeline-content {
  font-size: 0.95rem;
  color: var(--text-main);
}

/* ========== Footer ========== */

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-soft);
}

.footer-inner {
  padding: 1rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== Responsive ========== */

/* Tablets & small laptops */
@media (max-width: 900px) {
  .hero {
    padding: 3rem 0 3.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-image img {
    margin: 0 auto;
    max-width: 260px;
  }

  .grid.two-columns {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* Phones */
@media (max-width: 720px) {
  body {
    font-size: 0.95rem;
  }

  .section {
    padding: 2.7rem 0;
  }

  .container {
    padding: 0 1.1rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .section-intro {
    font-size: 0.9rem;
    margin-bottom: 1.4rem;
  }

  /* Header */
  .header-inner {
    padding: 0.6rem 0;
  }

  .brand-logo {
    height: 48px;
    width: 48px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 12px 30px rgba(15,23,42,0.1);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 30;
  }

  .site-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.3rem 1rem;
    gap: 0.4rem;
  }

  .site-nav a {
    color: #111827;
    font-size: 0.95rem;
    padding: 0.25rem 0;
  }

  .site-nav a::after {
    background: var(--primary);
  }

  /* Hero tweaks */
  .hero {
    padding-top: 3rem;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Cards & grids */
  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.2rem 1.1rem;
  }

  .timeline {
    margin-left: 0.3rem;
    padding-left: 1.2rem;
  }

  .timeline-item p {
    font-size: 0.9rem;
  }

  /* Forms */
  .contact-form {
    padding: 1.1rem 1.1rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 0.9rem;
  }

  /* Contact / volunteer grid */
  .grid.two-columns {
    gap: 1.8rem;
  }

  /* Sub menu on mobile */
  .strategic-subnav .list {
    flex-direction: column;
    gap: 0.35rem;
  }

  .strategic-subnav a {
    display: inline-block;
    width: 100%;
    text-align: left;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.7rem;
  }

  .hero-image img {
    max-width: 220px;
  }

  .section {
    padding: 2.3rem 0;
  }

  .site-header {
    border-bottom-width: 2px;
  }
}

/* ================================
   Healthcare Page Styles (#healthcare)
   ================================ */

/* Make all sections on Healthcare page use full width */
#healthcare .container {
  max-width: 100%;
  padding-left: 3rem;
  padding-right: 3rem;
}

/* Tighter padding on smaller screens */
@media (max-width: 900px) {
  #healthcare .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 600px) {
  #healthcare .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ---------- Hero section ---------- */

#healthcare .hero-healthcare {
  padding: 3rem 0 2.5rem;
  background: #f4f7fb;
}

#healthcare .hero-healthcare-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: center;
}

#healthcare .hero-tag {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

#healthcare .hero-healthcare h1 {
  font-size: 2.3rem;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

#healthcare .hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #374151;
  max-width: none;
}

/* Hero card on the right */
#healthcare .hero-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

#healthcare .hero-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

#healthcare .hero-card ul {
  padding-left: 1.1rem;
  margin-bottom: 0.75rem;
  list-style: disc;
}

#healthcare .hero-card-note {
  font-size: 0.95rem;
  color: #4b5563;
  margin-top: 0.75rem;
}

/* Highlighted 3 core points */
#healthcare .hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  margin-top: 0.8rem;
}

#healthcare .hero-pill {
  background: #f3f4f6;
  color: #111827;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  flex: 1 1 30%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: background 0.25s ease, transform 0.25s ease;
}

#healthcare .hero-pill:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

/* ---------- Sections & typography ---------- */

/* Compact vertical spacing between sections */
#healthcare .section {
  padding: 1.4rem 0;
}

#healthcare .section-light {
  background: #ffffff;
}

#healthcare .section-dark {
  background: #0f172a;
  color: #e5e7eb;
}

/* Section titles */
#healthcare .section-title {
  font-size: 1.9rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#healthcare .section-title-light {
  color: #e5e7eb;
}

/* Section intro text */
#healthcare .section-intro {
  max-width: none;
  color: #4b5563;
  margin-bottom: 1rem;
}

#healthcare .section-intro-light {
  color: #cbd5f5;
}

/* ---------- Grid layout ---------- */

#healthcare .grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

#healthcare .grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#healthcare .grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---------- Cards ---------- */

#healthcare .info-card,
#healthcare .plan-card,
#healthcare .impact-card {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.2rem 1.2rem;
  margin: 0.5rem 0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

#healthcare .section-dark .plan-card,
#healthcare .section-dark .plan-card-alt {
  background: #020617;
  border-color: #1e293b;
  color: #e5e7eb;
}

#healthcare .info-card h3,
#healthcare .plan-card h3,
#healthcare .impact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

#healthcare .info-card p,
#healthcare .plan-card p,
#healthcare .impact-card p,
#healthcare .plan-card ul {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #4b5563;
}

#healthcare .section-dark .plan-card p,
#healthcare .section-dark .plan-card ul {
  color: #cbd5f5;
}

#healthcare .plan-card ul {
  padding-left: 1.1rem;
  list-style: disc;
}

#healthcare .plan-badge {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #22c55e;
  margin-bottom: 0.4rem;
}

/* ---------- CTA section ---------- */

#healthcare .section-cta {
  background: linear-gradient(135deg, #1d4ed8, #0f766e);
  color: #e5e7eb;
  padding: 3rem 0;
}

#healthcare .section-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  justify-content: space-between;
}

#healthcare .section-cta h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

#healthcare .section-cta p {
  max-width: none;
  font-size: 1rem;
}

#healthcare .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

#healthcare .btn {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

#healthcare .btn-primary {
  background: #ffffff;
  color: #1d4ed8;
}

#healthcare .btn-outline {
  background: transparent;
  border-color: #bfdbfe;
  color: #e5e7eb;
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 900px) {
  #healthcare .hero-healthcare-inner {
    grid-template-columns: 1fr;
  }

  #healthcare .grid-3 {
    grid-template-columns: 1fr;
  }

  #healthcare .grid-2 {
    grid-template-columns: 1fr;
  }

  #healthcare .section-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  #healthcare .hero-healthcare {
    padding: 2.2rem 0 1.8rem;
  }

  #healthcare .hero-healthcare h1 {
    font-size: 1.9rem;
  }

  #healthcare .hero-lead {
    font-size: 0.98rem;
  }
}
/* --- Fix HERO / INTRO width on Healthcare page --- */

#healthcare .hero-healthcare-inner {
  display: block;      /* remove 2-column grid */
}

#healthcare .hero-lead {
  max-width: none;     /* make sure paragraph can use full width */
}

#healthcare .hero-card {
  max-width: 100%;
  margin-top: 1.5rem;  /* card (if used) goes full width below text */
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
}

.site-logo {
  max-height: 60px;
  width: auto;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.site-subtitle {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: #555;
}

