/* ===== Reset & Variables ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
:root {
  --primary: #4082be;
  --primary-light: #5bb4ee;
  --navy: #2b1a6b;
  --footer: #5052c9;
  --text: #333;
  --muted: #666;
  --bg-soft: #f3f6fb;
  --radius: 6px;
  --shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  --header-h: 76px;
  --logo-h: 93px;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: Poppins, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 0.6em;
}
p {
  margin: 0 0 1em;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 8px 14px;
  z-index: 2000;
}
.skip-link:focus {
  left: 0;
}

/* =====================================================
   HEADER (scrolls with the page)
   ===================================================== */
.site-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  min-height: var(--header-h);
}
.logo {
  flex: 0 0 auto;
  display: block;
}
.logo img {
  height: var(--logo-h);
  width: auto;
  max-width: 100%;
}

/* ----- Desktop nav ----- */
.main-nav > ul {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #444;
  padding: 8px 0;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: var(--primary);
}

.has-sub {
  position: relative;
}
.caret {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin: 0 0 3px 5px;
  transition: transform 0.2s;
}

/* ----- Dropdown ----- */
.sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #f3f3f3;
  border: 1px solid #ddd;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s;
  z-index: 10;
}
.main-nav .sub a {
  display: block;
  padding: 16px;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #111;
}
.main-nav .sub a:hover,
.main-nav .sub a:focus-visible {
  background: #fafafa;
  color: #777;
}
.main-nav .sub a.active {
  color: var(--primary);
}

/* child selector (>) so hovering "About" doesn't also open the doctors flyout */
.has-sub:hover > .sub,
.has-sub:focus-within > .sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Nested flyout (About > Our Doctors > doctor names) */
.sub .has-sub > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sub .sub {
  top: 0;
  left: 100%;
  margin-left: -1px;
  transform: translateX(8px);
}
.sub .has-sub:hover > .sub,
.sub .has-sub:focus-within > .sub {
  transform: none;
}
.caret-right {
  transform: rotate(-45deg);
  margin: 0;
}

/* ----- Hamburger (hidden on desktop) ----- */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 48px;
  height: 48px;
  cursor: pointer;
  padding: 12px;
  flex: 0 0 auto;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== TABLET + MOBILE MENU (991px and below) ===== */
@media (max-width: 991px) {
  :root {
    --logo-h: 80px;
  }
  .nav-toggle {
    display: block;
  }

  /* slide-down panel (hidden from keyboard when closed) */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition:
      max-height 0.35s ease,
      visibility 0s linear 0.35s;
  }
  .main-nav.open {
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: visible;
    transition:
      max-height 0.35s ease,
      visibility 0s;
  }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
  }
  .main-nav li {
    border-bottom: 1px solid #eee;
  }
  .main-nav > ul > li:last-child {
    border-bottom: 0;
  }
  .main-nav a {
    display: block;
    padding: 14px 0;
    font-size: 14px;
  }

  /* parent links: label left, arrow right */
  .main-nav .has-sub > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .caret {
    margin: 0 8px 3px 0;
  }

  /* submenus become accordions */
  .sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: #f7f7f7;
    padding: 0 0 0 14px;
    min-width: 0;
    display: none;
  }
  .sub .sub {
    top: auto;
    left: auto;
    margin-left: 0;
    transform: none;
    background: #efefef;
  }
  .main-nav .sub a {
    padding: 13px 12px;
    font-size: 14px;
  }
  .caret-right {
    transform: rotate(45deg);
    margin: 0 8px 3px 0;
  }

  .has-sub:hover > .sub,
  .has-sub:focus-within > .sub {
    display: none;
  }
  .has-sub.open > .sub,
  .has-sub.open:hover > .sub,
  .has-sub.open:focus-within > .sub {
    display: block;
  }

  .has-sub.open > a .caret {
    transform: rotate(225deg);
  }
  .has-sub.open > a .caret-right {
    transform: rotate(225deg);
  }
}
@media (max-width: 600px) {
  :root {
    --logo-h: 64px;
  }
}
@media (max-width: 400px) {
  :root {
    --logo-h: 56px;
  }
  .main-nav > ul {
    padding: 6px 16px 14px;
  }
}

/* ===== Hero slider ===== */
.hero {
  position: relative;
  background: #cfeeee;
  overflow: hidden;
}

.hero-slides {
  display: grid;
}
.hero-slide {
  grid-area: 1/1; /* all slides stacked in the same cell */
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: clamp(240px, 34vw, 520px);
  object-fit: cover;
  object-position: right center;
}
.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 700;
  color: #111;
  max-width: 480px;
  margin: 0;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--footer);
  color: #fff;
  padding-top: 50px;
  font-size: 14px;
  line-height: 25px;
  font-weight: 400;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.2fr 1.2fr;
  gap: 30px;
}
.f-col h3 {
  font-size: 20px;
  text-transform: none;
  margin-bottom: 14px;
  color: #fff;
}
.f-col:nth-child(2) h3 {
  text-transform: uppercase;
}
.f-links li {
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 14px;
}
.f-links li::before {
  content: "\2192";
  margin-right: 8px;
}
.f-links a:hover,
.f-col a:hover {
  text-decoration: underline;
}
.f-col address {
  font-style: normal;
}
.f-map iframe {
  width: 100%;
  height: 170px;
  border: 0;
  border-radius: 3px;
}
.footer-bottom {
  border-top: 1px solid rgb(255, 255, 255);
  margin-top: 34px;
  padding-top: 18px;
  padding-bottom: 18px;
  text-align: center;
  font-size: 16px;
  text-transform: uppercase;
}
.footer-bottom p {
  margin: 0;
}


/* Footer contact icons */
.f-contact p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.f-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  fill: #fff !important; /* white icon */
}

