:root {
  --bg: #f7f7f4;
  --ink: #000000; /* deep green like mock */
  --muted: #111;
  --card: #ffffff;
  --ring: #dfe5da;
  --radius: 24px;
  --max: 1200px;

  --panel-bg: #ffffff;
  --text: #0b0b0b;
  /* --muted: #6b6b6b; */
  --border: #e6e6e6;
  --btn-bg: #0b0b0b;
  --btn-bg-muted: #f2f2f2;
  --btn-text: #ffffff;
  --btn-text-dark: #0b0b0b;
  --shadow: 0 6px 18px rgba(11, 11, 11, 0.06);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  /* background: var(--bg); */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Utility */
.container {
  /* width: min(var(--max), 100% - 48px); */
  padding: 0 1.5rem;
}
.muted {
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 24px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* Header */
/* Header base */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 9;
}
.header-container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: #222;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: #000000;
}
.lang-switch {
  font-size: 0.9rem;
  cursor: pointer;
}
.lang-switch .active {
  font-weight: 600;
  text-decoration: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #222;
  border-radius: 0px;
  transition: all 0.3s ease;
}

/* Mobile menu */
@media (max-width: 992px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    height: 0;
    padding: 0 1rem;
    overflow: hidden;
    transition: height 0.4s ease;
  }

  .nav-links.open {
    height: 100vh;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hamburger {
    display: flex;
  }
}

/* Hamburger animation when open */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* HERO */
.hero_center_content {
  align-items: center !important;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.hero-copy h1 {
  font-size: calc(4rem + 24px);
  line-height: 100%;
  margin: 0;
}
.doctor-meta {
  margin-top: 40px;
}
.hero-copy .margin_top_add {
  margin-top: 10px;
}
.hero-copy h1 span {
  display: inline-block;
}
.card {
  background: var(--card);
  /* border: 1px solid var(--ring); */
  /* border-radius: var(--radius); */
  overflow: hidden;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); */
}
.doctor-photo-resarch {
  /* aspect-ratio: 3/3; */
  margin: 0;
}
.doctor_top_one {
  margin-top: 10px;
}
.doctor-photo {
  aspect-ratio: 3.1/2.8;
  overflow: hidden;
  margin: 0;
}
.doctor-photo img {
  max-width: 100%;
  height: auto;
}
.modal-body h4 {
  margin-bottom: 10px;
}

.meta-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.meta-top strong {
  display: block;
  font-size: 15px;
}
.meta-top small {
  display: block;
  color: var(--muted);
}
.role {
  font-weight: 600;
  font-size: 13px;
  opacity: 0.9;
}
.cta-row {
  display: flex;
  gap: 15px;
  margin-top: 14px;
}

.about_owner {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
}

.about_owner h3 {
  margin: 0;
  font-size: 16px;
  padding-bottom: 3px;
}

.about_owner p {
  margin: 0;
  font-size: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 4px 10px 4px 15px;
  border-radius: 10px;
  border: 1px solid var(--ink);
  font-weight: 500;
  font-size: 12px;
  max-width: 200px;
  width: 100%;
  gap: 5px;
  border-radius: 50px;
  transition: 0.3s;
}
.btn_style_gray .btn.primary {
  background: #eee;
  color: #333;
  border: 1px solid #ffffff;
  transition: 0.3s;
}
.btn_style_gray .btn.primary:hover {
  background: #333;
  color: #ffffff;
  border: 1px solid #ffffff;
}
.btn svg {
  width: 18px;
}
.black_btn {
  background: #222;
  color: #ffffff;
  border: 1px solid #222;
  transition: 0.3s;
}
.black_btn:hover {
  background: transparent !important;
  color: #222 !important;
}
.btn:hover {
  background: #333;
  color: #fff;
  border: 1px solid #333;
}
.tag_sec {
  display: flex;
  gap: 10px;
}

