/* =========================================================================
   Dr Mhlaba Health Centre - Main Stylesheet
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette — Deep Forest Green & Logo Gold */
  --primary: #0F3D2E;
  --primary-dark: #0B3A2E;
  --primary-deep: #082519;
  --secondary: #FAF8F2;
  --secondary-warm: #F4EFE1;
  --accent: #C9A24E;
  --accent-dark: #A8842D;
  --accent-light: #E5C97A;
  --text-dark: #2A3530;
  --text-muted: #6B7770;
  --white: #ffffff;
  --border: #E6E2D6;
  --whatsapp-green: #25D366;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', sans-serif;

  /* Layout */
  --container-width: 1200px;
  --nav-height: 80px;

  /* UI Elements */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 6px rgba(15, 61, 46, 0.05);
  --shadow-md: 0 6px 16px rgba(15, 61, 46, 0.08);
  --shadow-lg: 0 14px 32px rgba(15, 61, 46, 0.12);
  --shadow-xl: 0 24px 50px rgba(15, 61, 46, 0.15);
}

/* =========================================================================
   Reset & Base
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  overflow-x: clip;
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 18px;
  /* High legibility */
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  border-radius: var(--radius-sm);
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.bg-light {
  background-color: var(--secondary);
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* =========================================================================
   Hero Section
   ========================================================================= */
.hero {
  background-color: var(--white);
  padding: 0;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: stretch;
  max-width: 100%;
  padding: 0;
  gap: 0;
}

.hero-content {
  flex: 1;
  padding: 2.5rem 4rem 4rem calc((100vw - 1200px) / 2 + 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  background-color: var(--white);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--primary) !important;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image {
  flex: 1.2;
  position: relative;
  min-height: 600px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  height: 100%;
  background: linear-gradient(to right, var(--white), transparent);
  z-index: 1;
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  border: 2px solid #25D366;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
}

.btn-whatsapp:hover {
  background-color: #1eb956;
  border-color: #1eb956;
  transform: translateY(-2px);
}

/* =========================================================================
   Trust Indicators
   ========================================================================= */
.trust-bar {
  background-color: var(--primary);
  color: var(--white);
  padding: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.trust-item svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.trust-item span {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trust-bar {
    padding: 0;
  }

  .trust-item {
    flex-direction: row;
    text-align: left;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  .trust-item:last-child {
    border-bottom: none;
  }

  .trust-item svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .trust-item span {
    font-size: 1.1rem;
  }
}

/* =========================================================================
   Services Section (Hub & Grid)
   ========================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  flex-grow: 1;
}

.service-link {
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link::after {
  content: '→';
  transition: transform var(--transition);
}

.service-card:hover .service-link::after {
  transform: translateX(5px);
}

/* =========================================================================
   Services V2 - Image Card Design
   ========================================================================= */
.services-section {
  background-color: var(--secondary);
}

.services-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card-v2 {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
}

.service-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 61, 46, 0.15);
  border-color: var(--accent);
  color: inherit;
}

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 0;
}

.service-card-v2:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(15, 61, 46, 0.25), transparent);
  pointer-events: none;
}

.service-card-body {
  padding: 1.8rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.service-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.2rem;
}

.service-card-cta {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-dark);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.service-card-v2:hover .service-card-cta {
  color: var(--primary);
  gap: 0.6rem;
}

/* Responsive: Tablet */
@media (max-width: 992px) {
  .services-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Responsive: Mobile */
@media (max-width: 600px) {
  .services-grid-v2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card-img {
    height: 200px;
  }

  .service-card-body {
    padding: 1.5rem;
  }
}

/* =========================================================================
   Meet the Doctor Section
   ========================================================================= */
.meet-doctor-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.meet-doctor-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 78, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Mobile header — hidden on desktop, shown on mobile */
.meet-doctor-mobile-header {
  display: none;
  text-align: center;
  margin-bottom: 2.5rem;
}

.meet-doctor-mobile-header h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0;
}

/* Desktop header — shown on desktop, hidden on mobile */
.meet-doctor-desktop-header {
  display: block;
}

