/* =============================================================================
   PRETORIA HEALTH — Premium Medical Practice Stylesheet
   Replaces Tailwind CSS / Next.js site with identical visual design.
   Fonts: DM Serif Display (headings), Inter (body) — loaded via Google Fonts.
   ============================================================================= */

/* =============================================================================
   GOOGLE FONTS IMPORT
   ============================================================================= */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700;800&display=swap');


/* =============================================================================
   CSS CUSTOM PROPERTIES — Color Palette
   ============================================================================= */
:root {
  /* Teal scale */
  --teal-50:  #ecfeff;
  --teal-100: #cffafe;
  --teal-200: #a5f3fc;
  --teal-300: #67e8f9;
  --teal-400: #22d3ee;
  --teal-500: #0891b2;
  --teal-600: #0e7490;
  --teal-700: #155e75;

  /* Navy scale */
  --navy-900: #0c2340;
  --navy-800: #1a365d;
  --navy-700: #2a4a7f;

  /* Gray scale */
  --gray-50:  #f8fafc;
  --gray-100: #eef1f4;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;

  /* Transitions */
  --transition-base: all 0.2s ease;
  --transition-smooth: all 0.3s ease;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 10px 15px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl:  0 20px 25px rgba(0,0,0,.1),  0 10px 10px rgba(0,0,0,.04);
  --shadow-2xl: 0 25px 50px rgba(0,0,0,.15);
}


/* =============================================================================
   1. RESET & BASE
   ============================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  line-height: 1.15;
  font-weight: 400; /* DM Serif Display is naturally weighted */
}

h4,
h5,
h6 {
  font-family: var(--font-sans);
  color: var(--navy-900);
  font-weight: 600;
}

p {
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
}

.font-serif {
  font-family: var(--font-serif);
}


/* =============================================================================
   2. LAYOUT
   ============================================================================= */

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Sections */
.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-sm {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Grid systems */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr; /* mobile: single column */
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Flex utilities */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-start {
  display: flex;
  align-items: flex-start;
}


/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */

.text-teal {
  color: var(--teal-500);
}

.text-navy {
  color: var(--navy-900);
}

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: var(--teal-500);
}

.section-title {
  font-family: var(--font-serif);
  color: var(--navy-900);
  font-size: 2.5rem;
  line-height: 1.15;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-desc {
  color: var(--gray-500);
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 42rem;
}


/* =============================================================================
   4. BUTTONS
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-base);
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-sans);
}

.btn:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}

/* Primary */
.btn-primary {
  background-color: var(--teal-500);
  color: #ffffff;
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--teal-600);
  border-color: var(--teal-600);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Secondary */
.btn-secondary {
  background-color: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

.btn-secondary:hover {
  background-color: var(--navy-800);
  border-color: var(--navy-800);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Outline */
.btn-outline {
  background-color: transparent;
  color: var(--teal-500);
  border-color: var(--teal-500);
}

.btn-outline:hover {
  background-color: var(--teal-500);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Ghost / white outline (for dark backgrounds) */
.btn-ghost {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Small */
.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  gap: 0.375rem;
}


/* =============================================================================
   5. HEADER
   ============================================================================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  background-color: transparent;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
}

/* Solid white header variant (non-hero pages) */
header.header-solid {
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .header-inner {
    padding: 0 2rem;
  }
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  font-family: var(--font-sans);
}

.logo-accent {
  color: var(--teal-500);
}

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 0.5rem;
  transition: var(--transition-base);
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--teal-600);
  background-color: var(--gray-50);
}

.nav-link.active {
  color: var(--teal-600);
}

/* Header CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background-color: var(--teal-500);
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-left: 0.5rem;
  transition: var(--transition-base);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: var(--teal-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--navy-900);
  transition: var(--transition-base);
  flex-shrink: 0;
}

.hamburger:hover {
  background-color: var(--gray-100);
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 1.25rem;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: var(--transition-base);
}

.hamburger-icon span:nth-child(1) { width: 100%; }
.hamburger-icon span:nth-child(2) { width: 80%; }
.hamburger-icon span:nth-child(3) { width: 60%; }


/* =============================================================================
   6. MEGA MENU DROPDOWN
   ============================================================================= */

.nav-item-has-mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  min-width: 700px;
  z-index: 100;
}

.nav-item-has-mega:hover .mega-menu,
.mega-menu:hover {
  display: grid;
}

.mega-menu-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mega-menu-group-title {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--navy-900);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.375rem 0.625rem;
  margin-bottom: 0.375rem;
  text-decoration: none;
  transition: var(--transition-base);
}

