/* ===================================================
   ABHA ORAL CARE & IMPLANT CENTER - styles.css
   Modern Medical Dental Website
=================================================== */

/* ---- IMPORTS & VARIABLES ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --primary: #1a3fa3;
  --primary-light: #3b82f6;
  --primary-dark: #1e3a8a;
  --accent: #06b6d4;
  --accent-light: #67e8f9;
  --gradient: linear-gradient(135deg, #1a3fa3 0%, #06b6d4 100%);
  --gradient-warm: linear-gradient(135deg, #1a3fa3 0%, #7c3aed 100%);
  --gradient-soft: linear-gradient(135deg, #dbeafe 0%, #cffafe 100%);
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --success: #10b981;
  --warning: #f59e0b;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 64px rgba(0,0,0,0.14);
  --shadow-blue: 0 8px 32px rgba(26,63,163,0.22);
  --nav-height: 72px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-700);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ---- UTILITY ---- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  gap: 60px;
  align-items: center;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
  width: 100%;
}
.section-label {
  display: inline-block;
  background: var(--gradient-soft);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(30,64,175,0.30);
}
.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; font-size: 1.05rem; padding: 16px; border-radius: 12px; }
.btn-icon { font-size: 1.1rem; }

/* ===================================================
   NAVBAR
=================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}
.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { font-size: 2rem; }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.logo-sub {
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 500;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--primary); background: var(--gray-50); }
.nav-link.active { color: var(--primary); }
.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-blue); background: var(--gradient) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===================================================
   HERO
=================================================== */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #075985 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(6,182,212,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30,64,175,0.2) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(147,51,234,0.1) 0%, transparent 40%);
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  flex: 1;
  width: 100%;
}
.hero-content { flex: 1; color: #fff; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #67e8f9, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
  animation: fadeInUp 0.7s ease 0.2s both;
}
.hero-subtitle strong { color: #fff; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  animation: fadeInUp 0.7s ease 0.3s both;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.4s both;
}
.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  width: 100%;
}

/* Hero 3-image collage */
.hero-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.70fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  animation: float-img 4s ease-in-out infinite;
}
.collage-main { grid-column: 1; grid-row: 1 / 3; }
.collage-img-main {
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  display: block;
}
.collage-side {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.collage-img-top,
.collage-img-bottom {
  flex: 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  display: block;
}

@keyframes float-img {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-img-badge {
  position: absolute;
  bottom: -20px;
  left: -16px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}
.hero-img-badge span:last-child {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
}
.hero-wave {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  margin-top: auto;
}
.hero-wave svg { display: block; }

/* ===================================================
   TRUST BAR
=================================================== */
.trust-bar {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f8ff 100%);
  border-top: 1px solid rgba(59,130,246,0.1);
  border-bottom: 1px solid rgba(59,130,246,0.1);
  padding: 0;
  overflow: hidden;
}
.trust-track {
  display: flex;
  animation: trustScroll 30s linear infinite;
  width: max-content;
}
.trust-track:hover { animation-play-state: paused; }
@keyframes trustScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-container {
  display: flex;
  align-items: center;
  padding: 0;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  padding: 16px 36px;
  border-right: 1px solid rgba(59,130,246,0.12);
  transition: var(--transition);
}
.trust-item:hover { background: rgba(59,130,246,0.05); color: var(--primary-dark); }
.trust-icon { font-size: 1.3rem; }

/* ===================================================
   ABOUT
=================================================== */
.about { background: var(--gray-50); }
.about-image-col { flex: 1; }
.about-content-col { flex: 1; }

/* 3-image masonry grid for about section */
.about-img-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.about-img-a {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.about-img-b {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.about-img-c {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.about-img-card {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: #fff;
  border-radius: var(--radius-md);
  padding:8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gray-100);
  z-index: 5;
}
.about-img-card-icon { font-size: 2rem; }
.about-img-card div { display: flex; flex-direction: column; }
.about-img-card strong { font-size: 0.9rem; font-weight: 700; color: var(--gray-900); }
.about-img-card span { font-size: 0.8rem; color: var(--gray-500); }
.about-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-desc strong { color: var(--primary); }
.about-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.badge-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.badge-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-blue); transform: translateY(-2px); }
.badge-num {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.badge-txt { font-size: 0.8rem; color: var(--gray-500); font-weight: 500; }

/* ===================================================
   SERVICES
=================================================== */
.services {
  background: var(--gray-50);
}
.services .section-container {
  flex-direction: column;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}
.service-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  box-shadow: 0 24px 60px rgba(26,63,163,0.18);
  border-color: transparent;
  transform: translateY(-8px);
}
.service-card:hover::after { opacity: 1; }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: rgba(255,255,255,0.85); }
.service-card:hover .service-link { color: rgba(255,255,255,0.9); }
.service-card:hover .service-icon-wrap { background: rgba(255,255,255,0.2); }
.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--icon-color) 12%, white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}
.service-icon { font-size: 1.6rem; }
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  transition: var(--transition);
}
.service-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* ===================================================
   DOCTOR