.meet-doctor-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

/* Image Column */
.meet-doctor-image-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.meet-doctor-image-wrapper {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.meet-doctor-accent-frame {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: 0;
  transition: all 0.4s ease;
}

.meet-doctor-image-wrapper:hover .meet-doctor-accent-frame {
  top: -16px;
  left: -16px;
}

.meet-doctor-photo {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(15, 61, 46, 0.18);
  z-index: 1;
  transition: transform 0.4s ease;
}

.meet-doctor-image-wrapper:hover .meet-doctor-photo {
  transform: translateY(-4px);
}

/* Advanced Clinical Certifications */
.meet-doctor-certs {
  width: 100%;
  max-width: 400px;
}

.certs-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-align: center;
}

.cert-badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.3s ease;
}

.cert-badge:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(201, 162, 78, 0.06), var(--white));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cert-badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent-dark);
  flex-shrink: 0;
}

/* Primary qualification badges — visually elevated */
.cert-badge--primary {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(201, 162, 78, 0.1), var(--white));
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  font-weight: 700;
}

.cert-badge--primary svg {
  color: var(--accent);
}

/* Content Column */
.meet-doctor-content-col {
  display: flex;
  flex-direction: column;
}

.meet-doctor-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

.meet-doctor-content-col h2,
.meet-doctor-desktop-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.meet-doctor-quote {
  position: relative;
  padding: 1.5rem 1.8rem;
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.meet-doctor-quote .quote-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 0.5rem;
  display: block;
}

.meet-doctor-quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 0;
}

.meet-doctor-bio {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Credential Badges */
.meet-doctor-credentials {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.3s ease;
}

.credential-badge:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(201, 162, 78, 0.08), var(--white));
  transform: translateY(-2px);
}

.credential-badge svg {
  width: 18px;
  height: 18px;
  color: var(--accent-dark);
  flex-shrink: 0;
}

/* Dual CTA Actions */
.meet-doctor-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.meet-doctor-cta {
  padding: 0.9rem 2rem !important;
  font-size: 1rem !important;
}