.mega-menu-group-title:hover {
  color: var(--teal-600);
}

.mega-menu-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: var(--transition-base);
}

.mega-menu-link:hover {
  background-color: var(--teal-50);
  color: var(--teal-600);
}

.mega-menu-divider {
  height: 1px;
  background-color: var(--gray-100);
  margin: 0.75rem 0;
}


/* =============================================================================
   7. MOBILE NAV DRAWER
   ============================================================================= */

#mobile-nav {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 20rem;
  max-width: 90vw;
  background-color: #ffffff;
  z-index: 200;
  box-shadow: var(--shadow-2xl);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

#mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  transition: var(--transition-base);
}

.mobile-nav-close:hover {
  background-color: var(--gray-100);
  color: var(--navy-900);
}

.mobile-nav-body {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: var(--transition-base);
}

.mobile-nav-link:hover {
  background-color: var(--teal-50);
  color: var(--teal-600);
}

.mobile-nav-section-title {
  display: block;
  padding: 0.5rem 1.5rem 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-top: 0.75rem;
}

.mobile-nav-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-100);
  flex-shrink: 0;
}

.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background-color: var(--teal-500);
  color: #ffffff;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: var(--transition-base);
}

.mobile-nav-cta:hover {
  background-color: var(--teal-600);
}

/* Overlay */
#mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(12, 35, 64, 0.5);
  z-index: 150;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#mobile-overlay.open {
  display: block;
  opacity: 1;
}


/* =============================================================================
   8. HERO SECTIONS — Base
   ============================================================================= */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-full {
  min-height: 90vh;
}

.hero-medium {
  min-height: 50vh;
}

.hero-small {
  min-height: 35vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--navy-900) 0%,
    var(--navy-800) 50%,
    var(--teal-700) 100%
  );
  opacity: 0.88;
}

.hero-overlay-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(12, 35, 64, 0.92) 0%,
    rgba(12, 35, 64, 0.7) 60%,
    rgba(8, 145, 178, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 5rem 2rem;
  }
}

.hero-title {
  font-family: var(--font-serif);
  color: #ffffff;
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--teal-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-desc {
  color: var(--gray-300);
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 36rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-desc {
    font-size: 1.25rem;
  }
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}


/* =============================================================================
   9. HOME HERO — Split Layout
   ============================================================================= */

.home-hero {
  background: linear-gradient(135deg, #ffffff 0%, var(--teal-50) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 5rem; /* offset for fixed header */
}

.home-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 90vh;
  align-items: center;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .home-hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Content — order on mobile shows image first */
.home-hero-content {
  order: 2;
}

@media (min-width: 1024px) {
  .home-hero-content {
    order: 1;
  }
}

/* Image side */
.home-hero-image-wrap {
  order: 1;
  position: relative;
}

@media (min-width: 1024px) {
  .home-hero-image-wrap {
    order: 2;
  }
}

.home-hero-img-frame {
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 600px;
  box-shadow: var(--shadow-2xl);
}

.home-hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating stat cards */
.hero-stat-card {
  position: absolute;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.hero-stat-card.left {
  left: -1.5rem;
  bottom: 6rem;
}

.hero-stat-card.right {
  right: -1rem;
  top: 4rem;
}

@media (max-width: 639px) {
  .hero-stat-card.left {
    left: 0.5rem;
    bottom: 1rem;
  }
  .hero-stat-card.right {
    right: 0.5rem;
    top: 1rem;
  }
}

.stat-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--teal-50);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-500);
  flex-shrink: 0;
}

.stat-card-value {
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.125rem;
  line-height: 1.2;
}

.stat-card-label {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Hero pill (label above headline) */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--teal-700);
  margin-bottom: 1.5rem;
}

/* Pulsing dot (live indicator) */
.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--teal-500);
  border-radius: 9999px;
  animation: pulse 2s ease-in-out infinite;
}

