/* =============================================
   DEMO1 Clinical Media Hub  v11 Fresh Rebuild
   Matches demo screenshot pixel-perfect
   ============================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  color: #444;
  background: #fff;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- TOPBAR (base.html .topbar) ---------- */
.topbar {
  background: #7ec8c8;
  padding: 8px 0;
  font-size: 13px;
  color: #fff;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar__info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.topbar__info li {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 13px;
  color: #fff;
}
.topbar__info li i { font-size: 12px; }
.topbar__info li a { color: #fff; }
.topbar__social {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.topbar__social li a {
  color: #fff;
  font-size: 14px;
  opacity: 0.9;
  transition: opacity .2s;
}
.topbar__social li a:hover { opacity: 1; }

/* ---------- HEADER / NAVBAR (base.html .header) ---------- */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 70px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header__logo img { height: 45px; }

/* Nav */
.header__nav { flex: 1; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__link {
  font-size: 13px;
  font-weight: 600;
  color: #005485;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: color .2s;
  padding: 4px 0;
}
.nav__link:hover,
.nav__link--active { color: #7ec8c8; }

/* Cart */
.header__cart { color: #005485; font-size: 18px; margin-left: 4px; }

/* "Choose This Website Style" button */
.btn--demo-style {
  background: #3a3a3a;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background .2s;
  white-space: nowrap;
}
.btn--demo-style:hover { background: #555; color: #fff; }

/* Appointments button */
.btn--primary,
.header__cta {
  background: #005485 !important;
  color: #fff !important;
  border: none;
  border-radius: 4px !important;
  padding: 10px 18px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background .2s;
  white-space: nowrap;
}
.btn--primary:hover,
.header__cta:hover { background: #003f66 !important; color: #fff !important; }

/* Hamburger */
.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #005485;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #005485;
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: #fff;
  z-index: 1200;
  transition: right .3s;
  overflow-y: auto;
  padding: 20px 0;
}
.mobile-nav.open { right: 0; }
.mobile-nav__close {
  display: block;
  text-align: right;
  padding: 0 20px 16px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #005485;
}
.mobile-nav__logo img { height: 40px; margin: 0 20px 16px; }
.mobile-nav__list { list-style: none; padding: 0; }
.mobile-nav__item a {
  display: block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #005485;
  text-transform: uppercase;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-nav__item a:hover { background: #f8f8f8; }

/* ---------- FOOTER (base.html classes) ---------- */
.footer {
  background: #005485;
}
.footer__top {
  padding: 50px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer__logo img { height: 40px; margin-bottom: 12px; }
.footer__about { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer__social { display: flex; gap: 10px; margin-top: 14px; }
.footer__social a { color: rgba(255,255,255,0.6); font-size: 16px; }
.footer__social a:hover { color: #fff; }
.footer__heading { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 14px; text-transform: uppercase; }
.footer__links { list-style: none; padding: 0; }
.footer__links li { margin-bottom: 8px; }
.footer__links li a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color .2s; }
.footer__links li a:hover { color: #7ec8c8; }
.footer__contact li { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 8px; display: flex; gap: 8px; align-items: flex-start; }
.footer__contact li i { color: #7ec8c8; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer__bottom p { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer__bottom a { color: rgba(255,255,255,0.5); }

/* Footer simple (home page uses this) */
.footer-simple {
  background: #005485;
  padding: 20px;
}
.footer-simple__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.footer-simple__label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.footer-simple__socials {
  display: flex;
  gap: 12px;
}
.footer-simple__socials a { color: rgba(255,255,255,0.7); font-size: 16px; transition: color .2s; }
.footer-simple__socials a:hover { color: #fff; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #005485;
  color: #fff;
  border: none;
  border-radius: 4px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  z-index: 900;
  transition: background .2s;
  opacity: 0;
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: #003f66; }

/* ---------- HERO SLIDER ---------- */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.hero__slider { position: relative; width: 100%; }
.hero__slide {
  display: none;
  position: relative;
  width: 100%;
  min-height: 520px;
}
.hero__slide.active { display: block; }
.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero__slide-overlay {
  display: none;
}
.hero__slide-content {
  position: relative;
  z-index: 2;
  padding: 110px 20px 110px 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
}
.hero__heading {
  font-family: 'Lora', serif;
  font-size: 46px;
  font-weight: 700;
  font-style: italic;
  color: #005485;
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero__sub {
  font-size: 14px;
  color: #333;
  margin-bottom: 24px;
  line-height: 1.65;
  max-width: 380px;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #005485;
  color: #fff;
  padding: 10px 24px;
  border: 2px solid #005485;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background .2s, color .2s;
}
.hero__cta:hover { background: #003f66; color: #fff; }
.hero__cta i { font-size: 12px; }

/* Slider controls */
.hero__prev, .hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s;
}
.hero__prev { left: 16px; }
.hero__next { right: 16px; }
.hero__prev:hover, .hero__next:hover { background: rgba(255,255,255,0.45); }
.hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  border: none;
  transition: background .2s;
}
.hero__dot.active { background: #fff; }

/* ---------- QUICK LINKS BAR ---------- */
.quicklinks { background: #005485; padding: 0; }
.quicklinks__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.quicklinks__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 32px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background .2s;
  cursor: pointer;
}
.quicklinks__item:last-child { border-right: none; }
.quicklinks__item:hover { background: rgba(255,255,255,0.06); }
.quicklinks__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quicklinks__icon img { width: 28px; height: 28px; }
.quicklinks__icon i { font-size: 22px; color: #7ec8c8; }
.quicklinks__text {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #fff;
}

/* ---------- WELCOME SECTION ---------- */
.welcome { padding: 72px 0; background: #fff; }
.welcome__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.welcome__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #7ec8c8;
  margin-bottom: 8px;
}
.welcome__heading {
  font-size: 30px;
  font-weight: 700;
  color: #005485;
  margin-bottom: 18px;
  line-height: 1.3;
}
.welcome__text { font-size: 14px; color: #666; line-height: 1.8; }

/* Feature cards  2x2 grid */
.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.feature-card {}
.feature-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.feature-card__icon i { font-size: 22px; color: #005485; }
.feature-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #005485;
  margin-bottom: 8px;
}
.feature-card__text { font-size: 13px; color: #666; line-height: 1.65; }

/* ---------- DEPARTMENTS ---------- */
.departments { background: #f5f5f5; padding: 60px 0 0; }
.departments__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.departments__header { text-align: center; margin-bottom: 36px; }
.departments__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 6px;
}
.departments__heading { font-size: 28px; font-weight: 700; color: #005485; margin-bottom: 8px; }
.departments__sub { font-size: 13px; color: #888; }
.departments__underline { width: 40px; height: 3px; background: #7ec8c8; margin: 10px auto 0; }

/* Service tab bar */
.dept-tabs {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
}
.dept-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 10px;
  cursor: pointer;
  border-right: 1px solid #e0e0e0;
  background: #fff;
  transition: background .2s;
  border-bottom: none;
  outline: none;
}
.dept-tab:last-child { border-right: none; }
.dept-tab:hover { background: #f8fbff; }
.dept-tab.active { background: #f0f8ff; }
.dept-tab__icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; }
.dept-tab__icon i { font-size: 28px; color: #005485; }
.dept-tab__name { font-size: 12px; font-weight: 600; color: #005485; text-align: center; }

/* Service panel */
.dept-panel { display: none; background: #005485; }
.dept-panel.active { display: block; }
.dept-panel__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 260px;
}
.dept-panel__image {
  background-size: cover;
  background-position: center;
  min-height: 260px;
}
.dept-panel__content {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dept-panel__name { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.dept-panel__underline { width: 30px; height: 2px; background: #7ec8c8; margin-bottom: 16px; }
.dept-panel__text { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.65; margin-bottom: 24px; }
.dept-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
  width: fit-content;
}
.dept-panel__link:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ---------- SELECT A DOCTOR ---------- */
.select-doctor { padding: 60px 20px; text-align: center; background: #fff; }
.select-doctor__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #999;
  margin-bottom: 10px;
}
.select-doctor__heading { font-size: 28px; font-weight: 700; color: #005485; margin-bottom: 12px; }
.select-doctor__underline { width: 40px; height: 3px; background: #7ec8c8; margin: 0 auto 22px; }
.select-doctor__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #005485;
  font-size: 15px;
  font-weight: 600;
  transition: color .2s;
}
.select-doctor__link:hover { color: #7ec8c8; }

/* ---------- WHY CHOOSE US ---------- */
.why-choose { background: #005485; padding: 70px 0; color: #fff; }
.why-choose__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.why-choose__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #7ec8c8;
  margin-bottom: 10px;
}
.why-choose__heading {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.3;
}
.why-choose__list { display: flex; flex-direction: column; gap: 28px; }
.why-item { display: flex; align-items: flex-start; gap: 20px; }
.why-item__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #005485;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-item__icon img { width: 28px; height: 28px; }
.why-item__icon i { font-size: 22px; color: #fff; }
.why-item__title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.why-item__text { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ---------- LATEST NEWS ---------- */
.latest-news { padding: 70px 0; background: #fff; }
.latest-news__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.latest-news__header { text-align: center; margin-bottom: 44px; }
.latest-news__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 6px;
}
.latest-news__heading { font-size: 28px; font-weight: 700; color: #005485; margin-bottom: 10px; }
.latest-news__underline { width: 40px; height: 3px; background: #7ec8c8; margin: 0 auto; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; } /* kept for compat */
.news-card {}
.news-card__image { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 16px; }
.news-card__meta { font-size: 12px; color: #999; margin-bottom: 8px; }
.news-card__title { font-size: 16px; font-weight: 700; color: #005485; margin-bottom: 10px; line-height: 1.4; }
.news-card__excerpt { font-size: 13px; color: #666; line-height: 1.65; margin-bottom: 14px; }
.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #005485;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s;
}
.news-card__link:hover { color: #7ec8c8; }

/* ---------- TESTIMONIAL ---------- */
.testimonial { background: #005485; padding: 70px 20px; text-align: center; color: #fff; }
.testimonial__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid rgba(255,255,255,0.25);
}
.testimonial__quote {
  font-size: 15px;
  line-height: 1.75;
  max-width: 650px;
  margin: 0 auto 20px;
  color: rgba(255,255,255,0.82);
  font-style: italic;
}
.testimonial__name { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.testimonial__role { font-size: 13px; color: rgba(255,255,255,0.55); }

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet 900px */

/* Latest news - single featured post */
.news-featured {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
  margin: 40px auto 0;
}
.news-featured__image {
  width: 100%;
  margin-bottom: 20px;
}
.news-featured__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.news-featured__content {
  width: 100%;
  text-align: left;
}
.news-featured__title {
  font-size: 18px;
  font-weight: 700;
  color: #005485;
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card__author {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.news-card__excerpt {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}
.news-card__link {
  font-size: 13px;
  font-weight: 600;
  color: #005485;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-card__link:hover { color: #003d66; }


/* Feature card body */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  border: 1px solid #dde8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
}
.feature-card__icon i {
  font-size: 22px;
  color: #005485;
}
.feature-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.feature-card__body {}
.feature-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #005485;
  margin-bottom: 6px;
}
.feature-card__text {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 900px) {
  /* Topbar */
  .topbar__info { gap: 12px; }
  .topbar__info li { font-size: 12px; }

  /* Header */
  .header__nav { display: none; }
  .header__hamburger { display: block; }
  .btn--demo-style { display: none; }
  .header__inner { gap: 12px; }

  /* Hero */
  .hero__slide { min-height: 380px; }
  .hero__slide-content { padding: 60px 20px 60px 32px; }
  .hero__heading { font-size: 36px; }

  /* Welcome */
  .welcome__inner { grid-template-columns: 1fr; gap: 36px; }

  /* Departments */
  .dept-tabs { grid-template-columns: repeat(3, 1fr); }
  .dept-panel__inner { grid-template-columns: 1fr; }
  .dept-panel__image { min-height: 200px; }

  /* News */
  .news-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile 600px */
@media (max-width: 600px) {
  /* Topbar */
  .topbar__info li:nth-child(3),
  .topbar__info li:nth-child(4) { display: none; }

  /* Header */
  .header__inner { height: 60px; }
  .header__logo img { height: 36px; }
  .btn--primary, .header__cta { padding: 8px 12px !important; font-size: 12px !important; }

  /* Hero */
  .hero__slide { min-height: 300px; }
  .hero__slide-content { padding: 40px 20px; max-width: 100%; }
  .hero__heading { font-size: 28px; }
  .hero__sub { font-size: 13px; }

  /* Quicklinks */
  .quicklinks__inner { grid-template-columns: 1fr; }
  .quicklinks__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .quicklinks__item:last-child { border-bottom: none; }

  /* Welcome */
  .welcome { padding: 44px 0; }
  .welcome__heading { font-size: 24px; }
  .feature-cards { grid-template-columns: 1fr; gap: 18px; }

  /* Departments */
  .departments { padding: 44px 0 0; }
  .dept-tabs { grid-template-columns: repeat(2, 1fr); }
  .dept-panel__content { padding: 24px 20px; }
  .dept-panel__name { font-size: 18px; }

  /* Select doctor */
  .select-doctor { padding: 44px 20px; }
  .select-doctor__heading { font-size: 22px; }

  /* Why choose */
  .why-choose { padding: 50px 0; }
  .why-choose__heading { font-size: 22px; }

  /* News */
  .latest-news { padding: 50px 0; }
  .news-grid { grid-template-columns: 1fr; }

  /* Testimonial */
  .testimonial { padding: 50px 20px; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; }
}

/* === QUICKLINKS FA ICON FIX (Patch 2) === */
.quicklinks__icon i.fa {
  font-size: 28px;
  color: #fff;
}
.quicklinks__icon img {
  display: none;  /* hide old SVG fallback */
}

/* ========== SESSION 11 FIXES  Elementor screenshot authority ========== */

/* FIX 1: Quick-link tiles  3 separate buttons with gaps, overlapping hero bottom */
.quicklinks {
  background: transparent !important;
  padding: 0 !important;
  margin-top: -30px;
  position: relative;
  z-index: 5;
}
.quicklinks__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 0 20px;
}
.quicklinks__item {
  background: #005485;
  border-right: none !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}
.quicklinks__item:last-child {
  border-right: none !important;
}
.quicklinks__item:hover {
  background: #0d3358;
}

/* FIX 3: Hero CTA button  match Elementor: small, compact, dark navy, sharp corners */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #005485;
  color: #fff;
  padding: 8px 18px;
  border: none;
  border-radius: 0 !important;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  transition: background .2s;
  text-decoration: none;
}
.hero__cta:hover {
  background: #003f66;
  color: #fff;
}

/* SESSION 12  Tile thickness fix + gap adjustment to match Elementor exactly */
.quicklinks__inner {
  gap: 10px !important;
  padding: 0 40px !important;
}
.quicklinks__item {
  padding: 14px 24px !important;
}
.quicklinks__text {
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
}
.quicklinks__icon {
  width: 28px !important;
  height: 28px !important;
}
.quicklinks__icon i {
  font-size: 18px !important;
}

/* SESSION 12  Fix tile text to title case (not uppercase) per Elementor screenshot */
.quicklinks__text {
  text-transform: none !important;
}

/* SESSION 13: Hero heading fix  match Elementor screenshot: upright, light weight */
.hero__heading {
  font-style: normal !important;
  font-weight: 400 !important;
}

/* ============================================================
   SESSION 13: Font fixes from Elementor DB (ALL VALUES VERIFIED)
   Kit post 3000: Cabin headings, Raleway accents
   LayerSlider slider 8: Raleway hero, Cabin button
   ============================================================ */

/* Hero heading  LayerSlider: Raleway, 52px, weight 400, normal (NOT italic) */
.hero__heading {
  font-family: 'Raleway', sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 46px;
  line-height: 1.15;
  color: #005485;
}

/* Hero CTA button  LayerSlider: Cabin, 15px, padding 18/30, border-radius 4px */
.hero__cta {
  font-family: 'Cabin', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500;
  padding: 18px 30px !important;
  border-radius: 4px !important;
  background: #005485;
  color: #fff !important;
  text-transform: none;
  letter-spacing: 0;
}

/* Section headings  Kit: Cabin, weight 600 */
h1, h2, h3, .section-title,
.welcome__heading,
.departments__heading,
.doctors__heading,
.testimonials__heading,
.news__heading,
.cta-section h2 {
  font-family: 'Cabin', sans-serif;
  font-weight: 600;
  font-style: normal;
}

/* Body text  Kit: default sans-serif, weight 400 */
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #0A0A0A;
}

/* Accent text  Kit: Raleway, weight 400-500 */
.section-subtitle,
.welcome__text,
.testimonial__text {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
}

/* News section: center heading to match Elementor ref */
.news__header {
  text-align: center;
}
.news__subtitle {
  color: #005485;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
}

/* Fix news section: center heading to match Elementor ref */
.latest-news__label,
.latest-news__heading,
.latest-news__underline {
  text-align: center;
}
.latest-news__label {
  color: #005485;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
}

/* Departments section - match Elementor ref: beige bg, square icon boxes */
.departments {
  background-color: #f5f0eb !important;
}
.dept-tabs {
  background-color: #fff;
}
.dept-tab__icon {
  border: 1px solid #ddd;
  border-radius: 4px !important;
  padding: 12px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}
.dept-tab__icon img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}

/* SESSION 24: COMPREHENSIVE STYLING FIX */
body { font-family: "Raleway","Open Sans",sans-serif !important; color: #444 !important; }
h1,h2,h3,h4,h5,h6 { font-family: "Cabin",sans-serif !important; font-weight: 600 !important; color: #111; }
.welcome__label { color: #8a8a8a; font-family: "Raleway",sans-serif; }
.welcome__heading { color: #111; font-family: "Cabin",sans-serif !important; }
.welcome__text { color: #444; font-family: "Raleway",sans-serif; }
.feature-card__title { color: #111; font-family: "Cabin",sans-serif !important; }
.feature-card__text { color: #444; font-family: "Raleway",sans-serif; }
.feature-card__icon { border-color: #8ecccd; }
.departments { background: #f5f8fa !important; padding: 60px 0 0 !important; }
.departments__label { color: #8a8a8a; font-family: "Raleway",sans-serif; }
.departments__heading { color: #111; font-family: "Cabin",sans-serif !important; }
.departments__sub { color: #8a8a8a; }
.departments__underline { background: #8ecccd; }
.dept-tab__name { color: #005485; font-family: "Cabin",sans-serif; }
.dept-panel__name { font-family: "Cabin",sans-serif !important; }
.dept-panel__text { font-family: "Raleway",sans-serif; }
.dept-panel__underline { background: #8ecccd; }
/* WHY CHOOSE US with bg-22 background */
.why-choose { background: url("/static/uploads/bg-22.jpg") center/cover no-repeat #005485 !important; }
.why-choose__inner { display:grid !important; grid-template-columns:1fr 1fr !important; gap:40px !important; }
.why-choose__label { color:#8ecccd; font-family:"Raleway",sans-serif; }
.why-choose__heading { color:#fff; font-family:"Cabin",sans-serif !important; font-size:28px; }
.why-item__icon { background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2); }
.why-item__title { font-family:"Cabin",sans-serif !important; }
.why-item__text { font-family:"Raleway",sans-serif; color:rgba(255,255,255,0.7); }
.why-choose__image { width:100%; min-height:350px; background-size:cover; background-position:center; }
/* LATEST NEWS */
.latest-news { background:#f5f8fa; }
.latest-news__label { color:#8a8a8a !important; font-family:"Raleway",sans-serif !important; }
.latest-news__heading { color:#111 !important; font-family:"Cabin",sans-serif !important; }
.latest-news__underline { background:#8ecccd !important; }
.news-card__title { color:#111; font-family:"Cabin",sans-serif !important; }
.news-card__excerpt { color:#444; font-family:"Raleway",sans-serif; }
/* TESTIMONIAL */
.testimonial { background:url("/static/uploads/TESTIMONIALS-BACKGROUND.jpg") center/cover no-repeat #005485; }
.testimonial__quote { font-family:"Raleway",sans-serif; }
.testimonial__name { font-family:"Cabin",sans-serif !important; }
/* SELECT DOCTOR */
.select-doctor__label { color:#8a8a8a; font-family:"Raleway",sans-serif; }
.select-doctor__heading { color:#111; font-family:"Cabin",sans-serif !important; }
.select-doctor__underline { background:#8ecccd; }
/* TOPBAR secondary color */
.topbar { background:#8ecccd; }
/* HERO */
.hero__heading { color:#005485 !important; }
/* NAV */
.nav__link { font-family:"Cabin",sans-serif; }
/* UNDERLINES all teal */
.welcome__underline,.select-doctor__underline,.latest-news__underline,.dept-panel__underline { background:#8ecccd !important; }
/* RESPONSIVE Why Choose */
@media(max-width:900px){ .why-choose__inner{grid-template-columns:1fr !important;} .why-choose__image{min-height:250px;} }
/* SESSION 24 FIX 2: Elementor-verified corrections */
/* Why Choose Us: correct bg is new-banner.jpg per Elementor page 2410 */
.why-choose { background: url("/static/uploads/new-banner.jpg") center/cover no-repeat #005485 !important; }
/* Replace ALL #0a2744 with #005485 per Elementor primary color */
.quicklinks__item { background: #005485 !important; }
.quicklinks__item:hover { background: #003f66 !important; }
.hero__cta { background: #005485 !important; }
.hero__cta:hover { background: #003f66 !important; }
.footer { background: #005485 !important; }
.footer-simple { background: #005485 !important; }
.testimonial { background: url("/static/uploads/TESTIMONIALS-BACKGROUND.jpg") center/cover no-repeat #005485 !important; }
.hero__heading { color: #005485 !important; }
.nav__link { color: #005485 !important; }
.header__cart { color: #005485 !important; }
/* Feature card icons per Elementor */
.feature-card__icon i { color: #005485 !important; }
.feature-card__icon { border-color: #d7d7d7 !important; }
/* Quicklinks icon color */
.quicklinks__icon i { color: #8ecccd !important; }
/* SESSION 24 FIX3: Why Choose spacing/fonts per Elementor */
.why-choose { padding: 100px 0 !important; }
.why-item { margin-bottom: 50px; }
.why-item:last-child { margin-bottom: 40px; }
.why-item__icon { width: 54px; height: 54px; border-radius: 50%; background: transparent !important; border: none !important; }
.why-item__icon img { width: 40px; height: 40px; object-fit: contain; filter: brightness(0) invert(1); }
.why-choose__label { font-family: "Raleway",sans-serif !important; font-size: 14px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: #8ecccd !important; margin-bottom: 10px; }
.why-choose__heading { font-family: "Cabin",sans-serif !important; font-size: 30px !important; font-weight: 600 !important; line-height: 1.3; margin-bottom: 40px; }
.why-item__title { font-family: "Cabin",sans-serif !important; font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.why-item__text { font-family: "Raleway",sans-serif !important; font-size: 14px; color: rgba(255,255,255,0.7) !important; line-height: 1.65; }
.why-choose__list { gap: 0 !important; }
/* SESSION 24 FIX4: Alignment + Services + Testimonials per Elementor */
/* 1. Welcome alignment: Elementor column padding 60/50/0/40 */
.welcome .container { padding: 75px 50px 100px 40px !important; max-width: 1200px; margin: 0 auto; }
.welcome__content { padding-right: 50px; }
/* 2. Why Choose alignment */
.why-choose .container { padding: 0 50px 0 40px !important; max-width: 1200px; margin: 0 auto; }
/* 3. Services section: warm gray box, dept-bg2.png, spacing */
.departments { background: #f5f8fa url("/static/uploads/department-bg2.png") no-repeat bottom left !important; background-size: contain !important; padding: 96px 0 0 0 !important; }
/* Icon tabs: flexible width, always match panel width */
.dept-tabs { display: flex !important; flex-wrap: wrap !important; gap: 0 !important; margin-bottom: 30px !important; }
.dept-tab { flex: 1 1 0 !important; min-width: 0 !important; }
/* Gap between tabs and panel */
.dept-panel { padding: 80px 80px 80px 0 !important; margin-top: 0; position: relative; }
.dept-panel__image-wrap { position: relative; overflow: visible; }
.dept-panel__image-wrap::before { content: ""; position: absolute; top: -20px; left: -20px; right: -20px; bottom: -20px; background: #005485; border-radius: 8px 8px 0 0; z-index: 0; }
.dept-panel__image-wrap img { position: relative; z-index: 1; border-radius: 4px; }
/* 4. Testimonials: blue bg + slideshow */
.testimonial { background: url("/static/uploads/c3.jpg") center/cover no-repeat #005485 !important; padding: 80px 0 !important; }
.testimonial .container { max-width: 800px; }
.testimonial__quote { font-size: 16px; line-height: 1.8; font-style: italic; }

/* ===== FIX8: Comprehensive fixes (Session 28) ===== */

/* 1. Testimonial slideshow */
.testimonial__carousel { position: relative; min-height: 200px; }
.testimonial__slide { display: none; text-align: center; }
.testimonial__slide.active { display: block; }
.testimonial__dots { text-align: center; margin-top: 20px; }
.testimonial__dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); margin: 0 6px; cursor: pointer; border: none; }
.testimonial__dot.active { background: #fff; }
.testimonial__avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 3px solid rgba(255,255,255,0.3); }
.testimonial__name { color: #fff !important; font-family: "Cabin", sans-serif !important; font-weight: 600; font-size: 18px; margin-top: 15px; }
.testimonial__role { color: #8ecccd !important; font-family: "Raleway", sans-serif; font-size: 14px; margin-top: 4px; }

/* 2. Testimonial nav arrows (same style as hero) */
.testimonial__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; color: #fff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; }
.testimonial__nav:hover { background: rgba(255,255,255,0.4); }
.testimonial__nav--prev { left: 20px; }
.testimonial__nav--next { right: 20px; }

/* 3. Fix ::before blue shape - target CORRECT class (.dept-panel__image not -wrap) */
.dept-panel__image {
  position: relative !important;
  overflow: visible !important;
  min-height: 200px;
}
.testimonial {
  background-color: #0b6fa4 !important;
}

/* 5. Footer darker navy */
footer {
  background-color: #003554 !important;
}

/* 6. Service tab borders - remove ugly outset, keep subtle dividers */
.dept-tab {
  border: none !important;
  border-right: 1px solid #e8e8e8 !important;
}
.dept-tab:last-child {
  border-right: none !important;
}
.dept-tabs {
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px;
}

/* 7. Welcome section - reduce gap after hero */
.welcome {
  padding-top: 50px !important;
  padding-bottom: 60px !important;
}

/* 8. Mobile responsive */
@media (max-width: 768px) {
  .topbar { font-size: 12px; padding: 6px 10px; }
  .nav { display: none; }
  .hero { min-height: 300px; }
  .hero__title { font-size: 28px !important; }
  .quick-links { flex-direction: column; gap: 10px; padding: 15px; }
  .welcome .container { flex-direction: column; }
  .welcome__text, .welcome__features { width: 100% !important; }
  .welcome { padding: 40px 15px !important; }
  .departments { padding: 40px 15px !important; }
  .dept-tabs { flex-direction: column !important; gap: 10px !important; }
  .dept-tab { flex: none !important; width: 100% !important; }
  .dept-panel__inner { flex-direction: column !important; }
  .dept-panel__image { width: 100% !important; }
  .dept-panel__content { width: 100% !important; padding: 20px !important; }
  .select-doctor { padding: 30px 15px !important; }
  .why-choose { padding: 40px 15px !important; }
  .why-choose__items { flex-direction: column !important; }
  .testimonial { padding: 40px 15px !important; }
  .testimonial .container { max-width: 100% !important; }
  .news-grid { grid-template-columns: 1fr !important; }
  .footer__grid { grid-template-columns: 1fr !important; text-align: center; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 22px !important; }
  .welcome__heading, .departments__heading, .why-choose__heading { font-size: 24px !important; }
}

/* FIX8b: Image z-index to show above ::before */
.dept-panel__image {
  z-index: 1 !important;
  border-radius: 4px;
  background-size: cover !important;
  background-position: center !important;
}

/* FIX8c: Increase container side padding (50% larger: 20->30px) */
.container {
  padding-left: 30px !important;
  padding-right: 30px !important;

/* ===== FIX9: Service panel 2-column layout fix (Session 30) ===== */
/* Line 823 broke grid to 1fr - restore 2-column on desktop */
.dept-panel__inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  min-height: 260px;
}
/* Ensure image div shows properly with position for ::before */
.dept-panel__image {
  position: relative !important;
  min-height: 260px !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 1;
  border-radius: 4px;

/* FIX12: Services gray box, dept-bg wave, footer/testimonial color swap */

/* 1. Hide the dept-bg2.png wave overlay on left */
.departments {
  background-image: none !important;
  padding-bottom: 50px !important;
}

/* 2. Swap testimonial and footer colors */
.testimonial {
  background-color: #003554 !important;
}
footer {
  background-color: #0b6fa4 !important;
}

/* FIX12 - Services gray box, tab styling, color swap */
.departments {
    background-image: none !important;
    padding-bottom: 40px !important;
}
.dept-tabs {
    border: none !important;
}
.dept-tab {
    border: none !important;
    padding: 12px 8px !important;
    background-color: transparent !important;
}
.dept-tab__icon {
    border: none !important;
    margin-bottom: 4px !important;
}
.testimonial {
    background-color: #005485 !important;
}
.footer-simple {
    background-color: #003554 !important;
}