/* Responsive: Meet Doctor */
@media (max-width: 992px) {
  .meet-doctor-mobile-header {
    display: block;
  }

  .meet-doctor-desktop-header {
    display: none;
  }

  .meet-doctor-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .meet-doctor-content-col {
    align-items: center;
  }

  .meet-doctor-actions {
    justify-content: center;
  }

  .meet-doctor-credentials {
    justify-content: center;
  }

  .meet-doctor-quote {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .meet-doctor-mobile-header h2 {
    font-size: 1.8rem;
  }

  .meet-doctor-credentials {
    flex-direction: column;
    align-items: center;
  }

  .meet-doctor-accent-frame {
    top: -8px;
    left: -8px;
  }

  .meet-doctor-actions {
    flex-direction: column;
    width: 100%;
  }

  .meet-doctor-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* =========================================================================
   CTA Strip
   ========================================================================= */
.cta-strip {
  background-color: var(--secondary);
  padding: 5rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-strip h2 {
  font-size: 2.5rem;
}

/* =========================================================================
   Contact / Footer
   ========================================================================= */
.main-footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr 1.2fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.footer-col p,
.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.8rem;
  display: block;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}

/* =========================================================================
   Inner Pages (About, Individual Services)
   ========================================================================= */
.page-header {
  background-color: var(--secondary);
  padding: 6rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(2.2rem, 8vw, 3rem);
}

.content-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.rich-content h2 {
  margin-top: 3rem;
}

.rich-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.rich-content li {
  margin-bottom: 0.5rem;
}

.sidebar {
  background: var(--secondary);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.sidebar h3 {
  margin-bottom: 1.5rem;
}

.sidebar-menu li {
  margin-bottom: 1rem;
}

/* =========================================================================
   About Page Strategy Overhaul
   ========================================================================= */
.about-hero {
  background-color: var(--white);
  padding: 6rem 0 4rem;
}

.about-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 5rem;
}

.about-profile-wrapper {
  position: relative;
  text-align: center;
}

.about-profile-wrapper img {
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.about-profile-wrapper::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background-color: var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
}

.about-credentials-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.about-badge {
  background-color: var(--secondary);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.about-badge svg {
  width: 14px;
  height: 14px;
}

.about-intro h1 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-intro h3 {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.philosophy-quote {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-style: italic;
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

/* Background Section */
.about-journey {
  background-color: var(--secondary);
  padding: 5rem 0;
}

.journey-content {
  max-width: 800px;
  margin: 0 auto;
}

.journey-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Special Interests Grid */
.about-specialties {
  padding: 5rem 0;
  background-color: var(--white);
  text-align: center;
}

.about-specialties h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.specialty-card {
  background-color: var(--secondary);
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
  text-align: center;
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.specialty-icon {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-sm);
}

.specialty-icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

.specialty-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
}

/* Eldercare Spotlight */
.eldercare-spotlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.eldercare-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.eldercare-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.eldercare-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.eldercare-badge {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.eldercare-spotlight::after {
  content: '24/7';
  position: absolute;
  right: -5%;
  bottom: -20%;
  font-size: 20rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  z-index: 1;
}

@media (max-width: 992px) {
  .about-hero {
    padding: 0 0 4rem; /* Remove top padding so image sits flush */
  }

  .about-hero-layout {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    gap: 3rem;
  }

  /* Make the about hero image fill the full viewport width edge-to-edge */
  .about-hero .about-profile-wrapper {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: none;
  }

  .about-hero .about-profile-wrapper img {
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    display: block;
  }

  /* Hide the decorative offset accent block on mobile (it relied on rounded corners) */
  .about-hero .about-profile-wrapper::after {
    display: none;
  }
  
  .eldercare-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .philosophy-quote {
    border-left: none;
    border-top: 4px solid var(--accent);
    padding-left: 0;
    padding-top: 1.5rem;
  }

  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-credentials-bar {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  
  .about-intro h1 {
    font-size: 2.2rem;
  }
}

/* =========================================================================
   Floating WhatsApp Button
   ========================================================================= */
.fab-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--whatsapp-green);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: transform var(--transition);
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  color: var(--white);
}

/* =========================================================================
   Responsive Design
   ========================================================================= */
@media (max-width: 992px) {

  .hero .container,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .desktop-nav {
    display: none;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-header-row {
    display: flex;
  }

  header {
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  header .container {
    padding: 0.5rem 1.5rem;
  }

  .logo img {
    height: 60px !important;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-nav {
    top: 100%;
  }

  body {
    padding-top: 0;
  }

  .hero {
    position: relative;
    padding: 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    width: 100%;
  }

  .hero .container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .hero-content {
    position: relative;
    z-index: 10 !important;
    padding: 3rem 1.5rem !important;
    text-align: left;
    width: 100% !important;
    flex: none !important;
    margin: 0 !important;
    background-color: transparent !important;
  }

  .hero-content h1 {
    color: var(--primary) !important;
    font-size: 2.0rem;
    font-weight: 800;
    text-transform: none; /* Desktop Case */
    line-height: 1.1;
    text-shadow: none;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
    max-width: 250px; /* Forces stacking like desktop */
  }

  .hero-content p,
  .hero-tagline {
    color: var(--text-dark) !important;
    text-shadow: none;
    font-size: 1.2rem;
    max-width: 220px; /* Creative stack for description */
    line-height: 1.4;
    margin-bottom: 2rem !important;
  }

  .hero-actions {
    display: flex !important;
    gap: 0.6rem !important;
    width: auto !important;
    max-width: 190px; /* Even tighter alignment */
    margin-top: 1.2rem;
  }

  .hero-actions .btn {
    flex: 1;
    padding: 0.8rem 1rem !important;
    font-size: 0.85rem !important;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    letter-spacing: 0.3px;
  }

  .hero-actions .btn svg {
    width: 16px;
    height: 16px;
  }
  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.3) 35%, transparent 70%);
    z-index: 5 !important;
  }

  .hero-image {
    position: absolute !important;
    top: 0;
    left: auto !important;
    right: -40% !important;
    width: 140% !important;
    height: 100% !important;
    z-index: 1 !important;
    min-height: auto !important;
    flex: none !important;
    margin: 0 !important;
  }

  /* Ultra-Narrow Mobile Optimization */
  @media (max-width: 450px) {
    .hero-image {
      right: -60% !important;
      width: 170% !important;
    }
    .hero-content h1 {
      font-size: 1.65rem;
      max-width: 190px;
    }
    .hero-content p, .hero-tagline {
      max-width: 180px;
      font-size: 1.05rem;
    }
    .hero-actions {
      max-width: 160px;
      margin-top: 0.8rem;
    }
    .hero-actions .btn {
      padding: 0.6rem 0.8rem !important;
      font-size: 0.8rem !important;
    }
  }

  .hero-image img {
    height: 100% !important;
    width: 100% !important;
    object-position: 80% center;
    border-radius: 0;
  }

  .hero-image::before {
    display: none !important;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  /* Centre the footer on mobile */
  .main-footer .footer-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main-footer .footer-col a,
  .main-footer .footer-col p {
    text-align: center;
    width: 100%;
  }

  .main-footer .footer-logo-link {
    display: flex;
    justify-content: center;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .main-footer .footer-logo-link img {
    margin: 0 auto;
  }

  .main-footer .footer-intro p {
    text-align: center;
  }

  .main-footer .footer-contact-line,
  .main-footer .footer-contact-line--top {
    justify-content: center;
    text-align: center;
  }

  .main-footer .footer-contact-line--top {
    align-items: flex-start;
  }

  .main-footer .footer-bottom {
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .main-footer .footer-bottom .footer-legal {
    justify-content: center;
  }
}







/* =========================================================================
   Section Transitions — Patient Journey Visual Flow
   ========================================================================= */

/* Services section has light bg — transition into Meet Doctor */
.services-section {
  border-bottom: none;
}

/* Meet Doctor flows into Why Choose Us via subtle tonal shift */
.meet-doctor-section {
  border-bottom: none;
}

/* CTA Strip — clear visual break with accent top border */
.cta-strip {
  border-top: 3px solid var(--accent);
  border-bottom: none;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--secondary-warm) 100%);
  position: relative;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  display: none; /* the border-top already handles this */
}

/* Footer — premium separation from content */
.main-footer {
  border-top: none;
  position: relative;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1000px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 78, 0.3), transparent);
}

/* =========================================================================
   Footer — Cleaned & SEO-optimised
   ========================================================================= */

/* Footer bottom — clean separation of copyright and credit */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer-bottom .footer-copyright {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.footer-bottom .footer-credit {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.footer-bottom .footer-credit a {
  color: var(--accent);
  display: inline;
}

.footer-bottom .footer-legal {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
}

.footer-bottom .footer-legal a {
  color: var(--accent);
  font-size: 0.85rem;
  display: inline;
}

.footer-bottom .footer-legal a:hover {
  color: var(--white);
}

/* =========================================================================
   Why Choose Us — Premium Redesign
   ========================================================================= */
.wcu-section {
  background: linear-gradient(180deg, var(--secondary) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.wcu-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 61, 46, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.wcu-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 78, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Section Header */
.wcu-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.wcu-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
  position: relative;
  padding: 0 1.5rem;
}

.wcu-label::before,
.wcu-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
}

.wcu-label::before { right: 100%; }
.wcu-label::after { left: 100%; }

.wcu-header .section-title {
  font-size: 2.5rem;
  color: var(--primary);
}

.wcu-header .section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Featured Card — full width hero-style highlight */
.wcu-featured {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 61, 46, 0.2);
}

.wcu-featured::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(201, 162, 78, 0.08);
  pointer-events: none;
}

.wcu-featured::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.wcu-featured-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.wcu-featured-icon svg {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.wcu-featured-content h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.wcu-featured-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 600px;
}

/* Card Grid */
.wcu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Individual Cards */
.wcu-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem 2.5rem;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.wcu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.wcu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 61, 46, 0.12);
  border-color: transparent;
}

.wcu-card:hover::before {
  transform: scaleX(1);
}

/* Card Icon */
.wcu-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 61, 46, 0.08), rgba(15, 61, 46, 0.03));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.4s ease;
}