.tag_sec span {
  background: #eee;
  border-radius: 50px;
  padding: 3px 12px;
  display: inline-block;
  font-size: 12px;
}
.btn.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn.primary:hover {
  background: transparent;
  color: var(--ink);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.small {
  height: 36px;
  font-size: 13px;
  padding: 0 14px;
}
.resarch_sec h3 i {
  font-weight: 400;
}
.resarch_sec h3:first-child {
  margin-top: 0;
}
.resarch_sec h3 {
  margin-bottom: 0;
  margin-top: 50px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}
.view_all_btn .btn {
  width: 100%;
  max-width: 100%;
}

.view_all_btn {
  margin-top: 50px;
}
.resarch_sec {
  margin-top: 20px;
}
.research_sec_public {
  padding-top: 0 !important;
}
.doctor-photo-resarch img {
  max-width: 350px;
  margin-top: 80px;
  margin-left: 50px;
  width: 100%;
}
.resarch_sec p {
  font-size: 14px;
  margin-top: 8px;
  margin-bottom: 15px;
}
.tag_update_gray {
  margin-top: 35px;
}

.tag_update_gray span {
  background: #eee;
  display: inline-block;
  padding: 3px 12px;
  font-size: 12px;
  border-radius: 50px;
}
.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* gap: 30px; */
  align-items: center;
  justify-content: center;
  padding: 100px 24px 100px;
}
.container.logos span {
  position: relative;
  display: inline-block;
  padding: 0 30px 0 40px;
}
.container.logos span:first-child:before {
  display: none;
}
.container.logos span:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #666666;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border-radius: 50px;
}
.container.logos img {
  filter: grayscale(1);
  transition: 0.3s;
}

.container.logos img:hover {
  filter: grayscale(0);
}

/* Sections */
.section {
  padding: 60px 0;
}
p {
  margin-bottom: 1rem;
}
.two-col {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: start;
}
.big-heading {
  font-size: clamp(44px, 8vw, 92px);
  letter-spacing: -1.2px;
  line-height: 0.9;
  margin: 0;
  grid-row: 1 / span 2; /* big title on the left like mock */
}
.side-media {
  /* border-radius: var(--radius); */
  overflow: hidden;
  /* border: 1px solid var(--ring); */
}
.side-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.treatments-list {
  display: grid;
  gap: 18px;
  margin-top: 6px;
}
.t-card {
  background: var(--card);
  /* border: 1px solid var(--ring); */
  /* border-radius: var(--radius); */
  padding: 18px 0px 10px;
}
.t-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.t-card p {
  color: var(--muted);
  margin: 0 0 8px;
}
.cta-inline {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px dashed var(--ink);
  font-weight: 600;
  font-size: 13px;
}

/* Chambers */
.map-card {
  /* border-radius: var(--radius); */
  overflow: hidden;
  /* border: 1px solid var(--ring); */
  /* aspect-ratio: 4/3; */
}
.locations {
  display: grid;
  gap: 18px;
  margin-top: 6px;
}
.loc {
  background: var(--card);
  /* border: 1px solid var(--ring); */
  /* border-radius: var(--radius); */
  padding: 18px 0;
}
.loc h3 {
  margin: 0 0 6px;
}
.loc p {
  margin: 0 0 10px;
  color: var(--muted);
}

/* Footer */
footer {
  padding: 80px 24px 20px;
  background: #fff;
  border-top: 1px solid #eee;
}

.footer-container {
  max-width: 1150px;
  margin: 0 auto;
  text-align: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
}
.back_to_top {
  text-align: right;
  padding-bottom: 100px;
}
.text_align_footer {
  text-align: left;
  padding-left: 62px;
}
.back_to_top button {
  display: inline-block;
  margin-left: 15px;
  text-align: center;
}

.back_to_top button svg {
  transform: rotate(-90deg);
  width: 18px;
  /* display: flex; */
  align-items: center;
  text-align: center;
}

.back_to_top span {
  font-size: 14px;
  font-weight: 500;
}

footer p {
  font-size: 16px;
  color: #000;
  margin-left: 14px;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 500;
}