/* ===== Tablet layout ===== */
@media (max-width: 991px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .info-item:first-child {
    grid-column: span 2;
  }
  .btn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .triple-grid {
    grid-template-columns: 1fr 1fr;
  }
  .triple-grid .card:last-child {
    grid-column: span 2;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-lead {
    grid-row: auto;
    grid-column: span 2;
    text-align: center;
  }
  .stats-lead h2 {
    text-align: center;
  }
}

/* ===== Mobile layout (820px and below) ===== */
@media (max-width: 820px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .doctor-photo {
    margin-bottom: 30px;
  }
  .exp-badge {
    right: 0;
    width: 140px;
    height: 140px;
  }
  .exp-badge strong {
    font-size: 34px;
  }
 
}

/* ===== Small phones (600px and below) ===== */
@media (max-width: 600px) {
  .section {
    padding: 40px 0;
  }
  .hero-text h1 {
    max-width: 60%;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-item:first-child {
    grid-column: auto;
  }
  .btn-grid {
    grid-template-columns: 1fr;
  }
  .triple-grid {
    grid-template-columns: 1fr;
  }
  .triple-grid .card:last-child {
    grid-column: auto;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat strong {
    font-size: 32px;
  }
 
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .story-photos img {
    max-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* ===== Info bar ===== */
.info-bar {
  background: var(--primary, #3d85c6);
  color: #fff;
  padding: 26px 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-title {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 34px;
}
.info-small {
  font-size: 15px;
  opacity: 0.95;
  margin: 0;
}

/* ===== Generic section ===== */
.section {
  padding: 50px 0;
}
.section h2 {
  font-size: clamp(22px, 3vw, 35px);
  color: var(--navy, #2b1a6b);
  text-align: center;
  font-weight: 600;
}
.section h2.left {
  text-align: left;
}
.section h2.mt {
  margin-top: 40px;
}
h2.underline {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 30px;
  font-weight: 500;
}
h2.underline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: #e53935;
  transform: translateX(-50%);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ===== About ===== */
.about-text {
  font-size: 16px;
    color: var(--muted, #666);
}
.about-text a {
  color: var( --primary, #4082be);
    
  text-decoration: underline;
}
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.about-gallery img:nth-child(1) {
  height: 160px;
}
.about-gallery img:nth-child(2) {
  grid-row: span 2;
  height: 250px;
}
.about-gallery img:nth-child(3) {
  height: 230px;
  align-self: end;
}
/* ===== Scroll reveal: right to left ===== */
.about{overflow:hidden}            /* stops a sideways scrollbar while images slide in */

.js .reveal-rtl{
  opacity:0;
  transform:translateX(90px);
  transition:opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
  transition-delay:var(--delay,0s);
  will-change:opacity,transform;
}
.js .reveal-rtl.in-view{
  opacity:1;
  transform:none;
}

@media (max-width:600px){
  .js .reveal-rtl{transform:translateX(40px)}
}

@media (prefers-reduced-motion:reduce){
  .js .reveal-rtl{opacity:1;transform:none;transition:none}
}
/* ===== Services ===== */
.btn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.btn-service {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 46px;
  background: var(--primary-light, #5bb4ee);
  color: #fff;
  padding: 10px 14px;
  font-size: 19px;
  font-weight: 500;
  border-radius: 2px;
  transition: 0.25s;
}
/*.btn-service:hover {
  background: var(--navy, #2b1a6b);
  transform: translateY(-2px);
}*/
.about,
.services{overflow:hidden}

.js .reveal-rtl,
.js .reveal-ltr{
  opacity:0;
  transition:opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
  transition-delay:var(--delay,0s);
  will-change:opacity,transform;
}
.js .reveal-rtl{transform:translateX(90px)}
.js .reveal-ltr{transform:translateX(-90px)}

.js .reveal-rtl.in-view,
.js .reveal-ltr.in-view{opacity:1;transform:none}

/* normal fast hover once the entrance has finished */
.js .btn-service.reveal-ltr.done{transition:background .25s, transform .25s;transition-delay:0s}

@media (max-width:600px){
  .js .reveal-rtl{transform:translateX(40px)}
  .js .reveal-ltr{transform:translateX(-40px)}
}
@media (prefers-reduced-motion:reduce){
  .js .reveal-rtl,.js .reveal-ltr{opacity:1;transform:none;transition:none}
}

/* ===== Doctor ===== */
/* ===== Doctor ===== */
.doctor {
  background: #fff;
}

/* heading and photo start on the same line */
.doctor-grid {
  align-items: start;
}

/* new class: doctor heading, its own font size */
.doctor-name {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.25;
  margin: 0 0 14px;
}

.quals {
  font-size: 20px;
  font-weight: 500;
  color: #111;
}
.doctor-text {
  font-size: 16px;
  color: var(--muted, #666);
}
.doctor-text strong {
  color: #444;
}
/* blue link inside the doctor text */
.doctor-link {
  color: var(  --primary-light, #5bb4ee);
  text-decoration: underline;
}
.doctor-link strong {
  color: inherit;          /* uses the link's blue instead of the light blue */
}

/* photo = 75% of its column, badge stays attached to the photo */
.doctor-photo {
  position: relative;
  width: 75%;
  max-width: 460px;
  margin: 0 auto;
}
.doctor-photo img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.exp-badge {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: #eef0ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: Georgia, serif;
}
.exp-badge strong {
  font-size: 44px;
  color: var(--navy, #2b1a6b);
  line-height: 1;
}
.exp-badge span {
  font-size: 15px;
  color: #333;
}

@media (max-width: 820px) {
  /* photo first, then the text */
  .doctor-photo {
    order: -1;
    width: 80%;
    max-width: 380px;
    margin: 0 auto 50px;     /* extra space below so the 15+ badge doesn't touch the text */
  }
  .doctor-text { font-size: 17px; }

  .exp-badge {
    right: 0;
    bottom: -30px;
    width: 140px;
    height: 140px;
  }
  .exp-badge strong { font-size: 34px; }
}

@media (max-width: 600px) {
  .doctor-photo {
    width: 85%;
    margin-bottom: 45px;
  }
  .doctor-text { font-size: 16px; }
  .doctor-name { text-align: center; }
}
/* ===== Stats ===== */
.stats {
  position: relative;
  isolation: isolate;          /* keeps the background layers behind the text */
  overflow: hidden;
  color: #fff;
  padding: 70px 0;
}

/* background image with your filter (text is not affected) */
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/doctor-with-stethoscope-hands-hospital-background-.jpg") center/cover no-repeat;
  filter: brightness(56%) contrast(135%) saturate(100%) blur(0px) hue-rotate(0deg);
}

/* blue overlay on top of the image */
.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(54, 120, 160, 0.55);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px 20px;
  align-items: center;
  text-align: center;
}
.stats-lead {
  grid-row: span 2;
  text-align: left;
}
.stats-lead h2 {
  color: #fff;
  text-align: left;
  font-size: clamp(26px, 3.4vw, 44px);
}
.stats-lead p {
  font-size: 15px;
}
.stat strong {
  display: block;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.1;
}
.stat span {
  font-size: 19px;
}

/* 3rd counter: centered, spans the full width of both counter columns */
.stat--wide {
  grid-column: 2 / 4;
}

/* tablet */
@media (max-width: 991px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-lead {
    grid-row: auto;
    grid-column: span 2;
    text-align: center;
  }
  .stats-lead h2 { text-align: center; }
  .stat--wide { grid-column: 1 / -1; }
}

/* mobile */
@media (max-width: 600px) {
  .stats { padding: 50px 0; }
  .stat strong { font-size: 32px; }
}

/* ===== Article / Testimonial / Blogs ===== */
.triple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  min-width: 0;
}
.card-head {
  background: var(--primary-light, #5bb4ee);
  color: #fff !important;
  padding: 6px 10px;
  margin: 0 0 14px;
  font-size: 30px !important;
  font-weight: 500 !important;
  text-align: center;
}
.review {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.review-summary {
  flex: 0 1 150px;
  min-width: 0;
}
.review-summary p {
  margin-bottom: 6px;
}
.stars {
  color: #fbbc04;
  font-size: 24px;          /* star size: increase or decrease this */
  line-height: 1;
  letter-spacing: 3px;
  margin-bottom: 6px;
}

/* half star: left half gold, right half grey */
.star-half {
  background: linear-gradient(90deg, #fbbc04 50%, #ccc 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.small {
  font-size: 15px;
  color: var(--muted, #666);
}
.btn-outline {
  display: inline-block;
  border: 1px solid #999;
  padding: 7px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 3px;
}
.btn-outline:hover {
  background: #f0f0f0;
}

.blog img {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 14px;
}
.blog h3 {
  font-size: 21px;
  color: var(--navy, #2b1a6b);
  text-align: center;
}
.read-more {
  display: block;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

/* ===== Story ===== */
.story-grid {
  align-items: start;
}
.story-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.story-photos img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
}
.story-text {
  font-size: 16px;
  color: var(--muted, #666);
}
.story-text h2 {
  font-size: 35px;
}
/* =====================================================
   Generic slider  (article, testimonial, gallery)
   --per-view = visible items, --gap = space between
   ===================================================== */
.slider {
  position: relative;
  --per-view: 1;
  --gap: 14px;
}
.slider-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider-track::-webkit-scrollbar {
  display: none;
}
.slider-track > * {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  scroll-snap-align: start;
  min-width: 0;
}
.slider-track img {
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.slider-btn {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 44px;
  border: 0;
  cursor: pointer;
  background: none;
  color: #aaa;
  font-size: 30px;
  line-height: 1;
}
.slider-btn:hover {
  color: var(--navy, #2b1a6b);
}
.slider-btn.prev {
  left: 0;
}
.slider-btn.next {
  right: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: 0.2s;
}
.slider-dots button.active {
  background: var(--navy, #2b1a6b);
  transform: scale(1.25);
}

/* article card */
.slider--card .slider-track img {
  height: 260px;
}
.slider--card .slider-btn {
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  width: 30px;
  height: 40px;
  font-size: 24px;
}
.slider--card .slider-btn:hover {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

/* image at the top of the small testimonial column */
.review-logo {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 0 10px;
}

/* gallery */
.slider--gallery {
  --per-view: 6;
  padding: 0 40px;
}
.slider--gallery .slider-track img {
  height: 210px;
}

/* =====================================================
   TABLET  (max-width: 991px)
   ===================================================== */
@media (max-width: 991px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .info-item:first-child {
    grid-column: span 2;
  }
  .btn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .triple-grid {
    grid-template-columns: 1fr 1fr;
  }
  .triple-grid .card:last-child {
    grid-column: span 2;
  }
  .triple-grid .blog img {
    max-width: 260px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-lead {
    grid-row: auto;
    grid-column: span 2;
    text-align: center;
  }
  .stats-lead h2 {
    text-align: center;
  }
  .slider--gallery {
    --per-view: 3;
  }
}

/* =====================================================
   MOBILE  (max-width: 820px)
   ===================================================== */
@media (max-width: 820px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .doctor-photo {
    margin-bottom: 40px;
  }
  .exp-badge {
    right: 0;
    width: 140px;
    height: 140px;
  }
  .exp-badge strong {
    font-size: 34px;
  }
  .story-photos img {
    max-height: 360px;
  }
}

/* =====================================================
   SMALL MOBILE  (max-width: 600px)
   ===================================================== */
@media (max-width: 600px) {
  .section {
    padding: 40px 0;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-item:first-child {
    grid-column: auto;
  }
  .info-title {
    font-size: 17px;
  }
  .about-gallery img:nth-child(1) {
    height: 120px;
  }
  .about-gallery img:nth-child(2) {
    height: 190px;
  }
  .about-gallery img:nth-child(3) {
    height: 170px;
  }
  .btn-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    padding: 50px 0;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat strong {
    font-size: 32px;
  }
  .triple-grid {
    grid-template-columns: 1fr;
  }
  .triple-grid .card:last-child {
    grid-column: auto;
  }
  .slider--card .slider-track img {
    height: 240px;
  }
  .story-photos img {
    max-height: 280px;
  }
  .story-text h2 {
    font-size: 24px;
  }
  .slider--gallery {
    --per-view: 2;
    padding: 0 30px;
  }
  .slider--gallery .slider-track img {
    height: 170px;
  }
}

/* loop mode: JS adds .slider-viewport around the track and moves the track with transform */
.slider-viewport {
  overflow: hidden;
}
.slider--loop .slider-track {
  overflow: visible;
  scroll-snap-type: none;
  scroll-behavior: auto;
  will-change: transform;
}
.slider--loop .slider-dots {
  gap: 10px;
}
.slider--loop .slider-dots button {
  width: 9px;
  height: 9px;
}

/* =====================================================
   Article slider: exactly ONE image visible at a time
   ===================================================== */
.slider--card {
  padding: 0;
  --per-view: 1;
  --gap: 0px;
}
.slider--card .slider-track {
  gap: 0;
}
.slider--card .slider-track > img {
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100%;
  height: 260px;
  object-fit: cover;
}
@media (max-width: 991px) {
  .slider--card .slider-track > img { height: 320px; }
}
@media (max-width: 600px) {
  .slider--card .slider-track > img { height: 240px; }
}

/* =====================================================
   Google style review card  (desktop)
   ===================================================== */
.slider--review {
  flex: 1 1 220px;
  min-width: min(220px, 100%);
  padding: 0 8px;
}
.slider--review .slider-track {
  padding: 10px 0 14px;          /* room for the card shadow */
}
.g-review {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.22);
  font-size: 15px;
  align-self: flex-start;
}
.g-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.g-avatar {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--av, #b844c4);
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
}
img.g-avatar {
  display: block;
  object-fit: cover;
  object-position: center top;   /* keeps the face in the circle */
  background: #ffffff;
}
.g-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.g-name {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g-time {
  font-size: 12px;
  color: #777;
  white-space: nowrap;
}
.g-logo {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  align-self: flex-start;
}
.g-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.g-star-row {
  color: #fbbc04;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 1px;
}
.g-verified {
  width: 18px;
  height: 18px;
}
.g-text {
  margin: 0;
  color: #222;
  line-height: 1.5;
  display: -webkit-box;            /* collapsed: 3 lines */
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-review.open .g-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.g-more {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #777;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.g-more:hover {
  color: var(--primary, #4082be);
  text-decoration: underline;
}
.g-more[hidden] {
  display: none;
}

/* round arrows like Google */
.slider--review .slider-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  color: #555;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
}
.slider--review .slider-btn:hover {
  background: #f3f3f3;
  color: #222;
}
.slider--review .slider-btn.prev { left: -14px; }
.slider--review .slider-btn.next { right: -14px; }

/* =====================================================
   Testimonial: TABLET + MOBILE only (desktop unchanged)
   Keep this block LAST so it overrides the rules above
   ===================================================== */

/* ---------- Tablet (991px and below) ---------- */
@media (max-width: 991px) {
  .card-head { font-size: 26px !important; }

  /* card keeps a proper width; wraps under the summary if the column is narrow */
  .slider--review {
    flex: 1 1 220px;
    min-width: min(220px, 100%);
    padding: 0 24px;                 /* arrows stay inside, not off-screen */
  }
  .slider--review .slider-btn.prev { left: 0; }
  .slider--review .slider-btn.next { right: 0; }

  /* text not touching the screen edges */
  .container { padding-left: 16px; padding-right: 16px; }
}

/* ---------- Mobile (600px and below) ---------- */
@media (max-width: 600px) {
  .card-head { font-size: 24px !important; }

  /* summary on top, review card below, both full width */
  .review {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .review-summary {
    flex: none;
    width: 100%;
    text-align: center;
  }
  .review-logo { margin: 0 auto 10px; }

  .slider--review {
    flex: none;
    width: 100%;
    min-width: 0;
    padding: 0 34px;                 /* gutters for the arrows */
  }
  .g-review { padding: 14px; }
  .g-name { font-size: 14px; }
  .g-star-row { font-size: 20px; }
}

/* =====================================================
   Contact section (desktop first)
   ===================================================== */
:root {
  --heading: #2a0e6b;
  --red: #e3262e;
  --green: #b5cc18;
  --text: #1a1a1a;
  --muted: #777;
  --border: #e4e4e4;
  --field-bg: #fafafa;
  --page-bg: #f7f7f7;
}
/* =====================================================
   Page banner (Contact Us)
   ===================================================== */
.page-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background:
        linear-gradient(rgba(51, 47, 47, 0.6), rgba(0, 0, 0, 0.6)),
        url("../images/contact-bg.jpg") center / cover no-repeat;
}





.page-banner-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.page-banner h1 {
  position: relative;
  margin: 0;
  padding-bottom: 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

/* red line under the title */
.page-banner h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 128px;
  height: 3px;
  background: var(--red, #e3262e);
  transform: translateX(-50%);
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
  .page-banner {
    min-height: 230px;
  }
  .page-banner h1 {
    font-size: 34px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .page-banner {
    min-height: 170px;
    padding: 30px 16px;
  }
  .page-banner h1 {
    font-size: 28px;
    padding-bottom: 16px;
  }
  .page-banner h1::after {
    width: 90px;
  }
}
.contact-section {
  padding: 80px 20px;
  background: var(--page-bg);
  font-family: 'Poppins', sans-serif;
  color: var(--text);
}

.contact-section *,
.contact-section *::before,
.contact-section *::after {
  box-sizing: border-box;
}

.contact-card {
  max-width: 1140px;
  margin: 0 auto;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* stops long emails / addresses from stretching the grid */
.contact-form-col,
.contact-info-col {
  min-width: 0;
}

.contact-form-col {
  padding: 20px 50px 60px;
  border-right: 1px solid var(--border);
}

.contact-info-col {
  padding: 100px 45px 60px;
}

.contact-section .contact-form-col h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--heading);
  text-align: left;
  margin: 10px 0 30px;
  line-height: 1.2;
}

/* ---------- Form ---------- */
.contact-section .field {
  margin-bottom: 25px;
}

.contact-section .field input,
.contact-section .field textarea {
  width: 100%;
  padding: 14px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--field-bg);
  border: 1px solid var(--border);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}

.contact-section .field textarea {
  height: 124px;
  resize: vertical;
}

.contact-section .field input::placeholder,
.contact-section .field textarea::placeholder {
  color: var(--muted);
}

.contact-section .field input:focus,
.contact-section .field textarea:focus {
  border-color: var(--heading);
}

.contact-section .field-error {
  display: none;
  color: #c0161d;
  font-size: 15px;
  margin-top: 8px;
}
.contact-section .field.invalid .field-error { display: block; }
.contact-section .field.invalid input,
.contact-section .field.invalid textarea { border-color: #c0161d; }

.contact-section .submit-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #fff;
  background: var(--green);
  border: none;
  padding: 14px 30px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-section .submit-btn:hover { background: #9db310; }

.contact-section .submit-btn:focus-visible,
.contact-section .field input:focus-visible,
.contact-section .field textarea:focus-visible {
  outline: 2px solid var(--heading);
  outline-offset: 2px;
}

.contact-section .form-message {
  display: none;
  margin-top: 30px;
  padding: 10px 15px;
  font-size: 14px;
  border: 2px solid #f0b400;
}
.contact-section .form-message.show { display: block; }
.contact-section .form-message.success { border-color: #46b450; }

/* ---------- Info column ---------- */
.contact-section .intro {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 70px;
}

.contact-section .info-list {
  border-top: 1px solid var(--border);
  padding-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-section .info-item {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 17px;
  line-height: 1.3;
  min-width: 0;
}

.contact-section .info-item a {
  color: inherit;
  text-decoration: none;
}

/* long email / address never overflow the screen */
.contact-section .info-item span:not(.icon-circle),
.contact-section .info-item > a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-section .icon-circle {
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-section .icon-circle svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* ---------- Map ---------- */
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 250px;
  border: 0;
}

/* =====================================================
   TABLET  (991px and below): one column, centered card
   ===================================================== */
@media (max-width: 991px) {
  .contact-section {
    padding: 60px 24px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .contact-form-col {
    padding: 30px 40px 40px;
    border-right: none;
  }

  .contact-info-col {
    padding: 40px;
    border-top: 1px solid var(--border);
  }

  .contact-section .contact-form-col h2 {
    font-size: 32px;
    margin-bottom: 26px;
  }

  .contact-section .intro {
    margin-bottom: 40px;
  }

  .contact-section .info-list {
    padding-top: 30px;
  }

  .contact-section .info-item {
    font-size: 17px;
  }

  .map-wrap iframe {
    height: 320px;
  }
}

/* =====================================================
   MOBILE  (600px and below)
   ===================================================== */
@media (max-width: 600px) {
  .contact-section {
    padding: 30px 14px;
  }

  .contact-form-col {
    padding: 24px 18px 30px;
  }

  .contact-info-col {
    padding: 28px 18px 32px;
  }

  .contact-section .contact-form-col h2 {
    font-size: 26px;
    margin: 0 0 22px;
  }

  .contact-section .field {
    margin-bottom: 18px;
  }

  /* 16px stops iPhones from zooming in when a field is tapped */
  .contact-section .field input,
  .contact-section .field textarea {
    font-size: 16px;
    padding: 13px 12px;
  }

  .contact-section .field textarea {
    height: 110px;
  }

  .contact-section .field-error {
    font-size: 14px;
  }

  /* full width, easy to tap */
  .contact-section .submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
  }

  .contact-section .form-message {
    margin-top: 20px;
    font-size: 13px;
  }

  .contact-section .intro {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .contact-section .info-list {
    padding-top: 24px;
    gap: 20px;
  }

  .contact-section .info-item {
    gap: 14px;
    font-size: 15px;
    align-items: flex-start;   /* icon stays at the top of multi-line text */
  }

  .contact-section .icon-circle {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
  }

  .contact-section .icon-circle svg {
    width: 15px;
    height: 15px;
  }

  .map-wrap iframe {
    height: 260px;
  }
}

/* =====================================================
   SMALL PHONES  (380px and below)
   ===================================================== */
@media (max-width: 380px) {
  .contact-section {
    padding: 20px 10px;
  }

  .contact-form-col,
  .contact-info-col {
    padding-left: 14px;
    padding-right: 14px;
  }

  .contact-section .contact-form-col h2 {
    font-size: 23px;
  }

  .contact-section .info-item {
    font-size: 14px;
    gap: 12px;
  }
}
/********************gallery**********************/
 :root {
    --navy: #2b1a6b;
    --red: #e3262e;
    --text: #1a1a1a;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #fff;
  }

  img { max-width: 100%; display: block; }

 /* ---------- Gallery Page Banner ---------- */

  /* =====================================================
     Page banner
     ===================================================== */
.gallery-page-banner {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 40px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(rgba(51, 47, 47, 0.6), rgba(0, 0, 0, 0.6)),
        url("../images/about-img-1.png") center / cover no-repeat;
}

.gallery-page-banner-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.gallery-page-banner h1 {
    position: relative;
    margin: 0;
    padding-bottom: 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

/* Red line under title */
.gallery-page-banner h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 128px;
    height: 3px;
    background: var(--red, #e3262e);
    transform: translateX(-50%);
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
    .gallery-page-banner {
        min-height: 230px;
    }

    .gallery-page-banner h1 {
        font-size: 34px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
    .gallery-page-banner {
        min-height: 170px;
        padding: 30px 16px;
    }

    .gallery-page-banner h1 {
        font-size: 28px;
        padding-bottom: 16px;
    }

    .gallery-page-banner h1::after {
        width: 90px;
    }
}


  /* =====================================================
     ARTICLES section  (ga- classes)
     ===================================================== */
  .ga-section {
    padding: 30px 20px 10px;
  }
  .ga-container {
    max-width: 1140px;
    margin: 0 auto;
  }
  .ga-title {
    position: relative;
    margin: 0 0 34px;
    padding-bottom: 16px;
    text-align: center;
    font-size: 35px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--navy);
  }
  .ga-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: var(--red);
    transform: translateX(-50%);
  }

  .ga-slider {
    position: relative;
    --per-view: 3;
    --gap: 14px;
  }
  .ga-viewport { overflow: hidden; }
  .ga-track {
    display: flex;
    gap: var(--gap);
    transition: transform 0.6s ease;
    will-change: transform;
  }
  .ga-slide {
    position: relative;
    flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
    height: 229px;
    overflow: hidden;
    background: #eee;
  }
  .ga-slide::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: var(--img) center / cover no-repeat;
    filter: blur(14px);
  }
  .ga-slide img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .ga-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 44px;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  }
  .ga-btn:hover { color: #fff; }
  .ga-btn.prev { left: 6px; }
  .ga-btn.next { right: 6px; }

  .ga-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
  }
  .ga-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: 0.2s;
  }
  .ga-dots button.active {
    background: #111;
    transform: scale(1.2);
  }

  /* =====================================================
     GALLERY section  (photo- classes)
     ===================================================== */
  .photo-gallery {
    padding: 40px 20px 60px;
  }
  .photo-gallery-inner {
    max-width: 1342px;
    margin: 0 auto;
  }
  .photo-gallery-title {
    position: relative;
    margin: 0 0 34px;
    padding-bottom: 16px;
    text-align: center;
    font-size: 35px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--navy);
  }
  .photo-gallery-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: var(--red);
    transform: translateX(-50%);
  }

  .photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 11px 20px;
    justify-items: center;
  }
  .photo-gallery-item {
    width: 150px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  /* =====================================================
     TABLET (991px and below)
     ===================================================== */
  @media (max-width: 991px) {
    .page-banner { min-height: 230px; }
    .page-banner h1 { font-size: 34px; }

    .ga-section { padding: 26px 24px 10px; }
    .ga-title { font-size: 30px; margin-bottom: 28px; }
    .ga-slider { --per-view: 2; }
    .ga-slide { height: 240px; }

    .photo-gallery { padding: 30px 24px 50px; }
    .photo-gallery-title { font-size: 30px; margin-bottom: 28px; }
    .photo-gallery-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .photo-gallery-item { width: 100%; max-width: 190px; }
  }

  /* =====================================================
     MOBILE (600px and below)
     ===================================================== */
  @media (max-width: 600px) {
    .page-banner { min-height: 170px; padding: 30px 16px; }
    .page-banner h1 { font-size: 26px; padding-bottom: 16px; }
    .page-banner h1::after { width: 64px; }

    .ga-section { padding: 22px 14px 6px; }
    .ga-title { font-size: 25px; margin-bottom: 22px; padding-bottom: 14px; }
    .ga-slider { --per-view: 1; }
    .ga-slide { height: 260px; }
    .ga-btn { font-size: 30px; width: 32px; }

    .photo-gallery { padding: 24px 14px 40px; }
    .photo-gallery-title { font-size: 25px; margin-bottom: 22px; padding-bottom: 14px; }
    .photo-gallery-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    .photo-gallery-item { max-width: 100%; }
  }

  @media (prefers-reduced-motion: reduce) {
    .ga-track { transition: none; }
  }
  /* =====================================================
   Photo lightbox
   ===================================================== */
.photo-gallery-item { cursor: zoom-in; }

body.lb-open { overflow: hidden; }

.lb {
  position: fixed;
  inset: 0;
  z-index: 3000;                     /* above the header */
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
}
.lb.open { display: flex; }

/* top bar */
.lb-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.lb-count {
  font-size: 15px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
}
.lb-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.lb-btn svg { width: 22px; height: 22px; fill: currentColor; }

/* stage */
.lb-stage {
  position: relative;
  width: min(800px, 86vw);
  height: min(500px, 70vh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111;
}
.lb-blur {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.8);
}
.lb-img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.2s;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}
.lb-img.zoomed { transform: scale(2); cursor: zoom-out; }
.lb-img.loading { opacity: 0; }

/* arrows */
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px;
  height: 64px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}
.lb-arrow:hover { color: #fff; }
.lb-arrow svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lb-arrow.prev { left: 16px; }
.lb-arrow.next { right: 16px; }

/* share dropdown */
.lb-share-wrap { position: relative; }
.lb-menu {
  position: absolute;
  top: 54px;
  right: -6px;
  min-width: 200px;
  padding: 8px 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  display: none;
}
.lb-menu.open { display: block; }
.lb-menu::before {                     /* little arrow on top */
  content: "";
  position: absolute;
  top: -7px;
  right: 22px;
  border: 7px solid transparent;
  border-top: 0;
  border-bottom-color: #fff;
}
.lb-menu a,
.lb-menu button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 20px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  text-align: left;
  color: #111;
  cursor: pointer;
}
.lb-menu a:hover,
.lb-menu button:hover { background: #f3f3f3; }
.lb-menu svg { width: 18px; height: 18px; flex: 0 0 18px; }

/* tablet */
@media (max-width: 991px) {
  .lb-stage { width: 88vw; height: 62vh; }
  .lb-arrow.prev { left: 6px; }
  .lb-arrow.next { right: 6px; }
}

/* mobile */
@media (max-width: 600px) {
  .lb-top { padding: 10px 10px; }
  .lb-btn { width: 38px; height: 38px; }
  .lb-fs { display: none; }          /* fullscreen not needed on phones */
  .lb-stage { width: 100vw; height: 56vh; }
  .lb-arrow { width: 40px; height: 56px; background: rgba(0, 0, 0, 0.35); }
  .lb-arrow.prev { left: 0; }
  .lb-arrow.next { right: 0; }
  .lb-menu { right: -4px; min-width: 190px; }
}
/**************************videos*************************************/
 :root {
    --red: #e3262e;
    --text: #1a1a1a;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #fff;
  }

/* Educational Videos Banner */
.educational-videos-banner {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 40px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(rgba(51, 47, 47, 0.6), rgba(0, 0, 0, 0.6)),
        url("../images/doctor-with-stethoscope-hands-hospital-background-.jpg") center / cover no-repeat;
}

.educational-videos-banner h1 {
    position: relative;
    margin: 0;
    padding-bottom: 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.educational-videos-banner h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 128px;
    height: 3px;
    background: var(--red, #e3262e);
    transform: translateX(-50%);
}

/* Tablet */
@media (max-width: 991px) {
    .educational-videos-banner {
        min-height: 230px;
    }

    .educational-videos-banner h1 {
        font-size: 34px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .educational-videos-banner {
        min-height: 170px;
        padding: 30px 16px;
    }

    .educational-videos-banner h1 {
        font-size: 28px;
        padding-bottom: 16px;
    }

    .educational-videos-banner h1::after {
        width: 90px;
    }
}
 



  /* =====================================================
     YouTube videos  (vid- classes)
     ===================================================== */
  .vid-youtube {
    padding: 50px 20px;
    border-bottom: 1px solid #222;
  }
  .vid-inner {
    max-width: 1140px;
    margin: 0 auto;
  }

  .vid-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .vid-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
  }
  .vid-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  /* =====================================================
     Hospital videos  (vid-local classes)
     ===================================================== */
  .vid-local {
    padding: 32px 20px 30px;
  }
  .vid-local-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
  }
  .vid-local-item video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
  }
  .vid-caption {
    margin: 0;
    padding-top: 2px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    color: #111;
  }

  /* =====================================================
     TABLET (991px and below)
     ===================================================== */
  @media (max-width: 991px) {


    .vid-youtube { padding: 40px 24px; }
    .vid-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .vid-local { padding: 28px 24px 30px; }
    .vid-local-grid { gap: 16px; }
    .vid-caption { font-size: 18px; }
  }

  /* =====================================================
     MOBILE (600px and below)
     ===================================================== */
  @media (max-width: 600px) {


    .vid-youtube { padding: 28px 14px; }
    .vid-grid { grid-template-columns: 1fr; gap: 14px; }

    .vid-local { padding: 24px 14px 28px; }
    .vid-local-grid { grid-template-columns: 1fr; gap: 22px; }
    .vid-caption { font-size: 16px; }
  }
  /* =========================================
   COMMUNITY DENTAL EVENTS PAGE
========================================= */

.community-events-page {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: #222;
    background: #fff;
}

.community-events-page *,
.community-events-page *::before,
.community-events-page *::after {
    box-sizing: border-box;
}

.community-events-page img {
    display: block;
    max-width: 100%;
}

/* =========================================
   PAGE BANNER
========================================= */

.community-events-banner {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 280px;
    padding: 40px 20px;

    overflow: hidden;
    text-align: center;
    color: #fff;

    background:
        linear-gradient(
            rgba(30, 28, 28, 0.60),
            rgba(0, 0, 0, 0.60)
        ),
        url("../images/chinta.jpg") center center / cover no-repeat;
}

.community-events-banner-inner {
    position: relative;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.community-events-banner h1 {
    position: relative;
    display: inline-block;

    max-width: 100%;
    margin: 0;
    padding: 0 0 22px;

    font-family: "Poppins", sans-serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.3;

    color: #fff;
}

/* Red underline */

.community-events-banner h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;

    width: 128px;
    height: 3px;

    background: #e3262e;
    transform: translateX(-50%);
}

/* =========================================
   EVENTS GALLERY
========================================= */

.community-events-gallery {
    width: 100%;
    padding: 40px 20px 60px;
    background: #fff;
}

.community-events-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

/* Three columns on desktop */

.community-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    justify-items: center;

    gap: 30px;
    width: 100%;
}

/* Individual event item */

.community-event-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    width: 100%;
    min-width: 0;
    overflow: hidden;
}

/* Image link */

.community-event-item a {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    width: 100%;
    text-decoration: none;
}

/* Event images */

.community-event-item img {
    display: block;

    width: 100%;
    height: 370px;
    max-width: 100%;

    object-fit: contain;
    object-position: center top;

    background: #fff;

    transition: transform 0.3s ease;
}

/* Subtle hover effect */

.community-event-item a:hover img {
    transform: scale(1.02);
}

/* Keyboard accessibility */

.community-event-item a:focus-visible {
    outline: 2px solid #e3262e;
    outline-offset: 4px;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .community-events-banner {
        min-height: 230px;
        padding: 35px 24px;
        background-position: center;
    }

    .community-events-banner h1 {
        font-size: 32px;
    }

    .community-events-gallery {
        padding: 35px 24px 50px;
    }

    .community-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 20px;
    }

    .community-event-item img {
        height: 340px;
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 600px) {

    .community-events-banner {
        min-height: 180px;
        padding: 30px 16px;

        background-position: center center;
    }

    .community-events-banner h1 {
        font-size: 24px;
        line-height: 1.4;
        padding-bottom: 16px;
    }

    .community-events-banner h1::after {
        width: 90px;
    }

    .community-events-gallery {
        padding: 25px 16px 40px;
    }

    .community-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .community-event-item img {
        width: 100%;
        height: 240px;
        object-fit: contain;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 375px) {

    .community-events-banner {
        min-height: 160px;
        padding: 25px 14px;
    }

    .community-events-banner h1 {
        font-size: 21px;
    }

    .community-events-gallery {
        padding: 20px 12px 30px;
    }

    .community-events-grid {
        gap: 14px 10px;
    }

    .community-event-item img {
        height: 200px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .community-event-item img {
        transition: none;
    }
}
/* =====================================================
   ARSP PAGE
===================================================== */
:root {
  --arsp-heading: #25106b;
  --arsp-red: #e3262e;
  --arsp-text: #666666;
  --arsp-line: #e3262e;
}

.arsp-hero,
.arsp-intro,
.arsp-about,
.arsp-slider,
.arsp-team {
  font-family: 'Poppins', sans-serif;
}

.arsp-hero *, .arsp-intro *, .arsp-about *, .arsp-slider *, .arsp-team * {
  box-sizing: border-box;
}

.arsp-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Shared title block ---------- */
.arsp-title-block {
  text-align: center;
  margin-bottom: 40px;
}

.arsp-title-block__title {
  margin: 0;
  color: var(--arsp-heading);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.2;
}

.arsp-title-block__sub {
  margin: 8px 0 0;
  color: #777;
  font-size: 20px;
  font-weight: 300;
}

.arsp-line {
  display: block;
  width: 70px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--arsp-line);
}

.arsp-title-block--small .arsp-title-block__title { font-size: 38px; }


/* =====================================================
   1. BANNER
===================================================== */
.arsp-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #4a5a6a;               /* fallback while image loads */
}

.arsp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/doctor-with-stethoscope-hands-hospital-background-.jpg") center / cover no-repeat;
}

.arsp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 30, 45, 0.55);
}

.arsp-hero__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.arsp-hero__title {
  position: relative;
  margin: 0;
  padding-bottom: 24px;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.arsp-hero__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: var(--arsp-red);
  transform: translateX(-50%);
}


/* =====================================================
   2. INTRO
===================================================== */
.arsp-intro { padding: 60px 0 30px; }

.arsp-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;

}

.arsp-intro__heading {
  margin: 0 0 14px;
  color: var(--arsp-heading);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
}

.arsp-intro__text p {
  margin: 0;
  color: var(--arsp-text);
  font-size: 16px;
  line-height: 1.75;
  text-align: justify;
}

.arsp-intro__text a {
  color: #1a0dab;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.arsp-intro__media { text-align: center; }

.arsp-intro__media img {
  display: inline-block;
  width: 100%;
  max-width: 250px;
  height: auto;
}


/* =====================================================
   3. ABOUT PROJECT
===================================================== */
.arsp-about { padding: 40px 0 60px; }

.arsp-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  align-items: start;
}

.arsp-about__col h3 {
  margin: 0 0 18px;
  color: var(--arsp-heading);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.arsp-about__col p {
  margin: 0 0 16px;
  color: var(--arsp-text);
  font-size: 16px;
  line-height: 1.75;
  text-align: justify;
}

.arsp-about__col .arsp-about__highlight {
  color: #d4101a;
  margin-top: 20px;
}


/* =====================================================
   4. BROCHURE SLIDER
===================================================== */
.arsp-slider {
  --arsp-gap: 24px;
  --arsp-per: 2;                       /* 2 big slides per row (was 3) */
  position: relative;
  padding: 40px 80px 50px;
  background: #2b3a4a url("../images/doctor-with-stethoscope-hands-hospital-background-.jpg") center / cover no-repeat;
  overflow: hidden;
}

.arsp-slider::before {                 /* soft light overlay like the screenshot */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(29, 11, 11, 0.35);
  pointer-events: none;
}

.arsp-slider__viewport {
  position: relative;
  overflow: hidden;
}

.arsp-slider__track {
  display: flex;
  transition: transform 0.55s ease;
}
.arsp-slider__slide {
  flex: 0 0 calc((100% - (var(--arsp-per) - 1) * var(--arsp-gap)) / var(--arsp-per));
  margin-right: var(--arsp-gap);
  aspect-ratio: 4 / 3;                 /* taller than 8/7, so images are larger */
  display: flex;
  align-items: center;
  justify-content: center;
}

.arsp-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- prev / next: always vertically centred on the images ---- */
.arsp-slider__arrow {
  position: absolute;
  top: calc(50% - 14px);               /* ignores the dots row at the bottom */
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #1a1a2e;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, color 0.2s;
}

.arsp-slider__arrow:hover {
  background: var(--arsp-red);
  color: #fff;
}

.arsp-slider__arrow:focus-visible {
  outline: 2px solid var(--arsp-heading);
  outline-offset: 2px;
}

.arsp-slider__arrow--prev { left: 14px; }
.arsp-slider__arrow--next { right: 14px; }

.arsp-slider__dots {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.arsp-slider__dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26, 26, 46, 0.35);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.arsp-slider__dots .dot.active {
  background: #1a1a2e;
  transform: scale(1.3);
}


/* =====================================================
   5. OUR TEAM
===================================================== */
.arsp-team { padding: 40px 0 70px; }

.arsp-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 10px;
}

.arsp-team__card {
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  background: #fff;
}

.arsp-team__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
/* =====================================================
   TEAM CARD: click / hover overlay
===================================================== */
.arsp-team__card {
  position: relative;
  cursor: pointer;
}

.arsp-team__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.arsp-team__name {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.arsp-team__role {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.3;
  color: #fff;
}

.arsp-team__qual {
  margin: 0 0 22px;
  font-size: 19px;
  line-height: 1.4;
  color: #fff;
}

.arsp-team__social {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.arsp-team__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.arsp-team__social a[aria-label="Facebook"]:hover    { background: #1877f2; }
.arsp-team__social a[aria-label="X (Twitter)"]:hover { background: #000000; }
.arsp-team__social a[aria-label="YouTube"]:hover     { background: #ff0000; }

.arsp-team__social svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* shown when clicked / tapped (JS adds .is-active) */
.arsp-team__card.is-active .arsp-team__overlay {
  opacity: 1;
  visibility: visible;
}

/* also show on hover, on devices that really have hover (desktop) */
@media (hover: hover) {
  .arsp-team__card:hover .arsp-team__overlay {
    opacity: 1;
    visibility: visible;
  }
}

.arsp-team__card:focus-visible {
  outline: 3px solid var(--arsp-heading);
  outline-offset: 3px;
}

/* ---- Tablet ---- */
@media (max-width: 991px) {
  .arsp-team__name { font-size: 22px; }
  .arsp-team__role { font-size: 16px; }
  .arsp-team__qual { font-size: 14px; margin-bottom: 16px; }
  .arsp-team__social a { width: 34px; height: 34px; }
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
  .arsp-team__name { font-size: 26px; }
  .arsp-team__role { font-size: 18px; }
  .arsp-team__qual { font-size: 16px; }
  .arsp-team__social a { width: 38px; height: 38px; }
}

/* =====================================================
   TABLET  (max 991px)
===================================================== */
@media (max-width: 991px) {
  .arsp-hero { min-height: 240px; }
  .arsp-hero__title { font-size: 32px; }

  .arsp-intro { padding: 48px 0 20px; }
  .arsp-intro__grid { gap: 36px; }
  .arsp-intro__heading { font-size: 24px; }
  .arsp-intro__text p,
  .arsp-about__col p { font-size: 15px; }

  .arsp-title-block__title { font-size: 36px; }
  .arsp-title-block--small .arsp-title-block__title { font-size: 32px; }
  .arsp-title-block__sub { font-size: 18px; }

  .arsp-about { padding: 30px 0 50px; }
  .arsp-about__grid { gap: 20px 28px; }
  .arsp-about__col h3 { font-size: 22px; }

  .arsp-slider { --arsp-per: 2; padding: 26px 62px 34px; }

  .arsp-team__grid { gap: 20px; }
}


/* =====================================================
   TABLET PORTRAIT / LARGE PHONE  (max 768px)
===================================================== */
@media (max-width: 768px) {
  .arsp-intro__grid { grid-template-columns: 1fr; gap: 28px; }
  .arsp-intro__text p { text-align: left; }
  .arsp-intro__media img { max-width: 320px; }

  .arsp-about__grid { grid-template-columns: 1fr; gap: 36px; }
  .arsp-about__col p { text-align: left; }
}


/* =====================================================
   MOBILE  (max 600px)
===================================================== */
@media (max-width: 600px) {
  .arsp-container { padding: 0 16px; }

  .arsp-hero { min-height: 180px; padding: 30px 16px; }
  .arsp-hero__title { font-size: 23px; padding-bottom: 18px; }

  .arsp-intro { padding: 36px 0 10px; }
  .arsp-intro__heading { font-size: 21px; }
  .arsp-intro__text p,
  .arsp-about__col p { font-size: 14.5px; line-height: 1.7; }
  .arsp-intro__media img { max-width: 100%; }

  .arsp-title-block { margin-bottom: 28px; }
  .arsp-title-block__title { font-size: 26px; }
  .arsp-title-block--small .arsp-title-block__title { font-size: 26px; }
  .arsp-title-block__sub { font-size: 15px; }
  .arsp-line { width: 56px; margin-top: 14px; }

  .arsp-about { padding: 24px 0 40px; }
  .arsp-about__col h3 { font-size: 19px; margin-bottom: 12px; }

  .arsp-slider { --arsp-per: 1; padding: 20px 46px 28px; }
  .arsp-slider__arrow { width: 34px; height: 34px; font-size: 15px; }
  .arsp-slider__arrow--prev { left: 6px; }
  .arsp-slider__arrow--next { right: 6px; }

  .arsp-team { padding: 30px 0 50px; }
  .arsp-team__grid { grid-template-columns: 1fr; gap: 20px; }
  .arsp-team__card { max-width: 320px; width: 100%; margin: 0 auto; }
}
/* =====================================================
   TEAM MODAL
===================================================== */
.arsp-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Poppins', sans-serif;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.arsp-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.arsp-modal *,
.arsp-modal *::before,
.arsp-modal *::after { box-sizing: border-box; }

.arsp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.arsp-modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  width: 100%;
  max-width: 920px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 60px 40px;
  background: #fff;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.arsp-modal.is-open .arsp-modal__dialog { transform: translateY(0); }

.arsp-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: none;
  color: #222;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.arsp-modal__close:hover { color: var(--arsp-red); }

.arsp-modal__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.arsp-modal__name {
  margin: 0 0 8px;
  color: #111;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.arsp-modal__role {
  margin: 0 0 40px;
  color: #777;
  font-size: 14px;
}

.arsp-modal__desc {
  margin: 0 0 24px;
  color: #444;
  font-size: 16px;
  line-height: 1.7;
}

.arsp-modal__meta {
  margin: 0 0 24px;
  padding: 0 0 0 45px;
  list-style: none;
}

.arsp-modal__meta li {
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;
  color: #555;
  font-size: 16px;
}
.arsp-modal__meta li:last-child { border-bottom: 1px solid #e5e5e5; }
.arsp-modal__meta strong { margin-right: 10px; color: #222; font-weight: 500; }

.arsp-modal__social {
  display: flex;
  gap: 14px;
  padding-left: 45px;
}

.arsp-modal__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #8a8a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.arsp-modal__social a[aria-label="Facebook"]:hover    { background: #1877f2; }
.arsp-modal__social a[aria-label="X (Twitter)"]:hover { background: #000000; }
.arsp-modal__social a[aria-label="YouTube"]:hover     { background: #ff0000; }
.arsp-modal__social svg { width: 16px; height: 16px; fill: #fff; }

body.arsp-modal-open { overflow: hidden; }

@media (max-width: 768px) {
  .arsp-modal__dialog {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 50px 24px 30px;
  }
  .arsp-modal__photo { max-width: 260px; margin: 0 auto; }
  .arsp-modal__role { margin-bottom: 20px; }
  .arsp-modal__meta,
  .arsp-modal__social { padding-left: 0; }
}
/* =====================================================
   FACILITIES PAGE
===================================================== */
:root {
  --fac-heading: #25106b;
  --fac-red: #e3262e;
  --fac-border: #cfcfcf;
  --fac-gap: 20px;
}

.fac-hero,
.fac-section {
  font-family: 'Poppins', sans-serif;
}

.fac-hero *, .fac-section * { box-sizing: border-box; }

.fac-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Banner ---------- */
.fac-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 40px 20px;
  text-align: center;
  overflow: hidden;
  background: #4a5a6a;                       /* fallback while image loads */
}

.fac-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/about-img-1.png") center / cover no-repeat;
}

.fac-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 30, 45, 0.55);
}

.fac-hero__inner { max-width: 900px; margin: 0 auto; }

.fac-hero__title {
  position: relative;
  margin: 0;
  padding-bottom: 22px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.fac-hero__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: var(--fac-red);
  transform: translateX(-50%);
}

/* ---------- Sections ---------- */
.fac-section { padding: 40px 0 20px; background: #fff; }
.fac-section--last { padding-bottom: 70px; }

.fac-heading { text-align: center; margin-bottom: 34px; }

.fac-heading h2 {
  margin: 0;
  color: var(--fac-heading);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
}

.fac-line {
  display: block;
  width: 100px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--fac-red);
}

/* ---------- Grid ---------- */
.fac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fac-gap);
  align-items: start;
}

/* ---------- Plain photo (operation theatre / Heidelberg) ---------- */
.fac-photo {
  margin: 0;
  border: 2px solid var(--fac-border);
  background: #fff;
  overflow: hidden;
}

.fac-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* operation theatre photos: same size boxes */
.fac-grid:not(.fac-grid--tall) > .fac-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* =====================================================
   HEIDELBERG: 3 images, same size
===================================================== */
.fac-grid--tall {
  align-items: stretch;
}

.fac-grid--tall > .fac-photo {
  aspect-ratio: 3 / 4;                 /* same width and height for all 3 */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.fac-grid--tall > .fac-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;                 /* whole machine visible, nothing cropped */
}

/* ---------- Instrument card (image + caption) ---------- */
.fac-card {
  margin: 0;
  background: #fff;
  border: 1px solid #ececec;
}

.fac-card__img {
  border: 2px solid var(--fac-border);
  background: #fff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fac-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fac-card figcaption {
  padding: 12px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
}

/* =====================================================
   TABLET (max 991px): 2 columns
===================================================== */
@media (max-width: 991px) {
  .fac-hero { min-height: 230px; }
  .fac-hero__title { font-size: 30px; }

  .fac-section { padding: 32px 0 14px; }
  .fac-heading { margin-bottom: 28px; }
  .fac-heading h2 { font-size: 26px; }

  .fac-grid { grid-template-columns: repeat(2, 1fr); }

  /* odd last item sits centred instead of alone on the left */
  .fac-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - (var(--fac-gap) / 2));
  }
}

/* =====================================================
   MOBILE (max 600px)
===================================================== */
@media (max-width: 600px) {
  :root { --fac-gap: 14px; }

  .fac-container { padding: 0 16px; }

  .fac-hero { min-height: 170px; padding: 30px 16px; }
  .fac-hero__title { font-size: 22px; padding-bottom: 16px; }

  .fac-section { padding: 26px 0 10px; }
  .fac-section--last { padding-bottom: 46px; }
  .fac-heading { margin-bottom: 22px; }
  .fac-heading h2 { font-size: 20px; }
  .fac-line { width: 44px; margin-top: 12px; }

  /* photos: one per row */
  .fac-grid:not(.fac-grid--instruments) { grid-template-columns: 1fr; }
  .fac-grid:not(.fac-grid--instruments) > :last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }

  /* instruments: keep 2 per row, smaller text */
  .fac-card figcaption { font-size: 12px; padding: 10px 6px; }
}
/* =====================================================
   FACILITIES LIGHTBOX
===================================================== */
.fac-photo img,
.fac-card__img img { cursor: zoom-in; }

body.fac-lb-lock { overflow: hidden; }

.fac-lb {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.93);
  font-family: 'Poppins', sans-serif;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.fac-lb.is-open { opacity: 1; visibility: visible; }
.fac-lb * { box-sizing: border-box; }

/* ---------- top bar ---------- */
.fac-lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.fac-lb__count { font-size: 16px; opacity: 0.9; }

.fac-lb__tools { display: flex; align-items: center; gap: 6px; position: relative; }

.fac-lb__btn {
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.fac-lb__btn:hover,
.fac-lb__btn:focus-visible { background: rgba(255, 255, 255, 0.18); outline: none; }

.fac-lb__btn svg { width: 22px; height: 22px; fill: #fff; pointer-events: none; }

/* ---------- share menu ---------- */
.fac-lb__share { position: relative; }

.fac-lb__menu {
  position: absolute;
  top: 48px;
  right: 0;
  min-width: 170px;
  padding: 6px 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 5;
}

.fac-lb__menu.is-open { display: block; }

.fac-lb__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 7px;
  font-size: 13px;
  color: #222;
  text-decoration: none;
}

.fac-lb__menu a:hover { background: #f0f0f4; }
.fac-lb__menu svg { width: 18px; height: 18px; flex: 0 0 18px; }

/* ---------- stage ---------- */
.fac-lb__stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 70px;
}

.fac-lb__view {
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  background: #fff;
  display: flex;
}

.fac-lb__img {
  display: block;
  max-width: min(90vw, 900px);
  max-height: calc(100vh - 170px);
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.25s ease;
}

.fac-lb.is-zoomed .fac-lb__img {
  transform: scale(2);
  cursor: zoom-out;
  transition: none;
  touch-action: none;
}

.fac-lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
}

.fac-lb__nav--prev { left: 14px; }
.fac-lb__nav--next { right: 14px; }

/* ---------- caption ---------- */
.fac-lb__caption {
  padding: 14px 20px 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  min-height: 54px;
}

/* ---------- tablet ---------- */
@media (max-width: 991px) {
  .fac-lb__stage { padding: 0 60px; }
  .fac-lb__nav--prev { left: 8px; }
  .fac-lb__nav--next { right: 8px; }
}

/* ---------- mobile ---------- */
@media (max-width: 600px) {
  .fac-lb__bar { padding: 8px 10px; }
  .fac-lb__count { font-size: 14px; }
  .fac-lb__btn { width: 38px; height: 38px; }
  .fac-lb__btn svg { width: 20px; height: 20px; }

  .fac-lb__stage { padding: 0 10px; }
  .fac-lb__img { max-width: 100%; max-height: calc(100vh - 190px); }

  /* arrows sit on the image edges, smaller */
  .fac-lb__nav {
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.55);
  }
  .fac-lb__nav--prev { left: 6px; }
  .fac-lb__nav--next { right: 6px; }

  .fac-lb__caption { font-size: 14px; padding: 10px 14px 18px; }
  .fac-lb__fs { display: none; }         
}
/* =====================================================
   RETINA / SERVICES CARDS PAGE
===================================================== */
:root {
  --ret-heading: #25106b;
  --ret-red: #e3262e;
  --ret-text: #777777;
  --ret-gap: 28px;
}

.ret-hero,
.ret-section { font-family: 'Poppins', sans-serif; }

.ret-hero *, .ret-section * { box-sizing: border-box; }

.ret-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Banner (your background image) ---------- */
.ret-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 40px 20px;
  text-align: center;
  overflow: hidden;
  background: #6f6f6f;                         /* fallback while image loads */
}

.ret-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  
  background: url("../images/LaserEyeSurgeryDrDavidGunn-pawy2dzn96ajvo4jxflsrwnwfflpylwg3t8ewww7w0.jpg") center / cover no-repeat;   /* ← your image */
}

.ret-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 30, 45, 0.55);
}

.ret-hero__inner { max-width: 780px; margin: 0 auto; }

.ret-hero__title {
  position: relative;
  margin: 0;
  padding-bottom: 24px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.ret-hero__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70px;
  height: 3px;
  background: var(--ret-red);
  transform: translateX(-50%);
}

/* ---------- Cards grid ---------- */
.ret-section { padding: 60px 0 70px; background: #fff; }

.ret-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ret-gap);
  align-items: stretch;                         /* all cards in a row same height */
}

.ret-card {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 30px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.09);
}

.ret-card__img {
  aspect-ratio: 16 / 10;                        /* every image same size */
  overflow: hidden;
  background: #eee;
}

.ret-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ret-card__title {
  margin: 14px 0 8px;
  color: var(--ret-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.ret-card__text {
  margin: 0;
  color: var(--ret-text);
  font-size: 16px;
  line-height: 1.7;
}

/* =====================================================
   TABLET (max 991px): 2 columns
===================================================== */
@media (max-width: 991px) {
  :root { --ret-gap: 22px; }

  .ret-hero { min-height: 230px; }
  .ret-hero__title { font-size: 30px; }

  .ret-section { padding: 46px 0 56px; }
  .ret-grid { grid-template-columns: repeat(2, 1fr); }
  .ret-card__title { font-size: 19px; }
}

/* =====================================================
   MOBILE (max 600px): 1 column
===================================================== */
@media (max-width: 600px) {
  :root { --ret-gap: 18px; }

  .ret-container { padding: 0 16px; }

  .ret-hero { min-height: 180px; padding: 30px 16px; }
  .ret-hero__title { font-size: 22px; padding-bottom: 18px; }
  .ret-hero__title::after { width: 56px; }

  .ret-section { padding: 30px 0 44px; }
  .ret-grid { grid-template-columns: 1fr; }

  .ret-card { padding: 8px 8px 24px; }
  .ret-card__title { font-size: 18px; margin-top: 12px; }
  .ret-card__text { font-size: 14px; line-height: 1.65; }
}
/* =====================================================
   DENTAL SERVICES BANNER
===================================================== */
.dental-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 40px 20px;
  text-align: center;
  overflow: hidden;
  background: #6f6f6f;                         /* fallback while image loads */
  font-family: 'Poppins', sans-serif;
}

.dental-hero *,
.dental-hero *::before,
.dental-hero *::after { box-sizing: border-box; }

.dental-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/woman-patient-dentist-2048x1365.jpg") center / cover no-repeat;   /* ← your dental image */
}

.dental-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 30, 45, 0.55);          /* dark overlay */
}

.dental-hero__inner { max-width: 780px; margin: 0 auto; }

.dental-hero__title {
  position: relative;
  margin: 0;
  padding-bottom: 24px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.dental-hero__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70px;
  height: 3px;
  background: #e3262e;
  transform: translateX(-50%);
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
  .dental-hero { min-height: 230px; }
  .dental-hero__title { font-size: 30px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .dental-hero { min-height: 180px; padding: 30px 16px; }
  .dental-hero__title { font-size: 22px; padding-bottom: 18px; }
  .dental-hero__title::after { width: 56px; }
}
/* =====================================================
   ABOUT HOSPITAL PAGE
===================================================== */
:root {
  --abt-navy: #25106b;
  --abt-red: #c8201f;
  --abt-line: #e3262e;
  --abt-teal: #5bb9c3;
  --abt-text: #666;
}

.abt-hero, .abt-intro, .abt-why, .abt-vm, .abt-gallery {
  font-family: 'Poppins', sans-serif;
}
.abt-hero *, .abt-intro *, .abt-why *, .abt-vm *, .abt-gallery * { box-sizing: border-box; }

.abt-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- shared title ---------- */
.abt-title-block { text-align: center; margin-bottom: 36px; }
.abt-title-block__title {
  margin: 0;
  color: var(--abt-navy);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
}
.abt-title-block__title--red { color: var(--abt-red); }
.abt-line {
  display: block;
  width: 70px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--abt-line);
}

/* =====================================================
   1. BANNER
===================================================== */
.abt-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 40px 20px;
  text-align: center;
  overflow: hidden;
  background: #3a3f45;
}
.abt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/about-img-1.png") center / cover no-repeat;   /* ← your image */
}
.abt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 15, 25, 0.6);
}
.abt-hero__inner { max-width: 780px; margin: 0 auto; }
.abt-hero__title {
  position: relative;
  margin: 0;
  padding-bottom: 22px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.abt-hero__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70px;
  height: 3px;
  background: var(--abt-line);
  transform: translateX(-50%);
}

/* =====================================================
   2. INTRO
===================================================== */
.abt-intro { padding: 50px 0 70px; background: #fff; }

.abt-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.abt-intro__heading {
  margin: 14px 0 22px;
  color: var(--abt-navy);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
}
.abt-intro__text p {
  margin: 0 0 22px;
  color: var(--abt-text);
  font-size: 17px;
  line-height: 1.75;
}
.abt-intro__text strong { color: #222; }

.abt-intro__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 40px 14px;
  align-items: start;
}
.abt-photo { display: block; width: 100%; object-fit: cover; }
.abt-photo--tall   { grid-row: 1 / span 2; grid-column: 1; height: 100%; max-height: 460px; }
.abt-photo--top    { grid-column: 2; grid-row: 1; aspect-ratio: 16 / 10; }
.abt-photo--bottom { grid-column: 2; grid-row: 2; aspect-ratio: 16 / 11; }

/* =====================================================
   3. WHY CHOOSE US
===================================================== */
.abt-why {
  position: relative;
  isolation: isolate;
  padding: 50px 40px;
  background: #cfe1ec url("../images/image.png") center / cover no-repeat;
}

/* white overlay on the background image */
.abt-why::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.55);   /* 0 = no white, 1 = fully white */
}

.abt-why__box {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: 44px 30px 40px;
  background: rgba(255, 255, 255, 0.7);
}
.abt-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.abt-why__item { text-align: center; padding: 0 6px; }

.abt-why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e4f1f7;
}
.abt-why__icon svg { width: 65px; height: 65px; fill: var(--abt-red); }

.abt-why__item h3 {
  margin: 0 0 14px;
  color: #111;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
}
.abt-why__item p { margin: 0; color: #333; font-size: 15px; line-height: 1.7; }

/* =====================================================
   4. VISION / MISSION / VALUE / QUALITY
===================================================== */
.abt-vm { padding: 60px 20px; background: #fff; }

.abt-vm__grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.abt-vm__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 14px 16px 10px;
  border-radius: 46px;
  background: var(--abt-teal);
  color: #fff;
}
.abt-vm__icon { flex: 0 0 56px; display: flex; justify-content: center; padding-top: 2px; }
.abt-vm__icon svg { width: 44px; height: 44px; fill: #fff; }

.abt-vm__card h3 { margin: 0 0 6px; font-size: 26px; font-weight: 600; line-height: 1.2; color: #fff; }
.abt-vm__card p  { margin: 0; font-size: 16px; line-height: 1.55; color: #fff; }

/* =====================================================
   5. GALLERY SLIDER
===================================================== */
.abt-gallery {
  --abt-gap: 18px;
  --abt-per: 4;
  padding: 36px 0 24px;
  background: #e8e8ea;
}
.abt-gallery .abt-title-block { margin-bottom: 30px; }

.abt-gallery__stage { position: relative; }
.abt-gallery__viewport { overflow: hidden; }
.abt-gallery__track { display: flex; transition: transform 0.55s ease; }

.abt-gallery__slide {
  flex: 0 0 calc((100% - (var(--abt-per) - 1) * var(--abt-gap)) / var(--abt-per));
  margin-right: var(--abt-gap);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}
.abt-gallery__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }

.abt-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #1a1a2e;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, color 0.2s;
}
.abt-gallery__arrow:hover { background: var(--abt-line); color: #fff; }
.abt-gallery__arrow:focus-visible { outline: 2px solid var(--abt-navy); outline-offset: 2px; }
.abt-gallery__arrow--prev { left: 12px; }
.abt-gallery__arrow--next { right: 12px; }

.abt-gallery__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.abt-gallery__dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(26, 26, 46, 0.3);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.abt-gallery__dots .dot.active { background: #1a1a2e; transform: scale(1.3); }

/* =====================================================
   TABLET (max 991px)
===================================================== */
@media (max-width: 991px) {
  .abt-hero { min-height: 230px; }
  .abt-hero__title { font-size: 30px; }

  .abt-title-block__title { font-size: 34px; }
  .abt-title-block { margin-bottom: 28px; }

  .abt-intro { padding: 40px 0 50px; }
  .abt-intro__grid { grid-template-columns: 1fr; gap: 30px; }
  .abt-intro__heading { font-size: 24px; margin-top: 0; }
  .abt-intro__photos { gap: 24px 14px; }

  .abt-why { padding: 40px 24px; }
  .abt-why__box { padding: 36px 20px; }
  .abt-why__grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }

  .abt-vm { padding: 46px 24px; }
  .abt-vm__grid { gap: 24px; }
  .abt-vm__card h3 { font-size: 24px; }
  .abt-vm__card p { font-size: 15px; }

  .abt-gallery { --abt-per: 2; }
}

/* =====================================================
   LARGE PHONE (max 768px)
===================================================== */
@media (max-width: 768px) {
  .abt-vm__grid { grid-template-columns: 1fr; }
}

/* =====================================================
   MOBILE (max 600px)
===================================================== */
@media (max-width: 600px) {
  .abt-container { padding: 0 16px; }

  .abt-hero { min-height: 180px; padding: 30px 16px; }
  .abt-hero__title { font-size: 24px; padding-bottom: 16px; }
  .abt-hero__title::after { width: 56px; }

  .abt-title-block__title { font-size: 28px; }
  .abt-line { width: 56px; margin-top: 12px; }

  .abt-intro { padding: 30px 0 40px; }
  .abt-intro__heading { font-size: 21px; }
  .abt-intro__text p { font-size: 15px; }
  .abt-intro__photos { grid-template-columns: 1fr; gap: 14px; }
  .abt-photo--tall, .abt-photo--top, .abt-photo--bottom {
    grid-column: 1; grid-row: auto; height: auto; max-height: none;
  }
  .abt-photo--tall { aspect-ratio: 4 / 5; }

  .abt-why { padding: 24px 12px; }
  .abt-why__box { padding: 28px 14px; }
  .abt-why__grid { grid-template-columns: 1fr; gap: 28px; }
  .abt-why__icon { width: 80px; height: 80px; }
  .abt-why__icon svg { width: 36px; height: 36px; }
  .abt-why__item h3 { font-size: 21px; }

  .abt-vm { padding: 34px 14px; }
  .abt-vm__card { border-radius: 30px; padding: 16px 16px 16px 8px; }
  .abt-vm__icon { flex-basis: 46px; }
  .abt-vm__icon svg { width: 34px; height: 34px; }
  .abt-vm__card h3 { font-size: 22px; }
  .abt-vm__card p { font-size: 14.5px; }

  .abt-gallery { --abt-per: 1; padding: 30px 0 20px; }
  .abt-gallery__arrow { width: 34px; height: 34px; font-size: 14px; }
  .abt-gallery__arrow--prev { left: 8px; }
  .abt-gallery__arrow--next { right: 8px; }
}/* =====================================================
   DOCTOR PROFILE PAGE
===================================================== */
:root {
  --doc-navy: #25106b;
  --doc-teal: #5bb9c3;
  --doc-red: #e3262e;
  --doc-text: #666;
}

.doc-hero, .doc-profile, .doc-stats { font-family: 'Poppins', sans-serif; }
.doc-hero *, .doc-profile *, .doc-stats * { box-sizing: border-box; }

.doc-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Banner ---------- */
.doc-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 40px 20px;
  text-align: center;
  overflow: hidden;
  background: #5a636b;
}
.doc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/group-successful-doctors-hospital-scaled.jpg") center / cover no-repeat;
}
.doc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 30, 45, 0.5);
}
.doc-hero__inner { max-width: 1100px; margin: 0 auto; }
.doc-hero__title {
  position: relative;
  margin: 0;
  padding-bottom: 24px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.doc-hero__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 128px;
  height: 3px;
  background: var(--doc-red);
  transform: translateX(-50%);
}

/* ---------- Profile ---------- */
.doc-profile { padding: 80px 0 70px; background: #fff; }

.doc-profile__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 70px;
  align-items: start;
}

.doc-profile__heading {
  margin: 0 0 22px;
  color: var(--doc-navy);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.3;
}

.doc-profile__text p {
  margin: 0;
  color: var(--doc-text);
  font-size: 16px;
  line-height: 1.7;
}
.doc-profile__text strong { color: #555; }

/* ---------- Accordion (no JS needed) ---------- */
.doc-acc { margin-top: 26px; display: grid; gap: 6px; }

.doc-acc__item { background: var(--doc-teal); }

.doc-acc__item summary {
  position: relative;
  display: block;
  padding: 13px 16px 13px 36px;
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.doc-acc__item summary::-webkit-details-marker { display: none; }

.doc-acc__item summary::before {              /* small arrow */
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 6px solid #fff;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
.doc-acc__item[open] summary::before { transform: translateY(-50%) rotate(90deg); }

.doc-acc__item summary:focus-visible { outline: 2px solid var(--doc-navy); outline-offset: 2px; }

.doc-acc__body {
  padding: 16px 22px 18px;
  background: #fff;
  color: var(--doc-text);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Accordion bullet dots ---------- */
.doc-acc__body ul {
  margin: 0;
  padding-left: 22px;
  list-style: none;                 /* we draw our own dots below */
}

.doc-acc__body li {
  position: relative;
  padding-left: 4px;
}

.doc-acc__body li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 0.65em;                      /* lines the dot up with the first line of text */
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--doc-teal);      /* dot colour */
}

.doc-acc__body li + li { margin-top: 8px; }

/* ---------- Doctor card ---------- */
.doc-profile__card { max-width: 400px; margin: 0 auto; }

.doc-profile__photo {
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.18);
  background: #eee;
}
.doc-profile__photo img { display: block; width: 100%; height: auto; }

.doc-profile__name {
  margin: 18px 0 18px;
  color: #111;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
}
.doc-profile__meta {
  margin: 0;
  color: var(--doc-navy);
  font-size: 18px;
  line-height: 1.5;
}

/* ---------- Stats ---------- */
.doc-stats {
  position: relative;
  isolation: isolate;
  padding: 70px 0;
  background: #5f8f99;
  overflow: hidden;
}
.doc-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/doctor-with-stethoscope-hands-hospital-background-.jpg") center / cover no-repeat;   /* ← change to your real image */
}
.doc-stats::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(60, 130, 145, 0.55);          /* teal overlay */
}