.wcu-card:hover .wcu-card-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: scale(1.05);
}

.wcu-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.wcu-card:hover .wcu-card-icon svg {
  color: var(--white);
}

/* Card text */
.wcu-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.wcu-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Decorative number */
.wcu-card-number {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(15, 61, 46, 0.04);
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s ease;
}

.wcu-card:hover .wcu-card-number {
  color: rgba(201, 162, 78, 0.1);
}

/* Bottom CTA */
.wcu-bottom-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.wcu-bottom-cta p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Responsive: Tablet */
@media (max-width: 992px) {
  .wcu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wcu-featured {
    padding: 2.5rem;
    gap: 2rem;
  }

  .wcu-header .section-title {
    font-size: 2.2rem;
  }
}

/* Responsive: Mobile */
@media (max-width: 600px) {
  .wcu-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .wcu-featured {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .wcu-featured-content p {
    max-width: 100%;
  }

  .wcu-featured-icon {
    width: 64px;
    height: 64px;
  }

  .wcu-featured-icon svg {
    width: 30px;
    height: 30px;
  }

  .wcu-card {
    padding: 1.8rem 1.5rem 2rem;
  }

  .wcu-header .section-title {
    font-size: 1.8rem;
  }

  .wcu-label {
    font-size: 0.75rem;
  }

  .wcu-label::before,
  .wcu-label::after {
    display: none;
  }

  .wcu-bottom-cta {
    margin-top: 2.5rem;
    padding-top: 2rem;
  }
}



/* =========================================================================
   Contact Page Strategy Overhaul
   ========================================================================= */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: -3rem;
  margin-bottom: 4rem;
}