footer h2 {
  font-size: 12rem; /* बड़ा heading */
  color: #eee;
  margin: 0 0 60px 0;
  font-weight: 500;
  letter-spacing: -5px;
  line-height: 90%;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.social-links a {
  text-decoration: none;
  border: 1px solid #000;
  padding: 10px 30px;
  border-radius: 50px;
  font-size: 14px;
  color: #000;
  transition: 0.3s;
  font-weight: 500;
  text-transform: uppercase;
}

.social-links a:hover {
  background: #000;
  color: #fff;
}

.back-to-top {
  display: inline-block;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 20px;
  text-align: center;
  line-height: 40px;
  margin-top: 10px;
  transition: 0.3s;
}

.back-to-top:hover {
  background: #000;
}

footer small {
  display: block;
  margin-top: 50px;
  font-size: 12px;
  color: #222;
  font-weight: 500;
  text-align: center;
  padding-bottom: 8px;
}

.modal-backdrop {
  display: none; /* 👈 By default hidden */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal {
  background: #eee;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.2s ease;
  margin: 0 auto;
  z-index: 999;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 0;
  background: #eeeeee;
}
.modal-title {
  font-weight: bold;
  font-size: 32px;
}
.modal-body {
  padding: 30px;
  line-height: 1.5;
}
.modal-body a {
  transition: 0.3s;
}
.modal-body a:hover {
  color: rgb(82, 140, 222);
}
.modal-body h3 {
  margin-bottom: 10px;
  margin-top: 0;
}
.modal-body p {
  margin-top: 0;
}

.close-modal {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* cookie banner */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 99999;
  background: var(--panel-bg);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px 48px 24px 24px;
  display: none; /* hidden by default */
  gap: 20px;
  align-items: center;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.3, 1);
}

/* When visible */
.cookie-banner.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner__text {
  flex: 1;
}
.cookie-banner__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}
.cookie-banner__desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.cookie-banner__desc a {
  color: var(--text);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 210px;
  align-items: stretch;
}

.cookie-btn {
  border: none;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.cookie-btn--primary {
  background: var(--btn-bg);
  color: var(--btn-text);
}
.cookie-btn--primary:hover {
  background: #222;
}

.cookie-btn--secondary {
  background: var(--btn-bg-muted);
  color: var(--btn-text-dark);
  border: 1px solid var(--border);
}
.cookie-btn--secondary:hover {
  background: #eaeaea;
}

.cookie-btn--ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 600;
  padding: 12px 16px;
}
.cookie-btn--ghost:hover {
  background: #f9f9f9;
}

/* Close (X) button - fixed position */
.cookie-banner__close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.25s ease;
}
.cookie-banner__close:hover {
  color: var(--text);
}

@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px;
  }
  .cookie-banner__actions {
    width: 100%;
    margin-top: 8px;
  }
  .cookie-banner__close {
    right: 10px;
    top: 10px;
  }
}

.cookie-btn:focus,
.cookie-banner__close:focus {
  outline: 3px solid rgba(11, 11, 11, 0.12);
  outline-offset: 2px;
}

/* cookie banner end */

@media (max-width: 768px) {
  footer h2 {
    font-size: 60px;
  }
}

@media (max-width: 480px) {
  footer h2 {
    font-size: 40px;
  }
  .social-links a {
    padding: 8px 15px;
    font-size: 12px;
  }
}
/* Responsive */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .big-heading {
    grid-row: auto;
  }
  .logos {
    justify-content: flex-start;
  }
}
@media (max-width: 640px) {
  /* .container {
    width: min(var(--max), 100% - 32px);
  } */

  .t-card,
  .loc {
    padding: 16px;
  }
  .doctor-photo-resarch img {
    max-width: 100%;
  }
  .hero-copy h1 {
    font-size: calc(2rem + 10px);
    text-align: center;
  }
  .cta-row {
    flex-wrap: wrap;
  }
  .container {
    padding: 1rem;
  }
  footer p {
    margin-left: 2px;
  }
  .section {
    padding: 20px 0;
  }
  .resarch_sec h3 {
    margin-top: 30px;
    font-size: 16px;
  }
  .logos {
    grid-template-columns: repeat(1, 1fr);
    padding: 30px 0px 30px;
  }
  .container.logos span:before {
    display: none;
  }
  .header-container {
    padding: 1rem;
  }
  footer {
    padding-top: 40px;
  }
  .nav-links a {
    width: 100%;
    background: #f8f8f8;
    padding: 10px 15px;
    transition: 0.3s;
  }
  .nav-links a:hover {
    background: #eee;
  }
  .doctor-photo-resarch img {
    max-width: 220px;
    margin: 30px auto 0;
  }
  .text_align_footer {
    padding-left: 0;
    text-align: center;
  }
  .container.logos span {
    padding: 0 20px;
  }
  .doctor-meta {
    margin-top: 0;
  }
  .hero-grid {
    gap: 20px;
  }
  .container.logos img {
    max-width: 220px;
    width: 100%;
    margin: auto;
  }
}
