/* ==========================================================================
   HARVILAH HEALTHCARE SERVICES LTD - OFFICIAL STYLESHEET
   Brand Identity: Deep Blue (#0a254c / #0d2e5c) with Gold Accents (#c89e37 / #d4af37)
   Modern Healthcare Layout inspired by layout.webp
   100% Mobile Responsive
   ========================================================================== */

:root {
  /* Brand Palette: Deep Blue & Gold */
  --primary-900: #051428;
  --primary-800: #0a254c;
  --primary-700: #0d2e5c;  /* Main Primary Deep Blue */
  --primary-600: #123d77;
  --primary-500: #1b4f93;
  --primary-100: #e8f0fc;
  --primary-50:  #f2f6fd;

  --gold-800: #856317;
  --gold-700: #a47d1f;
  --gold-600: #be922a;
  --gold-500: #c89e37;   /* Main Brand Gold Accent */
  --gold-400: #d8af47;
  --gold-300: #e8c76b;
  --gold-200: #f4dc96;
  --gold-100: #fbf5df;
  --gold-50:  #fdfbf3;

  /* Card Pastel Accents (from layout.webp) */
  --card-mint:     #e3f4eb;
  --card-cyan:     #e0f2fe;
  --card-peach:    #fef3c7;
  --card-lavender: #f3e8ff;
  --card-cream:    #fffbeb;

  /* Neutral Surface & Typography */
  --bg-page:     #fcfbf8;
  --bg-white:    #ffffff;
  --bg-subtle:   #f7f9fb;
  --text-dark:   #0d1726;
  --text-slate:  #334155;
  --text-muted:  #5f6e82;
  --text-light:  #94a3b8;
  --border-light: rgba(13, 46, 92, 0.08);
  --border-card:  rgba(13, 46, 92, 0.06);

  /* Elevation Shadows */
  --shadow-xs: 0 1px 3px rgba(10, 37, 76, 0.04);
  --shadow-sm: 0 4px 12px rgba(10, 37, 76, 0.05);
  --shadow-md: 0 10px 25px rgba(10, 37, 76, 0.08);
  --shadow-lg: 0 20px 40px rgba(10, 37, 76, 0.12);
  --shadow-gold: 0 10px 25px rgba(200, 158, 55, 0.25);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-slate);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ==========================================================================
   TOP NOTIFICATION BAR
   ========================================================================== */
.topbar {
  background: var(--primary-900);
  color: #d1dcfa;
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
}

.topbar-item svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

.topbar-badge {
  background: rgba(200, 158, 55, 0.2);
  color: var(--gold-300);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px solid rgba(200, 158, 55, 0.3);
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-socials a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
}

.topbar-socials a:hover {
  background: var(--gold-500);
  color: var(--primary-900);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .topbar-wrapper {
    justify-content: center;
    text-align: center;
  }
  .topbar-socials {
    display: none;
  }
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.logo-wrapper:hover .brand-logo {
  transform: scale(1.02);
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-slate);
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-500);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-700);
  font-weight: 600;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  text-align: center;
}

.btn-primary {
  background: var(--primary-700);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 46, 92, 0.25);
}

.btn-primary:hover {
  background: var(--primary-800);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 46, 92, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--primary-900);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(200, 158, 55, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary-700);
  color: var(--primary-700);
}

.btn-outline:hover {
  background: var(--primary-50);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary-700);
}

.mobile-nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: #ffffff;
  z-index: 1100;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right var(--transition-slow);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 76, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-slate);
}

.drawer-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.drawer-nav a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 0;
  display: block;
}

.drawer-nav a.active {
  color: var(--primary-700);
}

.drawer-contact {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* ==========================================================================
   HERO SECTION (Matching layout.webp & User Video)
   ========================================================================== */
.hero-section {
  padding: 48px 0 64px;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  color: var(--gold-800);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary-900);
  letter-spacing: -0.5px;
}

.hero-title span.highlight {
  position: relative;
  color: var(--primary-700);
  display: inline-block;
}

.hero-title span.highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--gold-200);
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Floating Metrics row inside Hero */
.hero-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.metric-card-gold {
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition-base);
}

.metric-card-gold:hover {
  transform: translateY(-3px);
}

.metric-number-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary-900);
  line-height: 1;
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-800);
  line-height: 1.3;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -8px;
  object-fit: cover;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.avatar-more {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-500);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  margin-left: -8px;
}

.metric-card-white {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-base);
}

.metric-card-white:hover {
  transform: translateY(-3px);
}

.metric-card-white .metric-number {
  color: var(--primary-700);
}

.metric-card-white .metric-label {
  color: var(--text-slate);
}

/* Hero Visual Column (Right) - Holds elderly-1.mp4 Video */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #ffffff;
  background: #000000;
}

.hero-main-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transition: transform var(--transition-slow);
}

.hero-main-card video,
.hero-main-card .hero-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transform: scale(1.34);
  transition: transform var(--transition-slow);
}

