/* ============================================================
   DR. MEHTA ORTHOPEDIC CLINIC — SHARED STYLESHEET
   Premium Medical Website Design System
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --blue:        #0A66C2;
  --blue-dark:   #084f96;
  --blue-deeper: #0c4a6e;
  --blue-light:  #e8f1fb;
  --blue-mid:    #dbeafe;
  --green:       #10b981;
  --green-light: #d1fae5;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --gray-light:  #f1f5f9;
  --gray-mid:    #e2e8f0;
  --gray-text:   #64748b;
  --text:        #1e293b;
  --text-light:  #475569;
  --red:         #ef4444;
  --shadow-sm:   0 2px 8px  rgba(10,102,194,0.08);
  --shadow-md:   0 6px 24px rgba(10,102,194,0.13);
  --shadow-lg:   0 16px 48px rgba(10,102,194,0.18);
  --shadow-xl:   0 24px 64px rgba(10,102,194,0.22);
  --radius:      14px;
  --radius-sm:   8px;
  --radius-lg:   24px;
  --radius-xl:   36px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --nav-height:  72px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── LOADING SCREEN ── */
#loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; }
.loader-logo { font-size: 1.6rem; font-weight: 800; color: white; letter-spacing: -0.03em; }
.loader-logo span { color: rgba(255,255,255,0.55); font-weight: 400; }
.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 99px; overflow: hidden;
}
.loader-progress {
  height: 100%; width: 0; background: white;
  border-radius: 99px;
  animation: loadBar 1.2s ease forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* ── SCROLL TO TOP ── */
#scroll-top {
  position: fixed; bottom: 100px; right: 24px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--transition);
}
#scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#scroll-top:hover { background: var(--blue-dark); transform: translateY(-2px); }
#scroll-top svg { width: 20px; height: 20px; fill: white; }

/* ── WHATSAPP BUTTON ── */
#whatsapp-btn {
  position: fixed; bottom: 28px; right: 24px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
#whatsapp-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 30px rgba(37,211,102,0.5); }
#whatsapp-btn svg { width: 30px; height: 30px; fill: white; }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.10); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
  width: 44px; height: 44px; background: var(--blue);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 24px; height: 24px; fill: white; }
.nav-logo-text .name { font-size: 1rem; font-weight: 800; color: var(--blue); line-height: 1.2; }
.nav-logo-text .sub  { font-size: 0.68rem; color: var(--gray-text); font-weight: 500; letter-spacing: 0.04em; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 500; color: var(--text-light);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--blue); background: var(--blue-light);
}
.nav-cta-btn {
  background: var(--blue); color: white !important;
  padding: 10px 22px !important; border-radius: var(--radius-sm) !important;
  font-weight: 700 !important; font-size: 0.88rem !important;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
  box-shadow: 0 2px 8px rgba(10,102,194,0.3) !important;
}
.nav-cta-btn:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(10,102,194,0.4) !important;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--gray-light); }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: white; z-index: 998;
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px); opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.mobile-menu.open {
  display: block; transform: translateY(0); opacity: 1; pointer-events: all;
}
.mobile-menu a {
  display: block; padding: 14px 12px;
  font-size: 1rem; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--gray-light);
  transition: color var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--blue); }
.mobile-menu a:last-child { border-bottom: none; margin-top: 8px; }
.mobile-menu .mobile-cta {
  display: block; text-align: center;
  background: var(--blue); color: white; padding: 14px;
  border-radius: var(--radius-sm); font-weight: 700; margin-top: 10px;
  transition: background var(--transition);
}
.mobile-menu .mobile-cta:hover { background: var(--blue-dark); }

