/* ============================================
   Shantinagar Dental Clinic - Main Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1a6fc4;
  --primary-dark: #1458a0;
  --primary-light: #e8f1fb;
  --secondary: #0ea5e9;
  --accent: #38bdf8;
  --white: #ffffff;
  --off-white: #f8fafc;
  --light-gray: #f1f5f9;
  --border: #e2e8f0;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-light: #64748b;
  --success: #10b981;
  --error: #ef4444;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(26,111,196,0.10), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(26,111,196,0.15), 0 4px 16px rgba(0,0,0,0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --font-ui: 'Manrope', sans-serif;
  --font-accent: 'Outfit', sans-serif;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-mid);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-mid); line-height: 1.75; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.section-label {
  font-family: var(--font-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-label svg { width: 14px; height: 14px; }

.section-title {
  margin-bottom: 14px;
  color: var(--text-dark);
}

.section-title span { color: var(--primary); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-ui);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  gap: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(26,111,196,0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,111,196,0.45);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,111,196,0.30);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.20);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: var(--transition);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
}

.nav-links a {
  font-weight: 600;
  padding: 8px 12px;
  color: var(--text-dark);
  font-size: 0.95rem;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  padding: 10px 24px;
  box-shadow: none;
  font-weight: 700;
}

@media (max-width: 992px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* CTA Banner Styles */
.cta-banner {
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 60%);
  pointer-events: none;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border: none;
  font-weight: 700;
  transition: var(--transition);
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand, .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-contact-item {
    justify-content: center;
  }
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-logo-text .clinic-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.01em;
}

.nav-logo-text .clinic-tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Google Rating Hero Badge */
.google-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

.google-rating .stars {
  color: #ffb400;
  font-size: 1rem;
  letter-spacing: 1px;
}

.google-rating .rating-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

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

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 4px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  z-index: 999;
  animation: slideDown 0.25s ease;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu a {
  font-family: var(--font-ui);
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
  border-bottom: 1px solid var(--light-gray);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--primary); background: var(--primary-light); }

.mobile-menu .mobile-cta {
  margin-top: 12px;
  display: block;
  text-align: center;
  padding: 13px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 600;
  border: none;
}

.mobile-menu .mobile-cta:hover {
  background: var(--primary-dark);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 40%),
              radial-gradient(circle at bottom left, rgba(26, 111, 196, 0.05), transparent 40%),
              linear-gradient(135deg, #f8fafc 0%, #f1f7fe 100%);
  padding-top: 80px; /* Offset for the fixed navbar */
  position: relative;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26,111,196,0.05), rgba(14,165,233,0.03));
  pointer-events: none;
  filter: blur(60px);
}

.hero-bg-shape-1 {
  width: 800px; height: 800px;
  top: -300px; right: -200px;
}

.hero-bg-shape-2 {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding: 20px 0 60px;
}