/* Home hero headline */
.hero-headline {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--navy-900);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-headline {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 3.5rem;
  }
}

/* Highlight text with teal underline decoration */
.headline-highlight {
  position: relative;
  z-index: 10;
  display: inline;
}

.headline-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.1em;
  width: 100%;
  height: 0.3em;
  background-color: var(--teal-200);
  z-index: -1;
  border-radius: 0.25em;
  opacity: 0.7;
}

/* Info pills row (below CTA buttons) */
.hero-info-pills {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.75rem;
  column-gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 2.5rem;
}

.info-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-pill svg,
.info-pill .icon {
  color: var(--teal-500);
  flex-shrink: 0;
}

/* Decorative shapes on image side */
.hero-deco-circle-1 {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 12rem;
  height: 12rem;
  background-color: var(--teal-100);
  border-radius: 9999px;
  z-index: -1;
  filter: blur(4px);
  opacity: 0.6;
}

.hero-deco-rect {
  position: absolute;
  bottom: -1.5rem;
  left: -2.5rem;
  width: 9rem;
  height: 9rem;
  background-color: rgba(12, 35, 64, 0.05);
  border-radius: 1rem;
  z-index: -1;
}

.hero-deco-ring {
  position: absolute;
  top: 50%;
  right: -3rem;
  transform: translateY(-50%);
  width: 6rem;
  height: 6rem;
  border: 2px solid var(--teal-200);
  border-radius: 9999px;
  z-index: -1;
}


/* =============================================================================
   10. STATS STRIP
   ============================================================================= */

.stats-strip {
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}

@media (min-width: 640px) {
  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.stat-item:nth-child(2n) {
  border-right: none;
}

@media (min-width: 640px) {
  .stat-item {
    border-bottom: none;
  }
  .stat-item:nth-child(2n) {
    border-right: 1px solid var(--gray-100);
  }
  .stat-item:last-child {
    border-right: none;
  }
}

.stat-value {
  font-weight: 700;
  color: var(--teal-500);
  font-size: 2rem;
  line-height: 1.1;
  font-family: var(--font-sans);
}

@media (min-width: 640px) {
  .stat-value {
    font-size: 2.5rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}


/* =============================================================================
   11. CARDS
   ============================================================================= */

.card {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-200);
}

/* Card with group-hover effects on icon */
.card.group:hover .card-icon-wrap {
  background-color: var(--teal-500);
  color: #ffffff;
}

.card-icon-wrap {
  padding: 0.75rem;
  background-color: var(--teal-50);
  color: var(--teal-500);
  border-radius: 0.75rem;
  width: fit-content;
  margin-bottom: 1.25rem;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Service card */
.service-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-200);
}

.service-card-icon {
  width: 1.5rem;
  flex-shrink: 0;
  color: var(--teal-500);
  margin-top: 0.125rem;
}

/* Badges */
.service-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
}

.badge-gp {
  background-color: var(--teal-100);
  color: var(--teal-700);
}

.badge-psychiatry {
  background-color: #f3e8ff;
  color: #6b21a8;
}

.badge-paediatrics {
  background-color: #fef3c7;
  color: #b45309;
}

/* Card link */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--teal-600);
  margin-top: 1rem;
  text-decoration: none;
  transition: var(--transition-base);
}

.card-link:hover {
  gap: 0.625rem;
  color: var(--teal-700);
}

/* Generic icon card */
.icon-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.icon-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-200);
  transform: translateY(-2px);
}

.icon-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--teal-50);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--teal-500);
  transition: var(--transition-base);
}

.icon-card:hover .icon-card-icon {
  background-color: var(--teal-500);
  color: #ffffff;
}

.icon-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}

.icon-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}


/* =============================================================================
   12. SECTION HEADINGS
   ============================================================================= */

.section-heading {
  margin-bottom: 3rem;
}

.section-heading.center {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-500);
  margin-bottom: 0.75rem;
}

.section-h2 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  color: var(--navy-900);
  margin-bottom: 1rem;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .section-h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-h2 {
    font-size: 2.5rem;
  }
}

.section-p {
  color: var(--gray-500);
  font-size: 1.125rem;
  line-height: 1.8;
}


/* =============================================================================
   13. CTA BANNER
   ============================================================================= */

.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--teal-700) 100%);
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

