/* =========================================================
   Awudome SHS About Page
   Modern responsive stylesheet
   ========================================================= */

:root {
  --primary: #006f86;
  --primary-dark: #073b46;
  --accent: #ff8800;
  --accent-soft: #fff4e6;
  --success: #28a745;
  --text: #17242a;
  --muted: #64748b;
  --bg: #f5f7fa;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 20px 50px rgba(7, 59, 70, 0.12);
  --radius: 22px;
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.site-wrapper {
  min-height: 100vh;
}

/* ---------------- Topbar ---------------- */

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  color: var(--primary-dark);
  font-size: 0.92rem;
}

.topbar__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar__contacts,
.topbar__links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar i {
  color: var(--accent);
  margin-right: 6px;
}

.topbar a {
  text-decoration: none;
  font-weight: 700;
  transition: color 0.25s ease;
}

.topbar a:hover {
  color: var(--accent);
}

/* ---------------- Navigation ---------------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 111, 134, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(7, 59, 70, 0.16);
}

.navbar__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: var(--white);
  border-radius: 16px;
  padding: 4px;
}

.brand span {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-button span {
  width: 23px;
  height: 2px;
  background: var(--white);
  border-radius: 20px;
  transition: 0.25s ease;
}

/* ---------------- Hero ---------------- */

.hero {
  min-height: 560px;
  background:
    linear-gradient(rgba(7, 59, 70, 0.15), rgba(7, 59, 70, 0.2)),
    url("image/HealthCenter.png") center/cover no-repeat;
}

.hero__overlay {
  min-height: inherit;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 0, 0, 0.35), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.70) 48%, rgba(0, 0, 0, 0.60) 100%);
}

.hero__content {
  padding: 92px 0;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  background: currentColor;
  border-radius: 999px;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero__text {
  max-width: 670px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero__actions,
.cta-card {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__actions {
  margin-top: 34px;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(255, 136, 0, 0.25);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
  margin-top: 12px;
}

.btn-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

/* ---------------- Common sections ---------------- */

.identity-section,
.overview-section,
.programmes-section,
.leadership-section,
.cta-section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading--center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
}

/* ---------------- Vision / Mission / Values ---------------- */

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.identity-card {
  position: relative;
  min-height: 290px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/*.identity-card::after {
  content: "";
  position: absolute;
  inset: auto -50px -70px auto;
  width: 160px;
  height: 160px;
  background: var(--accent-soft);
  border-radius: 999px;
}*/

.identity-card--highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.identity-card--highlight h3,
.identity-card--highlight p {
  color: var(--white);
}

.identity-card__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.35rem;
}

.identity-card--highlight .identity-card__icon {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.identity-card h3 {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 1.35rem;
}

.identity-card p {
  margin: 0;
  color: var(--muted);
}

/* ---------------- Overview ---------------- */

.overview-section {
  background:
    linear-gradient(180deg, rgba(0, 111, 134, 0.05), rgba(255, 136, 0, 0.04));
}

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.overview-panel,
.stats-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.overview-panel {
  padding: clamp(24px, 4vw, 42px);
}

.overview-panel p {
  margin: 0 0 18px;
  color: #334155;
  text-align: justify;
}

.stats-card {
  padding: 28px;
  position: sticky;
  top: 116px;
}

.stats-card h3 {
  margin: 0 0 18px;
  color: var(--primary-dark);
}

.stat {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  color: var(--accent);
  font-size: 2.2rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

/* ---------------- Programmes ---------------- */

.programme-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.programme-card {
  min-height: 135px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 22px 14px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(7, 59, 70, 0.08);
  color: var(--primary-dark);
  font-weight: 800;
  transition: 0.25s ease;
}

.programme-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 136, 0, 0.45);
}

.programme-card i {
  color: var(--accent);
  font-size: 1.7rem;
}

/* ---------------- Leadership ---------------- */

.leadership-section {
  background: var(--white);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.leader-card {
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 35px rgba(7, 59, 70, 0.1);
  transition: 0.25s ease;
}

.leader-card:hover {
  transform: translateY(-5px);
}

.leader-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.leader-card__body {
  padding: 20px;
  text-align: center;
}

.leader-card__body h3 {
  margin: 0 0 6px;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.leader-card__body p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

/* ---------------- CTA ---------------- */

.cta-section {
  padding-top: 70px;
}

.cta-card {
  justify-content: space-between;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(255, 136, 0, 0.35), transparent 30%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow);
}

.cta-card h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.15;
}

/* ===================== Footer ===================== */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 6% 24px;
}

.footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.footer-card {
    padding: 28px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-card h3 {
    margin: 0 0 24px;
    color: var(--accent);
    font-size: 24px;
}

.footer-card p {
    margin: 0 0 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

.footer-card strong {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1180px;
    margin: 34px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
}

/* ---------------- Responsive design ---------------- */

@media (max-width: 1040px) {
  .identity-grid,
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .overview-layout {
    grid-template-columns: 1fr;
  }

  .stats-card {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 18px;
  }

  .stats-card h3 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .topbar__links {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(7, 59, 70, 0.12);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
    color: var(--primary-dark);
    border-radius: 14px;
    padding: 14px 16px;
  }

  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .menu-toggle:checked + .menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle:checked + .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
  }

  .hero__overlay {
    background:
      radial-gradient(circle at 10% 20%, rgba(0, 0, 0, 0.3), transparent 26%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85));
  }

  .hero__content {
    padding: 72px 0;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, var(--container));
  }
  
  .topbar {
  display:none;
}

  .topbar__contacts {
    gap: 10px;
    justify-content: center;
    font-size: 0.82rem;
  }

  .navbar__inner {
    min-height: 78px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand span {
    font-size: 1rem;
  }

  .nav-links {
    top: 78px;
  }

  .hero__content {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 9vw, 2.2rem);
  }

  .hero__actions,
  .cta-card {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .identity-grid,
  .leadership-grid,
  .programme-grid,
  .stats-card {
    grid-template-columns: 1fr;
  }

  .identity-card {
    min-height: auto;
    padding: 26px;
  }

  .overview-panel p {
    text-align: left;
  }

  .programme-card {
    min-height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