=================================================== */
.doctor { background: var(--gray-50); }
.doctor-content-col { flex: 1; }
.doctor-image-col { flex: 1; display: flex; justify-content: center; }
.doctor-tagline {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}
.doctor-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 18px;
}
.doctor-specializations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.spec-tag {
  background: var(--gradient-soft);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(59,130,246,0.2);
}
.doctor-stats-row {
  display: flex;
  gap: 32px;
  margin: 24px 0 32px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}
.d-stat { text-align: center; flex: 1; }
.d-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.d-stat span { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; }
.doctor-img-wrap {
  position: relative;
  max-width: 460px;
  width: 100%;
}
.doctor-img-bg {
  position: absolute;
  inset: 20px -20px -20px 20px;
  background: var(--gradient);
  border-radius: var(--radius-xl);
  opacity: 0.03;
  box-shadow: var(--shadow-lg);
}
.doctor-img {
  height: 500px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.doctor-award-badge {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  font-size: 1.6rem;
}
.doctor-award-badge div { display: flex; flex-direction: column; }
.doctor-award-badge strong { font-size: 0.85rem; font-weight: 700; color: var(--gray-900); }
.doctor-award-badge span { font-size: 0.75rem; color: var(--gray-500); }

/* Doctor news card (bottom-left) */
.doctor-news-card {
  position: absolute;
  top: 0px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  border: 1px solid var(--gray-100);
}
.doctor-news-card img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.doctor-news-card span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  max-width: 90px;
  line-height: 1.3;
}

/* ===================================================
   WHY CHOOSE US
=================================================== */
.why-us {
  background: linear-gradient(135deg, #0a1628 0%, #1a3fa3 60%, #0e4f6e 100%);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(6,182,212,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(124,58,237,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.why-us .section-container { flex-direction: column; position: relative; z-index: 1; }
.why-us .section-label { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.2); }
.why-us .section-title { color: #fff; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,182,212,0.08), rgba(124,58,237,0.08));
  opacity: 0;
  transition: var(--transition);
  border-radius: inherit;
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(6,182,212,0.5);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(6,182,212,0.1);
}
.why-card:hover::before { opacity: 1; }
.why-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(124,58,237,0.2));
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}
.why-card:hover .why-icon-wrap {
  background: linear-gradient(135deg, rgba(6,182,212,0.35), rgba(124,58,237,0.35));
  transform: scale(1.1) rotate(-5deg);
}
.why-icon { font-size: 2.2rem; display: block; }
.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.why-card p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.65; }

/* ===================================================
   GALLERY
=================================================== */
.gallery { background: #fff; }
.gallery .section-container { flex-direction: column; }
.gallery-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-item {
  height: 250px;
  max-width: 350px;
  width: 100%;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-large { aspect-ratio: 16/9; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===================================================
   REVIEWS - IMPROVED GRID LAYOUT
=================================================== */
.reviews { background: var(--gray-50); }
.reviews .section-container { flex-direction: column; }

/* Rating summary bar */
.reviews-summary-bar {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px 36px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
}
.rsb-score { text-align: center; min-width: 90px; }
.rsb-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.rsb-stars { font-size: 1.2rem; margin: 6px 0 4px; }
.rsb-label { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; }
.rsb-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rsb-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--gray-500);
}
.rsb-bar-row > span:first-child { min-width: 32px; text-align: right; font-weight: 600; }
.rsb-bar-row > span:last-child { min-width: 32px; font-weight: 500; }
.rsb-bar {
  flex: 1;
  height: 8px;
  background: var(--gray-200);
  border-radius: 50px;
  overflow: hidden;
}
.rsb-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 50px;
}
.rsb-meta { text-align: center; min-width: 100px; }
.rsb-total {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1;
}
.rsb-source { font-size: 0.78rem; color: var(--gray-500); margin: 4px 0 10px; }
.rsb-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

