/* ==========================================================================
   Homeo Care Clinic — Stylesheet
   Step 1: Base tokens + Header (topbar, logo, nav, mega-menu)
   ========================================================================== */

:root {
  /* Brand colors — client-approved palette */
  --color-primary: #02646f; /* Primary Green — buttons, headings, highlights, icons, active states */
  --color-primary-dark: #4f8f24; /* Dark Green — hover states, footer accents, strong emphasis */
  --color-accent: #02646f; /* Primary Blue — secondary buttons, links, icons, healthcare accents */
  --color-accent-dark: #0172b0; /* Darkened Primary Blue for hover states (derived, not in palette) */
  --color-text: #02646f; /* Dark Navy — main text, navigation, important headings */
  --color-text-light: #393a3b; /* Body Gray — paragraphs and secondary text */
  --color-bg: #ffffff;
  --color-bg-alt: #f3f8f9; /* Light Green — section backgrounds, cards, subtle highlights */
  --color-bg-info: #eaf7fc; /* Light Blue — soft backgrounds, information cards */
  --color-border: #dde8df; /* Border Gray — borders, dividers, form fields */

  /* Typography — Poppins for structure, Nunito Sans for body content */
  --font-heading:
    "Poppins", sans-serif; /* H1–H3, nav, buttons, numbers/statistics */
  --font-body:
    "Nunito Sans", sans-serif; /* paragraphs, descriptions, form labels, FAQ, small text */
  --font-base: var(--font-body);

  --container-width: 1350px;
  --header-height: 84px;
  --topbar-height: 40px;
}

/* ---------- Reset / base ---------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

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

a {
  color: var(--color-text);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-dark);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75em 1em;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Accessibility helper ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header main row: logo, call/address/hours, language ---------- */
.header-main {
  background: #fff;
  position: relative;
}

.header-main__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 1.25rem;
  flex-wrap: wrap;
}

.site-logo img {
  height: 140px;
  width: auto;
}

.header-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex: 1;
  flex-wrap: wrap;
}

.header-info__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 2rem;
  border-left: 1px solid var(--color-border);
}

.header-info__item:first-child {
  padding-left: 0;
  border-left: none;
}

.header-info__icon {
  flex-shrink: 0;
}

.header-info__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-accent);
  color: var(--color-accent);
}

.header-info__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-light);
  font-size: 0.75rem;
  margin-bottom: 0.15rem;
}

.header-info__text p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.4;
}

.header-info__text a {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.header-info__text a:hover {
  color: var(--color-accent);
}

.lang-select {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  white-space: nowrap;
}

.lang-select img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-select .chevron-icon {
  width: 14px;
  height: 14px;
}

/* Mobile nav toggle button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
}

/* ---------- Primary nav bar (Dark Navy per approved palette's
   "navigation" role — replaces the old teal from the reference design) ---------- */
.primary-nav-bar {
  background: var(--color-text);
  position: relative;
  z-index: 100;
}

.primary-nav-bar__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  position: relative;
}

.primary-nav .menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.primary-nav .menu > li {
  position: relative;
}

.primary-nav .menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 1rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  position: relative;
}

.primary-nav .menu > li > a:hover,
.primary-nav .menu > li:focus-within > a {
  color: var(--color-bg-alt);
}

.primary-nav .menu > li.is-active > a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px 2px 0 0;
}

.chevron-icon {
  width: 12px;
  height: 12px;
  margin-left: 1px;
}

/* Mega menu panels — hidden by default, shown on hover/focus for desktop */
.mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  padding: 1.5rem;
  min-width: 780px;
  z-index: 200;
}

.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel {
  display: flex;
  gap: 2rem;
}

.mega-panel--simple {
  display: none;
  min-width: 320px;
}

.has-mega:hover .mega-panel--simple,
.has-mega:focus-within .mega-panel--simple {
  display: block;
}

.mega-panel--3col {
  min-width: 620px;
}

.mega-panel--wide {
  min-width: 680px;
}

.mega-col h3 {
  font-size: 0.85rem;
  text-transform: none;
  color: var(--color-primary);
  margin: 0 0 0.6rem;
}

.mega-col ul li {
  margin-bottom: 0.4rem;
}

