/* ============================================================
   Ravi Shah, MD — Shared Stylesheet
   Colors: #0e79af (primary), #1c96d3 (secondary), #001845 (dark navy)
   Font: Montserrat (Google Fonts)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Playfair+Display:wght@400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #0e79af;
  --blue2:   #1c96d3;
  --navy:    #001845;
  --light:   #f4f8fc;
  --gray:    #666;
  --white:   #fff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.7;
}

a { color: var(--blue); text-decoration: none; transition: color .3s; }
a:hover { color: var(--blue2); }

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

/* ── Utility ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section-alt { background: var(--light); }
.text-center { text-align: center; }

.btn {
  display: inline-block;
  padding: 13px 30px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: none;
  cursor: pointer;
  transition: background .3s;
}
.btn:hover { background: var(--navy); color: #fff; }
.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--navy); }

/* ── Navigation ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
}
.site-logo {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.site-logo span { font-weight: 400; font-size: .8rem; display: block; opacity: .85; }

.nav-menu { list-style: none; display: flex; gap: 4px; }
.nav-menu a {
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 8px 12px;
  border-radius: 2px;
  transition: background .25s;
}
.nav-menu a:hover,
.nav-menu a.active { background: rgba(255,255,255,.15); color: #fff; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--blue2);
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.dropdown a:hover { background: var(--navy); }

/* Top contact bar */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: .75rem;
  padding: 7px 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.top-bar a { color: rgba(255,255,255,.85); }
.top-bar a:hover { color: #fff; }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ── Hero ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #0b4f7a 60%, var(--blue) 100%);
  color: #fff;
  padding: 110px 24px 100px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('images/shutterstock_243827980.jpg') center/cover no-repeat;
  opacity: .18;
}
.hero-content { position: relative; max-width: 720px; margin: 0 auto; }
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.hero h2 {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: .9;
  margin-bottom: 32px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-phone {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
  opacity: .95;
}
.hero-phone a { color: #fff; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  padding: 64px 24px;
  text-align: center;
}
.page-hero h1 { font-size: 2.4rem; font-weight: 800; }
.page-hero p  { margin-top: 12px; font-size: 1.05rem; opacity: .85; }

/* ── Two-column split ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img img { width: 100%; border-radius: 4px; box-shadow: 0 8px 32px rgba(0,0,0,.12); }

/* ── Section headings ── */
.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-title span { color: var(--blue); }
.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 28px;
  max-width: 560px;
}
.divider {
  width: 52px; height: 4px;
  background: var(--blue);
  margin-bottom: 24px;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card-body p  { font-size: .9rem; color: var(--gray); margin-bottom: 16px; }

/* ── Callout banner ── */
.callout {
  background: var(--blue);
  color: #fff;
  padding: 56px 24px;
  text-align: center;
}
.callout h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.callout p  { font-size: 1rem; opacity: .9; margin-bottom: 28px; }

/* ── Meet Dr. Shah strip ── */
.dr-strip {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
}
.dr-strip .split { align-items: center; }
.dr-strip .split-img img { border-radius: 4px; }
.dr-strip .section-title { color: #fff; }
.dr-strip .section-title span { color: #6ae2f8; }
.dr-strip .section-subtitle { color: rgba(255,255,255,.75); max-width: 100%; }
.credentials-list { list-style: none; margin-top: 16px; }
.credentials-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .92rem;
  opacity: .9;
  padding-left: 20px;
  position: relative;
}
.credentials-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: #6ae2f8;
  font-weight: 700;
}

/* ── Services tabs (home) ── */
.tabs-section { padding: 72px 0; }
.tab-buttons {
  display: flex;
  border-bottom: 2px solid #ddd;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 14px 28px;
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all .25s;
}
.tab-btn.active, .tab-btn:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.tab-pane { display: none; }
.tab-pane.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tab-pane img { border-radius: 4px; box-shadow: 0 6px 24px rgba(0,0,0,.1); }

/* ── Credentials/stats bar ── */
.stats-bar {
  background: var(--blue);
  color: #fff;
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num  { font-size: 2.2rem; font-weight: 800; }
.stat-label{ font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; margin-top: 4px; }

/* ── List styles ── */
.content-list { list-style: none; margin: 16px 0 24px; }
.content-list li {
  padding: 7px 0 7px 22px;
  position: relative;
  font-size: .95rem;
  color: #444;
  border-bottom: 1px solid #eee;
}
.content-list li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ── Accordion (conditions) ── */
.accordion-item { border-bottom: 1px solid #ddd; }
.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-btn::after { content: '+'; font-size: 1.3rem; color: var(--blue); }
.accordion-btn.open::after { content: '−'; }
.accordion-body { display: none; padding: 0 0 18px; font-size: .93rem; color: #555; line-height: 1.7; }
.accordion-body.open { display: block; }

/* ── Contact page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  padding: 36px;
}
.contact-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; border-bottom: 2px solid var(--blue); padding-bottom: 10px; }
.contact-info li { list-style: none; padding: 8px 0; font-size: .95rem; color: #444; }
.contact-info li strong { color: var(--navy); display: inline-block; width: 80px; }
.map-embed { margin-top: 24px; border-radius: 4px; overflow: hidden; }
.map-embed iframe { width: 100%; height: 280px; border: none; }

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-tagline { font-size: .85rem; opacity: .7; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  font-size: .78rem;
  text-align: center;
  opacity: .55;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .split, .cards, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-pane.active { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 640px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--blue); padding: 12px 0; }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 24px; }
  .dropdown { position: static; box-shadow: none; }
  .hamburger { display: block; }
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .hero h2 { font-size: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-buttons { overflow-x: auto; }
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Scroll Animations — mirrors the original site's Webflow effects
   Elements slide in from left/right and fade up on scroll
   ============================================================ */

.slide-left,
.slide-right,
.fade-up,
.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-left  { transform: translateX(-60px); }
.slide-right { transform: translateX(60px); }
.fade-up     { transform: translateY(50px); }
.fade-in     { transform: none; }

.slide-left.animated,
.slide-right.animated,
.fade-up.animated,
.fade-in.animated {
  opacity: 1;
  transform: none;
}

/* Staggered delays for cards/lists */
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
