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

:root {
  --blue: #0f7f9f;
  --teal: #13a79c;
  --red: #e2413e;
  --ink: #132033;
  --muted: #667085;
  --line: #d9e7ea;
  --soft: #eef9f8;
  --paper: #fbfefe;
  --white: #ffffff;
  --shadow: 0 24px 54px rgba(19, 32, 51, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 22px;
  align-items: center;
  padding: 14px 5vw;
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.nav.scrolled,
.nav.open,
.nav.solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px rgba(19, 32, 51, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
}

.brand strong {
  color: #8ee7e1;
}

.nav.scrolled .brand strong,
.nav.open .brand strong,
.nav.solid .brand strong {
  color: var(--teal);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(19, 167, 156, 0.88);
}

.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active,
.nav.open .nav-links a:hover,
.nav.open .nav-links a.active,
.nav.solid .nav-links a:hover,
.nav.solid .nav-links a.active {
  background: var(--blue);
}

.call-pill,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.call-pill {
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  white-space: nowrap;
}

.nav.scrolled .call-pill,
.nav.open .call-pill,
.nav.solid .call-pill {
  color: var(--white);
  background: var(--blue);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font-size: 1.2rem;
}

.hero,
.page-hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(12, 47, 67, 0.95), rgba(15, 127, 159, 0.82) 54%, rgba(226, 65, 62, 0.76)),
    var(--hero-image, url("../assets/hospital-facilities.jpg")) center / cover no-repeat;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 126px 0 76px;
}

.page-hero {
  min-height: 460px;
  display: grid;
  align-items: end;
  padding: 142px 0 72px;
}

.hero-home {
  background:
    linear-gradient(110deg, rgba(12, 47, 67, 0.95), rgba(15, 127, 159, 0.82) 54%, rgba(226, 65, 62, 0.76)),
    url("../assets/hospital-facilities.jpg") center / cover no-repeat;
}

.hero-about {
  background:
    linear-gradient(110deg, rgba(12, 47, 67, 0.95), rgba(15, 127, 159, 0.82) 54%, rgba(226, 65, 62, 0.76)),
    url("../assets/patient-care.jpg") center / cover no-repeat;
}

.hero-services {
  background:
    linear-gradient(110deg, rgba(12, 47, 67, 0.95), rgba(15, 127, 159, 0.82) 54%, rgba(226, 65, 62, 0.76)),
    url("../assets/health-package.jpg") center / cover no-repeat;
}

.hero-schemes {
  background:
    linear-gradient(110deg, rgba(12, 47, 67, 0.95), rgba(15, 127, 159, 0.82) 54%, rgba(226, 65, 62, 0.76)),
    url("../assets/world-health-day.jpg") center / cover no-repeat;
}

.hero-awareness {
  background:
    linear-gradient(110deg, rgba(12, 47, 67, 0.95), rgba(15, 127, 159, 0.82) 54%, rgba(226, 65, 62, 0.76)),
    url("../assets/summer-care.jpg") center / cover no-repeat;
}

.hero-contact {
  background:
    linear-gradient(110deg, rgba(12, 47, 67, 0.95), rgba(15, 127, 159, 0.82) 54%, rgba(226, 65, 62, 0.76)),
    url("../assets/eye-checkup.jpg") center / cover no-repeat;
}

.hero-bg {
  position: absolute;
  inset: auto -10% -24% 40%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  border: 120px solid rgba(255, 255, 255, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 62px;
  align-items: center;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  font-size: 0.92rem;
}

.breadcrumb a {
  text-decoration: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.visit-panel .eyebrow,
.footer strong {
  color: #b5fff8;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 6vw, 6.4rem);
  font-weight: 900;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 900;
}

h3 {
  font-size: 1.24rem;
  font-weight: 900;
}

p {
  color: var(--muted);
}

.hero p,
.page-hero p {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-actions,
.visit-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.btn {
  padding: 13px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 18px 30px rgba(15, 127, 159, 0.28);
}

.btn.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.btn.soft {
  color: var(--blue);
  background: var(--white);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 650px;
  margin-top: 42px;
}

.trust-row div,
.stat-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.trust-row strong,
.stat-card strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.trust-row span,
.stat-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.soft .trust-row div,
.soft .stat-card {
  border-color: var(--line);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(19, 32, 51, 0.06);
}

.soft .trust-row strong,
.soft .stat-card strong {
  color: var(--blue);
}

.soft .trust-row span,
.soft .stat-card span {
  color: var(--muted);
}

.hero-card {
  position: relative;
}

.hero-card img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.quick-card {
  position: absolute;
  right: -18px;
  bottom: 34px;
  width: min(280px, 82%);
  padding: 20px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-card span {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.85rem;
}

.quick-card strong {
  display: block;
  color: var(--blue);
  font-size: 1.2rem;
}

.section {
  padding: 92px 0;
}

.white {
  background: var(--white);
}

.soft {
  background: var(--soft);
}

.gradient {
  background: linear-gradient(180deg, #eef9f8, #ffffff);
}

.care-grid,
.visit-grid,
.appointment-grid,
.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.two-col.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.image-stack {
  position: relative;
  min-height: 560px;
}

.image-stack img {
  position: absolute;
  width: 68%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  top: 0;
  left: 0;
}

.image-stack img:nth-child(2) {
  right: 0;
  bottom: 0;
  border: 10px solid var(--white);
}

.care-copy p,
.content-copy p {
  margin-top: 18px;
  font-size: 1.04rem;
}

.care-list,
.info-list {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.care-list div,
.info-list div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 13px;
  align-items: center;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-weight: 800;
}

.care-list i,
.service-card i,
.info-list i,
.testimonial i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head.split {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 32px;
  align-items: end;
  max-width: none;
}

.service-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.feature-service {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.feature-service img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.feature-service div {
  padding: 30px;
}

.feature-service p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
}

.mini-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: #b5fff8;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.service-cards,
.testimonial-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card,
.testimonial,
.faq-item {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(19, 32, 51, 0.06);
}

.service-card {
  min-height: 230px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 54px rgba(19, 32, 51, 0.13);
}

.service-card h3 {
  margin-top: 38px;
  margin-bottom: 8px;
}

.all-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.all-service-grid .service-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
}

.all-service-grid .service-card h3 {
  margin-top: 16px;
}

.svc-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  font-size: 1.18rem;
  flex-shrink: 0;
}

.scheme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.scheme-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(19, 32, 51, 0.07);
}

.scheme-card.highlight {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(15, 127, 159, 0.95), rgba(19, 32, 51, 0.92)),
    url("../assets/world-health-day.jpg") center / cover no-repeat;
  border-color: transparent;
}

.scheme-card.highlight p,
.scheme-card.highlight li {
  color: rgba(255, 255, 255, 0.78);
}

.scheme-card.highlight .mini-label,
.scheme-card.highlight a {
  color: #b5fff8;
}

.scheme-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.scheme-card.highlight .scheme-icon {
  color: var(--blue);
  background: var(--white);
}

.scheme-card h3 {
  margin-bottom: 12px;
}

.scheme-card .mini-label {
  color: var(--blue);
}

.scheme-card p {
  margin-bottom: 18px;
}

.scheme-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px 18px;
  color: var(--muted);
}