.cta-banner h2 {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .cta-banner h2 {
    font-size: 2.5rem;
  }
}

.cta-banner p {
  color: var(--teal-100);
  font-size: 1.125rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.cta-inner {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Decorative circles */
.cta-deco-1 {
  position: absolute;
  top: -5rem;
  left: -5rem;
  width: 20rem;
  height: 20rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  pointer-events: none;
}

.cta-deco-2 {
  position: absolute;
  bottom: -8rem;
  right: -4rem;
  width: 25rem;
  height: 25rem;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 9999px;
  pointer-events: none;
}

.cta-deco-3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30rem;
  height: 30rem;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 9999px;
  pointer-events: none;
}

/* Button overrides in CTA */
.cta-banner .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}

.cta-banner .btn-outline:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}


/* =============================================================================
   14. TESTIMONIALS
   ============================================================================= */

.testimonials-section {
  background-color: var(--gray-50);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  padding: 2rem;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
}

.testimonial-quote-icon {
  color: var(--gray-200);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.testimonial-text {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  flex: 1;
  font-size: 0.9375rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background-color: var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--teal-700);
  font-size: 0.9375rem;
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.9375rem;
  line-height: 1.3;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 0.125rem;
}

/* Star ratings */
.rating {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 1rem;
}

.star {
  color: #fbbf24;
  font-size: 0.875rem;
}


/* =============================================================================
   15. FAQ ACCORDION
   ============================================================================= */

.accordion-item {
  background-color: #ffffff;
  border: 1px solid var(--gray-100);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.accordion-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: var(--transition-base);
  gap: 1rem;
}

.accordion-btn:hover {
  background-color: var(--gray-50);
}

.accordion-question {
  font-weight: 500;
  color: var(--navy-900);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.accordion-chevron {
  color: var(--teal-500);
  transition: transform 0.2s ease;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.accordion-chevron.open {
  transform: rotate(180deg);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-answer.open {
  max-height: 500px;
}

.accordion-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  line-height: 1.75;
  font-size: 0.9375rem;
}


/* =============================================================================
   16. FAQ TABS
   ============================================================================= */

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.tab-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--gray-100);
  color: var(--gray-600);
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
  font-family: var(--font-sans);
}

.tab-btn:hover {
  background-color: var(--gray-200);
  color: var(--navy-900);
}

.tab-btn.active {
  background-color: var(--teal-500);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}


/* =============================================================================
   17. PRICING
   ============================================================================= */

.pricing-table {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pricing-header {
  padding: 1.25rem 1.5rem;
  color: #ffffff;
}

.pricing-header.gp {
  background-color: var(--teal-500);
}

.pricing-header.psychiatry {
  background-color: var(--navy-900);
}

.pricing-header.paediatrics {
  background-color: #f59e0b;
}

.pricing-header h3 {
  color: #ffffff;
  font-size: 1.125rem;
  margin-bottom: 0.125rem;
}

.pricing-header p {
  font-size: 0.8125rem;
  opacity: 0.85;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  gap: 1rem;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row:hover {
  background-color: var(--gray-50);
}

.pricing-service {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.4;
}

.pricing-note {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.125rem;
  line-height: 1.4;
}

.pricing-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-600);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.pricing-footer {
  padding: 1rem 1.5rem;
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

/* Medical aid logos grid */
.medical-aid-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .medical-aid-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .medical-aid-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.medical-aid-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--gray-100);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition-base);
}

.medical-aid-item:hover {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-sm);
}

/* Disclaimer box */
.disclaimer-box {
  background-color: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.disclaimer-box-icon {
  color: var(--teal-500);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.disclaimer-box p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}


/* =============================================================================
   18. CONTACT PAGE
   ============================================================================= */

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .contact-info-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  text-align: center;
  padding: 1.5rem;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: block;
  color: inherit;
}

.contact-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-200);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--teal-50);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--teal-500);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.375rem;
  display: block;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--gray-800);
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-400);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.hours-row td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.875rem;
  vertical-align: middle;
}

.hours-row:last-child td {
  border-bottom: none;
}

.hours-day {
  font-weight: 500;
  color: var(--gray-700);
  padding-right: 1rem;
}