/* Reviews grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}
.review-card-new {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-left: 4px solid transparent;
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card-new:nth-child(1) { border-left-color: #3b82f6; }
.review-card-new:nth-child(2) { border-left-color: #10b981; }
.review-card-new:nth-child(3) { border-left-color: #f59e0b; }
.review-card-new:nth-child(4) { border-left-color: #8b5cf6; }
.review-card-new:nth-child(5) { border-left-color: #06b6d4; }
.review-card-new:nth-child(6) { border-left-color: #ec4899; }
.review-card-new:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  transform: translateY(-6px);
  border-color: rgba(59,130,246,0.3);
  border-left-color: inherit;
}
.featured-review {
  background: linear-gradient(145deg, #fff 70%, #f0f8ff);
}
.review-quote {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 4rem;
  line-height: 1;
  color: var(--gray-100);
  font-family: Georgia, serif;
  font-weight: 900;
  user-select: none;
}
.review-stars-new { font-size: 0.95rem; letter-spacing: 2px; }
.review-text-new {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}
.reviewer-new {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--gray-100);
  padding-top: 14px;
  margin-top: 4px;
}
.reviewer-avatar-new {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.reviewer-details { display: flex; flex-direction: column; gap: 2px; }
.reviewer-details strong { font-size: 0.92rem; font-weight: 700; color: var(--gray-900); }
.reviewer-details span { font-size: 0.78rem; color: var(--gray-500); }
.review-date { font-size: 0.72rem; color: var(--success); font-weight: 600; margin-top: 2px; }

/* ===================================================
   BOOKING
=================================================== */
.booking { background: var(--gray-50); }
.booking-left { flex: 1; }
.booking-form-wrap {
  flex: 1.2;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 0;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.booking-form-header {
  background: var(--gradient);
  padding: 28px 36px;
  color: #fff;
}
.booking-form-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.booking-form-header p {
  font-size: 0.85rem;
  opacity: 0.85;
}
.booking-form-body {
  padding: 32px 36px;
}
.booking-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Doctor mini card in booking */
.booking-doctor-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gradient-soft);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
}
.booking-doc-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--primary-light);
  flex-shrink: 0;
}
.booking-doc-info { display: flex; flex-direction: column; gap: 2px; }
.booking-doc-info strong { font-size: 0.95rem; font-weight: 800; color: var(--gray-900); }
.booking-doc-info span { font-size: 0.78rem; color: var(--gray-500); }
.booking-doc-stars { font-size: 0.8rem; color: var(--gray-700); font-weight: 600; margin-top: 2px; }
.booking-doc-stars span { color: var(--primary); }
.booking-info-cards { display: flex; flex-direction: column; gap: 14px; }
.binfo-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition);
}
.binfo-card:hover { border-color: var(--primary-light); }
.binfo-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.binfo-card div { display: flex; flex-direction: column; gap: 4px; }
.binfo-card strong { font-size: 0.9rem; font-weight: 700; color: var(--gray-900); }
.binfo-card span, .binfo-card a {
  font-size: 0.88rem; color: var(--gray-500); line-height: 1.5;
}
.binfo-card a { color: var(--primary); }
.booking-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-note {
  font-size: 0.78rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: -4px;
  padding: 10px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
}