.contact-action-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-action-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-action-card.primary-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-top: none;
}

.contact-action-card.primary-card h3,
.contact-action-card.primary-card p {
  color: var(--white);
}

.contact-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.primary-card .contact-icon-wrapper {
  background-color: rgba(255,255,255,0.1);
}

.contact-icon-wrapper svg {
  width: 35px;
  height: 35px;
  color: var(--primary);
}

.primary-card .contact-icon-wrapper svg {
  color: var(--white);
}

.contact-action-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-action-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  text-align: left;
  display: inline-block;
}

.contact-list li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-list svg {
  color: var(--accent);
  width: 20px;
  height: 20px;
}

/* Map Section */
.integrated-map-section {
  padding: 5rem 0;
  background-color: var(--secondary);
}

.integrated-map-section .container {
  max-width: 1200px;
}

.map-container {
  width: 100%;
  height: 550px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: var(--white);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-overlay-card {
  position: absolute;
  top: 3rem;
  left: 3rem;
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 350px;
  z-index: 10;
  border-left: 4px solid var(--primary);
}

.map-overlay-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.map-overlay-card p {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .contact-cards-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
  }
  .map-overlay-card {
    position: relative;
    top: auto;
    left: auto;
    max-width: 100%;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
  }
  .map-container {
    height: 400px;
    border-radius: 0;
  }
  .integrated-map-section {
    padding: 3rem 0 0;
  }
}

@media (max-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}



/* =========================================================================
   Premium Services Architecture
   ========================================================================= */

/* Premium Hub Grid (services.html) */
.premium-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 1100px) {
  .premium-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .premium-hub-grid {
    grid-template-columns: 1fr;
  }
}

.premium-service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.premium-service-card.cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  color: var(--white);
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
}

.premium-service-card.cta-card h3 {
  color: var(--white);
  font-size: 1.8rem;
}

.premium-service-card.cta-card p {
  color: rgba(255, 255, 255, 0.9);
}

.premium-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.premium-service-card .img-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.premium-service-card .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.premium-service-card:hover .img-wrapper img {
  transform: scale(1.05);
}