.hours-time {
  font-weight: 600;
  color: var(--navy-900);
  text-align: right;
}

.hours-time.closed {
  color: var(--gray-400);
}

/* Map embed */
.map-frame {
  width: 100%;
  height: 18rem;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  display: block;
}

/* Emergency box */
.emergency-box {
  background-color: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 1rem;
  padding: 2rem;
}

.emergency-box h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}


/* =============================================================================
   19. ABOUT PAGE
   ============================================================================= */

/* Doctor profile image */
.doctor-img-frame {
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--gray-100);
}

.doctor-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.5rem; /* aligns with center of 3rem icon (0.625 pad + ~0.75 icon) */
  top: 3.5rem;
  width: 1px;
  bottom: -2.5rem;
  background-color: var(--teal-200);
}

.timeline-icon {
  padding: 0.625rem;
  background-color: var(--teal-100);
  border-radius: 0.75rem;
  flex-shrink: 0;
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  position: relative;
  z-index: 1;
}

.timeline-body {
  flex: 1;
  padding-top: 0.25rem;
}

.timeline-year {
  font-size: 0.6875rem;
  color: var(--teal-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  display: block;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.timeline-text {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* Qualifications grid */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .qual-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.qual-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-100);
  font-size: 0.875rem;
  color: var(--gray-700);
  font-weight: 500;
}

.qual-item-icon {
  color: var(--teal-500);
  flex-shrink: 0;
}


/* =============================================================================
   20. SERVICE DETAIL PAGE
   ============================================================================= */

/* Process steps */
.service-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .service-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  text-align: center;
  position: relative;
}

/* Connector line between steps on desktop */
@media (min-width: 1024px) {
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: calc(50% + 1.75rem);
    width: calc(100% - 3.5rem);
    height: 1px;
    background: linear-gradient(to right, var(--teal-200), var(--teal-100));
  }
}

.process-number {
  width: 3rem;
  height: 3rem;
  background-color: var(--teal-500);
  color: #ffffff;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* Conditions grid */
.conditions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .conditions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .conditions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.condition-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-100);
}

.condition-item-icon {
  color: var(--teal-500);
  flex-shrink: 0;
}

.condition-item span {
  font-size: 0.9375rem;
  color: var(--gray-700);
  font-weight: 500;
}

/* Benefits grid (often on dark background) */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item-icon {
  color: var(--teal-300);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.benefit-item h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.benefit-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}


/* =============================================================================
   21. FOOTER
   ============================================================================= */

footer {
  background-color: var(--navy-900);
  color: var(--gray-300);
}

.footer-main {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 4rem 2rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.footer-logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  color: #ffffff;
  font-family: var(--font-sans);
}

.footer-logo-accent {
  color: var(--teal-400);
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: var(--gray-400);
  transition: var(--transition-base);
  text-decoration: none;
}

.footer-social a:hover {
  background-color: var(--teal-500);
  color: #ffffff;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  transition: var(--transition-base);
  line-height: 1.5;
}

.footer-link:hover {
  color: var(--teal-400);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.footer-contact-item-icon {
  color: var(--teal-400);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .footer-bottom {
    padding: 1.25rem 2rem;
  }
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-bottom-links a:hover {
  color: var(--teal-400);
}

.hpcsa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  color: var(--gray-500);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
}


/* =============================================================================
   22. UTILITY CLASSES
   ============================================================================= */

/* Spacing — margin top */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }

/* Spacing — margin bottom */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }

/* Padding utilities */
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }

/* Display */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

/* Width */
.w-full { width: 100%; }