/* ── PAGE OFFSET FOR FIXED NAV ── */
.page-top { padding-top: var(--nav-height); }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--gray-light); padding: 12px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.breadcrumb-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--gray-text);
}
.breadcrumb-inner a { color: var(--blue); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner .sep { color: var(--gray-mid); }

/* ── HERO NEW (index.html) ── */
.hro {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* AI-generated clean clinic interior — no people */
  background-image: url('../images/clinic-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Left-side overlay so the glassmorphism card is readable */
.hro::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5,20,50,0.52) 0%,
    rgba(5,20,50,0.28) 45%,
    rgba(5,20,50,0.04) 100%
  );
  z-index: 0;
}
/* Doctor PNG — flex sibling, bottom-anchored */
.hro-doc {
  position: relative;
  flex-shrink: 0;
  height: 100vh;
  width: auto;
  align-self: flex-end;
  z-index: 1;
  filter: drop-shadow(-6px 0 24px rgba(0,0,0,0.28));
}
.hro-inner {
  max-width: 1280px; width: 100%;
  margin: 0 auto; padding: 80px 80px 0;
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; gap: calc(48px + 4vw);
}
/* Glassmorphism card */
.hro-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 20px;
  padding: 44px 42px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 12px 60px rgba(0,0,0,0.22);
  flex-shrink: 0;
  margin-bottom: 72px;
  margin-left: 30px;
  margin-right: 65px;
}
.hro-h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  font-weight: 900;
  color: #0a66c2;
  line-height: 1.05;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.hro-h1-row {
  display: flex; align-items: center; gap: 10px;
}
.hro-pulse {
  width: 68px; height: 28px; flex-shrink: 0;
}
.hro-tagline {
  font-size: 0.76rem; font-weight: 700;
  color: #0a66c2; letter-spacing: 0.13em;
  text-transform: uppercase; margin-bottom: 14px;
}
.hro-desc {
  font-size: 0.875rem; color: #374151;
  line-height: 1.75; margin-bottom: 20px;
}
.hro-svc-lbl {
  display: inline-block;
  background: #0a66c2; color: white;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 6px;
  margin-bottom: 14px;
}
.hro-svc-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 12px; margin-bottom: 26px;
}
.hro-svc-grid ul { list-style: none; padding: 0; margin: 0; }
.hro-svc-grid ul li {
  font-size: 0.85rem; color: #1e293b;
  font-weight: 500; padding: 5px 0;
  display: flex; align-items: center; gap: 8px;
}
.hro-svc-grid ul li::before {
  content: '';
  width: 7px; height: 7px;
  background: #0a66c2; border-radius: 50%; flex-shrink: 0;
}
.hro-btn {
  display: inline-block;
  background: #0a66c2; color: white;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 8px;
  text-decoration: none; margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(10,102,194,0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.hro-btn:hover {
  background: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(10,102,194,0.45);
}
.hro-contacts {
  display: flex; gap: 20px; flex-wrap: wrap; align-items: center;
}
.hro-contact-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 600;
  color: #374151; text-decoration: none;
}
.hro-contact-item svg {
  width: 20px; height: 20px; fill: #0a66c2; flex-shrink: 0;
}

/* ── HERO (shared base — kept for page-hero inheritance) ── */
.hero {
  background: linear-gradient(135deg, #0a66c2 0%, #1e40af 55%, #0c4a6e 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hro-inner{
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    padding: 80px 40px 0;
    display: flex;
    align-items: flex-end;
    gap: 120px;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: white; padding: 6px 16px;
  border-radius: 100px; font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero-label .dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; color: white; line-height: 1.12;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: rgba(255,255,255,0.7); }
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.82);
  line-height: 1.75; max-width: 600px; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #0a66c2 0%, #1e40af 55%, #0c4a6e 100%);
  padding: 80px 28px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 350px; height: 350px;
  background: rgba(255,255,255,0.06); border-radius: 50%;
}
.page-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  color: white; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px;
}
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.8); line-height: 1.7; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer; border: none; line-height: 1;
}
.btn-white {
  background: white; color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.22); }