.premium-service-card .content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.premium-service-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.premium-service-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.premium-service-card .btn-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition);
}

.premium-service-card .btn-link::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--transition);
}

.premium-service-card .btn-link:hover {
  color: var(--primary);
}

.premium-service-card .btn-link:hover::after {
  transform: translateX(5px);
}

/* Service Page Full Redesign Architecture */
.premium-service-hero {
  background-color: var(--secondary);
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.premium-service-hero .container {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-text-content {
  flex: 1;
}

.hero-text-content h1 {
  font-size: clamp(2.2rem, 8vw, 3rem);
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.hero-text-content p {
  font-size: 1.25rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 550px;
}

.hero-image-content {
  flex: 1;
  max-width: 50%;
}

.hero-image-content img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 4px solid var(--white);
}

.premium-service-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 2.5rem;
  padding: 5rem 2rem;
}

.premium-service-body h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.premium-service-body h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.premium-service-body p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.modern-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}

.feature-box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform var(--transition);
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-box svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-box p {
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

.credentials-box {
  background: linear-gradient(135deg, rgba(15, 61, 46, 0.05) 0%, rgba(201, 162, 78, 0.06) 100%);
  border-left: 4px solid var(--primary);
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 3rem 0;
  color: var(--primary);
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.credentials-box img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.credentials-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-style: normal;
}

.credentials-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.credentials-role {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.credentials-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.45;
}

.credentials-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.credentials-list li strong {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 600px) {
  .credentials-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem;
  }
  .credentials-list li {
    text-align: left;
  }
}

.sticky-sidebar-wrapper {
  position: sticky;
  top: 100px;
}

.sidebar-nav-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  margin-bottom: 2rem;
  border-top: 4px solid var(--primary);
}

.sidebar-nav-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.sidebar-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav-list li {
  margin-bottom: 0.5rem;
}

.sidebar-nav-list a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-weight: 500;
  background-color: rgba(0,0,0,0.02);
}

.sidebar-nav-list a:hover,
.sidebar-nav-list a.active {
  background-color: var(--primary);
  color: var(--white);
  padding-left: 1.5rem;
}

.sidebar-contact-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.sidebar-contact-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.sidebar-contact-card p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.seo-location-strip {
  background-color: var(--secondary);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.seo-location-strip p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

@media (max-width: 992px) {
  .premium-service-hero .container {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }
  .hero-image-content {
    max-width: 100%;
    order: -1; 
  }
  .hero-text-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }
  .premium-service-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sticky-sidebar-wrapper {
    position: relative;
    top: 0;
  }
}

/* Additional Services List Styles */
.additional-services-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 1100px) {
    .additional-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .additional-services-grid {
        grid-template-columns: 1fr;
    }
}

.additional-service-item {
    background: var(--secondary);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.additional-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15, 61, 46, 0.08), rgba(201, 162, 78, 0.10));
    color: var(--primary);
    border: 1px solid rgba(15, 61, 46, 0.10);
}

.additional-service-icon svg {
    width: 30px;
    height: 30px;
}

/* Footer contact lines with inline SVG icons */
.footer-contact-line {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    line-height: 1.5;
}

.footer-contact-line--top {
    align-items: flex-start;
}

.footer-contact-line--top .contact-icon {
    margin-top: 0.25rem;
}

.contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--accent);
}

/* Mobile toggle hamburger SVG */
.mobile-toggle svg {
    width: 28px;
    height: 28px;
    display: block;
}

.additional-service-item h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.additional-service-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

.contact-hint {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* =========================================================================
   Premium Brand Refinements (Forest Green + Gold)
   ========================================================================= */

/* Footer logo — transparent integration on dark background */
.footer-logo-link {
  margin-bottom: 1.5rem;
  display: inline-block;
}
.footer-logo-link img {
  height: 75px;
  width: auto;
  display: block;
  filter: brightness(1.05) drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}

/* Footer intro paragraphs — refined typography */
.footer-intro {
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
}
.footer-intro p {
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.82);
}
.footer-intro p:first-child {
  font-weight: 600;
  color: var(--white);
  font-size: 1.02rem;
}
.footer-intro p:last-child {
  margin-bottom: 0;
}