/* Text alignment */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }
.sticky   { position: sticky; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto   { overflow: auto; }

/* Z-index */
.z-0  { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* Font style */
.italic { font-style: italic; }

/* Font weight */
.font-normal  { font-weight: 400; }
.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }

/* Font size */
.text-xs   { font-size: 0.75rem; }
.text-sm   { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }

/* Color utilities */
.text-white   { color: #ffffff; }
.text-gray-400{ color: var(--gray-400); }
.text-gray-500{ color: var(--gray-500); }
.text-gray-600{ color: var(--gray-600); }
.text-gray-700{ color: var(--gray-700); }
.text-teal    { color: var(--teal-500); }
.text-navy    { color: var(--navy-900); }

/* Background utilities */
.bg-white      { background-color: #ffffff; }
.bg-gray-50    { background-color: var(--gray-50); }
.bg-teal-50    { background-color: var(--teal-50); }
.bg-navy       { background-color: var(--navy-900); }
.bg-teal       { background-color: var(--teal-500); }

/* Border radius */
.rounded    { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl{ border-radius: 1rem; }
.rounded-full{ border-radius: 9999px; }

/* Flex gap helpers */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Align & justify */
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.items-end     { align-items: flex-end; }
.justify-center{ justify-content: center; }
.justify-between{ justify-content: space-between; }
.justify-end   { justify-content: flex-end; }

/* Flex wrap */
.flex-wrap  { flex-wrap: wrap; }
.flex-nowrap{ flex-wrap: nowrap; }

/* Max-width helpers */
.max-w-sm  { max-width: 24rem; }
.max-w-md  { max-width: 28rem; }
.max-w-lg  { max-width: 32rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto   { margin-left: auto; margin-right: auto; }

/* Visually hidden (screen-reader accessible) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/* =============================================================================
   23. ANIMATIONS & TRANSITIONS
   ============================================================================= */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.5s ease-out forwards;
}

/* Staggered animation delay helpers */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Animated underline link */
.link-underline {
  position: relative;
  text-decoration: none;
  color: var(--teal-600);
}

.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--teal-500);
  transition: width 0.25s ease;
}

.link-underline:hover::after {
  width: 100%;
}

/* Hover lift */
.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}


/* =============================================================================
   24. SERVICE FILTER (Services Hub Page)
   ============================================================================= */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--gray-100);
  color: var(--gray-600);
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
  font-family: var(--font-sans);
}

.filter-btn:hover {
  background-color: var(--gray-200);
  color: var(--navy-900);
}

.filter-btn.active {
  background-color: var(--teal-500);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

/* All service cards are visible by default */
.service-card[data-category] {
  display: flex; /* keep the flex layout from .service-card */
}

/* JS toggles this class to hide filtered-out cards */
.service-card.hidden {
  display: none !important;
}


/* =============================================================================
   25. RESPONSIVE BREAKPOINTS — Additional overrides
   ============================================================================= */

/* ---- Mobile-only adjustments (< 640px) ---- */
@media (max-width: 639px) {
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .home-hero-inner {
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .section-h2 {
    font-size: 1.75rem;
  }

  .cta-banner h2 {
    font-size: 1.75rem;
  }

  .footer-main {
    padding: 3rem 1.25rem 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-strip {
    border-radius: 0.75rem;
  }

  .mega-menu {
    display: none !important; /* mega menu is desktop-only */
  }

  .hero-stat-card {
    scale: 0.9;
  }
}

/* ---- Tablet adjustments (640px–1023px) ---- */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .home-hero-img-frame {
    max-height: 420px;
  }

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

/* ---- Desktop (≥ 1024px) ---- */
@media (min-width: 1024px) {
  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }
}

/* ---- Print styles ---- */
@media print {
  header,
  footer,
  .hamburger,
  #mobile-nav,
  #mobile-overlay,
  .btn,
  .cta-banner {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: var(--teal-700);
    text-decoration: underline;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }
}


/* =============================================================================
   SUPPLEMENTARY COMPONENTS
   (Extra components for completeness and polished experience)
   ============================================================================= */

/* ---- Alert / Notice banners ---- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-info {
  background-color: var(--teal-50);
  border: 1px solid var(--teal-200);
  color: var(--teal-700);
}

.alert-warning {
  background-color: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
}

.alert-error {
  background-color: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.alert-success {
  background-color: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--teal-600);
  text-decoration: none;
  transition: var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--gray-300);
}

/* ---- Pills / Tags ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pill-teal {
  background-color: var(--teal-100);
  color: var(--teal-700);
}

.pill-navy {
  background-color: rgba(12, 35, 64, 0.1);
  color: var(--navy-900);
}

.pill-gray {
  background-color: var(--gray-100);
  color: var(--gray-600);
}

/* ---- Divider ---- */
.divider {
  height: 1px;
  background-color: var(--gray-200);
  margin: 2rem 0;
}

.divider-teal {
  height: 2px;
  width: 3rem;
  background-color: var(--teal-500);
  border-radius: 9999px;
  margin: 0.75rem 0 1.5rem;
}

.divider-teal.center {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Back-to-top ---- */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 2.75rem;
  height: 2.75rem;
  background-color: var(--teal-500);
  color: #ffffff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
  opacity: 0;
  pointer-events: none;
  z-index: 90;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover {
  background-color: var(--teal-600);
  transform: translateY(-2px);
}

/* ---- Skip navigation (accessibility) ---- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  background-color: var(--teal-500);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-nav:focus {
  top: 0;
}

/* ---- Loading skeleton ---- */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--gray-100) 25%,
    var(--gray-200) 50%,
    var(--gray-100) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 0.5rem;
}

@keyframes skeleton-loading {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Two-col content layout (text + aside) ---- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr 360px;
    gap: 4rem;
  }

  .content-grid.reversed {
    grid-template-columns: 360px 1fr;
  }
}