/* ===================================================
   CONTACT
=================================================== */
.contact { background: var(--gray-50); }
.contact .section-container { flex-direction: column; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; width: 100%; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); }
.contact-icon { font-size: 1.6rem; flex-shrink: 0; }
.contact-card > div { display: flex; flex-direction: column; gap: 6px; }
.contact-card strong { font-size: 0.9rem; font-weight: 700; color: var(--gray-900); }
.contact-card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.5; }
.contact-card a { color: var(--primary); font-weight: 600; }
.contact-link { font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

/* ===================================================
   FOOTER
=================================================== */
.footer { background: #080f1e; color: rgba(255,255,255,0.75); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 64px 0 44px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo .logo-main { color: #fff; font-size: 1.05rem; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.45); }
.footer-tagline { font-size: 0.87rem; line-height: 1.75; margin-bottom: 24px; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
}
.social-btn.whatsapp { background: #25d366; border-color: #25d366; }
.social-btn.call { background: var(--primary); border-color: var(--primary); }
.social-btn:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.4); }
.footer-links-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links-col ul li { margin-bottom: 10px; }
.footer-links-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-links-col ul li a:hover { color: #fff; }
.footer-contact-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-contact-col p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer-contact-col a { color: rgba(255,255,255,0.75); }
.footer-contact-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===================================================
   FLOATING BTNS
=================================================== */
.float-whatsapp,
.float-call {
  position: fixed;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  transition: var(--transition);
  text-decoration: none;
}
.float-whatsapp {
  right: 24px;
  bottom: 24px;
  background: #25d366;
  color: #fff;
  animation: pulse-float 3s ease-in-out infinite;
}
.float-call { right: 24px; bottom: 98px; background: var(--gradient); color: #fff; }
@keyframes pulse-float {
  0%, 100% { box-shadow: 0 8px 28px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 40px rgba(37,211,102,0.7); }
}
.float-whatsapp:hover,
.float-call:hover { transform: scale(1.14); }
.float-tooltip {
  position: absolute;
  right: 70px;
  background: var(--gray-900);
  color: #fff;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.float-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--gray-900);
}
.float-whatsapp:hover .float-tooltip,
.float-call:hover .float-tooltip { opacity: 1; }

/* ===================================================
   ANIMATIONS
=================================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos].aos-animate { opacity: 1; transform: none; }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .reviews-summary-bar { gap: 24px; padding: 24px; }
}

@media (max-width: 900px) {
  .hero-container { flex-direction: column; text-align: center; gap: 40px; padding: 60px 24px 40px; }
  .hero-content { order: 1; }
  .hero-image-wrap { order: 0; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  /* .hero-collage { max-width: 380px; } */
  .about-image-col{ order: 1; max-width: 500px;}
  /* .collage-img-main { height: 280px; } */
  .hero-img-badge { bottom: -20px; left: 0px; }

  .section-container { flex-direction: column; gap: 40px; padding: 60px 24px; }
  .about-image-col { order: 0; width: 100%; }
  .about-content-col { order: 1; }
  .about-img-a { height: 280px; }
  .about-img-b, .about-img-c { height: 130px; }
  .about-img-card { right: 0; bottom: -34px; }

  .doctor-image-col { order: 0; }
  .doctor-content-col { order: 1; }
  .doctor-img { height: 380px; }

  .contact-grid { grid-template-columns: 1fr; }
  .reviews-summary-bar { flex-direction: column; align-items: center; gap: 20px; }
  .rsb-bars { width: 100%; }

  .nav-links { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-md); gap: 4px; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; font-size: 0.95rem; }
  .hamburger { display: flex; }
}
@media (max-width: 780px) {
  .gallery-grid {
      justify-content: center;
    }
}
@media (max-width: 760px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .hero-collage { max-width: 100%; }
}

@media (max-width: 640px) {
  :root { --nav-height: 64px; }
  .hero-title { font-size: 2.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-large { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .about-badges { grid-template-columns: 1fr 1fr; }
  .booking-form-wrap { padding: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-container { justify-content: center; gap: 20px; }
  .trust-item { flex-direction: column; text-align: center; font-size: 0.8rem; }
  .doctor-stats-row { flex-direction: column; gap: 16px; }
  .hero-stats { gap: 16px; }
  .rsb-score { display: none; }
  .collage-side { display: none; }
  .collage-main { grid-column: 1; grid-row: 1; } 
  .hero-collage { grid-template-columns: 1fr;grid-template-rows: 1fr; } 
  .collage-img-main { height: 250px;}
  .about-img-grid { grid-template-columns: 1fr; }
  .about-img-a { grid-column: 1; grid-row: 1; height: 240px; }
  .about-img-b, .about-img-c { display: none; }
}

@media (max-width: 400px) {
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-large { grid-column: span 1; }
}
