/* =========================================================
   Dr. Vivek Shejole — Stunning landing page
   Design system + sections
   ========================================================= */

:root {
  --teal-700: #0b6b67;
  --teal-600: #0b8f8a;
  --teal-500: #12a59f;
  --teal-50:  #e8f7f6;
  --cyan-500: #1aa5c7;
  --gold:     #d4a13a;

  --ink-900: #0e1b2c;
  --ink-700: #2a3b52;
  --ink-500: #5b6b80;
  --ink-300: #9aa6b6;
  --line:    #e6ebf1;

  --bg:        #ffffff;
  --bg-soft:   #f5f9fb;
  --bg-dark:   #0e1b2c;

  --shadow-sm: 0 1px 2px rgba(13, 38, 59, .06), 0 1px 3px rgba(13, 38, 59, .08);
  --shadow-md: 0 8px 24px rgba(13, 38, 59, .08);
  --shadow-lg: 0 24px 60px rgba(13, 38, 59, .14);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --maxw: 1180px;
  --header-h: 76px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-700); }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--primary {
  background: linear-gradient(135deg, var(--teal-600), var(--cyan-500));
  color: #fff;
  box-shadow: 0 8px 18px rgba(11, 143, 138, .28);
}
.btn--primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 26px rgba(11, 143, 138, .35); }
.btn--ghost {
  background: rgba(255,255,255,.7);
  border-color: var(--line);
  color: var(--ink-900);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--teal-600); color: var(--teal-700); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink-900);
  color: #cfe7e6;
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 8px 22px;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cfe7e6;
}
.topbar__item:hover { color: #fff; }
.topbar__item--hours { margin-left: auto; opacity: .9; }
@media (max-width: 760px) {
  .topbar__item--hours { display: none; }
}

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,.95);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-900); }
.brand:hover { color: var(--ink-900); }
.brand__mark { display: inline-flex; }
.brand__mark img { display: block; border-radius: 6px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .2px;
}
.brand__text small { color: var(--ink-500); font-size: 12px; letter-spacing: .3px; }
.brand--light { color: #fff; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: #b9c6d4; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink-700);
  font-size: 15px;
  transition: color .2s ease, background .2s ease;
}
.nav__link:hover { color: var(--teal-700); background: var(--teal-50); }
.nav__link.is-active { color: var(--teal-700); background: var(--teal-50); }
.nav__cta { margin-left: 6px; }

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 6px;
    padding: 18px 22px 22px;
    transform: translateY(-120%);
    transition: transform .25s ease;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav__link { padding: 12px 14px; font-size: 16px; }
  .nav__cta { width: 100%; justify-content: center; margin: 6px 0 0; }
  .hamburger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 10vw, 140px);
}
.hero__bg {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 80%;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(26,165,199,.18), transparent 60%),
    radial-gradient(50% 50% at 10% 30%, rgba(11,143,138,.18), transparent 60%),
    linear-gradient(180deg, #f3fbfb 0%, #ffffff 100%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 6px 12px;
  border-radius: 999px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.06;
  color: var(--ink-900);
  margin: 18px 0 16px;
  letter-spacing: -0.5px;
}
.text-gradient {
  background: linear-gradient(135deg, var(--teal-600), var(--cyan-500) 60%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: 17px;
  color: var(--ink-700);
  max-width: 56ch;
  margin: 0 0 28px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
  max-width: 520px;
}
.hero__stats li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--ink-900);
  line-height: 1;
}
.hero__stats span { font-size: 12.5px; color: var(--ink-500); }

.hero__media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
}
.hero__photo {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(26,165,199,.35), transparent 60%),
    linear-gradient(160deg, var(--teal-600), #0a4f6b);
  box-shadow: var(--shadow-lg);
}
.hero__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 100%, rgba(255,255,255,.12), transparent 60%);
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-700);
}
.hero__badge svg { color: var(--teal-600); flex: 0 0 auto; }
.hero__badge strong { display: block; color: var(--ink-900); font-size: 14px; }
.hero__badge span { color: var(--ink-500); font-size: 12px; }
.hero__badge--top    { top: 18px; left: -22px; animation: float 6s ease-in-out infinite; }
.hero__badge--bottom { bottom: 28px; right: -22px; animation: float 6s ease-in-out infinite reverse; }

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