.hero-content { 
  position: relative; 
  z-index: 10; 
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
  font-family: var(--font-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid rgba(26, 111, 196, 0.1);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.hero-title { 
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  margin-bottom: 24px; 
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-title span { 
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
  width: fit-content;
  align-items: center;
}

.hero-stat { 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-divider {
  width: 1px;
  height: 35px;
  background: rgba(0,0,0,0.08);
}

.stat-num {
  font-family: var(--font-ui);
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 2px;
  white-space: nowrap;
}

.stat-num.stat-small {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--text-mid);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .hero-stats {
    gap: 15px;
    padding: 15px 20px;
    width: 100%;
    justify-content: space-between;
  }
  
  .stat-num { font-size: 1.4rem; }
  .stat-num.stat-small { font-size: 0.9rem; }
  .stat-label { font-size: 0.6rem; }
  .stat-divider { height: 25px; }
}

/* Hero Visual Enhanced */
.hero-visual {
  position: relative;
}

.hero-img-container {
  position: relative;
  width: 100%;
  padding: 10px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
}

.hero-main-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: 20px;
  padding: 15px 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-dark);
  z-index: 20;
}

.hero-float-card-1 { 
  top: -20px; 
  right: -30px; 
  transform: rotate(-4deg);
  animation: floatCard1 5s ease-in-out infinite;
}

.hero-float-card-2 { 
  bottom: -20px; 
  left: -40px; 
  transform: rotate(3deg);
  animation: floatCard2 5s ease-in-out infinite;
}

@keyframes floatCard1 {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes floatCard2 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.why-icon {
  width: 50px; height: 50px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-icon svg { width: 24px; height: 24px; stroke-width: 2.5; }

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Service Card Button */
.service-btn-wrap {
  margin-top: 24px;
}

.service-btn {
  width: 100%;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { 
  position: relative; 
  height: 100%;
}

.about-img-wrap {
  position: relative;
  height: 580px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1.2;
}

.about-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.about-visual:hover .about-main-img {
  transform: scale(1.05);
}

.about-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 50%);
  pointer-events: none;
}

.about-floating-stats {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  z-index: 2;
}

.about-stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.about-stat-card .num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-stat-card .lbl {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-experience-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  background: var(--primary);
  color: white;
  padding: 15px 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  text-align: center;
}

.about-experience-badge .years {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.about-experience-badge .text {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.about-content { }

.about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.about-feature:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateX(4px);
}

.about-feature-icon {
  width: 40px; height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 2; }
.about-feature:hover .about-feature-icon { background: var(--white); }

.about-feature-text h4 { font-size: 0.95rem; margin-bottom: 2px; }
.about-feature-text p { font-size: 0.83rem; color: var(--text-light); }

/* ============================================
   SERVICES SECTION (Redesigned)
   ============================================ */
.services-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 40px;
}

.services-header-left {
  max-width: 600px;
}

.services-header-left .section-title {
  margin-bottom: 12px;
  text-align: left;
}

.services-header-left .section-subtitle {
  margin: 0;
  text-align: left;
}

.services-header-right {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.services-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card-new {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card-new:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.service-illustration {
  width: 100%;
  height: 180px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 1px;
}

.service-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
  transition: var(--transition);
}

.service-card-new:hover .service-illustration img {
  transform: scale(1.1);
}

.service-title-new {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #22c55e;
  color: white;
  border-radius: 5px;
  font-size: 0.65rem;
  font-weight: 900;
}

.service-features {
  list-style: none;
  margin-bottom: 18px;
  padding: 0;
  flex-grow: 1;
}

.service-features li {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.4;
  position: relative;
  padding-left: 12px;
  text-align: left;
}

.service-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-dark);
  font-weight: bold;
}

.btn-service-outline {
  font-family: var(--font-ui);
  display: inline-block;
  padding: 10px 24px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  text-align: center;
}

.btn-service-outline:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.services-footer {
  margin-top: 60px;
  text-align: center;
  padding: 40px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.services-footer p {
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 24px;
}

.services-footer .btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.services-footer .btn-lg span {
  margin-left: 8px;
  transition: var(--transition);
  display: inline-block;
}

.services-footer .btn-lg:hover span {
  transform: translateX(5px);
}

@media (max-width: 992px) {
  .services-header-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .services-header-right {
    width: 100%;
  }
}

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

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

/* ============================================
   DOCTORS SECTION
   ============================================ */
#doctors {
  background: var(--white);
  overflow: hidden;
}

.doctors-slider-container {
  position: relative;
  padding: 0 10px;
}

.doctors-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 20px 0;
  cursor: grab;
}

.doctors-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.doctors-slider:active {
  cursor: grabbing;
}