.doc-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.doc-stats__item { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.doc-stats__num {
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}
.doc-stats__label {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

/* =====================================================
   TABLET (max 991px)
===================================================== */
@media (max-width: 991px) {
  .doc-hero { min-height: 230px; }
  .doc-hero__title { font-size: 30px; }
  .doc-hero__title::after { width: 100px; }

  .doc-profile { padding: 56px 0 50px; }
  .doc-profile__grid { grid-template-columns: 1fr; gap: 40px; }
  .doc-profile__heading { font-size: 32px; }

  .doc-profile__card { max-width: 340px; }
  .doc-profile__name { font-size: 28px; }

  .doc-stats { padding: 56px 0; }
  .doc-stats__num { font-size: 46px; }
  .doc-stats__label { font-size: 18px; }
}

/* =====================================================
   MOBILE (max 600px)
===================================================== */
@media (max-width: 600px) {
  .doc-container { padding: 0 16px; }

  .doc-hero { min-height: 180px; padding: 30px 16px; }
  .doc-hero__title { font-size: 22px; padding-bottom: 18px; }
  .doc-hero__title::after { width: 80px; }

  .doc-profile { padding: 36px 0 40px; }
  .doc-profile__heading { font-size: 25px; }
  .doc-profile__heading br { display: none; }
  .doc-profile__text p { font-size: 15px; }

  .doc-acc__item summary { font-size: 17px; padding: 12px 14px 12px 32px; }
  .doc-acc__item summary::before { left: 13px; }
  .doc-acc__body { padding: 14px 16px 16px; font-size: 14.5px; }

  .doc-profile__card { max-width: 100%; }
  .doc-profile__name { font-size: 24px; }
  .doc-profile__meta { font-size: 16px; }

  .doc-stats { padding: 40px 0; }
  .doc-stats__grid { grid-template-columns: 1fr; gap: 28px; }
  .doc-stats__num { font-size: 40px; }
}/* =====================================================
   BLOG PAGE
===================================================== */
:root {
  --blg-navy: #25106b;
  --blg-red: #e3262e;
  --blg-text: #777;
  --blg-card: #17306f;
  --blg-btn: #3b6df0;
}

.blg-hero, .blg-article, .blg-latest { font-family: 'Poppins', sans-serif; }
.blg-hero *, .blg-article *, .blg-latest * { box-sizing: border-box; }

.blg-container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Banner ---------- */
.blg-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 40px 20px;
  text-align: center;
  overflow: hidden;
  background: #3a3f45;
}
.blg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/about-img-1.png") center / cover no-repeat;
}
.blg-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 15, 25, 0.6);
}
.blg-hero__inner { max-width: 820px; margin: 0 auto; }
.blg-hero__title {
  position: relative;
  margin: 0;
  padding-bottom: 22px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.blg-hero__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: var(--blg-red);
  transform: translateX(-50%);
}

