:root {
  --blue: #0f6eb8;
  --blue-dark: #074b82;
  --green: #72c91f;
  --green-dark: #54a70d;
  --ink: #152538;
  --muted: #647386;
  --line: #dfe9f1;
  --soft: #f5f9fc;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(16, 55, 91, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  background: var(--white);
}
main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }


.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(15, 55, 91, .06);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: min(210px, 54vw); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 800;
  color: #20364c;
}
.site-nav a {
  padding: 10px 0;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--blue);
  border-bottom-color: var(--green);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 6px;
  border: 2px solid var(--blue);
  font-weight: 900;
  cursor: pointer;
}
.btn.primary { background: var(--blue); color: #fff; }
.btn.outline { color: var(--blue); background: #fff; }
.btn:hover { transform: translateY(-1px); }

.home-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(242,249,255,.91) 52%, rgba(225,246,211,.84) 100%),
    url('../images/clinic-care.jpg') center/cover;
}
.hero-inner {
  max-width: 1180px;
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: 22px 18px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 44px;
  align-items: center;
}
.hero-kicker,
.section-kicker {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0;
}
.hero-copy h1 {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(40px, 4.1vw, 56px);
  line-height: 1.04;
  white-space: normal;
  letter-spacing: 0;
}
.hero-copy p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.hero-doctor-card {
  position: relative;
  align-self: center;
  background: #fff;
  box-shadow: 0 24px 58px rgba(13, 73, 123, .2);
  border: 8px solid #fff;
  border-radius: 18px;
  overflow: hidden;
}
.hero-doctor-card img {
  width: 100%;
  max-height: 430px;
  aspect-ratio: 4 / 4.45;
  object-fit: cover;
  object-position: center 18%;
}
.hero-doctor-card div {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 18px 20px 20px 58px;
  border-top: 5px solid var(--green);
  background: #fff;
}
.hero-doctor-card div::before {
  content: "+";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-weight: 900;
}
.hero-doctor-card strong { display: block; font-size: 21px; color: #062f5f; }
.hero-doctor-card span { color: #506b83; font-weight: 800; }

.promise-strip {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  padding: 0 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  box-shadow: 0 14px 40px rgba(16, 55, 91, .1);
}
.promise-strip article {
  min-height: 220px;
  padding: 34px 28px;
  text-align: center;
  color: var(--ink);
  background: #fff;
  border-right: 1px solid var(--line);
}
.promise-strip article:last-child { border-right: 0; }
.promise-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f5ff;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}
.promise-strip article:nth-child(even) .promise-icon { background: #ebfbdf; color: var(--green-dark); }
.promise-strip h2 { margin: 0 0 10px; font-size: 23px; color: #062f5f; }
.promise-strip p { margin: 0; color: var(--muted); }

.page-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 18px 72px;
}
.soft-section {
  max-width: none;
  background: var(--soft);
}
.soft-section > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.intro-section {
  display: grid;
  grid-template-columns: 470px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}
.intro-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.abstract-image {
  border-radius: 8px;
  background: #eef8e8;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.abstract-image img {
  box-shadow: none;
  object-fit: contain;
  background: #3f6f49;
}
.about-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px;
  margin: 24px 0 6px;
}
.about-checks span {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 700;
}
.about-checks span::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  line-height: 1.05;
}
h1, h2, h3 { letter-spacing: 0; }
.intro-copy h2,
.section-heading h2,
.home-quote h2,
.home-enquiry h2,
.contact-page h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
}
.intro-copy p,
.section-heading p,
.service-card p,
.testimonial-grid p,
.home-enquiry p,
.contact-page p { color: var(--muted); }
.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 900;
  border-bottom: 2px solid var(--green);
}
.section-heading {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}
.service-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  position: relative;
  min-height: 168px;
  padding: 22px 24px 20px;
  border: 1px solid rgba(15, 110, 184, .12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(13, 73, 123, .08);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.service-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(114, 201, 31, .12);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 110, 184, .28);
  box-shadow: 0 22px 48px rgba(13, 73, 123, .16);
}
.service-card span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: #e8f5ff;
  color: var(--blue);
  font-weight: 900;
}
.service-icon-wrap {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
}
.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 21px;
  color: #062f5f;
}
.service-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  line-height: 1.55;
}
.home-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 430px;
  background: var(--blue-dark);
  color: #fff;
}
.home-quote img { width: 100%; height: 100%; object-fit: cover; opacity: .74; }
.home-quote div { padding: clamp(40px, 6vw, 82px); align-self: center; }
.home-quote h2 { color: #fff; }
.home-quote p:not(.section-kicker) { color: #d9ecfb; }

.testimonials {
  max-width: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(114, 201, 31, .16), transparent 28%),
    linear-gradient(135deg, #eef7ff 0%, #ffffff 48%, #f0fae9 100%);
}
.testimonials > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-heading h2 {
  white-space: nowrap;
}
.testimonial-carousel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 68px;
}
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.testimonial-card {
  display: none;
  min-height: 260px;
  padding: 36px 34px 32px;
  border-radius: 8px;
  border: 1px solid rgba(15, 110, 184, .18);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  box-shadow: 0 20px 48px rgba(13, 73, 123, .14);
  opacity: 0;
  transform: translateX(18px) scale(.98);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  right: 24px;
  color: rgba(114, 201, 31, .26);
  font-size: 92px;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}
.testimonial-card.active {
  display: block;
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.testimonial-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 26px;
  color: #345875;
  font-size: 16px;
  line-height: 1.62;
}
.testimonial-card div {
  position: relative;
  z-index: 1;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 110, 184, .14);
}
.testimonial-card strong {
  display: block;
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
}
.testimonial-card span { color: var(--muted); }
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 12px 28px rgba(13, 73, 123, .18);
}
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }
.carousel-arrow:hover { transform: translateY(-50%) scale(1.06); }
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: 42px;
  align-items: start;
}
.contact-list { display: grid; gap: 10px; margin-top: 22px; }
.contact-list a { color: var(--blue); font-weight: 900; }
.appointment-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.appointment-form label { display: grid; gap: 8px; font-weight: 900; }
.appointment-form input,
.appointment-form textarea {
  width: 100%;
  border: 1px solid #cad9e7;
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
}
.form-status {
  margin-bottom: 16px;
  padding: 13px 15px;
  border-radius: 6px;
  font-weight: 900;
}
.form-status.success { background: #ecf8e7; color: #2d6b0f; }
.form-status.missing,
.form-status.invalid_email,
.form-status.error { background: #fff1f1; color: #9b1c1c; }

.page-banner {
  padding: 58px 18px;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, rgba(7,75,130,.94), rgba(15,110,184,.84)), url('../images/clinic-care.jpg') center/cover;
}
.page-banner h1 {
  margin: 0 0 12px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
}
.page-banner p { max-width: 680px; margin: 0 auto; color: #e7f5ff; font-size: 18px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(7, 75, 130, .95), rgba(16, 40, 62, .98)),
    radial-gradient(circle at 12% 10%, rgba(114, 201, 31, .18), transparent 30%);
  color: #dcefff;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 18px 28px;
  display: grid;
  grid-template-columns: 1.05fr .7fr 1.35fr;
  gap: 26px;
}
.site-footer img {
  width: 200px;
  padding: 6px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}
.site-footer h2 { margin: 0 0 12px; color: #fff; font-size: 19px; }
.footer-links a {
  display: block;
  width: fit-content;
  margin: 7px 0;
  color: #e8f6ff;
  transition: color .18s ease, transform .18s ease;
}
.footer-links a:hover {
  color: #9df05a;
  transform: translateX(3px);
}
.footer-brand-block p {
  max-width: 360px;
  margin: 12px 0 0;
  color: #eef8ff;
}
.footer-contact-list {
  display: grid;
  gap: 10px;
}
.footer-contact-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #e8f6ff;
}
.footer-contact-item p,
.footer-contact-item span:last-child {
  margin: 0;
  line-height: 1.55;
}
.footer-contact-item:hover span:last-child {
  color: #9df05a;
}
.footer-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #9df05a;
  font-size: 17px;
  font-weight: 900;
}
.footer-icon img {
  width: 22px;
  height: 22px;
  display: block;
}
.footer-contact-item.whatsapp .footer-icon {
  background: transparent;
  color: #fff;
}
.copyright { padding: 8px 18px; text-align: center; background: #0a1d2d; color: #b9cad9; }

@media (max-width: 940px) {
  .menu-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  box-shadow: 0 14px 40px rgba(16, 55, 91, .1);
    padding: 12px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 12px 0; }
  .hero-inner,
  .intro-section,
  .home-quote,
    .contact-page { grid-template-columns: 1fr; }
  .hero-inner { min-height: auto; padding-top: 26px; }
  .hero-doctor-card { width: min(410px, 100%); justify-self: center; }
  .promise-strip { grid-template-columns: repeat(2, 1fr); margin-top: 0; padding: 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .brand img { width: 190px; }
  .hero-copy h1 { font-size: 42px; white-space: normal; }
  .promise-strip,
  .service-grid,
  .gallery-grid { grid-template-columns: 1fr; }

.testimonial-heading h2 { white-space: normal; }
  .testimonial-carousel { padding: 0 54px; }
  .testimonial-track { grid-template-columns: 1fr; }
  .testimonial-card { padding: 30px 26px; min-height: 320px; }
  .testimonial-card p { font-size: 16px; }
  .section-heading { text-align: left; }
  .page-section { padding: 42px 18px 56px; }
  .about-checks { grid-template-columns: 1fr; }
}
















.compact-banner {
  padding: 52px 18px;
}
.about-results {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}
.about-results-image img {
  width: 100%;
  aspect-ratio: 4 / 4.45;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.about-results-copy h2 {
  max-width: 620px;
  margin: 0 0 18px;
  color: #062f5f;
  font-size: clamp(34px, 3vw, 42px);
  line-height: 1.12;
}
.about-results-copy p {
  color: var(--muted);
  margin: 0 0 11px;
  font-size: 15.5px;
  line-height: 1.6;
}
.about-stats {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.about-stats strong {
  display: block;
  color: var(--blue);
  font-size: clamp(30px, 2.7vw, 38px);
  line-height: 1.05;
}
.about-stats span {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.about-depth {
  padding-top: 42px;
}
.about-detail-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.about-detail-grid article {
  position: relative;
  min-height: 235px;
  padding: 34px 30px 30px;
  border-radius: 8px;
  border: 1px solid rgba(15, 110, 184, .16);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  box-shadow: 0 18px 44px rgba(13, 73, 123, .12);
  overflow: hidden;
}
.about-detail-grid article::before {
  content: "?";
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}
.about-detail-grid article::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(114, 201, 31, .14);
}
.about-detail-grid h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #062f5f;
  font-size: 24px;
}
.about-detail-grid p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #375a76;
  line-height: 1.62;
}
@media (max-width: 940px) {
  .about-results,
  .about-detail-grid { grid-template-columns: 1fr; }
  .about-results-image { max-width: 520px; }
}








@media (max-height: 760px) and (min-width: 941px) {
  .about-results { padding-top: 30px; padding-bottom: 42px; }
  .about-results-image img { max-height: 500px; }
  .about-results-copy h2 { font-size: 36px; margin-bottom: 12px; }
  .about-results-copy p { font-size: 15px; line-height: 1.52; margin-bottom: 8px; }
  .about-stats { margin-top: 14px; }
  .about-stats strong { font-size: 34px; }
}


.specialization-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 18px 82px;
  min-height: calc(100vh - 74px);
}
.specialization-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.specialization-intro h1 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.05;
}
.specialization-intro p:last-child {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.specialization-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.specialization-tabs {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 86px;
}
.specialization-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 13px;
  border: 1px solid rgba(10, 61, 98, .14);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(13, 73, 123, .07);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.specialization-tab span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 13px;
}
.specialization-tab:hover,
.specialization-tab.active {
  transform: translateY(-2px);
  border-color: rgba(16, 119, 196, .38);
  background: linear-gradient(135deg, rgba(13, 119, 196, .08), rgba(114, 201, 31, .10));
  box-shadow: 0 18px 42px rgba(13, 73, 123, .13);
}
.specialization-panel {
  display: none;
  grid-template-columns: minmax(310px, 45%) minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  border: 1px solid rgba(10, 61, 98, .12);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 52%, #eef9e7 100%);
  box-shadow: 0 24px 60px rgba(13, 73, 123, .14);
  overflow: hidden;
}
.specialization-panel.active { display: grid; }
.specialization-visual {
  position: relative;
  min-height: 430px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #edf7ff, #f5fbef);
}
.specialization-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.specialization-copy {
  padding: 14px 8px 8px 0;
}
.specialization-copy h2 {
  margin: 4px 0 12px;
  color: var(--navy);
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
}
.specialization-copy .lead-text {
  margin: 0 0 20px;
  color: #365b7c;
  font-size: 16px;
  line-height: 1.62;
}
.specialization-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.specialization-detail-grid > div {
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(15, 110, 184, .13);
}
.specialization-detail-grid h3 {
  margin: 0 0 12px;
  color: #062f5f;
  font-size: 19px;
}
.specialization-detail-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: #41627f;
  line-height: 1.55;
}
.specialization-detail-grid li {
  position: relative;
  padding-left: 24px;
}
.specialization-detail-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 0 0 4px rgba(114, 201, 31, .12);
}
@media (max-width: 940px) {
  .specialization-intro { display: block; }
  .specialization-intro p:last-child { margin-top: 12px; }
  .specialization-layout { grid-template-columns: 1fr; }
  .specialization-tabs {
    position: static;
    grid-template-columns: minmax(0, 1fr);
  }
  .specialization-panel { grid-template-columns: 1fr; }
  .specialization-copy { padding: 0; }
}
@media (max-width: 620px) {
  .specialization-page { padding: 30px 18px 64px; min-height: auto; }
  .specialization-tabs { grid-template-columns: 1fr; }
  .specialization-panel { padding: 12px; }
  .specialization-visual { min-height: 280px; }
  .specialization-detail-grid { grid-template-columns: 1fr; }
}