.hero-main-card:hover video {
  transform: scale(1.38);
}

/* Video Interactive Control Buttons */
.hero-video-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-video-btn {
  background: rgba(10, 37, 76, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-fast);
}

.hero-video-btn:hover {
  background: var(--gold-500);
  color: var(--primary-900);
  transform: scale(1.08);
  border-color: var(--gold-300);
}

/* Circular Floating Explore Badge (from layout.webp) */
.explore-badge {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-900);
  z-index: 10;
  border: 2px dashed var(--gold-400);
  transition: transform var(--transition-base);
}

.explore-badge:hover {
  transform: rotate(15deg) scale(1.05);
}

.explore-badge svg {
  color: var(--gold-600);
  margin-top: 2px;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-main-card {
    max-width: 100%;
    height: 380px;
  }
  .explore-badge {
    top: 10px;
    left: 10px;
    width: 90px;
    height: 90px;
    font-size: 0.75rem;
  }
}

@media (max-width: 540px) {
  .hero-metrics-row {
    grid-template-columns: 1fr;
  }
  .hero-main-card {
    height: 300px;
  }
}

/* ==========================================================================
   FOUR BENTO HIGHLIGHT CARDS (Directly under Hero, from layout.webp)
   ========================================================================== */
.bento-highlights {
  padding: 32px 0 64px;
}

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

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

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

.bento-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 76, 0.1) 0%, rgba(5, 20, 40, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #ffffff;
}

.bento-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

.bento-card-sub {
  font-size: 0.8rem;
  color: var(--gold-300);
  margin-top: 4px;
}

.bento-arrow-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.bento-card:hover .bento-arrow-btn {
  background: var(--gold-500);
  color: #ffffff;
  transform: scale(1.1);
}

/* Gradient Testimonial Bento Card (from layout.webp) */
.bento-card-testimonial {
  background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 50%, #eff6ff 100%);
  border: 1px solid rgba(200, 158, 55, 0.2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.testimonial-source {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-700);
  letter-spacing: 0.5px;
}

.quote-icon {
  color: var(--gold-500);
  font-size: 1.5rem;
  line-height: 1;
}

.testimonial-quote-text {
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.5;
  margin: 12px 0;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-rating {
  color: var(--gold-500);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.author-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-900);
}

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

@media (max-width: 540px) {
  .bento-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SERVICES SECTION ("Discover Our Range of Compassionate Home Care Services")
   ========================================================================== */
.services-section {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.section-title-large {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 700;
  color: var(--primary-900);
  line-height: 1.2;
}

.section-subtitle-block {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-subtitle-block p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* 4 Column Pastel Cards (from layout.webp) */
.services-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-vcard {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-vcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Card Header Colors */
.service-vcard.mint .vcard-header { background: var(--card-mint); }
.service-vcard.cyan .vcard-header { background: var(--card-cyan); }
.service-vcard.peach .vcard-header { background: var(--card-peach); }
.service-vcard.lavender .vcard-header { background: var(--card-lavender); }
.service-vcard.cream .vcard-header { background: var(--card-cream); }

.vcard-header {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.vcard-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-900);
  line-height: 1.25;
}

.vcard-desc {
  font-size: 0.875rem;
  color: var(--text-slate);
  line-height: 1.5;
}

.vcard-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.vcard-tag-pill {
  font-size: 0.725rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.8);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  color: var(--primary-900);
}

.vcard-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #eaeaea;
}

.vcard-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.service-vcard:hover .vcard-image img {
  transform: scale(1.05);
}

.vcard-footer {
  padding: 16px 24px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vcard-learn-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vcard-learn-btn:hover {
  color: var(--gold-600);
}

@media (max-width: 1200px) {
  .services-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   IMPORTANT INFORMATION SECTION (Layout right column from layout.webp)
   ========================================================================== */
.info-section {
  padding: 80px 0;
  background: var(--bg-page);
}

.info-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.info-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  color: var(--primary-900);
  margin-bottom: 12px;
}

.info-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.info-bento-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.info-left-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 90.5% Stat Card with warm tint (from layout.webp) */
.info-stat-card {
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-tag-row {
  display: flex;
  gap: 8px;
}

.info-stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-900);
  line-height: 1;
}

.info-stat-text {
  font-size: 0.95rem;
  color: var(--primary-900);
  line-height: 1.6;
}

.info-secondary-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.info-secondary-card .card-text {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.info-secondary-card .card-image {
  height: 100%;
  min-height: 200px;
}

.info-secondary-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right Doctor/Carer Card (from layout.webp) */
.info-profile-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.profile-card-image {
  height: 380px;
  position: relative;
}

.profile-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-900);
}

.profile-card-desc {
  font-size: 0.925rem;
  color: var(--text-slate);
}

@media (max-width: 900px) {
  .info-bento-grid {
    grid-template-columns: 1fr;
  }
  .info-secondary-card {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SUPPORT ANYTIME, ANYWHERE SECTION (from layout.webp)
   ========================================================================== */
.support-section {
  padding: 80px 0;
  background: #ffffff;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.support-visual-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.support-visual-bento img {
  border-radius: var(--radius-lg);
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.support-visual-bento img:first-child {
  height: 320px;
  grid-row: span 2;
}

.support-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.support-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.support-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-weight: 600;
  color: var(--primary-900);
  transition: all var(--transition-fast);
}

.support-feature-item:hover {
  background: #ffffff;
  border-color: var(--gold-400);
  transform: translateX(4px);
  box-shadow: var(--shadow-xs);
}

.feature-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Quick Appointment Yellow Box */
.support-cta-box {
  background: var(--gold-100);
  border: 1px solid var(--gold-300);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.support-cta-text h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary-900);
}

.support-cta-text p {
  font-size: 0.875rem;
  color: var(--gold-800);
}

@media (max-width: 992px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   REACH OUT / HIGH IMPACT CTA BANNER (from layout.webp)
   ========================================================================== */
.reachout-section {
  padding: 40px 0 80px;
}

.reachout-banner {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 50%, var(--primary-700) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.reachout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.reachout-content {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reachout-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.reachout-desc {
  font-size: 1.05rem;
  color: #d1dcfa;
  max-width: 520px;
  line-height: 1.6;
}

.reachout-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.reachout-image {
  height: 100%;
  min-height: 380px;
  position: relative;
}

.reachout-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .reachout-grid {
    grid-template-columns: 1fr;
  }
  .reachout-content {
    padding: 36px 24px;
  }
  .reachout-image {
    min-height: 260px;
    order: -1;
  }
}

/* ==========================================================================
   DEDICATED COMPLAINTS & QUALITY POLICY CALLOUT
   ========================================================================== */
.complaints-callout-section {
  padding: 40px 0;
  background: var(--bg-page);
}

.complaints-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.complaints-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 4px;
}

.complaints-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 720px;
}

.complaints-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-700);
}