/* Footer practice number badge */
.footer-practice-no {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(201, 162, 78, 0.4);
  border-radius: 50px;
  background: rgba(201, 162, 78, 0.06);
}

/* =========================================================================
   Dispensing Licence Banner (homepage + services hub)
   ========================================================================= */
.dispensing-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--secondary) 100%);
}

.dispensing-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--white);
  padding: 3rem 3.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 61, 46, 0.22);
  border: 1px solid rgba(201, 162, 78, 0.25);
}

.dispensing-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 78, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.dispensing-icon {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(201, 162, 78, 0.18), rgba(201, 162, 78, 0.05));
  border: 1.5px solid rgba(201, 162, 78, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dispensing-icon svg {
  width: 38px;
  height: 38px;
  color: var(--accent-light);
}

.dispensing-content {
  position: relative;
  z-index: 2;
}

.dispensing-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.dispensing-content h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.dispensing-content p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 0.6rem;
  max-width: 640px;
  font-size: 1rem;
}

.dispensing-content p:last-child {
  margin-bottom: 0;
}

.dispensing-tagline {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(201, 162, 78, 0.5);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(201, 162, 78, 0.05);
}

.dispensing-compliance {
  position: relative;
  z-index: 2;
  max-width: 220px;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.dispensing-compliance h4 {
  color: var(--accent-light);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.dispensing-compliance p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 992px) {
  .dispensing-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 1.75rem;
    gap: 1.5rem;
  }
  .dispensing-icon {
    margin: 0 auto;
  }
  .dispensing-compliance {
    max-width: 100%;
    text-align: left;
  }
  .dispensing-content h3 {
    font-size: 1.3rem;
  }
}

/* =========================================================================
   IV Therapy Advance Booking Note
   ========================================================================= */
.advance-booking-note {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(201, 162, 78, 0.10), rgba(201, 162, 78, 0.03));
  border: 1px solid rgba(201, 162, 78, 0.35);
  border-left: 4px solid var(--accent);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  margin: 2rem 0 2.5rem;
}

.advance-booking-note svg {
  width: 26px;
  height: 26px;
  color: var(--accent-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.advance-booking-note .note-body {
  flex: 1;
}

.advance-booking-note strong {
  display: block;
  color: var(--primary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
}

.advance-booking-note p {
  margin: 0;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================================================================
   Upcoming Initiative Treatment (Eldercare24/7)
   ========================================================================= */
.upcoming-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-deep);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-left: 0.6rem;
  vertical-align: middle;
}

.eldercare-content .btn-coming-soon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid var(--accent);
  cursor: default;
  pointer-events: none;
}

.eldercare-content .btn-coming-soon:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: none;
}

/* =========================================================================
   About Page — Detailed Founder Bio Sections
   ========================================================================= */
.about-detailed {
  padding: 5rem 0;
  background: var(--white);
}

.about-detailed-inner {
  max-width: 820px;
  margin: 0 auto;
}

.about-detailed h2 {
  font-size: 1.85rem;
  color: var(--primary);
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.about-detailed h2:first-child {
  margin-top: 0;
}

.about-detailed h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 2px;
}

.about-detailed p {
  font-size: 1.08rem;
  color: var(--text-dark);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.about-detailed ul.about-bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
}

.about-detailed ul.about-bullets li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.65;
}

.about-detailed ul.about-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 0 0 3px rgba(201, 162, 78, 0.15);
}

.about-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 78, 0.4), transparent);
  margin: 3rem 0;
  border: none;
}

.about-detailed-quote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--secondary);
  border-left: 4px solid var(--accent);
  padding: 1.6rem 1.8rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.about-vision-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--white);
  padding: 2.5rem 2.8rem;
  border-radius: var(--radius-lg);
  margin: 2.5rem 0;
  border: 1px solid rgba(201, 162, 78, 0.25);
  box-shadow: 0 24px 50px rgba(15, 61, 46, 0.18);
  position: relative;
  overflow: hidden;
}