@media (max-height: 760px) and (min-width: 941px) {
  .specialization-page { padding-top: 18px; padding-bottom: 82px; min-height: calc(100vh - 74px); }
  .specialization-intro { margin-bottom: 14px; }
  .specialization-intro h1 { font-size: 38px; }
  .specialization-intro p:last-child { font-size: 15px; line-height: 1.45; }
  .specialization-layout { gap: 18px; }
  .specialization-tabs { gap: 8px; top: 78px; }
  .specialization-tab { min-height: 46px; padding: 8px 12px; }
  .specialization-tab span { width: 30px; height: 30px; flex-basis: 30px; }
  .specialization-panel { padding: 14px; gap: 20px; }
  .specialization-visual { min-height: 380px; }
  .specialization-copy h2 { font-size: 36px; margin-bottom: 8px; }
  .specialization-copy .lead-text { font-size: 16px; line-height: 1.5; margin-bottom: 14px; }
  .specialization-detail-grid { gap: 12px; margin-bottom: 14px; }
  .specialization-detail-grid > div { padding: 14px; }
  .specialization-detail-grid h3 { font-size: 17px; margin-bottom: 8px; }
  .specialization-detail-grid ul { gap: 7px; line-height: 1.42; }
  .footer-inner { padding-top: 24px; padding-bottom: 20px; }
  .site-footer img { width: 185px; }
  .footer-links a { margin-bottom: 8px; }
  .footer-contact-list { gap: 8px; }
  .copyright { padding-top: 7px; padding-bottom: 7px; }
}
@media (max-width: 940px) {
  .specialization-intro h1 { white-space: normal; }
}
.gallery-page {
  max-width: 1180px;
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: 34px 18px 84px;
  display: flex;
  align-items: center;
}
.gallery-carousel {
  position: relative;
  width: 100%;
  padding: 26px 72px;
  border: 1px solid rgba(15, 110, 184, .12);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(237, 247, 255, .8), #ffffff 46%, rgba(240, 250, 233, .86));
  box-shadow: 0 28px 70px rgba(13, 73, 123, .12);
}
.gallery-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.gallery-card {
  display: none;
  position: relative;
  margin: 0;
  min-height: 430px;
  padding: 8px;
  border: 1px solid rgba(15, 110, 184, .20);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 44px rgba(13, 73, 123, .16);
}
.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border-top: 4px solid var(--green);
  pointer-events: none;
  z-index: 1;
}
.gallery-card.active { display: block; }
.gallery-open {
  width: 100%;
  height: 100%;
  min-height: 414px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}