.complaints-email-badge:hover {
  border-color: var(--gold-500);
  color: var(--gold-700);
}

/* ==========================================================================
   PAGE HERO (For About, Services, Contact subpages)
   ========================================================================== */
.subpage-hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.subpage-hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--primary-700);
}

.subpage-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 16px;
}

.subpage-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */
.contact-layout {
  padding: 64px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-base);
}

.contact-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon.gold {
  background: var(--gold-100);
  color: var(--gold-700);
}

.contact-card-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 4px;
}

.contact-card-text p, .contact-card-text a {
  color: var(--text-slate);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-900);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #ffffff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-700);
  box-shadow: 0 0 0 3px rgba(13, 46, 92, 0.12);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-group-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 24px;
  }
}

/* ==========================================================================
   FOOTER (Comprehensive Matching layout.webp)
   ========================================================================== */
.site-footer {
  background: var(--primary-900);
  color: #cbd5e1;
  padding: 72px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: 40px;
  margin-bottom: 48px;
}

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

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

.footer-tagline {
  font-size: 0.925rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 320px;
}

.footer-reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gold-300);
  background: rgba(200, 158, 55, 0.15);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200, 158, 55, 0.25);
  width: fit-content;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-contact-item svg {
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-newsletter p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 0.875rem;
  flex: 1;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--gold-400);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--gold-500);
  color: var(--primary-900);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.825rem;
  color: #64748b;
  padding-right: 150px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--gold-400);
}

@media (max-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   INTERACTIVE BOOKING MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 76, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 36px;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-slate);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--primary-100);
  color: var(--primary-900);
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--primary-900);
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Alert Notification Banner */
.alert-box {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: none;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}


/* ==========================================================================
   FLOATING WHATSAPP LIVE CHAT & PAGE UP BUTTONS
   ========================================================================== */

/* WhatsApp Floating Button */
.whatsapp-livechat-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1020;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: all var(--transition-base);
  text-decoration: none;
}

.whatsapp-livechat-btn:hover {
  background: #20ba5a;
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: wa-pulse 2s infinite ease-out;
}

@keyframes wa-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Floating Page Up Button */
.floating-page-up-btn {
  position: fixed;
  bottom: 86px;
  right: 26px;
  z-index: 1010;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-800);
  border: 2px solid var(--gold-400);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(10, 37, 76, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-base);
}

.floating-page-up-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-page-up-btn:hover {
  background: var(--gold-500);
  color: var(--primary-900);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* Footer Page Up Button */
.btn-page-up {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(200, 158, 55, 0.4);
  color: var(--gold-300);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-page-up:hover {
  background: var(--gold-500);
  color: var(--primary-900);
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Responsive adjustments for mobile */
@media (max-width: 640px) {
  .whatsapp-livechat-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    width: 52px;
    height: 52px;
    justify-content: center;
  }
  
  .whatsapp-label {
    display: none;
  }
  
  .floating-page-up-btn {
    bottom: 82px;
    right: 24px;
    width: 42px;
    height: 42px;
  }
  
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-right: 0;
    padding-bottom: 80px;
  }
}
