/* =====================================================
   KMH GROUP OF HOSPITALS WEBSITE - PREMIUM DESIGN SYSTEM
   Theme: Modern Healthcare & Clinical Excellence
===================================================== */

/* 1. DESIGN TOKENS & ROOT VARIABLES */
:root {
  --primary: #0b63e5;
  --primary-hover: #0952c2;
  --primary-dark: #071a33;
  --primary-light: #eef5ff;
  --primary-gradient: linear-gradient(135deg, #0b63e5 0%, #0284c7 100%);
  --accent-pulse: #ff355e;
  --accent-cyan: #0284c7;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-subtle: rgba(226, 232, 240, 0.7);
  
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd56;
  
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 48px rgba(7, 26, 51, 0.10);
  --shadow-brand: 0 8px 24px rgba(11, 99, 229, 0.22);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. BASE RESET & GLOBAL STYLES */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* 3. REUSABLE BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

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

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-brand);
}

.button-primary:hover {
  box-shadow: 0 12px 28px rgba(11, 99, 229, 0.35);
  background: linear-gradient(135deg, #0952c2 0%, #026fb9 100%);
}

.button-light {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.button-light:hover {
  background: var(--primary-light);
  color: var(--primary-hover);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.button-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.button-whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}


/* 4. TOP INFORMATION BAR */
.topbar {
  background: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.86rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  flex-wrap: wrap;
}

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

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(0.95); opacity: 1; }
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-contact a {
  color: #ffffff;
  font-weight: 700;
  transition: var(--transition);
}

.topbar-contact a:hover {
  color: #60a5fa;
}


/* 5. GLASS NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-wrapper {
  position: relative;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  box-shadow: 0 4px 14px rgba(11, 99, 229, 0.2);
  transition: var(--transition);
}

.brand:hover .logo-wrapper {
  transform: rotate(4deg) scale(1.05);
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
}

.brand-text strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--primary-dark);
  line-height: 1.2;
}

.brand-text small {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

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

.nav-links > a:not(.button) {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #334155;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links > a:not(.button)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links > a:not(.button):hover {
  color: var(--primary);
}

.nav-links > a:not(.button):hover::after {
  width: 100%;
}

.nav-call-btn {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.menu-button {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}


/* 6. HERO SECTION */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;

  background-image:
    linear-gradient(
      135deg,
      rgba(7, 26, 51, 0.92) 0%,
      rgba(7, 26, 51, 0.75) 45%,
      rgba(7, 26, 51, 0.25) 85%
    ),
    url("clinic-building.png");

  background-size: cover;
  background-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(11, 99, 229, 0.25), transparent 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 100px 0 140px;
  max-width: 720px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  color: #f1f5f9;
  letter-spacing: 0.02em;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--accent-pulse);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-pulse);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 20px 0 18px;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.18rem;
  max-width: 630px;
  color: #e2e8f0;
  line-height: 1.6;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding: 18px 26px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  width: fit-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.stat-item span {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
}


/* 7. QUICK SERVICES STRIP */
.quick-services {
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 22px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}

.quick-item:last-child {
  border-right: none;
}

.quick-item:hover {
  background: var(--primary-light);
}

.quick-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.quick-text strong {
  display: block;
  color: var(--primary-dark);
  font-size: 0.98rem;
  font-weight: 700;
}

.quick-text span {
  color: var(--text-muted);
  font-size: 0.84rem;
}


/* 8. SECTION HEADINGS & GENERAL */
.section {
  padding: 96px 0;
}

.text-center {
  text-align: center;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 48px;
}

.section-heading.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-dark);
  margin: 0 0 12px;
  letter-spacing: -0.025em;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}