.scheme-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.scheme-help,
.cta-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 28px;
  color: var(--white);
  background: var(--ink);
}

.scheme-help .eyebrow,
.cta-band .eyebrow {
  color: #b5fff8;
}

.document-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.document-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.document-list i {
  color: #b5fff8;
}

.awareness-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 260px;
  gap: 18px;
}

.awareness-card,
.gallery-card {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.awareness-card.large {
  grid-row: span 2;
}

.awareness-card img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.awareness-card:hover img,
.gallery-card:hover img {
  transform: scale(1.04);
  opacity: 0.95;
}

.awareness-card div,
.gallery-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  background: linear-gradient(180deg, transparent, rgba(19, 32, 51, 0.92));
}

.awareness-card p,
.gallery-card p {
  color: rgba(255, 255, 255, 0.74);
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-card {
  min-height: 310px;
}

.gallery-card.featured {
  grid-column: span 2;
}

.visit {
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(15, 127, 159, 0.96), rgba(19, 32, 51, 0.88)),
    url("../assets/eye-checkup.jpg") center / cover no-repeat;
}

.visit p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 16px;
  font-size: 1.06rem;
}

.contact-strip {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.contact-strip div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 22px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.contact-strip i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--white);
}

.contact-strip span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 800;
}

.contact-strip strong {
  font-size: 1.2rem;
}

.appointment-grid {
  align-items: start;
}

.appointment-copy {
  position: sticky;
  top: 110px;
}

.appointment-copy p {
  margin-top: 16px;
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.appointment-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
  font-size: 0.9rem;
}

.appointment-form label.full {
  grid-column: 1 / -1;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  border: 1px solid #cbdde1;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.appointment-form textarea {
  min-height: 130px;
  resize: vertical;
}

.appointment-form button {
  justify-self: start;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-item h3 {
  margin-bottom: 10px;
}

.testimonial {
  display: grid;
  gap: 16px;
}

.testimonial p {
  font-size: 1.02rem;
}

.testimonial strong {
  display: block;
}

.footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #0b1d2b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, auto);
  gap: 32px;
  align-items: start;
}

.footer img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
}

.footer p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.76);
}

.footer a,
.footer strong {
  display: block;
  text-decoration: none;
  margin-bottom: 8px;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: #22c55e;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.34);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .nav {
    grid-template-columns: auto auto auto;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .call-pill {
    justify-self: end;
  }

  .hero-grid,
  .care-grid,
  .visit-grid,
  .appointment-grid,
  .service-layout,
  .scheme-help,
  .cta-band,
  .section-head.split,
  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    max-width: 660px;
  }

  .appointment-copy {
    position: static;
  }

  .awareness-grid,
  .scheme-grid,
  .faq-grid,
  .gallery-grid,
  .all-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    padding: 12px 14px;
    gap: 10px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .call-pill {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.84rem;
  }

  .hero {
    padding-top: 108px;
  }

  .page-hero {
    min-height: 390px;
    padding: 118px 0 54px;
  }

  .section {
    padding: 66px 0;
  }

  .trust-row,
  .service-cards,
  .scheme-grid,
  .document-list,
  .awareness-grid,
  .appointment-form,
  .footer-grid,
  .faq-grid,
  .testimonial-grid,
  .gallery-grid,
  .all-service-grid {
    grid-template-columns: 1fr;
  }

  .hero-card img {
    min-height: 380px;
  }

  .quick-card {
    right: 14px;
  }

  .image-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: auto;
  }

  .image-stack img,
  .image-stack img:first-child,
  .image-stack img:nth-child(2) {
    position: static;
    width: 100%;
    border: 0;
  }

  .awareness-card.large,
  .gallery-card.featured {
    grid-row: auto;
    grid-column: auto;
  }

  .awareness-card,
  .gallery-card {
    min-height: 340px;
  }
}