.btn-outline-white {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: white; transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 3px 12px rgba(10,102,194,0.3); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10,102,194,0.4); }
.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: white; transform: translateY(-2px); }
.btn-green { background: var(--green); color: white; box-shadow: 0 3px 12px rgba(16,185,129,0.3); }
.btn-green:hover { background: #059669; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16,185,129,0.4); }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-lg { padding: 17px 38px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ── SECTION LAYOUT ── */
.section { padding: 96px 28px; }
.section-sm { padding: 60px 28px; }
.section-lg { padding: 120px 28px; }
.container { max-width: 1280px; margin: 0 auto; }
.container-sm { max-width: 900px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  background: var(--blue-light); color: var(--blue);
  padding: 5px 16px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px;
}
.section-tag-white {
  background: rgba(255,255,255,0.18); color: white;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; color: var(--text);
  line-height: 1.18; letter-spacing: -0.025em; margin-bottom: 16px;
}
.section-title-white { color: white; }
.section-sub {
  font-size: 1.05rem; color: var(--gray-text);
  line-height: 1.75; max-width: 580px;
}
.section-sub-white { color: rgba(255,255,255,0.78); max-width: 580px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── STATS COUNTER ── */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 1px; background: var(--gray-mid); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.stat-item {
  background: white; padding: 36px 28px; text-align: center;
  transition: background var(--transition);
}
.stat-item:hover { background: var(--blue-light); }
.stat-num {
  font-size: 2.6rem; font-weight: 800; color: var(--blue);
  line-height: 1; letter-spacing: -0.04em;
}
.stat-suffix { font-size: 1.6rem; font-weight: 700; }
.stat-label { font-size: 0.82rem; color: var(--gray-text); margin-top: 8px; font-weight: 500; }

/* ── CARDS ── */
.card {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* Service Cards */
.service-card {
  background: var(--gray-light); border-radius: var(--radius);
  padding: 36px; border: 1px solid var(--gray-mid);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: white; }
.service-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--blue-light); display: flex; align-items: center;
  justify-content: center; margin-bottom: 22px;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: var(--blue); }
.service-icon svg { width: 30px; height: 30px; fill: var(--blue); transition: fill var(--transition); }
.service-card:hover .service-icon svg { fill: white; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-card p  { font-size: 0.9rem; color: var(--gray-text); line-height: 1.7; }
.service-card .learn-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 0.88rem; font-weight: 600;
  color: var(--blue); transition: gap var(--transition);
}
.service-card .learn-more svg { width: 16px; height: 16px; fill: var(--blue); }
.service-card:hover .learn-more { gap: 10px; }

/* Blog Cards */
.blog-card { border-radius: var(--radius); overflow: hidden; background: white; border: 1px solid var(--gray-mid); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-img {
  height: 200px; overflow: hidden; position: relative; background: var(--blue-light);
}
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.55s ease;
  display: block;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px; }
.blog-tag {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  padding: 4px 12px; border-radius: 100px; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px;
}
.blog-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card p  { font-size: 0.88rem; color: var(--gray-text); line-height: 1.65; }
.blog-meta { display: flex; gap: 16px; margin-top: 16px; font-size: 0.78rem; color: var(--gray-text); }
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-meta svg  { width: 14px; height: 14px; fill: var(--gray-text); }

/* Testimonial */
.testimonial-card {
  background: white; border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-mid);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.star { width: 18px; height: 18px; fill: #f59e0b; }
.testimonial-card blockquote {
  font-size: 0.98rem; color: var(--text); line-height: 1.78;
  font-style: italic; margin-bottom: 22px;
  border-left: 3px solid var(--blue); padding-left: 16px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-light); display: flex; align-items: center;
  justify-content: center; font-size: 1rem; font-weight: 700;
  color: var(--blue); flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 0.95rem; }
.author-role { font-size: 0.78rem; color: var(--gray-text); }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--text); margin-bottom: 8px; letter-spacing: 0.01em;
}
label .req { color: var(--red); margin-left: 3px; }
input, textarea, select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--gray-mid); border-radius: var(--radius-sm);
  font-size: 0.95rem; font-family: inherit;
  background: white; color: var(--text); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10,102,194,0.12);
}
input.error, textarea.error { border-color: var(--red); }
textarea { resize: vertical; min-height: 120px; }
.form-error { font-size: 0.78rem; color: var(--red); margin-top: 4px; display: none; }
.form-error.visible { display: block; }
.success-banner {
  display: none; padding: 20px 24px;
  background: var(--green-light); border-radius: var(--radius-sm);
  color: #065f46; font-weight: 600;
  border-left: 4px solid var(--green); margin-top: 16px;
}
.success-banner.visible { display: block; }

/* ── FAQ ACCORDION ── */
.faq-item {
  border: 1px solid var(--gray-mid); border-radius: var(--radius-sm);
  overflow: hidden; margin-bottom: 12px;
  transition: box-shadow var(--transition);
}
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; background: white; cursor: pointer;
  font-size: 0.97rem; font-weight: 600; color: var(--text);
  text-align: left; transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-light); }
.faq-item.open .faq-question { background: var(--blue-light); color: var(--blue); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  background: var(--gray-light); display: flex; align-items: center;
  justify-content: center; transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(180deg); background: var(--blue); }