/* 9. SERVICES GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 99, 229, 0.3);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
}

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

.card p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.card-footer-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  margin-top: auto;
  transition: var(--transition);
}

.card:hover .card-footer-link {
  color: var(--primary-hover);
  transform: translateX(4px);
}


/* 10. DOCTORS SECTION */
.doctors-section {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.doctor-card {
  background: 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;
}

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

.doctor-header {
  height: 140px;
  position: relative;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.doctor-blue {
  background: linear-gradient(135deg, #0b63e5 0%, #38bdf8 100%);
}

.doctor-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #c084fc 100%);
}

.doctor-green {
  background: linear-gradient(135deg, #0d9488 0%, #34d399 100%);
}

.doctor-teal {
  background: linear-gradient(135deg, #0d9488 0%, #34d399 100%);
}

.doctor-amber {
  background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
}

.doctor-avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.doctor-badge {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.doctor-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-body h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.speciality {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 4px 0 16px;
}

.timing-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.timing-icon {
  font-size: 1.1rem;
}

.timing-box strong {
  display: block;
  color: var(--primary-dark);
  font-size: 0.84rem;
}

.timing-box span {
  color: var(--text-muted);
}

.contact-link {
  display: block;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  margin-top: 2px;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-link.whatsapp-link {
  color: #16a34a;
}

.contact-link.whatsapp-link:hover {
  color: #15803d;
}

.doctor-action-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.doctor-action-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.doctor-action-btn.secondary {
  background: #f1f5f9;
  color: var(--text-main);
}

.doctor-action-btn.secondary:hover {
  background: var(--primary-dark);
  color: #ffffff;
}


/* 11. APPOINTMENT SECTION */
.appointment-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.appointment-card-form {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: grid;
  gap: 18px;
}

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

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-family);
  font-size: 0.93rem;
  background: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11, 99, 229, 0.12);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  margin-top: 6px;
}


/* 12. CONTACT PANEL */
.contact-panel {
  background: linear-gradient(145deg, var(--primary-dark) 0%, #0c3669 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.contact-label {
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

.contact-panel h2 {
  margin: 6px 0 24px;
  font-size: 1.8rem;
  font-weight: 800;
}

/* Branch Dropdown & Card Styling */
.branch-selector-group {
  margin-bottom: 20px;
}

.branch-selector-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.branch-dropdown {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.branch-dropdown option {
  background: #0f172a;
  color: #ffffff;
  padding: 10px;
}

.branch-dropdown:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3);
}

.branch-details-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 22px;
}

.branch-header {
  margin-bottom: 14px;
}

.branch-header h3 {
  margin: 8px 0 2px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.branch-subtitle {
  display: block;
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 600;
}

.branch-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.branch-badge.main-badge {
  background: #f59e0b;
  color: #0f172a;
}

.branch-badge.secondary-badge {
  background: #38bdf8;
  color: #0f172a;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item small {
  display: block;
  color: #94a3b8;
  font-size: 0.8rem;
}

.contact-item a,
.contact-item strong {
  font-size: 1.05rem;
  color: #ffffff;
}

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

.map-box {
  margin-top: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  padding: 24px 20px;
  color: #ffffff;
}

.map-icon-large {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.map-box h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.map-box p {
  margin: 0 0 16px;
  font-size: 0.86rem;
  color: #cbd5e1;
}

.map-btn {
  width: 100%;
}


/* 13. LAB SECTION */
.lab-section {
  padding: 0 0 96px;
}

.lab-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
}

.lab-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 8px 0;
}

.lab-content p {
  margin: 0;
  color: var(--text-muted);
}

.lab-btn {
  flex-shrink: 0;
}


/* 14. FOOTER */
footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
}

.footer-brand-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-col-main p {
  max-width: 380px;
  line-height: 1.6;
  font-size: 0.92rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin: 0 0 16px;
  font-weight: 700;
}

.footer-col a,
.footer-col span {
  display: block;
  color: #cbd5e1;
  margin-bottom: 8px;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: #38bdf8;
}

.footer-phone {
  font-weight: 700;
  color: #ffffff !important;
  font-size: 1.05rem !important;
}

.footer-hours {
  display: inline-block;
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80 !important;
  font-weight: 700;
  font-size: 0.78rem !important;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.copyright {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}


/* 15. FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5);
}


/* 16. RESPONSIVE DESIGN (TABLET & MOBILE) */
@media (max-width: 960px) {
  .menu-button {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a:not(.button) {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

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

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

  .quick-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

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

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

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

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

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .hero-content {
    padding: 80px 0 120px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  .quick-grid,
  .service-grid,
  .doctor-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .quick-item:last-child {
    border-bottom: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .lab-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  .lab-btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }
}


/* 17. MINIMAL UI CHARACTER & MICRO-INTERACTIONS */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(11, 99, 229, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(11, 99, 229, 0.15);
  margin-bottom: 12px;
}

.card, .doctor-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.card:hover, .doctor-card:hover {
  border-color: rgba(11, 99, 229, 0.25);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: float-bounce 3.5s infinite ease-in-out;
}

@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(6deg);
  background: #1ebd56;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.5);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(11, 99, 229, 0.12) !important;
  outline: none;
}