.about-vision-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 78, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about-vision-card h3 {
  color: var(--accent-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  position: relative;
}

.about-vision-card p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.18rem;
  line-height: 1.75;
  margin-bottom: 0;
  position: relative;
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-detailed {
    padding: 3.5rem 0;
  }
  .about-detailed h2 {
    font-size: 1.55rem;
    margin-top: 2.5rem;
  }
  .about-detailed p {
    font-size: 1rem;
  }
  .about-detailed-quote {
    font-size: 1.05rem;
    padding: 1.3rem 1.4rem;
  }
  .about-vision-card {
    padding: 2rem 1.6rem;
  }
  .about-vision-card p {
    font-size: 1.05rem;
  }
}

/* =========================================================================
   Mobile spacing for the homepage intro / hero copy
   ========================================================================= */
@media (max-width: 600px) {
  .hero-content p {
    line-height: 1.7;
  }
  .footer-intro p {
    line-height: 1.7;
    margin-bottom: 1.1rem;
  }
}

/* =========================================================================
   Footer Credentials Block
   ========================================================================= */
.footer-credentials {
  color: var(--accent);
  margin: 0.5rem 0;
  text-align: center;
}

.footer-credentials .cred-sep {
  color: var(--white);
  margin: 0 0.5rem;
}

@media (max-width: 600px) {
  .footer-credentials .cred-item {
    display: block;
    margin-bottom: 0.2rem;
  }
  .footer-credentials .cred-sep {
    display: none !important;
  }
}


/* =========================================================================
   REBUILT NAVIGATION SYSTEM
   ========================================================================= */
.main-header {
  position: sticky;
  top: -1px; /* guarantees pixel-perfect sticky locking */
  z-index: 9999;
  background-color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding: 0 1.5rem;
}

.logo img {
  height: 75px;
  width: auto;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li > a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 2.2rem 0; /* Ensures full height hover area */
  display: block;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--primary);
}

.dropdown-container {
  position: relative;
}

.dropdown-pane {
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  min-width: 280px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-top: 3px solid var(--accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none; /* Immune to ghost hover initially */
}

/* The magic hover mechanic */
.dropdown-container:hover .dropdown-pane {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto; 
}

.dropdown-pane ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.dropdown-pane ul li a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease;
}

.dropdown-pane ul li:last-child a {
  border-bottom: none;
}

.dropdown-pane ul li a:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.5rem 1.2rem !important;
  font-size: 0.95rem !important;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Drawer (Fully explicit logic avoids any overlap) */
.mobile-drawer {
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  height: calc(100vh - 90px);
  background-color: var(--white);
  z-index: 9998;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-inner {
  padding: 2rem;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-list > li > a,
.mobile-dropdown-btn {
  display: block;
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 500;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.5rem 0;
  cursor: pointer;
}

.mobile-dropdown-pane {
  display: none;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  flex-direction: column;
  gap: 0.8rem;
  border-left: 2px solid var(--accent);
}

.mobile-dropdown-pane.is-open {
  display: flex;
}

.mobile-dropdown-pane a {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Overrides for mobile sizing */
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: block; }
  .header-container { height: 85px; }
  .logo img { height: 80px; }
  .mobile-drawer { top: 85px; height: calc(100vh - 85px); }
}

@media (max-width: 768px) {
  .header-container { padding: 0 1rem; height: 75px; }
  .logo img { height: 70px; }
  .mobile-drawer { top: 75px; height: calc(100vh - 75px); }
  .header-actions .btn { padding: 0.4rem 0.8rem !important; font-size: 0.85rem !important; }
}

@media (max-width: 480px) {
  .header-container { padding: 0 0.8rem; height: 65px;}
  .header-actions .btn { padding: 0.3rem 0.6rem !important; font-size: 0.75rem !important; }
  .logo img { height: 60px; }
  .mobile-drawer { top: 65px; height: calc(100vh - 65px); }
}

.fab-whatsapp {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-whatsapp.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