.faq-icon svg { width: 14px; height: 14px; fill: var(--gray-text); }
.faq-item.open .faq-icon svg { fill: white; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 20px 24px; }
.faq-answer p { font-size: 0.93rem; color: var(--gray-text); line-height: 1.75; }

/* ── TESTIMONIALS SLIDER ── */
.testimonials-wrapper { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex; gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-slide { min-width: calc(50% - 12px); flex-shrink: 0; }
.slider-controls { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: white; border: 2px solid var(--gray-mid);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
}
.slider-btn:hover { border-color: var(--blue); background: var(--blue); }
.slider-btn svg { width: 18px; height: 18px; fill: var(--gray-text); }
.slider-btn:hover svg { fill: white; }
.slider-dots { display: flex; gap: 8px; align-items: center; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-mid); cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot.active { background: var(--blue); transform: scale(1.3); }

/* ── INFO CARDS (contact) ── */
.info-card {
  background: white; border-radius: var(--radius); padding: 32px;
  text-align: center; border: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue-light); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 18px;
}
.info-card-icon svg { width: 28px; height: 28px; fill: var(--blue); }
.info-card h3 { font-size: 0.85rem; font-weight: 700; color: var(--gray-text); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.info-card p  { font-size: 0.95rem; color: var(--text); font-weight: 500; line-height: 1.7; }
.info-card a  { color: var(--blue); font-weight: 600; }
.info-card a:hover { text-decoration: underline; }


/* ── CLINIC TIMINGS ── */
.timings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 12px; }
.timing-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: white; border-radius: var(--radius-sm);
  border: 1px solid var(--gray-mid);
}
.timing-day { font-weight: 600; font-size: 0.9rem; }
.timing-time { font-size: 0.88rem; color: var(--gray-text); }
.timing-open  { color: var(--green); font-weight: 600; font-size: 0.8rem; }
.timing-closed { color: var(--red); font-weight: 600; font-size: 0.8rem; }

/* ── NEWSLETTER ── */
.newsletter-wrap {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
  border-radius: var(--radius-lg); padding: 60px 48px; text-align: center;
}
.newsletter-wrap h2 { font-size: 2rem; font-weight: 800; color: white; margin-bottom: 10px; letter-spacing: -0.02em; }
.newsletter-wrap p  { color: rgba(255,255,255,0.78); margin-bottom: 32px; font-size: 1rem; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; border: none; background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3); color: white;
  padding: 14px 18px; border-radius: var(--radius-sm);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-form input:focus { background: rgba(255,255,255,0.2); border-color: white; box-shadow: none; }

/* ── DOCTOR PROFILE ── */
.doctor-profile-grid {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: center;
}
.doctor-img-box {
  border-radius: var(--radius-lg); height: 460px;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
}
.doctor-img-box img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block; transition: transform 0.55s ease;
}
.doctor-img-box:hover img { transform: scale(1.03); }
/* Service image box */
.svc-img-box {
  border-radius: var(--radius-lg); height: 360px;
  overflow: hidden; position: relative;
}
.svc-img-box img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transition: transform 0.55s ease;
}
.svc-img-box:hover img { transform: scale(1.05); }
.doctor-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: white; border-radius: var(--radius);
  padding: 18px 24px; box-shadow: var(--shadow-md); text-align: center;
}
.doctor-badge .num  { font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.doctor-badge .lbl  { font-size: 0.72rem; color: var(--gray-text); font-weight: 500; margin-top: 4px; }
.credential-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.credential-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: var(--gray-light);
  border-radius: var(--radius-sm); border: 1px solid var(--gray-mid);
}
.credential-icon {
  width: 38px; height: 38px; background: var(--blue-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.credential-icon svg { width: 20px; height: 20px; fill: var(--blue); }
.credential-text .title { font-size: 0.88rem; font-weight: 700; }
.credential-text .sub   { font-size: 0.78rem; color: var(--gray-text); }

/* ── DEPARTMENT CARDS ── */
.dept-card {
  padding: 28px; border-radius: var(--radius);
  background: white; border: 1px solid var(--gray-mid);
  text-align: center; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.dept-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); background: var(--blue); }
.dept-icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--blue-light); display: flex;
  align-items: center; justify-content: center; margin: 0 auto 16px;
  transition: background var(--transition);
}
.dept-card:hover .dept-icon { background: rgba(255,255,255,0.2); }
.dept-icon svg { width: 32px; height: 32px; fill: var(--blue); transition: fill var(--transition); }
.dept-card:hover .dept-icon svg { fill: white; }
.dept-card h3 { font-size: 1rem; font-weight: 700; transition: color var(--transition); }
.dept-card:hover h3 { color: white; }