.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  color: #fff;
  pointer-events: none;
  z-index: -1;
}
.hero__wave svg { display: block; width: 100%; height: 90px; }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 380px; margin-top: 12px; }
  .hero__badge--top { left: 6px; }
  .hero__badge--bottom { right: 6px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--alt { background: var(--bg-soft); }
.section__header { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 64px); }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  color: var(--ink-900);
  margin: 14px 0 12px;
  line-height: 1.15;
  letter-spacing: -.3px;
}
.section__lead { font-size: 17px; color: var(--ink-500); margin: 0; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.about__media { position: relative; }
.about__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #d8efee, #e9f5fb);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__chip {
  position: absolute;
  bottom: -18px; left: -18px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  font-size: 13px;
}
.about__chip strong { display: block; font-family: var(--font-display); color: var(--ink-900); font-size: 16px; }
.about__chip span { color: var(--ink-500); }

.about__content .section__title { margin-top: 12px; }
.about__creds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 18px;
  margin: 22px 0 28px;
}
.about__creds li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--ink-700);
}
.about__creds svg {
  color: var(--teal-600);
  background: var(--teal-50);
  border-radius: 999px;
  padding: 4px;
  flex: 0 0 auto;
  width: 24px; height: 24px;
}
@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; }
  .about__creds { grid-template-columns: 1fr; }
  .about__chip { left: 12px; bottom: -14px; }
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11,143,138,.35);
}
.service__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-50), #d8f1f6);
  color: var(--teal-700);
  margin-bottom: 14px;
}
.service h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink-900);
  margin: 0 0 6px;
}
.service p { margin: 0; color: var(--ink-500); font-size: 15px; }

/* ---------- Hospitals ---------- */
.hospitals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.hospitals li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease;
}
.hospitals li:hover { transform: translateY(-3px); border-color: rgba(11,143,138,.4); }
.hospitals li span {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-900);
  font-size: 17px;
}
.hospitals li small { color: var(--ink-500); font-size: 13px; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #e9f3f5;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute;
  left: 14px; bottom: 12px;
  background: rgba(14,27,44,.72);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
  letter-spacing: .3px;
  backdrop-filter: blur(4px);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
@media (max-width: 880px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
}

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.review::before {
  content: "“";
  position: absolute;
  top: -10px; left: 16px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--teal-500);
  opacity: .25;
}
.review__stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }
.review blockquote {
  margin: 12px 0 14px;
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.65;
}
.review figcaption strong {
  display: block;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 16px;
}
.review figcaption span { color: var(--ink-500); font-size: 13px; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}
.contact__cards { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.contact__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  color: var(--ink-700);
  transition: transform .2s ease, border-color .2s ease;
}
.contact__card:hover { transform: translateY(-3px); border-color: rgba(11,143,138,.4); color: var(--ink-700); }
.contact__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact__card h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink-900);
}
.contact__card p { margin: 0; font-size: 14.5px; color: var(--ink-500); }
.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  min-height: 360px;
}
.contact__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

@media (max-width: 880px) {
  .contact { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: #c2cfdc;
  padding-top: 56px;
  margin-top: 40px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 36px;
  padding-bottom: 36px;
}
.footer__brand p { margin-top: 14px; max-width: 38ch; color: #9caebd; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 12px;
  letter-spacing: .3px;
}
.footer__cols ul { display: grid; gap: 8px; }
.footer__cols a { color: #c2cfdc; }
.footer__cols a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  font-size: 13.5px;
}
.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.footer__bottom p { margin: 0; color: #8da0b1; }
.footer__disclaimer { font-size: 12.5px; }
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Floating action button ---------- */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px; height: 54px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-600), var(--cyan-500));
  color: #fff;
  box-shadow: 0 10px 24px rgba(11,143,138,.45);
  z-index: 60;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 10px 24px rgba(11,143,138,.45), 0 0 0 0 rgba(26,165,199,.45); }
  50%     { box-shadow: 0 10px 24px rgba(11,143,138,.45), 0 0 0 14px rgba(26,165,199,0); }
}
@media (max-width: 768px) {
  .fab { display: inline-flex; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__badge--top, .hero__badge--bottom, .fab { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Selection ---------- */
::selection { background: var(--teal-500); color: #fff; }