.doctor-card {
  flex: 0 0 260px; /* Fixed width for slider items */
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.doctor-avatar-wrap {
  padding: 1px;
  background: var(--white);
  position: relative;
}

.doctor-avatar {
  width: 100%; height: 240px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  position: relative;
  z-index: 1;
  background: var(--white);
  overflow: hidden;
}

.doctor-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 2;
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.doctor-info { padding: 16px 16px 20px; }
.doctor-info h3 { font-size: 1.05rem; margin-bottom: 4px; }

.doctor-specialty {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.doctor-exp {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.doctor-exp span { color: var(--primary); font-weight: 700; }

.doctor-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 14px;
}

.doctor-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.85rem;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.slider-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.slider-btn svg { width: 24px; height: 24px; }

@media (max-width: 768px) {
  .doctor-card {
    flex: 0 0 260px;
  }
}

/* ============================================
   GALLERY SECTION (Bento Grid)
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
  margin-top: 40px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item-overlay {
  display: none;
}

.gallery-item-overlay h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.gallery-item-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
}

/* Bento Spans */
.gi-large { grid-column: span 2; grid-row: span 2; }
.gi-tall { grid-row: span 2; }
.gi-wide { grid-column: span 2; }

/* Responsive Gallery */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gi-large { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gi-large, .gi-tall, .gi-wide { grid-column: span 1; grid-row: span 1; }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact {
  background: var(--off-white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info { }

.contact-info-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }

.contact-map-wrap {
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-map-wrap iframe {
  display: block;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 1.8; }

.contact-info-text h4 { font-size: 0.85rem; color: var(--text-light); font-weight: 500; margin-bottom: 4px; }
.contact-info-text p, .contact-info-text a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}
.contact-info-text a:hover { color: var(--primary); }

.contact-hours { background: var(--white); border-radius: var(--radius-md); padding: 20px; border: 1px solid var(--border); }
.contact-hours h4 { font-size: 0.95rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.contact-hours h4 svg { width: 18px; height: 18px; stroke: var(--primary); fill: none; stroke-width: 2; }

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.88rem;
}

.hours-row:last-child { border-bottom: none; }
.hours-row .h-day { color: var(--text-mid); }
.hours-row .h-time { font-weight: 600; color: var(--primary); }
.hours-row .h-closed { font-weight: 600; color: var(--error); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form-wrap h3 { margin-bottom: 6px; }
.contact-form-wrap p { font-size: 0.88rem; margin-bottom: 28px; }

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

.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group label span { color: var(--error); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,111,196,0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

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

.form-error {
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 4px;
  display: none;
}

.form-error.show { display: block; }

.form-submit { width: 100%; padding: 14px; font-size: 1rem; border-radius: var(--radius-sm); }

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: #0c1b2e;
  color: rgba(255,255,255,0.8);
}

.footer-top {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo-text .clinic-name { color: white; }
.footer-brand .nav-logo-text .clinic-tagline { color: rgba(255,255,255,0.5); }

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.social-links { display: flex; gap: 10px; }

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

.social-link:hover { background: var(--primary); transform: translateY(-2px); }
.social-link svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 1.8; }

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: white; padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  color: #FFF;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,111,196,0.4);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 900;
}

#scrollTop.show { opacity: 1; pointer-events: all; }
#scrollTop:hover { background: var(--primary-dark); transform: translateY(-3px); }
#scrollTop svg { width: 20px; height: 20px; stroke: white; fill: none; stroke-width: 2.5; }

/* ============================================
   SUCCESS MODAL
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.show { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  animation: scaleIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: var(--shadow-lg);
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.modal-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-icon svg { width: 36px; height: 36px; stroke: #059669; fill: none; stroke-width: 2.5; }
.modal-box h3 { margin-bottom: 10px; }
.modal-box p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 28px; }
.modal-close { min-width: 140px; }

/* ============================================
   SUBPAGE COMMON ELEMENTS
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.breadcrumb a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.breadcrumb a:hover { color: white; }
.breadcrumb svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.4); fill: none; stroke-width: 2.5; }
.breadcrumb span { color: rgba(255,255,255,0.9); font-weight: 500; }

/* ============================================
   PRICING PAGE STYLES
   ============================================ */
.pricing-hero {
  background: linear-gradient(135deg, #0c1b2e 0%, #1a3a5c 50%, #1a6fc4 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.pricing-hero h1 { color: white; position: relative; z-index: 1; }
.pricing-hero p { color: rgba(255,255,255,0.7); position: relative; z-index: 1; margin: 12px auto 0; max-width: 500px; font-size: 1.05rem; }

.pricing-section { padding: 80px 0; background: var(--off-white); }

.pricing-table-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table thead {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.pricing-table thead th {
  padding: 18px 24px;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-table tbody tr {
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
}

.pricing-table tbody tr:last-child { border-bottom: none; }

.pricing-table tbody tr:hover { background: var(--primary-light); }

.pricing-table tbody td {
  padding: 18px 24px;
  font-size: 0.95rem;
}

.pricing-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-icon svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2; }

.price-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
}

.pricing-table .category { background: #1e293b; }
.pricing-table .category td {
  color: white !important;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 24px;
}

.pricing-note {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-left: 4px solid #f59e0b;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 32px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pricing-note svg { width: 22px; height: 22px; stroke: #d97706; fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.pricing-note p { font-size: 0.88rem; color: #92400e; line-height: 1.6; margin: 0; }
.pricing-note p strong { color: #78350f; }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ============================================
   DOCTORS PAGE (DETAIL) STYLES
   ============================================ */
.doctors-hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 100px 0 60px;
  text-align: center;
}

.doctors-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.doctors-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 20px;
}

.doctors-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .doctors-hero {
    padding: 80px 0 40px;
  }
  .doctors-hero h1 {
    font-size: 2.2rem;
  }
  .doctors-hero p {
    font-size: 1rem;
  }
}

.doctor-detail-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 50px;
  text-align: left;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  border: 1px solid var(--border);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.doctor-detail-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 320px;
  flex-shrink: 0;
}

.doctor-detail-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.doctor-detail-info {
  flex: 1;
}

.doctor-detail-info h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.doctor-detail-specialty {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.doctor-detail-bio {
  margin-bottom: 24px;
  color: var(--text-mid);
  line-height: 1.7;
}

.doctor-qualifications {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.qualification-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Doctors Detail Grid (Visiting Specialists) */
.doctors-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (min-width: 1024px) {
  .doctors-detail-grid {
    grid-template-columns: 1fr; /* Keep it 1 column but centered */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================
   DOCTORS PAGE RESPONSIVE & ALIGNMENT
   ============================================ */
@media (max-width: 992px) {
  .doctor-detail-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    gap: 30px;
  }

  .doctor-detail-visual {
    max-width: 250px;
  }

  .doctor-qualifications {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .doctor-detail-card {
    padding: 20px;
    border-radius: var(--radius-md);
  }
  
  .doctor-detail-info h2 {
    font-size: 1.6rem;
  }

  .doctor-detail-specialty {
    font-size: 1rem;
  }
}

/* ============================================
   RESPONSIVE & ALIGNMENT FIXES
   ============================================ */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 20px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 2;
  }

  .hero-visual {
    order: 1;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }

  .hero-img-container {
    max-width: 450px;
    margin: 0 auto;
  }

  .hero-main-img {
    max-height: 400px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .section-pad {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 300px;
  }

  .hero-stat:not(:last-child)::after {
    display: none;
  }

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

  .hero-float-card {
    display: none;
  }

  .contact-form-wrap {
    padding: 25px;
  }
}

/* Ensure all section headers are centered */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  justify-content: center;
}

@media (max-width: 640px) {
  .doctor-stats-mini { grid-template-columns: 1fr; gap: 20px; }
  .doctor-detail-avatar-wrap { width: 150px; height: 150px; }
  .doctor-detail-avatar { font-size: 2.8rem; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-float-card-1 { right: 0; }
  .hero-float-card-2 { left: 0; }
}

/* Tablet small */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: block; max-width: 500px; margin: 0 auto; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 420px; }
  .contact-inner { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
  .section-pad { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-wrap { padding: 28px 20px; }
  .pricing-hero { padding: 120px 0 60px; }
  .about-img-wrap { height: auto; aspect-ratio: 1 / 1; }
  .about-floating-stats { bottom: 20px; left: 20px; right: 20px; }
  .about-stat-card { padding: 16px; }
  .about-stat-card .num { font-size: 1.5rem; }
}

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


/* ============================================
   FLOATING BUTTONS - ADJUSTED POSITIONS
   ============================================ */

/* WhatsApp Floating Button - moved slightly up */
.whatsapp-float {
  position: fixed;
  bottom: 90px;       /* was 30px, moved up by 60px */
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  color: #FFF;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Scroll to Top Button - stays at original position, no overlap */
#scrollTop {
  position: fixed;
  bottom: 28px;        /* original value, unchanged */
  right: 28px;         /* original value, unchanged */
  width: 46px;
  height: 46px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,111,196,0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
  z-index: 900;
}

#scrollTop.show {
  opacity: 1;
  pointer-events: all;
}

#scrollTop:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

#scrollTop svg {
  width: 20px;
  height: 20px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
}

/* Mobile adjustment for floating buttons */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px;      /* adjusted for mobile */
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  
  #scrollTop {
    bottom: 20px;
    right: 20px;
  }
}