/* ── INSURANCE LOGOS ── */
.insurance-grid {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center;
}
.insurance-item {
  height: 56px; padding: 0 24px; background: white; border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; font-size: 0.88rem; font-weight: 700;
  color: var(--gray-text); min-width: 140px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.insurance-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); color: var(--blue); }

/* ── FOOTER ── */
footer {
  background: #0f172a; color: rgba(255,255,255,0.65);
  padding: 72px 28px 32px;
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand .logo-icon {
  width: 42px; height: 42px; background: var(--blue);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.footer-brand .logo-icon svg { width: 22px; height: 22px; fill: white; }
.footer-brand .logo-name { font-size: 1rem; font-weight: 700; color: white; line-height: 1.2; }
.footer-brand .logo-sub  { font-size: 0.68rem; color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.social-btn:hover { background: var(--blue); }
.social-btn svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.7); }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul a:hover { color: white; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--blue); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 0.82rem;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { transition: color var(--transition); }
.footer-bottom-links a:hover { color: white; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── HIGHLIGHT / BLUE SECTION ── */
.section-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
}
.section-light { background: var(--gray-light); }

/* ── MAP EMBED ── */
.map-container {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-mid); box-shadow: var(--shadow-sm);
  height: 400px; background: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; color: var(--gray-text);
}
.map-container svg { width: 48px; height: 48px; fill: var(--blue); opacity: 0.4; }
.map-container p { font-size: 0.9rem; }

/* ── 404 ── */
.page-404 {
  min-height: 80vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 60px 28px;
}
.page-404 .num { font-size: 9rem; font-weight: 900; color: var(--blue-light); line-height: 1; letter-spacing: -0.06em; }
.page-404 h1  { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.page-404 p   { color: var(--gray-text); margin-bottom: 32px; }

/* ── THANK YOU ── */
.thank-you-wrap {
  min-height: 80vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 60px 28px;
}
.thank-you-icon {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--green-light); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 28px;
}
.thank-you-icon svg { width: 44px; height: 44px; fill: var(--green); }
.thank-you-wrap h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; }
.thank-you-wrap p  { color: var(--gray-text); max-width: 480px; margin: 0 auto 32px; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .doctor-profile-grid { grid-template-columns: 1fr; gap: 40px; }
  .doctor-img-box { max-width: 440px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta-btn { display: none; }
  .hamburger { display: flex; }
  .section { padding: 64px 20px; }
  .section-lg { padding: 80px 20px; }
  .hero-inner { padding: 72px 20px; }
  .page-hero { padding: 60px 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-slide { min-width: 100%; }
  .newsletter-wrap { padding: 40px 24px; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  /* ── Hero mobile ── */
  .hro {
    min-height: 100svh;
    align-items: flex-start;
  }
  .hro-inner {
    flex-direction: column;
    align-items: center;
    padding: 76px 16px 0;
    gap: 0;
  }
  .hro-card {
    max-width: 100%;
    width: 100%;
    padding: 18px 18px;
    margin-bottom:4;
    border-radius: 14px;
    margin-right: 1px;
    margin-left: 1px;
  }
  .hro-h1 { font-size: clamp(1.25rem, 5.5vw, 1.65rem); margin-bottom: 5px; }
  .hro-pulse { width: 48px; height: 20px; }
  .hro-tagline { font-size: 0.68rem; margin-bottom: 6px; }
  .hro-desc { font-size: 0.78rem; margin-bottom: 10px; line-height: 1.6; }
  .hro-svc-lbl { font-size: 0.68rem; padding: 5px 14px; margin-bottom: 8px; }
  .hro-svc-grid { gap: 0 8px; margin-bottom: 12px; }
  .hro-svc-grid ul li { font-size: 0.78rem; padding: 3px 0; }
  .hro-btn { padding: 10px 20px; font-size: 0.74rem; margin-bottom: 10px; }
  .hro-contacts { gap: 10px; }
  .hro-contact-item { font-size: 0.75rem; }
  .hro-doc {
    height: auto;
    width: 340px;;
    max-width: 95%;
      margin-top: -60px;
    margin-bottom: -20px;
    object-fit: contain;
    align-self: center;
  }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