/* ---- Sticky sidebar ---- */
.sticky-sidebar {
  position: sticky;
  top: 6rem; /* below fixed header */
  align-self: start;
}

/* ---- Doctor profile card (sidebar) ---- */
.doctor-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.doctor-card-header {
  background: linear-gradient(135deg, var(--navy-900), var(--teal-700));
  padding: 2rem 1.5rem;
  text-align: center;
}

.doctor-card-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  border: 3px solid rgba(255,255,255,0.3);
  margin: 0 auto 1rem;
  overflow: hidden;
  background-color: var(--teal-100);
}

.doctor-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-card-name {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.doctor-card-title {
  color: var(--teal-200);
  font-size: 0.8125rem;
}

.doctor-card-body {
  padding: 1.5rem;
}

/* ---- Appointment card ---- */
.appointment-card {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  border-radius: 1rem;
  padding: 1.5rem;
  color: #ffffff;
}

.appointment-card h3 {
  color: #ffffff;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.appointment-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ---- Team grid ---- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.team-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-200);
}

.team-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--gray-100);
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card-img img {
  transform: scale(1.04);
}

.team-card-body {
  padding: 1.25rem 1.5rem;
}

.team-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
}

.team-card-role {
  font-size: 0.875rem;
  color: var(--teal-600);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-card-bio {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---- Resource / blog cards ---- */
.resource-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-200);
}

.resource-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--gray-100);
}

.resource-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.resource-card:hover .resource-card-img img {
  transform: scale(1.04);
}

.resource-card-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.resource-card-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-600);
  margin-bottom: 0.625rem;
}

.resource-card-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.resource-card-excerpt {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.resource-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: auto;
}

/* ---- Inline icon helpers ---- */
.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-md {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-xl {
  width: 2rem;
  height: 2rem;
}

/* ---- Page header (interior pages with hero-small) ---- */
.page-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--teal-700) 100%);
  padding: 8rem 0 4rem; /* accounts for fixed header */
  text-align: center;
}

.page-header-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-header h1 {
  font-family: var(--font-serif);
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .page-header h1 {
    font-size: 3rem;
  }
}

.page-header p {
  color: var(--teal-100);
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.75;
}

/* ---- Trust badges strip ---- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
}

.trust-badge-icon {
  color: var(--teal-500);
}

/* ---- Pagination ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  background: #ffffff;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
}

.page-btn:hover {
  border-color: var(--teal-300);
  color: var(--teal-600);
}

.page-btn.active {
  background-color: var(--teal-500);
  border-color: var(--teal-500);
  color: #ffffff;
}

/* ---- Rich text / prose content ---- */
.prose {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 68ch;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy-900);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--navy-900);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose li {
  margin-bottom: 0.375rem;
}

.prose a {
  color: var(--teal-600);
  text-decoration: underline;
  text-decoration-color: var(--teal-200);
  transition: var(--transition-base);
}

.prose a:hover {
  color: var(--teal-700);
  text-decoration-color: var(--teal-400);
}

.prose strong {
  font-weight: 600;
  color: var(--navy-900);
}

.prose blockquote {
  border-left: 3px solid var(--teal-300);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--gray-600);
  font-style: italic;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 2.5rem 0;
}

/* =============================================================================
   END OF FILE
   styles.css — Pretoria Health Premium Medical Practice Website
   ============================================================================= */