.gallery-card img,
.gallery-card video {
  width: 100%;
  height: 100%;
  min-height: 414px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}
.gallery-card video { background: #061d32; }
.gallery-open img { transition: transform .22s ease, filter .22s ease; }
.gallery-open:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.02);
}
.gallery-video-card::after {
  content: "Video";
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(13, 73, 123, .20);
}
.gallery-carousel .carousel-arrow {
  font-size: 0;
  width: 52px;
  height: 52px;
  border: 4px solid #fff;
  box-shadow: 0 14px 34px rgba(13, 73, 123, .22);
}
.gallery-carousel .carousel-arrow::before {
  content: "";
  width: 13px;
  height: 13px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
}
.gallery-carousel .carousel-arrow.prev::before {
  transform: rotate(-135deg);
  margin-left: 5px;
}
.gallery-carousel .carousel-arrow.next::before {
  transform: rotate(45deg);
  margin-right: 5px;
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(5, 24, 42, .82);
  backdrop-filter: blur(10px);
}
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox img {
  max-width: min(1120px, 94vw);
  max-height: 88vh;
  border: 8px solid #fff;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}
.gallery-lightbox-close {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}
.gallery-lightbox-close::before,
.gallery-lightbox-close::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 22px;
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: #fff;
}
.gallery-lightbox-close::before { transform: rotate(45deg); }
.gallery-lightbox-close::after { transform: rotate(-45deg); }
body.modal-open { overflow: hidden; }
@media (max-height: 760px) and (min-width: 941px) {
  .gallery-page { padding-top: 24px; padding-bottom: 74px; }
  .gallery-carousel { padding-top: 22px; padding-bottom: 22px; }
  .gallery-card { min-height: 390px; }
  .gallery-open,
  .gallery-card img,
  .gallery-card video { min-height: 374px; }
}
@media (max-width: 940px) {
  .gallery-page { align-items: start; }
  .gallery-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .gallery-page { min-height: auto; padding: 30px 18px 58px; }
  .gallery-carousel { padding: 22px 54px; }
  .gallery-track { grid-template-columns: 1fr; }
  .gallery-card { min-height: 340px; }
  .gallery-open,
  .gallery-card img,
  .gallery-card video { min-height: 324px; }
  .gallery-lightbox { padding: 18px; }
  .gallery-lightbox img { border-width: 5px; }
}
.contact-shell {
  max-width: 1180px;
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: 28px 18px 70px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .9fr);
  gap: 24px;
  align-items: stretch;
}
.contact-form-panel,
.contact-info-panel {
  border: 1px solid rgba(15, 110, 184, .13);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fcff 58%, #eef9e7 100%);
  box-shadow: 0 24px 58px rgba(13, 73, 123, .12);
}
.contact-form-panel { padding: 26px; }
.contact-info-panel {
  padding: 20px;
  display: grid;
  gap: 14px;
}
.contact-title-row h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.06;
}
.contact-title-row p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.compact-form {
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
  gap: 13px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.compact-form label { gap: 7px; }
.compact-form input,
.compact-form textarea {
  min-height: 44px;
  background: #fff;
}
.compact-form textarea { resize: vertical; }
.contact-detail-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(15, 110, 184, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  color: var(--navy);
}
a.contact-detail-card { transition: transform .18s ease, box-shadow .18s ease; }
a.contact-detail-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(13, 73, 123, .12);
}
.contact-detail-card h2 {
  margin: 0 0 4px;
  color: #062f5f;
  font-size: 17px;
}
.contact-detail-card p {
  margin: 0;
  color: #345875;
  line-height: 1.45;
  font-weight: 700;
}
.contact-detail-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-weight: 900;
}
.contact-detail-icon.map-icon::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.contact-detail-icon.phone-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 0 0 0 12px;
  transform: rotate(-18deg);
}
.contact-detail-icon img {
  width: 26px;
  height: 26px;
  display: block;
}
.contact-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.contact-mini-grid .contact-detail-card:last-child {
  grid-column: 1 / -1;
}
.contact-map {
  min-height: 245px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(15, 110, 184, .16);
  background: #eef7ff;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 245px;
  border: 0;
  display: block;
}
@media (max-height: 760px) and (min-width: 941px) {
  .contact-shell { padding-top: 20px; padding-bottom: 58px; }
  .contact-form-panel { padding: 22px; }
  .contact-title-row h1 { font-size: 38px; }
  .contact-title-row p { margin-bottom: 14px; font-size: 15px; }
  .compact-form { gap: 11px; }
  .contact-info-panel { gap: 12px; padding: 18px; }
  .contact-detail-card { padding: 12px; }
  .contact-map,
  .contact-map iframe { min-height: 215px; }
}
@media (max-width: 940px) {
  .contact-shell { grid-template-columns: 1fr; min-height: auto; }
}
@media (max-width: 620px) {
  .contact-shell { padding: 30px 18px 58px; }
  .form-row,
  .contact-mini-grid { grid-template-columns: 1fr; }
  .contact-form-panel,
  .contact-info-panel { padding: 18px; }
}
/* Contact page QR-first polish */
.contact-shell {
  max-width: none;
  padding: 22px 18px 62px;
  background:
    radial-gradient(circle at 8% 10%, rgba(114, 201, 31, .16), transparent 26%),
    linear-gradient(135deg, #eef7ff 0%, #ffffff 48%, #edf9e6 100%);
}
.contact-shell > * {
  max-width: 1180px;
}
.contact-form-panel,
.contact-info-panel {
  border-color: rgba(15, 110, 184, .18);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 64px rgba(13, 73, 123, .16);
}
.contact-form-panel {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.contact-form-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}
.contact-qr-card {
  padding: 22px 26px 18px 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 89, 153, .96), rgba(41, 157, 56, .92)),
    url('../images/dr-mithilesh-kumar.jpg') right center/auto 130% no-repeat;
}
.contact-qr-card span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.contact-qr-card h1 {
  margin: 0 0 5px;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
}
.contact-qr-card p {
  margin: 0;
  color: #eaf8ff;
  font-weight: 800;
}
.compact-form {
  padding: 22px 26px 24px 34px;
}
.compact-form label {
  color: #062f5f;
  font-size: 15px;
}
.compact-form input,
.compact-form textarea {
  border: 1px solid rgba(15, 110, 184, .24);
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 18px rgba(13, 73, 123, .06);
}
.compact-form input:focus,
.compact-form textarea:focus {
  outline: 3px solid rgba(114, 201, 31, .18);
  border-color: var(--blue);
}
.compact-form .btn.primary {
  min-height: 50px;
  background: linear-gradient(135deg, var(--blue), #0f8a45);
  box-shadow: 0 16px 30px rgba(15, 110, 184, .22);
}
.contact-info-panel {
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(242, 250, 237, .94));
}
.contact-detail-card {
  background: #fff;
  border-color: rgba(15, 110, 184, .18);
  box-shadow: 0 12px 26px rgba(13, 73, 123, .07);
}
.contact-detail-card h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #0f6eb8;
}
.contact-detail-card p {
  color: #0d2d4d;
  font-weight: 900;
}
.contact-detail-icon {
  background: linear-gradient(135deg, #0f6eb8, #48b536);
  box-shadow: 0 10px 20px rgba(13, 73, 123, .16);
}
.contact-map {
  min-height: 230px;
  box-shadow: 0 12px 30px rgba(13, 73, 123, .10);
}
.contact-map iframe { min-height: 230px; }
@media (max-height: 760px) and (min-width: 941px) {
  .contact-shell { padding-top: 18px; padding-bottom: 48px; }
  .contact-qr-card { padding-top: 18px; padding-bottom: 15px; }
  .compact-form { padding-top: 18px; padding-bottom: 20px; }
  .contact-map,
  .contact-map iframe { min-height: 205px; }
}
@media (max-width: 620px) {
  .contact-shell {
    padding: 16px 12px 44px;
    gap: 14px;
  }
  .contact-qr-card {
    padding: 20px 18px;
    background: linear-gradient(135deg, rgba(6, 89, 153, .98), rgba(41, 157, 56, .94));
  }
  .compact-form { padding: 18px; }
  .contact-info-panel { padding: 14px; }
  .contact-detail-card { padding: 12px; }
  .contact-detail-card h2 { font-size: 13px; }
}
/* Contact form first-screen tightening */
.contact-qr-card {
  padding-top: 16px;
  padding-bottom: 14px;
}
.contact-qr-card span {
  margin-bottom: 5px;
  padding: 4px 10px;
  font-size: 11px;
}
.contact-qr-card h1 {
  font-size: clamp(24px, 2.5vw, 34px);
}
.contact-qr-card p {
  font-size: 14px;
}
.compact-form {
  padding-top: 16px;
  padding-bottom: 18px;
  gap: 10px;
}
.compact-form label {
  gap: 5px;
  font-size: 14px;
}
.compact-form input,
.compact-form textarea {
  min-height: 38px;
  padding: 9px 11px;
}
.compact-form textarea {
  min-height: 86px;
}
.compact-form .btn.primary {
  min-height: 46px;
}
@media (max-height: 760px) and (min-width: 941px) {
  .contact-qr-card h1 { font-size: 30px; }
  .compact-form textarea { min-height: 74px; }
  .compact-form input,
  .compact-form textarea { min-height: 36px; }
  .compact-form .btn.primary { min-height: 44px; }
}
@media (max-width: 620px) {
  .contact-qr-card { padding: 14px 16px 12px; }
  .contact-qr-card h1 { font-size: 24px; }
  .contact-qr-card p { font-size: 13px; }
  .compact-form { padding: 14px 16px 16px; gap: 9px; }
  .compact-form input,
  .compact-form textarea { min-height: 36px; padding: 8px 10px; }
  .compact-form textarea { min-height: 70px; }
  .compact-form .btn.primary { min-height: 44px; }
}
/* Contact first-screen final compact pass */
.contact-shell {
  padding-top: 18px;
  padding-bottom: 44px;
  gap: 18px;
}
.contact-qr-card {
  padding: 12px 24px 11px 32px;
}
.contact-qr-card span {
  margin-bottom: 4px;
  padding: 4px 10px;
  font-size: 10px;
}
.contact-qr-card h1 {
  font-size: clamp(24px, 2.25vw, 30px);
  line-height: 1;
}
.contact-qr-card p {
  font-size: 13px;
}
.compact-form {
  padding: 14px 24px 16px 32px;
  gap: 8px;
}
.form-row {
  gap: 10px;
}
.compact-form label {
  gap: 4px;
  font-size: 13px;
}
.compact-form input,
.compact-form textarea {
  min-height: 34px;
  padding: 7px 10px;
}
.compact-form textarea {
  min-height: 58px;
  max-height: 72px;
}
.compact-form .btn.primary {
  min-height: 42px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.contact-info-panel {
  padding: 18px;
  gap: 12px;
}
.contact-detail-card {
  padding: 12px;
}
.contact-map,
.contact-map iframe {
  min-height: 205px;
}
@media (max-height: 760px) and (min-width: 941px) {
  .contact-shell { padding-top: 14px; padding-bottom: 38px; }
  .contact-qr-card { padding-top: 10px; padding-bottom: 9px; }
  .contact-qr-card h1 { font-size: 28px; }
  .compact-form { padding-top: 12px; padding-bottom: 14px; gap: 7px; }
  .compact-form input,
  .compact-form textarea { min-height: 32px; }
  .compact-form textarea { min-height: 52px; max-height: 60px; }
  .compact-form .btn.primary { min-height: 40px; }
  .contact-map,
  .contact-map iframe { min-height: 185px; }
}
@media (max-width: 620px) {
  .contact-shell { padding-top: 12px; }
  .contact-qr-card h1 { font-size: 23px; }
  .compact-form textarea { min-height: 58px; max-height: 70px; }
}
/* Contact form spacing and field visibility fix */
.contact-shell {
  align-items: start;
}
.contact-form-panel {
  align-self: start;
}
.compact-form .btn.primary {
  width: fit-content;
  min-width: 170px;
  justify-self: start;
  padding-left: 26px;
  padding-right: 26px;
}
.compact-form input,
.compact-form textarea {
  border-color: #89afd0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 14px rgba(13, 73, 123, .07);
}
.compact-form input:hover,
.compact-form textarea:hover {
  border-color: #4f92c7;
}
@media (max-width: 620px) {
  .compact-form .btn.primary {
    width: 100%;
    justify-self: stretch;
  }
}
/* Contact form balanced query area */
.compact-form textarea {
  min-height: 128px;
  max-height: 170px;
}
@media (max-height: 760px) and (min-width: 941px) {
  .compact-form textarea { min-height: 108px; max-height: 135px; }
}
@media (max-width: 620px) {
  .compact-form textarea { min-height: 96px; max-height: 130px; }
}
.footer-disclaimer {
  padding: 10px 18px;
  text-align: center;
  background: #102f49;
  color: #d7e9f7;
  font-size: 13px;
  line-height: 1.45;
}
.copyright {
  font-size: 13px;
  line-height: 1.35;
}
.copyright a {
  color: #e9f6ff;
  font-weight: 800;
}
.copyright a:hover {
  color: #9df05a;
}
.brand-text {
  display: inline-grid;
  gap: 1px;
  line-height: 1;
  color: var(--blue);
}
.brand-text strong {
  color: var(--blue);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
}
.brand-text span {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.footer-brand-block .brand-text {
  width: fit-content;
  padding: 13px 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}
.site-footer .footer-icon img {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
@media (max-width: 620px) {
  .brand-text strong { font-size: 30px; }
  .brand-text span { font-size: 9px; letter-spacing: 4px; }
}