/* ---------- Article ---------- */
.blg-article { padding: 44px 0 30px; background: #fff; }

.blg-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 40px;
}

.blg-article h2,
.blg-article h3 {
  margin: 30px 0 12px;
  color: var(--blg-navy);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.35;
}
.blg-intro__text h2 { margin-top: 0; }

.blg-article p {
  margin: 0 0 18px;
  color: var(--blg-text);
  font-size: 17px;
  line-height: 25px;
}
.blg-article strong { color: #555; }

.blg-intro__img img { display: block; width: 100%; height: auto; }

/* bullet lists (our own dots, so your site CSS can't hide them) */
.blg-article ul {
  margin: 0 0 18px;
  padding-left: 40px;
  list-style: none;
}
.blg-article li {
  position: relative;
  margin-bottom: 4px;
  color: var(--blg-text);
  font-size: 17px;
  line-height: 1.8;
}
.blg-article li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 0.8em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #777;
}

/* ---------- Latest blogs ---------- */
.blg-latest { padding: 30px 0 70px; background: #fff; }

.blg-latest__title {
  margin: 0 0 30px;
  text-align: center;
  color: var(--blg-navy);
  font-size: 22px;
  font-weight: 600;
}

.blg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.blg-card {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 22px;
  background: var(--blg-card);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.blg-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0e2050;
}
.blg-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blg-card__title {
  margin: 26px 12px 14px;
  color: #fff;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.35;
}

.blg-card__text {
  margin: 0 12px 18px;
  color: #fff;
  font-size: 15px;
  line-height: 1.75;
}

.blg-card__btn {
  align-self: flex-start;
  margin: auto 12px 0;
  padding: 12px 16px;
  background: var(--blg-btn);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.blg-card__btn:hover { background: #2a56d6; }
.blg-card__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* =====================================================
   BLOG PAGE: TABLET (max 991px)
===================================================== */
@media (max-width: 991px) {
  .blg-hero { min-height: 230px; }
  .blg-hero__title { font-size: 28px; }

  .blg-article { padding: 36px 0 20px; }
  .blg-article h2, .blg-article h3 { font-size: 22px; }
  .blg-article p, .blg-article li { font-size: 16px; }

  .blg-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .blg-card__title { font-size: 19px; }
  .blg-card__text { font-size: 14px; }
}

/* =====================================================
   BLOG PAGE: LARGE PHONE (max 768px)
===================================================== */
@media (max-width: 768px) {
  .blg-intro { grid-template-columns: 1fr; gap: 20px; }
  .blg-intro__img { max-width: 420px; }
}

/* =====================================================
   BLOG PAGE: MOBILE (max 600px)
===================================================== */
@media (max-width: 600px) {
  .blg-container { padding: 0 16px; }

  .blg-hero { min-height: 180px; padding: 30px 16px; }
  .blg-hero__title { font-size: 22px; padding-bottom: 16px; }
  .blg-hero__title::after { width: 56px; }

  .blg-article { padding: 28px 0 10px; }
  .blg-article h2, .blg-article h3 { font-size: 18px; margin-top: 24px; }
  .blg-article p, .blg-article li { font-size: 14px; line-height: 1.75; }
  .blg-article ul { padding-left: 32px; }

  .blg-latest { padding: 20px 0 50px; }
  .blg-grid { grid-template-columns: 1fr; gap: 20px; }
  .blg-card__title { font-size: 18px; margin-top: 22px; }
  .blg-card__text { font-size: 14px; }
}
/* =====================================================
   SINGLE BLOG POST PAGE
===================================================== */
:root {
  --post-navy: #25106b;
  --post-text: #777;
  --post-link: #3a7bd5;
  --post-green: #b5cc18;
  --post-border: #e4e4e4;
}

/* grey page + grey header, white card starts below the header */
.post-page {
  --post-header-h: 150px;               /* ← your header height on desktop */
  font-family: 'Poppins', sans-serif;
  background: #f5f5f5;
  padding: calc(var(--post-header-h) - 50px) 0 60px;
}
.post-page *, .post-page *::before, .post-page *::after { box-sizing: border-box; }

/* header turns grey only on pages that contain .post-page */
body:has(.post-page) header,
body:has(.post-page) .site-header {
  
  box-shadow: none;
  border-bottom: 0;
}

.post-container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;                      /* fixed: side space on tablet */
}

.post-card { background: #fff; padding: 24px 24px 34px; }

/* ---------- featured image + title ---------- */
.post-featured { max-width: 72%; margin-bottom: 18px; }
.post-featured img { display: block; width: 100%; height: auto; }

.post-title {
  margin: 0 0 4px;
  color: #333;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
}

.post-meta { margin: 0 0 30px; color: #777; font-size: 15px; line-height: 1.6; }
.post-meta a { color: var(--post-link); text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }

/* ---------- article body ---------- */
.post-content { padding: 0 6px; }

.post-intro {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 34px;
}
.post-intro__img img { display: block; width: 100%; height: auto; }
.post-intro p { margin: 0; padding-top: 10px; }

.post-content h2 {
  margin: 34px 0 14px;
  color: var(--post-navy);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.35;
}
.post-content h3 {
  margin: 24px 0 10px;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.post-content p {
  margin: 0 0 18px;
  color: var(--post-text);
  font-size: 17px;
  line-height: 1.8;
}
.post-content strong { color: #555; }

/* bullet lists (own dots, so site CSS can't hide them) */
.post-content ul { margin: 0 0 18px; padding-left: 40px; list-style: none; }
.post-content li {
  position: relative;
  margin-bottom: 4px;
  color: var(--post-text);
  font-size: 17px;
  line-height: 1.8;
}
.post-content li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 0.8em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #777;
}

/* numbered list */
.post-content ol {
  margin: 0 0 18px;
  padding-left: 40px;
  list-style: decimal;
}
.post-content ol li { margin-bottom: 8px; }
.post-content ol li::before { content: none; }

/* ---------- previous / next post links ---------- */
.post-nav {
  display: flex;
  justify-content: space-between;       /* Previous left, Next right */
  align-items: center;
  gap: 16px;
  padding: 22px 0 18px;
  font-size: 15px;
}
.post-nav a { color: var(--post-link); text-decoration: none; }
.post-nav a:hover { text-decoration: underline; }

/* only the pages that use .post-nav--end: single link on the right */
.post-nav--end { justify-content: flex-end; }

/* ---------- comment form ---------- */
.post-comments { padding: 34px 24px 40px; }

.post-comments__title {
  margin: 0 0 6px;
  color: #333;
  font-size: 24px;
  font-weight: 400;
}
.post-comments__note { margin: 0 0 22px; color: #777; font-size: 15px; }
.post-req { color: #c0161d; }

.post-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
}

.post-form textarea,
.post-form input[type="text"],
.post-form input[type="email"],
.post-form input[type="url"] {
  width: 100%;
  padding: 14px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #333;
  background: #fafafa;
  border: 1px solid var(--post-border);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}
.post-form textarea { min-height: 180px; resize: vertical; }
.post-form ::placeholder { color: #888; }
.post-form textarea:focus,
.post-form input:focus { border-color: var(--post-navy); }

.post-form__field { margin-bottom: 18px; }

.post-form__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.post-form__row .post-form__field { margin-bottom: 0; }

.post-form__check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 18px;
  color: #666;
  font-size: 15px;
  cursor: pointer;
}
.post-form__check input { width: 14px; height: 14px; flex: 0 0 14px; }

.post-form__btn {
  padding: 13px 26px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #fff;
  background: var(--post-green);
  border: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.post-form__btn:hover { background: #9db310; }
.post-form__btn:focus-visible { outline: 2px solid var(--post-navy); outline-offset: 2px; }

/* =====================================================
   SINGLE POST: TABLET (max 991px)
===================================================== */
@media (max-width: 991px) {
  .post-page {
    --post-header-h: 80px;              /* ← your header height on tablet */
    padding: calc(var(--post-header-h) + 30px) 0 46px;
  }
  .post-featured { max-width: 100%; }
  .post-title { font-size: 21px; }
  .post-content h2 { font-size: 19px; }
}

/* =====================================================
   SINGLE POST: LARGE PHONE (max 768px)
===================================================== */
@media (max-width: 768px) {
  .post-intro { grid-template-columns: 1fr; gap: 18px; }
  .post-intro p { padding-top: 0; }
  .post-intro__img { max-width: 420px; }

  .post-form__row { grid-template-columns: 1fr; gap: 14px; }
}

/* =====================================================
   SINGLE POST: MOBILE (max 600px)
===================================================== */
@media (max-width: 600px) {
  .post-page {
    --post-header-h: 70px;              /* ← your header height on mobile */
    padding: calc(var(--post-header-h) - 10px) 0 36px;   /* fixed: space before 10px */
  }
  .post-container { padding: 0 12px; }

  .post-card { padding: 14px 14px 26px; }
  .post-comments { padding: 24px 14px 30px; }
  .post-content { padding: 0; }

  .post-title { font-size: 20px; }
  .post-meta { margin-bottom: 22px; }

  .post-content h2 { font-size: 18px; margin-top: 26px; }
  .post-content p, .post-content li { font-size: 14px; line-height: 1.75; }
  .post-content ul, .post-content ol { padding-left: 32px; }

  .post-form textarea { min-height: 150px; }
  .post-form__btn { width: 100%; }
}
/* =====================================================
   CATEGORY / POST LIST PAGE
===================================================== */
.cat-list { padding: 30px 24px 10px; }

.cat-title {
  margin: 0 0 34px;
  color: #444;
  font-size: 40px;
  font-weight: 300;
  line-height: 2.2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

}

.cat-item {
  padding: 0 0 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--post-border);
}
.cat-item:last-child { border-bottom: 0; margin-bottom: 0; }

.cat-item__img { display: block; max-width: 68%; margin-bottom: 22px; }
.cat-item__img img { display: block; width: 100%; height: auto; }

.cat-item__title {
  margin: 0 0 8px;
  color: #333;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
}
.cat-item__title a { color: inherit; text-decoration: none; }
.cat-item__title a:hover { color: var(--post-link); }

.cat-item__meta { margin: 0 0 16px; color: #777; font-size: 15px; line-height: 1.6; }
.cat-item__meta a { color: var(--post-link); text-decoration: none; }
.cat-item__meta a:hover { text-decoration: underline; }

.cat-item__text {
  margin: 0 0 18px;
  color: var(--post-text);
  font-size: 15px;
  line-height: 1.8;
}

.cat-item__more {
  color: var(--post-link);
  font-size: 15px;
  text-decoration: none;
}
.cat-item__more:hover { text-decoration: underline; }

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
  .cat-list { padding: 26px 20px 6px; }
  .cat-title { font-size: 30px; margin-bottom: 28px; }
  .cat-item__img { max-width: 100%; }
  .cat-item__title { font-size: 21px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .cat-list { padding: 20px 14px 4px; }
  .cat-title { font-size: 26px; margin-bottom: 22px; }
  .cat-item { padding-bottom: 30px; margin-bottom: 30px; }
  .cat-item__img { margin-bottom: 16px; }
  .cat-item__title { font-size: 19px; }
  .cat-item__text { font-size: 14px; line-height: 1.7; }
  .cat-item__meta, .cat-item__more { font-size: 13px; }
}
.author-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.author-head .cat-title { margin: 0; }

.cat-avatar {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  margin-right: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #d6d6d6;
}

@media (max-width: 991px) {
  .author-head { margin-bottom: 28px; }
  .cat-avatar { width: 90px; height: 90px; margin-right: 24px; }
}

@media (max-width: 600px) {
  .author-head {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
  }
  .cat-avatar { width: 70px; height: 70px; margin-right: 0; }
}