/*
Theme Name: Sakkhi Multispeciality Hospital
Theme URI: https://sakkhimultispecialityhospital.com
Author: Antigravity Medical Theme Design Team
Author URI: https://sakkhimultispecialityhospital.com
Description: Production-ready, accessible, mobile-first WordPress theme for Sakkhi Multispeciality Hospital, Pimple Gurav, Pimpri-Chinchwad, Pune. Specializing in Emergency & ICU Care, Laparoscopic Surgery, Maternity Care & Normal Delivery, and Comprehensive Women's Health.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sakkhi-hospital
Tags: medical, hospital, healthcare, clinic, responsive-layout, custom-menu, featured-images, customizer, translation-ready
*/

/* ==========================================================================
   1. CSS Custom Properties / Design Tokens
   ========================================================================== */
:root {
  --primary: #0e7490;
  --primary-hover: #155e75;
  --primary-dark: #083344;
  --primary-light: #f0fdfa;
  --primary-subtle: #ccfbf1;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-light: #e0f2fe;
  --secondary: #059669;
  --secondary-hover: #047857;
  --secondary-light: #ecfdf5;
  --emergency: #dc2626;
  --emergency-hover: #b91c1c;
  --emergency-light: #fef2f2;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  --bg-body: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-focus: #0e7490;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1240px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. Reset & Base Typography
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

a:hover, a:focus {
  color: var(--primary-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw + 0.75rem, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background-color: var(--primary-subtle);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-badge.emergency-badge {
  background-color: var(--emergency-light);
  color: var(--emergency);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(14, 116, 144, 0.25);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-hover);
  color: var(--text-white);
  box-shadow: 0 6px 16px rgba(14, 116, 144, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--accent-light);
  color: var(--accent);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--accent);
  color: var(--text-white);
  transform: translateY(-2px);
}

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

.btn-outline:hover, .btn-outline:focus {
  background-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-emergency {
  background-color: var(--emergency);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-emergency:hover, .btn-emergency:focus {
  background-color: var(--emergency-hover);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover, .btn-whatsapp:focus {
  background-color: #1eb956;
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 1000;
  background-color: var(--bg-body);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.is-sticky {
  position: sticky;
  top: 0;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.35s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* Header Top Bar */
.header-topbar {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

.topbar-item a {
  color: #e2e8f0;
}

.topbar-item a:hover {
  color: #38bdf8;
}

.topbar-emergency {
  background: var(--emergency);
  color: #ffffff;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-emergency a {
  color: #ffffff;
}

/* Main Navigation Bar */
.header-main {
  padding: 1rem 0;
}

.header-main-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.hospital-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hospital-symbol {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(14, 116, 144, 0.3);
  flex-shrink: 0;
}

.hospital-text-logo {
  display: flex;
  flex-direction: column;
}

.hospital-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hospital-tagline {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Desktop Navigation Menu */
.primary-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.primary-nav-menu > li {
  position: relative;
}

.primary-nav-menu a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.primary-nav-menu a:hover,
.primary-nav-menu .current-menu-item > a,
.primary-nav-menu .current-menu-ancestor > a {
  color: var(--primary);
}

/* Dropdown styling */
.primary-nav-menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: var(--transition);
}

.primary-nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  min-width: 250px;
  padding: 0.6rem 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.primary-nav-menu li:hover > .sub-menu,
.primary-nav-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav-menu .sub-menu li a {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  display: block;
}

.primary-nav-menu .sub-menu li a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 1.5rem;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.phone-icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-text-meta {
  display: flex;
  flex-direction: column;
}

.phone-text-meta .label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.phone-text-meta .number {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
  width: 44px;
  height: 44px;
  position: relative;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle .hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  position: relative;
  transition: var(--transition);
}

.mobile-nav-toggle .hamburger-bar::before,
.mobile-nav-toggle .hamburger-bar::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  left: 0;
  transition: var(--transition);
}

.mobile-nav-toggle .hamburger-bar::before { top: -7px; }
.mobile-nav-toggle .hamburger-bar::after { top: 7px; }

.mobile-nav-toggle[aria-expanded="true"] .hamburger-bar {
  background-color: transparent;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-bar::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-bar::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--bg-card);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.is-active {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer .primary-nav-menu {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.mobile-nav-drawer .primary-nav-menu .sub-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  background-color: var(--bg-alt);
  padding: 0.5rem 0.5rem;
  width: 100%;
  border-radius: var(--radius-sm);
  display: none;
}

.mobile-nav-drawer .primary-nav-menu .sub-menu.is-open {
  display: block;
}

.mobile-nav-drawer .mobile-cta-box {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f8fafc 100%);
  padding: 4.5rem 0 4rem 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  margin-bottom: 1.25rem;
  color: var(--primary-dark);
}

.hero-title span {
  color: var(--primary);
  position: relative;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-features-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.hero-features-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-features-list li svg {
  color: var(--secondary);
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 8px solid #ffffff;
  background-color: #ffffff;
}

.hero-image-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

/* Floating Trust Cards */
.hero-badge-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
}

.badge-card-rating {
  top: 10%;
  left: -20px;
}

.badge-card-emergency {
  bottom: 8%;
  right: -20px;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon.gold {
  background-color: #fef3c7;
  color: #d97706;
}

.badge-icon.red {
  background-color: var(--emergency-light);
  color: var(--emergency);
}

.badge-text .title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.badge-text .subtitle {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================================
   5. Quick Info Cards Bar
   ========================================================================== */
.quick-info-section {
  position: relative;
  margin-top: -2.5rem;
  z-index: 10;
  margin-bottom: 4rem;
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.quick-card {
  background-color: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-subtle);
}

.quick-card.emergency-card {
  background: linear-gradient(135deg, var(--emergency) 0%, #b91c1c 100%);
  color: #ffffff;
  border: none;
}

.quick-card.emergency-card h3,
.quick-card.emergency-card p,
.quick-card.emergency-card a {
  color: #ffffff;
}

.quick-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emergency-card .quick-card-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.quick-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.quick-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   6. About Us Section
   ========================================================================== */
.about-section {
  padding: 4.5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: var(--primary-dark);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  text-align: center;
  max-width: 170px;
}

.about-experience-badge .years {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
}

.about-experience-badge .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
  line-height: 1.3;
}

.about-content .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.highlight-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.highlight-text p {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   7. Treatments & Services Section
   ========================================================================== */
.treatments-section {
  padding: 5rem 0;
  background-color: var(--bg-alt);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.treatment-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.treatment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: var(--transition);
}

.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-subtle);
}

.treatment-card:hover::before {
  opacity: 1;
}

.treatment-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.treatment-card:hover .treatment-icon-wrap {
  background-color: var(--primary);
  color: #ffffff;
  transform: scale(1.05);
}

.treatment-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.treatment-card-title a {
  color: var(--text-main);
}

.treatment-card-title a:hover {
  color: var(--primary);
}

.treatment-card-excerpt {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.treatment-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.treatment-card-link:hover {
  gap: 0.65rem;
  color: var(--primary-hover);
}

.treatments-footer-cta {
  text-align: center;
}

/* ==========================================================================
   8. Stats Counter Section
   ========================================================================== */
.stats-section {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0c4a6e 100%);
  color: #ffffff;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem 1rem;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

.stat-number-wrap {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* ==========================================================================
   9. Why Choose Us Section
   ========================================================================== */
.why-choose-section {
  padding: 5rem 0;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-feature-card {
  padding: 2rem;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.why-feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.why-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.why-feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Accreditations Bar */
.accreditations-bar {
  margin-top: 3.5rem;
  padding: 1.5rem 2rem;
  background-color: var(--bg-alt);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  border: 1px dashed var(--border);
}

.accreditation-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.accreditation-pill svg {
  color: var(--secondary);
}

/* ==========================================================================
   10. Team Section
   ========================================================================== */
.team-section {
  padding: 5rem 0;
  background-color: var(--bg-alt);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.team-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.team-photo-wrap {
  position: relative;
  overflow: hidden;
  background-color: #e2e8f0;
  height: 280px;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-photo-wrap img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team-name {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.team-designation {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-qualifications {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.team-card-actions {
  margin-top: auto;
}

/* ==========================================================================
   11. FAQ Accordion Section
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
}

.faq-container-narrow {
  max-width: 860px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.is-active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-question-btn:hover {
  color: var(--primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.is-active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer-panel {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.is-active .faq-answer-panel {
  display: block;
}

/* ==========================================================================
   12. Testimonials & Video Reviews Section
   ========================================================================== */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.testimonial-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: #f59e0b;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.author-meta .name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.author-meta .treatment-tag {
  font-size: 0.775rem;
  color: var(--primary);
}

/* Video Testimonials Grid */
.video-testimonials-heading {
  text-align: center;
  margin: 3rem 0 2rem 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: #000;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: var(--transition);
}

.video-card:hover img {
  opacity: 0.7;
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--emergency);
}

.video-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Video Modal */
.video-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-modal-backdrop.is-open {
  display: flex;
}

.video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-modal-dialog iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   13. Appointment CTA Banner
   ========================================================================== */
.appointment-banner {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.banner-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.banner-title {
  color: #ffffff;
  margin-bottom: 1rem;
}

.banner-text {
  font-size: 1.15rem;
  color: #e0f2fe;
  margin-bottom: 2rem;
}

.banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer {
  background-color: #091e2b;
  color: #94a3b8;
  padding-top: 4.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1.1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-widget-title {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-sm);
}

.footer-brand .hospital-name {
  color: #ffffff;
}

.footer-brand .hospital-tagline {
  color: #38bdf8;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list li a {
  color: #94a3b8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links-list li a:hover {
  color: #38bdf8;
  padding-left: 0.35rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-item a {
  color: #cbd5e1;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-map-embed {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 140px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

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

.social-icon-link:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-bottom-links a {
  color: #64748b;
}

.footer-bottom-links a:hover {
  color: #cbd5e1;
}

/* ==========================================================================
   15. Floating Action & Mobile Sticky Bar
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9990;
  transition: var(--transition);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.6;
  animation: pulseEffect 2s infinite;
  z-index: -1;
}

@keyframes pulseEffect {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Mobile Sticky Action Bar */
.mobile-sticky-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 9980;
  padding: 0.65rem 1rem;
}

.mobile-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 0.5rem;
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  gap: 0.2rem;
}

.mobile-bar-call {
  background-color: var(--emergency-light);
  color: var(--emergency);
}

.mobile-bar-whatsapp {
  background-color: #e8f8ed;
  color: #1eb956;
}

.mobile-bar-book {
  background-color: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   16. Page Templates: About, Treatments, Gallery, Contact, Single
   ========================================================================== */
.page-hero-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0e7490 100%);
  color: #ffffff;
  padding: 4.5rem 0 3.5rem 0;
  position: relative;
}

.page-hero-title {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.breadcrumb-trail a {
  color: #38bdf8;
}

.breadcrumb-trail .separator {
  color: #64748b;
}

/* Treatment Single Page */
.treatment-single-layout {
  padding: 4rem 0;
}

.treatment-layout-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 3.5rem;
}

.treatment-main-content article {
  font-size: 1.05rem;
  line-height: 1.75;
}

.treatment-main-content h2,
.treatment-main-content h3 {
  margin-top: 2rem;
}

.treatment-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.treatment-sidebar-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
  margin-bottom: 2rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3.5rem 0;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

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

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 116, 144, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #ffffff;
  padding: 1rem;
  text-align: center;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* Gallery Lightbox */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.is-active {
  display: flex;
}

.lightbox-modal img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* Contact Page Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  padding: 4rem 0;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-box {
  background-color: var(--bg-alt);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-form-panel {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.contact-form-panel .form-group {
  margin-bottom: 1.25rem;
}

.contact-form-panel label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-form-panel input:focus,
.contact-form-panel select:focus,
.contact-form-panel textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.15);
}

/* Standard WP Content Formatting */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3 {
  margin: 2rem 0 1rem 0;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

/* ==========================================================================
   17. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .quick-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .treatment-layout-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-topbar {
    display: none;
  }
  .primary-nav-menu,
  .header-actions .header-phone-box {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .mobile-nav-drawer {
    display: block;
  }
  .hero-section {
    padding: 3rem 0 2rem 0;
  }
  .quick-info-section {
    margin-top: 0;
  }
  .quick-info-grid {
    grid-template-columns: 1fr;
  }
  .treatments-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .badge-card-rating {
    left: 0;
  }
  .badge-card-emergency {
    right: 0;
  }
  .mobile-sticky-action-bar {
    display: block;
  }
  body {
    padding-bottom: 60px; /* Space for mobile sticky action bar */
  }
  .floating-whatsapp-btn {
    bottom: 5rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }
}