.mega-col ul li a {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.mega-col ul li a:hover {
  color: var(--color-primary);
}

.mega-col--intro {
  max-width: 220px;
  border-right: 1px solid var(--color-border);
  padding-right: 1.5rem;
}

.mega-col--intro p {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* Menu bar scales with the screen: smaller text on small laptops, hamburger on tablets/phones (<=960px, set in style.css). */
@media (min-width: 961px) {
  .primary-nav .menu {
    flex-wrap: nowrap;
    gap: 0;
    justify-content: space-between;
  }
  .primary-nav .menu > li > a {
    font-size: clamp(0.66rem, 0.5rem + 0.4vw, 0.8125rem);
    letter-spacing: 0.02em;
    gap: 0.25rem;
    padding: 1rem clamp(0.4rem, 0.9vw, 0.85rem);
  }
}
@media (min-width: 1500px) {
  .primary-nav .menu > li > a {
    font-size: 0.875rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
/* Small laptops / tablets in landscape */
@media (min-width: 961px) and (max-width: 1150px) {
  .primary-nav .menu > li > a {
    font-size: 0.64rem;
    letter-spacing: 0.01em;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
}

/* ---------- Search (toggle button + dropdown panel) ---------- */
.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-toggle svg {
  width: 19px;
  height: 19px;
}

.search-toggle:hover {
  color: var(--color-bg-alt);
}

.site-search {
  position: absolute;
  top: 100%;
  right: 1.25rem;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 1rem;
  width: 380px;
  z-index: 300;
}

.site-search[hidden] {
  display: none;
}

.site-search__form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.site-search__form input[type="search"] {
  flex: 1;
  padding: 0.6em 0.8em;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.site-search__form input[type="search"]:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

.site-search__form button[type="submit"] {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0 0.9em;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 0.35em;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
}

.site-search__form button[type="submit"] svg {
  width: 15px;
  height: 15px;
}

.site-search__form button[type="submit"] span {
  display: none;
}

.site-search__close {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-light);
  padding: 0 0.2em;
  flex-shrink: 0;
}

.site-search__close:hover {
  color: var(--color-text);
}

.site-search__results {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  max-height: 340px;
  overflow-y: auto;
}

.site-search__results[hidden] {
  display: none;
}

.site-search__result {
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
}

.site-search__result:last-child {
  border-bottom: none;
}

.site-search__result-type {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.site-search__result-title {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 600;
}

.site-search__result-title:hover {
  color: var(--color-primary);
}

.site-search__empty {
  font-size: 0.85rem;
  color: var(--color-text-light);
  padding: 0.5rem 0;
}

/* ---------- Buttons (used across header + rest of site) ---------- */
.btn {
  display: inline-block;
  padding: 0.75em 1.75em;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ---------- Responsive: collapse header nav under ~960px ---------- */
@media (max-width: 960px) {
  .header-info {
    display: none;
  }

  .lang-select span {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-logo img {
    height: 100px;
  }

  .header-main__inner {
    padding: 0.75rem 1rem;
  }

  .primary-nav-bar__inner {
    padding: 0 1rem;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-text);
    max-height: 80vh;
    overflow-y: auto;
    z-index: 250;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .menu {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-nav .menu > li > a {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    justify-content: space-between;
  }

  .primary-nav .menu > li.is-active > a {
    color: var(--color-primary);
  }

  .primary-nav .menu > li.is-active > a::after {
    display: none;
  }

  .mega-panel,
  .mega-panel--3col,
  .mega-panel--wide,
  .mega-panel--simple {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    min-width: 0;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }

  .has-mega.is-open .mega-panel,
  .has-mega.is-open .mega-panel--simple {
    display: flex;
  }

  .mega-col h3 {
    color: var(--color-bg-alt);
  }

  .mega-col ul li a {
    color: rgba(255, 255, 255, 0.85);
  }

  .mega-col--intro {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 0;
    padding-bottom: 1rem;
    max-width: none;
  }

  .mega-col--intro p {
    color: rgba(255, 255, 255, 0.75);
  }

  .site-search {
    position: fixed;
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: auto;
    border-radius: 12px 12px 0 0;
  }
}

@media (max-width: 600px) {
  .site-logo img {
    height: 80px;
  }

  .header-main__inner {
    gap: 0.75rem;
  }
}

/* ---------- Sticky menu bar (laptop / desktop only) ---------- */
@media (min-width: 961px) {
  html {
    scroll-padding-top: 70px;
  } /* #anchor links don't hide under the bar */
  .primary-nav-bar {
    position: sticky;
    top: 0;
    z-index: 900; /* above sliders/content */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  }
}

/* ---------- About us page CSS ---------- */
.page-title {
  background: #fff;
  text-align: center;
  padding: 2.5rem 1.25rem 1rem;
}

.page-title h1 {
  color: var(--color-text);
  font-size: 35px;
  margin: 0;
}

.trust-stats {
  background: var(--color-bg-alt);
}

.trust-stats__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.trust-stats__text h2 {
  color: var(--color-text);
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.trust-stats__text p {
  color: var(--color-text-light);
}

.trust-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Reuses .stat / .stat__num / .stat__label from home.css for the base
   look; this just adds the yellow "highlighted" variant seen in the
   reference screenshot for 2 of the 4 stats. */
.stat--highlight {
  background: #fdf6d8;
  border-color: #f0e2a0;
}

.team-section {
  background: #fff;
}

.team-section__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.team-section__inner > h2 {
  color: var(--color-text);
  text-align: center;
  margin: 0 0 2rem;
}

.team-accordion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.team-accordion-grid--featured {
  grid-template-columns: repeat(2, 1fr);
}

.team-accordion-card {
  background: var(--color-bg-alt);
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.team-accordion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.team-accordion-card img {
  width: 100%;
  aspect-ratio: 5 / 5;
  object-fit: cover;
  display: block;
}

.global-award-card {
  background: var(--color-bg-alt);
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.global-award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.global-award-card img {
  width: 100%;
  aspect-ratio: 5 / 5;
  object-fit: cover;
  display: block;
}

.team-accordion-grid--featured .team-accordion-card img {
  aspect-ratio: 16 / 10;
}

.team-accordion-card h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin: 1rem 1rem 0;
}

/* Accordion: reuses the native <details>/<summary> pattern already used
   for the homepage FAQ, but with its own class name so it behaves
   independently (each team member's accordion opens/closes on its own —
   doesn't need the FAQ's "only one open at a time" behavior). */
.team-accordion-card__details {
  margin: 0.5rem 1rem 1rem;
}

.team-accordion-card__details summary {
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-light);
  position: relative;
  padding-right: 1.5rem;
}

.team-accordion-card__details summary::-webkit-details-marker {
  display: none;
}

.team-accordion-card__details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.team-accordion-card__details[open] summary::after {
  content: "\2212"; /* minus sign */
}

.team-accordion-card__details p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

@media (max-width: 960px) {
  .trust-stats__inner {
    grid-template-columns: 1fr;
  }

  .team-accordion-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-accordion-grid--featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .team-accordion-grid {
    grid-template-columns: 1fr;
  }
  .trust-stats__inner{
      gap: 30px;
  }
}

/* ========================================================================== 
   Dr. Vaseem Choudhary page
   Uses global tokens + existing home.css components wherever possible.
   ========================================================================== */

.doctor-page__hero,
.doctor-page__content,
.doctor-page__cta,
.doctor-video,
.doctor-reviews,
.video-testimonials {
  width: 100%;
}

.doctor-page__hero-inner,
.doctor-page__content-inner,
.doctor-page__cta-inner,
.doctor-video__inner,
.doctor-reviews__inner,
.video-testimonials__inner {
  width: min(100% - 2.5rem, var(--container-width));
  margin: 0 auto;
}

.doctor-page__hero {
  padding: 2.5rem 0 1rem;
  background: #fff;
}

.doctor-page__hero-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.doctor-page__hero-copy h1 {
  max-width: 720px;
  margin: 0;
  color: var(--color-text);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.35;
}

.doctor-page__hero-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 2.5rem;
  align-items: center;
}

.doctor-page__hero-grid > img {
  width: 100%;
  border-radius: 8px;
}

.doctor-page__quote h2,
.doctor-page__content h2,
.doctor-page__cta h2,
.doctor-reviews h2,
.video-testimonials h2 {
  color: var(--color-text);
}

.doctor-page__quote blockquote {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-primary);
  color: var(--color-text-light);
  font-style: italic;
}

.doctor-page__quote p {
  margin: 0;
  color: var(--color-text);
}

.doctor-page__quote p span {
  color: var(--color-text-light);
  font-weight: 400;
}

.doctor-page__content {
  padding: 1.25rem 0 2.5rem;
  background: #fff;
}

.doctor-page__content--soft {
  background: var(--color-bg-alt);
}

.doctor-page__content-inner > h2 {
  margin-top: 0;
  text-align: center;
}

.doctor-page__content-inner p,
.doctor-page__content-inner li {
  color: var(--color-text-light);
}

.doctor-page__experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.doctor-page__experience h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.doctor-page__check-list {
  padding-left: 1.1rem;
  list-style: none;
}

.doctor-page__check-list li {
  position: relative;
  margin: 0.35rem 0;
}

.doctor-page__check-list li::before {
  content: "✓";
  position: absolute;
  left: -1.1rem;
  color: var(--color-primary);
  font-weight: 700;
}

.doctor-page__cta {
  padding: 2.25rem 0;
  text-align: center;
  background: #fff;
}

.doctor-page__cta-inner {
  max-width: 1000px;
}

.doctor-page__cta h2 {
  margin-top: 0;
}

.doctor-page__cta p {
  color: var(--color-text-light);
}

.doctor-video {
  padding: 2.5rem 0;
  background: var(--color-bg-alt);
}

.doctor-video__inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.doctor-video__embed {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.doctor-video__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-cta {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  color: var(--color-text);
  text-align: center;
}

.youtube-cta__icon {
  width: 54px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #d00;
  color: #fff;
}

.youtube-cta strong,
.youtube-cta small {
  display: block;
}

.youtube-cta small {
  color: var(--color-text-light);
}

.doctor-reviews {
  padding: 2.5rem 0;
  background: #fff;
}

.doctor-reviews h2,
.video-testimonials h2 {
  margin: 0 0 1.5rem;
  text-align: center;
}

.doctor-reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.review-card {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg-alt);
}

.review-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.review-card__head strong {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-size: 0.9rem;
}

.review-card__head span {
  letter-spacing: 0.12em;
  color: #d99a00;
}

.review-card p {
  margin: 0 0 0.6rem;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.review-card small {
  color: var(--color-text-light);
}

.video-testimonials {
  padding: 2.5rem 0;
  background: var(--color-bg-alt);
  text-align: center;
}

.video-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.video-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.video-card:hover img {
  transform: scale(1.03);
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
}

/* The page already uses the homepage blog and appointment components. */
.doctor-page .blog-teaser,
.doctor-page .appointment {
  margin-top: 0;
}

@media (max-width: 960px) {
  .doctor-page__hero-copy,
  .doctor-page__hero-grid,
  .doctor-page__experience,
  .doctor-video__inner {
    grid-template-columns: 1fr;
  }

  .doctor-page__hero-copy {
    display: grid;
  }

  .doctor-page__hero-copy .btn {
    justify-self: start;
  }

  .doctor-reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-testimonials__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .doctor-page__hero-inner,
  .doctor-page__content-inner,
  .doctor-page__cta-inner,
  .doctor-video__inner,
  .doctor-reviews__inner,
  .video-testimonials__inner {
    width: min(100% - 1.5rem, var(--container-width));
  }

  .doctor-page__hero {
    padding-top: 1.5rem;
  }

  .doctor-reviews__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CLINIC PAGE
========================================================= */

.clinic-section {
  padding: 70px 0;
  background: var(--color-bg, #ffffff);
}

.clinic-section--soft {
  background: #f7f7f7;
}

.clinic-container {
  width: min(var(--container-width, 1350px), calc(100% - 48px));

  margin: 0 auto;
}

.clinic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.clinic-grid--intro,
.clinic-grid--branch {
  min-height: 330px;
}

.clinic-grid--doctor {
  min-height: 360px;
}

.clinic-grid--mumbra {
  min-height: 300px;
}

/* =========================================================
   CLINIC IMAGES
========================================================= */

.clinic-media {
  width: 100%;
  overflow: hidden;
}

.clinic-media img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.clinic-media--doctor img {
  height: 320px;
}

.clinic-media--mumbra img {
  height: 330px;
}

/* =========================================================
   CLINIC CONTENT
========================================================= */

.clinic-content {
  min-width: 0;
}

.clinic-content h1,
.clinic-content h2 {
  margin: 0 0 14px;
  color: var(--color-text, #02646f);
  font-family: var(--font-heading, "Poppins", sans-serif);
  font-weight: 700;
  line-height: 1.25;
}

.clinic-content h1 {
  font-size: 2.2rem;
}

.clinic-content h2 {
  font-size: 1.9rem;
}

.clinic-content p {
  margin: 0 0 12px;
  color: var(--color-text-light, #393a3b);
  font-family: var(--font-body, "Nunito Sans", sans-serif);
  font-size: 0.9rem;
  line-height: 1.75;
}

.clinic-content p:last-of-type {
  margin-bottom: 0;
}

/* =========================================================
   CONSULTATION BUTTON
========================================================= */

.clinic-button {
  display: inline-block;

  margin-top: 8px;
  padding: 10px 18px;

  border-radius: 4px;

  background: #59b9dc;
  color: #ffffff;

  font-family: var(--font-body, "Nunito Sans", sans-serif);

  font-size: 0.8rem;
  font-weight: 700;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.clinic-button:hover {
  color: #ffffff;

  background: var(--color-primary, #02646f);

  transform: translateY(-1px);
}

/* =========================================================
   CLINIC LOCATIONS
========================================================= */

.clinic-locations {
  padding: 55px 0 60px;
  background: #f7f7f7;
}

.clinic-location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 70px;
  align-items: start;
}

.clinic-location-card {
  padding: 0;
  min-width: 0;
}

.clinic-location-icon {
  width: 24px;
  height: 24px;

  margin-bottom: 14px;

  color: var(--color-primary, #02646f);

  font-size: 20px;
  line-height: 24px;
}

.clinic-location-card h3 {
  margin: 0 0 8px;

  color: var(--color-text, #02646f);

  font-family: var(--font-heading, "Poppins", sans-serif);

  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4;
}

.clinic-location-card p {
  margin: 0 0 8px;

  color: var(--color-text-light, #393a3b);

  font-family: var(--font-body, "Nunito Sans", sans-serif);

  font-size: 1rem;
  line-height: 1.65;
}

.clinic-location-card a {
  display: block;

  width: fit-content;

  margin-top: 3px;

  color: var(--color-primary, #02646f);

  font-family: var(--font-body, "Nunito Sans", sans-serif);

  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.7;
  text-decoration: none;
}

.clinic-location-card a:hover {
  color: var(--color-primary-dark, #4f8f24);
}

/* =========================================================
   CLINIC LOCATIONS - TABLET
========================================================= */

@media (max-width: 900px) {
  .clinic-location-grid {
    column-gap: 35px;
  }

  .clinic-location-card h3 {
    font-size: 1rem;
  }

  .clinic-location-card p,
  .clinic-location-card a {
    font-size: 0.78rem;
  }
}

/* =========================================================
   CLINIC LOCATIONS - MOBILE
========================================================= */

@media (max-width: 700px) {
  .clinic-locations {
    padding: 45px 0 50px;
  }

  .clinic-location-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .clinic-location-card {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-border, #dde8df);
  }

  .clinic-location-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .clinic-section {
    padding: 54px 0;
  }

  .clinic-grid {
    gap: 35px;
  }

  .clinic-content h1 {
    font-size: 1.7rem;
  }

  .clinic-content h2 {
    font-size: 1.45rem;
  }

  .clinic-media img,
  .clinic-media--doctor img,
  .clinic-media--mumbra img {
    height: 300px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
  .clinic-container {
    width: min(calc(100% - 30px), 560px);
  }

  .clinic-grid,
  .clinic-grid--doctor,
  .clinic-grid--mumbra {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Intro */
  .clinic-grid--intro .clinic-media,
  .clinic-grid--branch .clinic-media {
    order: 1;
  }

  .clinic-grid--intro .clinic-content,
  .clinic-grid--branch .clinic-content {
    order: 2;
  }

  /* Doctor */
  .clinic-grid--doctor .clinic-content {
    order: 1;
  }

  .clinic-grid--doctor .clinic-media {
    order: 2;
  }

  /* Mumbra */
  .clinic-grid--mumbra .clinic-content {
    order: 1;
  }

  .clinic-grid--mumbra .clinic-media {
    order: 2;
  }

  .clinic-media img,
  .clinic-media--doctor img,
  .clinic-media--mumbra img {
    height: 280px;
  }

  .clinic-content h1 {
    font-size: 1.55rem;
  }

  .clinic-content h2 {
    font-size: 1.35rem;
  }

  .clinic-content p {
    font-size: 0.84rem;
    line-height: 1.7;
  }

  .clinic-location-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
  .clinic-container {
    width: min(calc(100% - 22px), 560px);
  }

  .clinic-section {
    padding: 40px 0;
  }

  .clinic-media img,
  .clinic-media--doctor img,
  .clinic-media--mumbra img {
    height: 230px;
  }
}
/* Global page: only new awards grid. All other sections use existing website CSS. */
.global-awards__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
.global-awards h2 {
  font-size: 1.9rem;
  line-height: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 1rem;
}
.global-awards__intro {
  text-align: center;
  margin: 0 0 1.75rem;
}
.global-awards__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}
.global-awards__item {
  min-width: 0;
}
.global-awards__media {
  background: #f4f7f8;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 180px;
  padding: 1.5rem;
}
.global-awards__media img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}
.global-awards__item h3 {
  margin: 0.85rem 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 600;
}
.global-awards__item p {
  margin: 0;
}

/* Health Categories Accordion */

.health-categories__grid .category-block details {
  width: 100%;
}

/* Heading and Icon Same Line */
.health-categories__grid .category-block details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
}

/* Remove Default Triangle Icon */
.health-categories__grid .category-block details > summary::marker {
  content: "";
}

.health-categories__grid
  .category-block
  details
  > summary::-webkit-details-marker {
  display: none;
}

/* Keep H3 Styling Consistent */
.health-categories__grid .category-block details > summary h3 {
  margin: 0;
  flex: 1;
}

/* Plus Icon on Right */
.health-categories__grid .category-block details > summary::after {
  content: "+";
  display: inline-block;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Hide Old Left Icon */
.health-categories__grid .category-block details > summary::before {
  content: none;
}

/* Minus Icon When Open */
.health-categories__grid .category-block details[open] > summary::after {
  content: "\2212";
}

/* Treatment List Spacing */
.health-categories__grid .category-block details > ul {
  margin-top: 12px;
  padding-bottom: 15px;
}

/* Prevent Cards From Stretching */
.health-categories__grid .category-block {
  align-self: start;
}

@media (max-width: 600px) {
  .global-awards__grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================
   Hair Fall Treatment — page layout and sidebar only
   Scoped to .hair-page / .hair-cta. Typography comes from site CSS.
   ============================================================== */
.hair-page {
  padding: 60px 20px;
}
.hair-page__layout {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  column-gap: 32px;
  align-items: start;
}
.hair-article {
  min-width: 0;
}
.hair-article > :first-child {
  margin-top: 0;
}
.hair-article p {
  margin-block: 0 12px;
  color: var(--color-text-light);
}
.hair-article h1,
.hair-article h2,
.hair-article h3 {
  margin-bottom: 10px;
}
.hair-article h2,
.hair-article h3 {
  margin-top: 15px;
}
.hair-article ul,
.hair-article ol {
  list-style: revert;
  padding-left: 22px;
  margin: 0 0 15px;
  color: var(--color-text-light);
}
.hair-article li {
  margin-bottom: 4px;
}
.hair-article__hero {
  display: block;
  width: 100%;
  height: auto;
  margin: 15px 0 10px;
}
.hair-article a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hair-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.hair-sidebar__links h2 {
  margin: 0 0 12px;
  padding: 13px 16px;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  /* Sidebar label only; article heading sizes are untouched. */
  font-size: 1rem;
}
.hair-sidebar__links ul {
  list-style: disc;
  padding: 0 0 0 30px;
  margin: 0;
}
.hair-sidebar__links li {
  margin-bottom: 5px;
}
.hair-sidebar__links a {
  color: var(--color-primary);
}
.hair-sidebar__links a:hover {
  text-decoration: underline;
}
.hair-sidebar__contact {
  padding: 25px 18px;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
}
.hair-sidebar__contact p {
  margin: 0 0 16px;
  font-weight: 700;
}
.hair-sidebar__phone {
  display: block;
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
}
.hair-sidebar__contact .btn {
  display: inline-block;
}
.hair-sidebar__form {
  background: #dedede;
  padding: 20px 16px;
}
.hair-sidebar__form h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}
.hair-enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hair-enquiry-form label {
  color: var(--color-text-light);
  font-weight: 700;
}
.hair-enquiry-form label span {
  color: #be1e2d;
}
.hair-enquiry-form input,
.hair-enquiry-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0;
  font: inherit;
  color: var(--color-text-light);
}
.hair-enquiry-form textarea {
  resize: vertical;
}
.hair-enquiry-form input:focus-visible,
.hair-enquiry-form textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.hair-enquiry-form__submit {
  align-self: center;
  margin-top: 15px;
}
.hair-cta {
  padding: 26px 20px;
  background: #0696d0;
  text-align: center;
}
.hair-cta__inner {
  width: min(100%, 1000px);
  margin-inline: auto;
  background: #f8f8f8;
  padding: 24px 16px;
  border-radius: 3px;
}
.hair-cta h2 {
  margin: 0 0 8px;
}
.hair-cta p {
  margin: 0 0 14px;
}

@media (max-width: 920px) {
  .hair-page__layout {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 22px;
  }
}
@media (max-width: 700px) {
  .hair-page {
    padding: 28px 16px 40px;
  }
  .hair-page__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .hair-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    
  }
  .hair-sidebar__form {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .hair-sidebar {
    display: flex;
  }
  .hair-cta {
    padding: 20px 14px;
  }
}

/* Shared managed-content layout; typography inherits existing styles. */
.managed-content {
  min-width: 0;
}
.managed-content img {
  max-width: 100%;
  height: auto;
}
.managed-content ul,
.managed-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: revert;
}
.managed-content p {
  margin-bottom: 1rem;
}
.managed-content h2,
.managed-content h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}
.managed-blog-sidebar {
  min-width: 0;
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.managed-blog-sidebar section {
  background: var(--color-bg-alt, #f6f9fa);
  border: 1px solid var(--color-border, #ddd);
  padding: 1.25rem;
  border-radius: 10px;
}
.managed-blog-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.managed-blog-sidebar li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border, #ddd);
}
.managed-blog-sidebar form {
  display: grid;
  gap: 0.5rem;
}
.managed-blog-sidebar input {
  width: 100%;
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid var(--color-border, #ddd);
  border-radius: 5px;
}
.managed-blog-layout {
  max-width: var(--container-width);
  margin: auto;
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}
.managed-blog-layout .blog-post__inner {
  max-width: 100%;
  padding-inline: 0;
}
@media (max-width: 900px) {
  .managed-blog-layout {
    grid-template-columns: 1fr;
    padding: 70px 15px;
  }
  .managed-blog-layout aside {
    margin-bottom: 2rem;
  }
}

/* ==========================================
   SHARED CMS TABLES
   Blogs + Diet Charts + Pages
========================================== */

/* Table Wrapper */
.cms-content .table-wrap,
.cms-content .managed-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
}

/* Table Styling */
.cms-content .table-wrap table,
.cms-content .managed-table-scroll table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #444;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #292929;
}

/* Table Cells */
.cms-content .table-wrap th,
.cms-content .table-wrap td,
.cms-content .managed-table-scroll th,
.cms-content .managed-table-scroll td {
  border: 1px solid #444;
  padding: 10px 14px;
  vertical-align: middle;
  color: #292929;
  background: transparent;
}

/* Table Headings */
.cms-content .table-wrap th,
.cms-content .managed-table-scroll th {
  font-weight: 700;
  font-size: 1rem;
}

/* Bold Text */
.cms-content .table-wrap strong,
.cms-content .managed-table-scroll strong {
  color: #292929;
}

/* Responsive Tables */
@media (max-width: 767px) {
  .cms-content .table-wrap table,
  .cms-content .managed-table-scroll table {
    min-width: 560px;
    font-size: 0.85rem;
  }
}

/* =========================================================
   HOMEO CARE CLINIC — TESTIMONIALS
   ========================================================= */

.product-page {
  background: var(--color-bg, #fff);
}
.product-section {
  padding: 48px 0 64px;
}
.product-container {
  width: min(var(--container-width, 1350px), calc(100% - 48px));
  margin: 0 auto;
}
.product-page__title {
  font-family: var(--font-heading, "Poppins", sans-serif);
  font-size: 2.2rem;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 28px;
  text-align: center;
}

/* ---------- Button (Know More / More Testimonials) ---------- */
.product-buy {
  display: inline-block;
  background: var(--color-primary, #02646f);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 30px;
}
.product-buy:hover {
  opacity: 0.88;
  color: #fff;
}

/* ---------- Listing grid: 3 per row, 2 on tablet, 1 on mobile ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  text-align: center;
}
.testimonial-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--color-bg-alt, #f4f9fd);
  border: 1px solid var(--color-border, #dbe6ec);
  border-radius: 8px;
  overflow: hidden;
}
.testimonial-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.testimonial-card__thumb:hover img {
  transform: scale(1.04);
}
.testimonial-card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(2, 100, 111, 0.88);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  pointer-events: none;
}
.testimonial-card .product-card__title {
  font-family: var(--font-heading, "Poppins", sans-serif);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  margin: 14px 0 12px;
  min-height: 4.2em;
}
.testimonial-card .product-card__title a {
  color: var(--color-text, #292929);
  text-decoration: none;
}
.testimonial-card .product-card__title a:hover {
  color: var(--color-primary, #02646f);
}

.product-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.product-pagination a,
.product-pagination span {
  min-width: 38px;
  padding: 8px 12px;
  text-align: center;
  border: 1px solid var(--color-border, #dbe6ec);
  border-radius: 4px;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--color-text, #292929);
}
.product-pagination .is-current,
.product-pagination a:hover {
  background: var(--color-primary, #02646f);
  border-color: var(--color-primary, #02646f);
  color: #fff;
}

/* ---------- Mobile menu search (shown only inside the hamburger menu) ---------- */
.nav-mobile-search {
  display: none;
}

@media (max-width: 960px) {
  .search-toggle,
  .site-search {
    display: none !important;
  } /* hide the teal-bar search icon + its dropdown on mobile */

  .nav-mobile-search {
    display: flex;
    padding: 14px 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav-mobile-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: var(--color-bg-alt, #f3f8f9);
    padding: 13px 16px;
    font: inherit;
    font-size: 0.9rem;
    color: #222;
    border-radius: 0;
    -webkit-appearance: none;
  }
  .nav-mobile-search input:focus {
    outline: 2px solid #fff;
    outline-offset: -2px;
  }
  .nav-mobile-search button {
    width: 48px;
    border: 0;
    background: #013f46;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-mobile-search button:hover {
    background: var(--color-primary-dark, #4f8f24);
  }

  /* Active menu item was teal-on-teal (invisible) inside the mobile menu */
  .primary-nav .menu > li.is-active > a {
    color: #a8dc6b;
  }
}

/* ==========================================================================
   Clean mega-menu dropdowns (laptop / desktop) — WordPress-style
   Wide panels (About, Hair, Skin, Diet Charts) span the full bar with equal
   columns + thin dividers. Simple dropdowns (Blogs, Contact, Cities) are
   a compact list with separators. Mobile menu is untouched.
   ========================================================================== */
@keyframes megaIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 961px) {
  /* Anchor wide panels to the full-width bar instead of their own menu item */
  .primary-nav-bar__inner {
    position: static;
  }
  .primary-nav .menu > li.has-mega:has(> .mega-panel:not(.mega-panel--simple)) {
    position: static;
  }
  .site-search {
    right: max(1.25rem, calc((100vw - var(--container-width)) / 2 + 1.25rem));
  }

  /* ---- Wide panels ---- */
  .primary-nav .mega-panel:not(.mega-panel--simple) {
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
    border: 0;
    border-top: 1px solid #e6ecee;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
    padding: 38px max(24px, calc((100% - var(--container-width)) / 2 + 20px))
      42px;
  }
  .has-mega:hover > .mega-panel:not(.mega-panel--simple),
  .has-mega:focus-within > .mega-panel:not(.mega-panel--simple) {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 0;
    animation: megaIn 0.18s ease-out;
  }

  .mega-col {
    padding: 0 36px;
    min-width: 0;
  }
  .mega-col:first-child {
    padding-left: 0;
  }
  .mega-col:last-child {
    padding-right: 0;
  }
  .mega-col + .mega-col {
    border-left: 1px solid #e3e9eb;
  }
  .mega-col--intro {
    max-width: none;
    border-right: 0;
  }

  .mega-col h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
  }
  .mega-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mega-col ul li {
    margin: 0 0 15px;
  }
  .mega-col ul li a {
    display: inline-block;
    font-size: 0.98rem;
    line-height: 1.45;
    color: #777;
    transition: color 0.15s;
  }
  .mega-col ul li a:hover {
    color: var(--color-primary);
  }
  .mega-col--intro p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
  }

  .mega-col--recent ul li a {
    color: #222;
  }
  .mega-col--recent ul li a:hover {
    color: var(--color-primary);
  }
  .mega-col__date {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-top: 4px;
  }
  .mega-col--map iframe {
    display: block;
    width: 100%;
    height: 210px;
    border: 0;
  }

  /* ---- Simple dropdowns (Blogs / Contact Us / Cities) ---- */
  .primary-nav .mega-panel--simple {
    min-width: 300px;
    padding: 0;
    border: 0;
    left: 0;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  }
  .has-mega:hover > .mega-panel--simple,
  .has-mega:focus-within > .mega-panel--simple {
    animation: megaIn 0.18s ease-out;
  }
  .primary-nav .menu > li:nth-last-child(-n + 2) .mega-panel--simple {
    left: auto;
    right: 0;
  } /* keep the last two on screen */
  .mega-panel--simple ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mega-panel--simple ul li {
    margin: 0;
    border-bottom: 1px solid #ececec;
  }
  .mega-panel--simple ul li:last-child {
    border-bottom: 0;
  }
  .mega-panel--simple ul li a {
    display: block;
    padding: 15px 20px;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    text-transform: capitalize;
    color: #444;
    transition:
      background 0.15s,
      color 0.15s;
  }
  .mega-panel--simple ul li a:hover {
    background: #f3f8f9;
    color: var(--color-primary);
  }
}

/* Chakan page — hero, "Top doctor" block, video testimonials.
   Everything else reuses the homepage CSS (home.css). */
.ck-hero__inner,
.ck-doctor__inner,
.ck-videos__inner {
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
.ck-hero__inner,
.ck-doctor__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.ck-hero__image img,
.ck-doctor__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.ck-hero__image img {
  max-height: 620px;
  object-fit: cover;
}
.ck-hero__text h1 {
  font-size: 1.9rem;
  line-height: 2.3rem;
  margin: 0 0 1rem;
}
.ck-hero__text p,
.ck-doctor__text p {
  color: var(--color-text-light, #555);
}
.ck-doctor {
  background: #fff;
}
.ck-videos {
  background: #f3f7f8;
}
.ck-videos__inner {
  text-align: center;
}
.ck-videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.ck-video {
  position: relative;
  aspect-ratio: 16 / 9;
}
.ck-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}
@media (max-width: 900px) {
  .ck-hero__inner,
  .ck-doctor__inner {
    grid-template-columns: 1fr;
  }
  .ck-hero__image img {
    max-height: none;
  }
  .ck-videos__grid {
    grid-template-columns: 1fr;
  }
}

/* Chakan page — hero, "Top doctor" block, video testimonials.
   Everything else reuses the homepage CSS (home.css). */
.ck-hero__inner,
.ck-doctor__inner,
.ck-videos__inner {
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
.ck-hero__inner,
.ck-doctor__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.ck-hero__image img,
.ck-doctor__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.ck-hero__image img {
  max-height: 620px;
  object-fit: cover;
}
.ck-hero__text h1 {
  font-size: 1.9rem;
  line-height: 2.3rem;
  margin: 0 0 1rem;
}
.ck-hero__text p,
.ck-doctor__text p {
  color: var(--color-text-light, #555);
}
.ck-doctor {
  background: #fff;
}
.ck-videos {
  background: #f3f7f8;
}
.ck-videos__inner {
  text-align: center;
}
.ck-videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.ck-video {
  position: relative;
  aspect-ratio: 16 / 9;
}
.ck-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}
@media (max-width: 900px) {
  .ck-hero__inner,
  .ck-doctor__inner {
    grid-template-columns: 1fr;
  }
  .ck-hero__image img {
    max-height: none;
  }
  .ck-videos__grid {
    grid-template-columns: 1fr;
  }
}

/* Key Treatments cards (Viman Nagar page) */
.ck-treatments {
  background: #f3f7f8;
}
.ck-treatments__inner {
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  text-align: center;
}
.ck-treatments__sub {
  color: var(--color-text-light, #555);
  margin: 0 0 1.75rem;
}
.ck-treatments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.ck-treatment {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}
.ck-treatment img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin-bottom: 0.9rem;
}
.ck-treatment h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}
.ck-treatment h3 a {
  color: inherit;
  text-decoration: none;
}
.ck-treatment p {
  color: var(--color-text-light, #555);
  flex: 1;
}
.ck-treatment .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}
@media (max-width: 900px) {
  .ck-treatments__grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ accordion inside blogs / pages / diet charts — paste at the bottom of style.css */
.faq-block {
  margin: 1.5em 0;
}
.faq-block__item {
  background: #f4f7f8;
  border: 1px solid #e3eaec;
  border-radius: 6px;
  margin-bottom: 10px;
}
.faq-block__item summary {
  cursor: pointer;
  padding: 14px 44px 14px 18px;
  font-weight: 600;
  list-style: none;
  position: relative;
  line-height: 1.4;
}
.faq-block__item summary::-webkit-details-marker {
  display: none;
}
.faq-block__item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--color-primary, #02646f);
}
.faq-block__item[open] summary::after {
  content: "–";
}
.faq-block__item[open] summary {
  border-bottom: 1px solid #e3eaec;
}
.faq-block__answer {
  padding: 12px 18px 6px;
}
.faq-block__answer p,
.faq-block__answer li {
  margin-bottom: 0.6em;
}
