:root {
  --navy: #082a4f;
  --blue: #174e8a;
  --blue-soft: #dbe9f7;
  --sky: #8fb2d5;
  --red: #d7192d;
  --cream: #f7f3ea;
  --ink: #07131f;
  --muted: #617083;
  --line: #d7e2ee;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 42, 79, .14);
  --card-radius: 20px;

  /* Loader specific colors */
  --bg-1: #ffffff;
  --grid-minor: #ffcccc;
  --grid-major: #ff9999;
}

/* Slightly flatter card corners across the site */
.glass-card,
.program-box,
.doctor-profile,
.activity-tile,
.enquiry-form,
.contact-box,
.impact-card,
.testimonial-card,
.news-card,
.activity-feature-card,
.about-text-col,
.about-media,
.contact-info-row,
.map-section,
.zigzag-content,
.vm-card,
.activity-mobile-card,
.hero-info-card,
.hero-actions .btn,
.stat-chip,
.hero-key-row span,
.news-card.news-image-card {
  border-radius: var(--card-radius) !important;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

/* Gallery Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: zoom-out;
}

.lightbox-content {
  position: relative;
  z-index: 100000;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, transform-origin 0.1s ease;
  cursor: zoom-in;
}

.lightbox-content p {
  color: #fff;
  margin-top: 15px;
  font-size: 1.1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute !important;
  top: 20px !important;
  right: 30px !important;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 100001;
  font-weight: 300;
}

.lightbox-close:hover {
  color: #fff;
}

.lightbox-prev,
.lightbox-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  z-index: 100001;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

@media (max-width: 768px) {
  .lightbox-close {
    top: 15px;
    right: 15px;
    font-size: 2rem;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

.gallery-slide-static img,
.gallery-slide img {
  cursor: zoom-in;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.brand-text strong,
.identity-board h2 {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: .9rem;
  padding: 9px 0
}

.social-icons {
  display: flex;
  gap: 16px
}

.main-nav {
  box-shadow: 0 10px 30px rgba(8, 42, 79, .08)
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0px
}

.logo-mark {
  width: 50px;
  height: 50px;
  border: 2px solid var(--red);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 1.5rem;
  background: #fff
}

.brand-text strong {
  display: block;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em
}

.nav-link {
  font-weight: 700;
  color: var(--ink) !important;
  position: relative;
  display: inline-block;
  padding-bottom: 6px
}

.nav-link:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease
}

.nav-link:hover:before,
.nav-link.active:before {
  transform: scaleX(1)
}

.btn {
  font-weight: 800
}

.btn-danger {
  background: var(--red);
  border-color: var(--red)
}

.btn-danger:hover {
  background: #ae1020;
  border-color: #ae1020
}

.btn-outline-primary {
  color: var(--blue);
  border-color: var(--blue)
}

.btn-outline-primary:hover {
  background: var(--blue);
  border-color: var(--blue)
}

.btn-volunteer {
  color: var(--red);
  border-color: var(--red);
  font-weight: 800;
  transition: .25s
}

.btn-volunteer:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px)
}

.btn-donate {
  background: var(--red);
  border-color: var(--red);
  position: relative;
  overflow: hidden;
  transition: .25s
}

.btn-donate span {
  position: relative;
  z-index: 1
}

.btn-donate:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: translateX(-120%);
  transition: .6s
}

.btn-donate:hover:before {
  transform: translateX(120%)
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(215, 25, 45, .35)
}

.btn-donate-lg {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border: 0;
  box-shadow: 0 14px 32px rgba(215, 25, 45, .35);
  transition: .25s
}

.btn-donate-lg:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 18px 40px rgba(215, 25, 45, .45)
}

.btn-volunteer-lg {
  background: transparent;
  color: #fff;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, .6);
  transition: .25s
}

.btn-volunteer-lg:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-3px)
}


.hero {
  min-height: 100vh;
  background: linear-gradient(115deg, rgba(8, 42, 79, .95), rgba(23, 78, 138, .82)), #8fb2d5;
  position: relative;
  color: #fff;
  overflow: hidden;
}

.top-strip {
  display: none;
}

.hero:before {
  content: "CADF";
  position: absolute;
  left: -1vw;
  bottom: -9vw;
  font-size: 26vw;
  line-height: .8;
  font-weight: 700;
  color: rgba(0, 0, 0, .45);
  letter-spacing: -1.2vw
}

.blueprint-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 110px 110px;
  opacity: .45
}

.min-vh-90 {
  min-height: 88vh
}

.hero-kicker {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 6px 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .68rem
}

.hero-title {
  font-size: clamp(1.7rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.01em;
  margin-top: 22px;
  margin-bottom: 20px;
  max-width: 900px;
  white-space: nowrap
}

.hero-title .hl {
  position: relative;
  display: inline;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(215, 25, 45, .4) 60%);
  padding: 0 .06em
}

.hero-subtitle {
  max-width: 650px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .84)
}

@media(max-width:575px) {
  .hero-title {
    white-space: normal
  }

  .hero-title .hl {
    white-space: normal
  }
}

.main-nav.nav-scrolled .nav-link,
.main-nav.nav-scrolled .foundation-part,
.main-nav.nav-scrolled .mobile-menu-toggle {
  color: #000000 !important;
}

.typewriter-line {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  min-height: 1.6em
}

.typewriter-line .caret {
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  color: var(--red)
}

@keyframes blink {
  50% {
    opacity: 0
  }
}

.identity-board {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
  padding: 34px;
  border-radius: 34px;
  overflow: hidden
}

.identity-board:before {
  content: "HEART";
  position: absolute;
  left: 20px;
  bottom: -12px;
  font-weight: 700;
  font-size: 8rem;
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, .11);
  line-height: .8
}

.board-top {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #fff
}

.identity-board h2 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: .78;
  margin: 90px 0 18px;
  color: #fff
}

.identity-board p {
  max-width: 370px;
  color: rgba(255, 255, 255, .78)
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
  position: relative;
  z-index: 1
}

.stat-chip {
  background: var(--cream);
  color: var(--ink);
  padding: 14px 20px;
  min-width: 150px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
  animation: float 4s ease-in-out infinite
}

.stat-chip:nth-child(2) {
  animation-delay: .6s
}

.stat-chip b {
  display: block;
  font-size: 1.7rem;
  color: var(--navy);
  line-height: 1;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted)
}

.stat-row-about {
  justify-content: center;
  margin-top: 44px
}

.stat-row-about .stat-chip {
  box-shadow: var(--shadow);
  animation: none;
  background: #fff;
  border: 1px solid var(--line)
}

@keyframes float {
  50% {
    transform: translateY(-10px)
  }
}

.section-space {
  padding: 35px 0 !important
}

.bg-soft {
  background: linear-gradient(180deg, #f6f9fc, #fff)
}

.site-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px
}

.section-heading {
  max-width: 900px;
  margin: 0 auto;
  text-align: center
}

.section-heading p {
  margin-left: auto;
  margin-right: auto
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px
}

.eyebrow:before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
  display: inline-block;
  border-radius: 2px
}

.section-title {
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1.05;
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 18px
}

.about-media {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  height: 100%;
  min-height: 340px
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.about-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%
}

.glass-card,
.program-box,
.doctor-profile,
.activity-tile,
.enquiry-form,
.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow)
}

.glass-card {
  padding: 30px;
  transition: .3s;
  text-align: center
}

.glass-card:hover {
  transform: translateY(-8px)
}

.glass-card i {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 16px;
  display: block
}

.glass-card h5,
.program-box h5,
.activity-tile h5 {
  font-weight: 700;
  color: var(--navy)
}

.glass-card p,
.program-box p,
.activity-tile p {
  color: var(--muted);
  margin: 0
}

.vm-card {
  border-top: 4px solid var(--red)
}

.program-box {
  height: 100%;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: .35s;
  text-align: left !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow)
}

.program-box:hover {
  transform: translateY(-10px);
  border-color: rgba(215, 25, 45, .25);
  box-shadow: 0 22px 50px rgba(8, 42, 79, 0.15)
}

.program-box span {
  display: none !important
}

.program-box h5 {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.25rem !important;
  margin-top: 18px;
  margin-bottom: 12px
}

.program-box p {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75
}

.program-media {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(8, 42, 79, .22);
  border: 3px solid #fff;
  transition: .35s
}

.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: .4s
}

.program-box:hover .program-media {
  transform: scale(1.08)
}

.program-box:hover .program-media img {
  transform: scale(1.1)
}

.doctors-section {
  background: linear-gradient(180deg, #fff 0%, #f1f6fb 100%)
}

.doctor-top-card {
  display: flex;
  justify-content: center;
  margin-bottom: 24px
}

.doctor-top-card .doctor-profile {
  width: min(100%, 310px)
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 100%
}

.doctor-profile {
  overflow: hidden;
  transition: .35s;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(14, 45, 79, .12);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(8, 42, 79, .08)
}

.doctor-profile:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(8, 42, 79, .16)
}

.doctor-image {
  height: 300px;
  background: linear-gradient(180deg, #e9f3fd, #fff);
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 18px 18px 0
}

.doctor-image img {
  max-height: 100%;
  max-width: 108%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 18px 22px rgba(8, 42, 79, .18)) contrast(1.03) saturate(1.05);
  transition: .4s
}

.doctor-profile:hover img {
  transform: scale(1.055)
}

.doctor-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between
}

.doctor-info span {
  color: var(--red);
  font-weight: 700;
  font-size: .83rem
}

.doctor-info h5 {
  color: var(--navy);
  font-weight: 700;
  margin: 7px 0
}

.doctor-info p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0
}

.impact-marquee {
  position: relative;
  background: var(--navy);
  padding: 98px 0;
  color: #fff;
  overflow: hidden
}

.marquee-text {
  position: absolute;
  top: 18px;
  left: 0;
  white-space: nowrap;
  display: flex;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, .055);
  animation: marquee 22s linear infinite
}

.marquee-text span {
  padding-right: 40px
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

.impact-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 28px;
  padding: 30px;
  backdrop-filter: blur(12px)
}

.impact-card b {
  display: block;
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 0
}

.zigzag-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--line);
  transform: translateX(-50%)
}

.zigzag-item {
  position: relative;
  width: 50%;
  display: flex;
  align-items: center;
  margin-bottom: 38px
}

.zigzag-item.left {
  padding-right: 44px;
  justify-content: flex-end;
  text-align: right
}

.zigzag-item.right {
  left: 50%;
  padding-left: 44px;
  justify-content: flex-start;
  text-align: left
}

.zigzag-dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--line), 0 6px 16px rgba(8, 42, 79, .2);
  z-index: 2
}

.zigzag-item.left .zigzag-dot {
  right: -9px
}

.zigzag-item.right .zigzag-dot {
  left: -9px
}

.zigzag-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
  max-width: 380px;
  position: relative
}

.zigzag-content p {
  margin: 0;
  color: var(--muted)
}

.zigzag-content i {
  display: block;
  color: var(--blue);
  font-size: 1.4rem;
  margin-bottom: 8px
}

.zigzag-year {
  display: block;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--red);
  font-size: 1.3rem;
  margin-bottom: 4px
}

.drop-in {
  opacity: 0;
  transform: translateY(-46px);
  transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1)
}

.drop-in.show {
  opacity: 1;
  transform: translateY(0)
}

@media(max-width:767px) {
  .zigzag-timeline {
    padding-left: 30px
  }

  .zigzag-line {
    left: 10px;
    transform: none
  }

  .zigzag-item,
  .zigzag-item.right {
    width: 100%;
    left: 0;
    padding-left: 30px;
    padding-right: 0;
    justify-content: flex-start;
    text-align: left
  }

  .zigzag-item.left .zigzag-dot,
  .zigzag-item.right .zigzag-dot {
    left: 1px;
    right: auto
  }

  .zigzag-content {
    max-width: 100%
  }
}

.activity-tile {
  height: 100%;
  padding: 30px;
  transition: .3s
}

.activity-tile:hover {
  transform: translateY(-7px)
}

.activity-tile span {
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .78rem
}

.testimonial-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px
}

.testimonial-viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 300px;
  overflow: hidden
}

.testimonial-track {
  position: relative;
  width: 100%;
  height: 100%
}

.testimonial-card-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  will-change: transform, opacity;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .55s ease
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 26px;
  transition: transform .3s ease, box-shadow .3s ease
}

.testimonial-card-wrap.is-center {
  cursor: default
}

.testimonial-card-wrap.is-center:hover .testimonial-card {
  transform: scale(1.035);
  box-shadow: 0 30px 80px rgba(8, 42, 79, .22)
}

.testimonial-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px
}

.testimonial-card p {
  color: var(--muted);
  font-size: .92rem;
  min-height: 110px
}

.testimonial-card h6 {
  color: var(--navy);
  font-weight: 700;
  margin: 0
}

.testimonial-card span {
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase
}

.test-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: var(--shadow);
  transition: .25s;
  z-index: 5
}

.test-nav:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translateY(-2px)
}

@media(max-width:767px) {
  .testimonial-viewport {
    height: 340px
  }

  .testimonial-card-wrap {
    width: 250px
  }

  .test-nav {
    display: none
  }
}

.foundation-moto {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 1.4rem;
  color: var(--navy)
}

.foundation-moto span {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 8px
}

.news-placeholder {
  height: 190px;
  border-radius: 24px;
  border: 1.5px dashed var(--line);
  background: linear-gradient(100deg, #f4f7fb 25%, #eef3f9 37%, #f4f7fb 63%);
  background-size: 400% 100%;
  animation: shimmer 2.6s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted)
}

.news-placeholder i {
  font-size: 2rem;
  color: var(--blue)
}

.news-placeholder span {
  font-weight: 800;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em
}

@keyframes shimmer {
  0% {
    background-position: 100% 0
  }

  100% {
    background-position: 0 0
  }
}

.cta-band {
  background: linear-gradient(120deg, rgba(23, 78, 138, .96), rgba(8, 42, 79, .98));
  color: #fff;
  padding: 70px 0
}

.cta-band h2 {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -.01em
}

.cta-band p {
  color: rgba(255, 255, 255, .78);
  font-size: 1.1rem
}

.contact-box {
  padding: 26px
}

.contact-box p {
  display: flex;
  gap: 14px;
  color: var(--muted);
  align-items: flex-start
}

.contact-box p b {
  color: var(--navy)
}

.contact-box i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  border-radius: 16px;
  background: #eaf2fa;
  color: var(--blue);
  font-size: 1.2rem;
  transition: .3s
}

.contact-box p:hover i {
  background: var(--red);
  color: #fff;
  transform: translateY(-4px) rotate(-6deg)
}

.enquiry-form {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  margin-left: 0;
  margin-right: auto;
  width: 100%
}

.enquiry-form-title {
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: left
}

.enquiry-form label {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px
}

.form-control,
.form-select {
  border-radius: 16px;
  padding: 13px 15px;
  border-color: var(--line)
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 .25rem rgba(23, 78, 138, .13)
}

.contact-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 26px;
  margin-left: 0;
  margin-right: auto
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  flex: 1 1 260px;
  min-width: 230px
}

.contact-info-item b {
  color: var(--navy)
}

.contact-info-item i {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eaf2fa;
  color: var(--blue);
  font-size: 1.25rem;
  transition: .3s
}

.contact-info-item:hover i {
  background: var(--red);
  color: #fff;
  transform: translateY(-4px) rotate(-6deg)
}

.map-section {
  border-radius: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: none;
  border-right: none;
  box-shadow: none;
  margin-left: 0;
  margin-right: auto;
  width: 100%
}

.map-embed {
  width: 100%;
  height: 400px
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block
}

.map-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 22px 26px;
  background: #fff;
  color: var(--muted);
  text-align: left
}

.map-caption span {
  flex: 1 1 100%;
  max-width: 100%
}

.map-caption .btn {
  margin-left: 0
}

.map-caption b {
  color: var(--navy)
}

@media(max-width:767px) {
  .contact-info-row {
    padding: 20px
  }

  .map-embed {
    height: 300px
  }

  .map-caption {
    flex-direction: column;
    align-items: flex-start;
    text-align: left
  }
}

.footer {
  padding: 28px 0;
  background: #061d36;
  color: rgba(255, 255, 255, .72)
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 15px 35px rgba(215, 25, 45, .35);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 20
}

.back-to-top.show {
  opacity: 1;
  visibility: visible
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: all .8s cubic-bezier(.2, .8, .2, 1)
}

.reveal.show {
  opacity: 1;
  transform: none
}

.delay-1 {
  transition-delay: .12s
}

.delay-2 {
  transition-delay: .22s
}

.delay-3 {
  transition-delay: .32s
}

.delay-4 {
  transition-delay: .42s
}

@media(max-width:1199px) {
  .hero:before {
    font-size: 32vw
  }

  .identity-board {
    min-height: 380px
  }

  .doctor-image {
    height: 280px
  }
}

@media(max-width:991px) {
  .section-space {
    padding: 32px 0 !important
  }

  .main-nav .btn {
    margin: 6px 4px
  }

  .hero {
    min-height: auto
  }

  .min-vh-90 {
    min-height: auto;
    padding: 80px 0
  }

  .identity-board h2 {
    margin-top: 65px
  }

  .hero-title {
    font-size: 4.2rem
  }

  .stat-chip {
    min-width: auto
  }

  .identity-board {
    min-height: auto
  }

  .identity-board h2 {
    font-size: 4rem
  }

  .identity-board:before {
    font-size: 6rem
  }

  .doctor-grid {
    grid-template-columns: 1fr 1fr
  }

  .timeline {
    padding-left: 26px
  }

  .timeline-dot {
    left: -40px;
    width: 28px;
    height: 28px;
    font-size: .62rem
  }
}

@media(max-width:575px) {
  .brand-text strong {
    font-size: 1.35rem
  }

  .logo-mark {
    width: 44px;
    height: 44px
  }

  .hero-title {
    font-size: 3.1rem
  }

  .identity-board {
    padding: 22px;
    border-radius: 24px
  }

  .identity-board h2 {
    font-size: 3.1rem
  }

  .doctor-grid {
    grid-template-columns: 1fr
  }

  .doctor-image {
    height: 330px
  }

  .section-title {
    font-size: 2.15rem
  }

  .impact-card {
    padding: 22px
  }

  .impact-card b {
    font-size: 2.25rem
  }

  .marquee-text {
    font-size: 3.4rem
  }

  .section-space {
    padding: 32px 0 !important
  }

  .testimonial-card {
    width: 270px
  }
}

/* ============ Redesign additions ============ */

/* Hero stat strip (replaces floating identity board) */
.hero-stat-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(14px);
  border-radius: 100px;
  padding: 18px 34px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18)
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15
}

.hero-stat b {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff
}

.hero-stat span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75)
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, .25)
}

@media(max-width:575px) {
  .hero-stat-strip {
    gap: 16px;
    padding: 16px 20px;
    border-radius: 24px
  }

  .hero-stat-divider {
    display: none
  }
}

/* About section: tidy vertical rhythm to match media column */
.about-text-col {
  gap: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.vm-row {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto
}

.vm-card {
  padding: 24px 22px !important
}

.vm-card i {
  font-size: 1.5rem !important;
  margin-bottom: 10px !important
}

.vm-card h5 {
  font-size: 1.05rem;
  margin-bottom: 6px
}

.vm-card p {
  font-size: .92rem
}

/* Doctors: tidier, consistent frames */
.doctor-featured .doctor-profile.featured .doctor-image {
  height: 390px !important
}

.doctor-featured .doctor-profile.featured .doctor-image img {
  object-position: center 18% !important;
}

.doctor-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 100%
}

.doctor-image {
  height: 280px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: #f8fbff;
  display: block !important;
  padding: 0 !important;
}

.doctor-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  filter: none !important;
  transition: transform .4s ease
}

.doctor-profile {
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.doctor-profile .doctor-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.doctor-profile .doctor-info h5 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 5px 0
}

.doctor-profile .doctor-info p {
  font-size: .88rem;
  line-height: 1.65
}

@media(max-width:991px) {
  .doctor-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:575px) {
  .doctor-grid {
    grid-template-columns: 1fr
  }

  .doctor-image {
    height: 310px
  }
}

/* Zigzag story timeline: smoother slide-in instead of the old drop animation */
.drop-in {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1)
}

.zigzag-item.left.drop-in {
  transform: translateX(-60px)
}

.zigzag-item.right.drop-in {
  transform: translateX(60px)
}

.drop-in.show {
  opacity: 1;
  transform: translateX(0)
}

.zigzag-dot {
  transition: transform .4s ease .15s, box-shadow .4s ease .15s;
  transform: translateY(-50%) scale(0)
}

.drop-in.show .zigzag-dot {
  transform: translateY(-50%) scale(1)
}

.zigzag-content {
  transition: transform .3s ease, box-shadow .3s ease
}

.zigzag-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(8, 42, 79, .18)
}

@media(max-width:767px) {

  .zigzag-item.left.drop-in,
  .zigzag-item.right.drop-in {
    transform: translateX(-40px)
  }
}

/* Foundation Activities: sliding tabs with left/right fade */
.activity-slider {
  display: flex;
  align-items: center;
  gap: 16px
}

.activity-viewport {
  position: relative;
  flex: 1;
  min-height: 1px;
  overflow: hidden
}

.activity-slide {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .45s ease, transform .45s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none
}

.activity-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: auto
}

.activity-slide.is-leaving-left {
  transform: translateX(-24px)
}

.activity-nav {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: .25s
}

.activity-nav:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px)
}

.activity-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px
}

.activity-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  padding: 0;
  transition: .25s
}

.activity-dots button.is-active {
  background: var(--red);
  width: 26px;
  border-radius: 5px
}

@media(max-width:575px) {
  .activity-nav {
    width: 38px;
    height: 38px
  }
}

/* Success stories: no manual nav, hover pauses autoplay (test-nav no longer used) */
.test-nav {
  display: none
}

/* Foundation moto + embedded video */
.moto-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto
}

.moto-video-wrap {
  margin-top: 28px
}

.moto-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #000
}

.moto-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

/* News & updates: sliding cards with prev/next controls */
.news-slider {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  outline: none;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  overflow: hidden;
  padding-bottom: 6px
}

.news-slider.is-dragging .news-track {
  transition: none;
}

.news-slider:active {
  cursor: grabbing
}

.news-viewport {
  overflow: hidden;
  position: relative
}

.news-track {
  display: flex;
  gap: 22px;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
  will-change: transform
}

.news-card-item {
  flex: 0 0 calc(33.333% - 15px);
  display: flex
}

.news-card-item .activity-feature-card {
  flex: 1;
  display: flex;
  flex-direction: column
}

@media(max-width:991px) {
  .news-card-item {
    flex: 0 0 calc(50% - 11px)
  }
}

@media(max-width:575px) {
  .news-card-item {
    flex: 0 0 min(88vw, 380px);
    width: min(88vw, 380px);
    max-width: min(88vw, 380px)
  }

  #news .news-slider {
    padding-bottom: 8px;
  }

  #news .news-viewport {
    overflow: visible;
  }

  #news .news-track {
    display: flex !important;
    gap: 14px;
    padding: 4px 2px 6px;
    will-change: transform;
  }

  #news .news-card-item {
    flex: 0 0 min(88vw, 380px) !important;
    width: min(88vw, 380px) !important;
    max-width: min(88vw, 380px) !important;
    scroll-snap-align: center;
  }

  #news .social-news-card {
    min-height: 470px;
    border-radius: 16px;
  }
}

.news-card {
  height: 100%;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 24px !important;
  box-shadow: var(--shadow) !important;
  padding: 0;
  transition: .3s
}

.news-card:hover {
  transform: translateY(-8px)
}

.news-card.news-image-card {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow) !important
}

.news-body {
  padding: 24px
}

.read-more-btn {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
}

#news {
  background: transparent !important
}

.news-card i {
  font-size: 1.7rem;
  color: var(--red);
  display: block;
  margin-bottom: 14px
}

.news-tag {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px
}

.news-card h5 {
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 8px
}

.news-card p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0
}

.news-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 26px
}

.news-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: .25s
}

.news-nav:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px)
}

/* Small, compact enquiry form */
.enquiry-form-sm {
  padding: 26px
}

.enquiry-form-sm .enquiry-form-title {
  font-size: 1.15rem;
  margin-bottom: 14px
}

.enquiry-form-sm label {
  font-size: .85rem;
  margin-bottom: 4px
}

.enquiry-form-sm .form-control,
.enquiry-form-sm .form-select {
  padding: 10px 13px;
  font-size: .92rem
}

.enquiry-form-sm .row.g-3 {
  --bs-gutter-y: 0.7rem
}

.enquiry-form-sm textarea.form-control {
  min-height: 80px
}

/* Floating social stick icons */
.social-stick {
  position: fixed;
  right: 22px;
  bottom: 88px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 19
}

.social-stick-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 12px 28px rgba(8, 42, 79, .25);
  transition: .25s;
  position: relative
}

.social-stick-btn:hover {
  transform: translateY(-3px) scale(1.06)
}

.social-stick-btn.whatsapp {
  background: #25d366
}

.social-stick-btn.instagram {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%)
}

.social-stick-btn.facebook {
  background: #1877f2
}

.social-stick-btn.youtube {
  background: #ff0000
}

@media(max-width:575px) {
  .social-stick {
    right: 12px;
    bottom: 76px;
    gap: 10px;
  }

  .social-stick-btn {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
    box-shadow: 0 10px 22px rgba(8, 42, 79, .22);
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
}

/* Version 2 client corrections */
.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden
}

.hero .row {
  min-height: calc(100vh - 76px)
}

.hero-title {
  max-width: 980px;
  margin-inline: auto;
  letter-spacing: -.045em;
  line-height: .96
}

.hero-subtitle {
  max-width: 850px;
  font-size: 1.18rem;
  line-height: 1.75
}

.hero-key-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap
}

.hero-key-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
  animation: softFloat 5s ease-in-out infinite
}

.hero-key-row span:nth-child(2) {
  animation-delay: .7s
}

.hero-key-row span:nth-child(3) {
  animation-delay: 1.4s
}

@keyframes softFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-7px)
  }
}

.about-text-col {
  font-size: 1.02rem;
  line-height: 1.9;
  text-align: justify;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 16px 45px rgba(8, 42, 79, .08)
}

.about-media {
  max-width: 520px;
  margin-left: auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(8, 42, 79, .18)
}

.about-media img {
  height: 430px;
  width: 100%;
  object-fit: cover;
  object-position: center
}

.vm-row {
  gap: 16px 36px
}

.vm-card {
  padding: 34px 32px !important;
  text-align: center
}

.vm-card:hover {
  transform: translateY(-8px) scale(1.015)
}

.activity-slider {
  margin-top: 32px
}

.activity-viewport {
  min-height: 1px
}

.activity-feature-card {
  height: auto;
  background: #fff;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(8, 42, 79, .12);
  overflow: hidden;
  transition: .32s
}

.activity-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(8, 42, 79, .16)
}

.activity-feature-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  display: block
}

.activity-feature-card span {
  display: inline-block;
  margin: 18px 24px 6px;
  color: var(--red);
  font-weight: 800;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em
}

.activity-feature-card h5 {
  margin: 0 24px 8px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.35
}

.activity-feature-card p {
  margin: 0 24px 20px;
  color: var(--muted);
  line-height: 1.65
}

.news-slider {
  width: 100%;
  max-width: 100%;
  margin: 0 auto
}

.news-card-item {
  flex: 0 0 calc(33.333% - 15px)
}

.news-card.news-image-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 500px
}

.news-cover {
  width: 100%;
  height: 245px;
  object-fit: cover;
  display: block;
  transition: transform .45s
}

.news-image-card:hover .news-cover {
  transform: scale(1.06)
}

.news-body {
  padding: 24px
}

.news-body h5 {
  font-size: 1.08rem;
  line-height: 1.4
}

.news-body p {
  line-height: 1.65
}

.news-img-rotator {
  height: 245px;
  position: relative;
  overflow: hidden;
  background: #eef3f8
}

.news-img-rotator img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: newsFade 7s infinite
}

.news-img-rotator img:first-child {
  animation-delay: 0s
}

.news-img-rotator img:nth-child(2) {
  animation-delay: 3.5s
}

@keyframes newsFade {

  0%,
  46% {
    opacity: 1;
    transform: scale(1)
  }

  50%,
  96% {
    opacity: 0;
    transform: scale(1.04)
  }

  100% {
    opacity: 1;
    transform: scale(1)
  }
}

.social-stick {
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: .35s
}

.social-stick.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0)
}

section {
  scroll-margin-top: 88px
}

.section-space {
  padding: 32px 0 !important
}

.section-heading {
  max-width: 880px;
  margin-inline: auto
}

.section-title {
  line-height: 1.15
}

.footer {
  padding: 26px 0;
  text-align: center;
  background: #061d35;
  color: #dbeafe
}

.back-to-top {
  z-index: 20
}

@media(max-width:991px) {
  .about-media {
    max-width: 100%;
    margin: auto
  }

  .about-media img {
    height: 360px
  }

  .activity-viewport {
    min-height: 780px
  }

  .hero-title {
    font-size: 3.3rem
  }

  .news-card.news-image-card {
    min-height: 470px
  }
}

@media(max-width:575px) {
  .hero-title {
    font-size: 2.5rem
  }

  .hero-subtitle {
    font-size: 1rem
  }

  .about-text-col {
    padding: 24px;
    text-align: left
  }

  .about-media img {
    height: 280px
  }

  .activity-viewport {
    min-height: 940px
  }

  .news-cover,
  .news-img-rotator,
  .activity-feature-card img {
    height: 220px
  }

  .section-space {
    padding: 32px 0 !important
  }
}

/* Contact section left alignment requested by client */
.contact-heading {
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
  text-align: left
}

.contact-heading .eyebrow {
  justify-content: flex-start
}

.contact-form-row {
  justify-content: flex-start
}

.contact-form-row>[class*=col-] {
  padding-left: calc(var(--bs-gutter-x)* .5);
  padding-right: calc(var(--bs-gutter-x)* .5)
}

/* Hero redesign - desktop, tablet and mobile */
.hero-v2 {
  min-height: calc(100vh - 76px) !important;
  display: flex !important;
  align-items: center !important;
  text-align: left !important;
  position: relative;
  background: #0b315a !important;
  isolation: isolate;
}

.hero-v2:before {
  content: "CADF";
  position: absolute;
  left: -1vw;
  bottom: -7vw;
  font-size: 22vw;
  line-height: .8;
  font-weight: 900;
  color: rgba(3, 28, 55, .46);
  letter-spacing: -1.1vw;
  z-index: -1;
}

.hero-hospital-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url('../assets/images/home-hero-original-face-hd.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-hospital-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 58%, rgba(255, 255, 255, .16) 58% 59%, transparent 59% 100%),
    repeating-linear-gradient(90deg, transparent 0 110px, rgba(255, 255, 255, .10) 111px, transparent 112px),
    repeating-linear-gradient(0deg, transparent 0 86px, rgba(255, 255, 255, .06) 87px, transparent 88px);
  opacity: .32;
  filter: blur(.2px);
}

.hero-v2 .container-fluid {
  width: 100%;
}

.hero-v2 .row {
  min-height: calc(100vh - 76px) !important;
}

.hero-copy {
  padding-left: clamp(1rem, 7vw, 7rem);
  padding-top: 32px;
  padding-bottom: 32px;
  z-index: 2;
}

.hero-v2 .hero-kicker {
  font-size: .78rem;
  padding: 10px 18px;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .42);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16)
}

.hero-v2 .hero-title {
  font-size: clamp(3rem, 5.8vw, 5.9rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.06em !important;
  max-width: 680px !important;
  margin: 28px 0 22px !important;
  color: #fff;
  font-weight: 800 !important;
  white-space: normal !important;
}

.hero-v2 .hero-title .hl {
  display: inline-block;
  white-space: nowrap !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 56%, rgba(215, 25, 45, .66) 56%);
  padding: 0 .08em .03em 0 !important;
}

.hero-v2 .hero-subtitle {
  max-width: 660px !important;
  margin: 0 !important;
  font-size: clamp(1rem, 1.35vw, 1.28rem) !important;
  line-height: 1.75 !important;
  color: rgba(255, 255, 255, .90) !important;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.hero-v2 .hero-actions .btn {
  font-weight: 800;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease;
}

.hero-v2 .hero-actions .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .22)
}

.hero-btn-primary {
  color: #07142a !important;
  box-shadow: 0 15px 36px rgba(0, 0, 0, .18)
}

.hero-btn-secondary {
  border-color: rgba(255, 255, 255, .65) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .05) !important;
  backdrop-filter: blur(10px)
}

.hero-btn-secondary:hover {
  background: #fff !important;
  color: #07142a !important;
}

.hero-v2 .hero-key-row {
  justify-content: flex-start !important;
  gap: 14px !important;
  margin-top: 26px !important;
}

.hero-v2 .hero-key-row span {
  padding: 13px 20px !important;
  background: rgba(255, 255, 255, .15) !important;
  border-color: rgba(255, 255, 255, .20) !important;
}

.hero-visual-col {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 580px;
}

.hero-doctor-wrap {
  position: relative;
  width: min(52vw, 780px);
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-photo-glow {
  position: absolute;
  right: 8%;
  bottom: 9%;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .45), rgba(110, 170, 217, .18) 48%, transparent 70%);
  filter: blur(18px);
}

.hero-doctor-img {
  position: relative;
  z-index: 2;
  max-height: calc(100vh - 94px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .25));
  animation: heroDoctorIn 1s ease both;
}

@keyframes heroDoctorIn {
  from {
    opacity: 0;
    transform: translateX(36px) scale(.98)
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1)
  }
}

@media(max-width:1199px) {
  .hero-copy {
    padding-left: clamp(1rem, 4vw, 4rem)
  }

  .hero-v2 .hero-title {
    font-size: clamp(2.8rem, 6vw, 4.8rem) !important
  }

  .hero-visual-col {
    min-height: 520px
  }

  .hero-doctor-wrap {
    width: min(50vw, 640px)
  }
}

@media(max-width:991px) {
  .hero-v2 {
    min-height: auto !important
  }

  .hero-v2 .row {
    min-height: auto !important;
    padding: 64px 0 0 !important
  }

  .hero-copy {
    text-align: center;
    padding: 30px 22px 0
  }

  .hero-v2 .hero-title,
  .hero-v2 .hero-subtitle {
    margin-left: auto !important;
    margin-right: auto !important
  }

  .hero-actions,
  .hero-v2 .hero-key-row {
    justify-content: center !important
  }

  .hero-visual-col {
    min-height: auto;
    align-self: auto;
    padding-top: 18px
  }

  .hero-doctor-wrap {
    width: min(82vw, 620px);
    height: auto
  }

  .hero-doctor-img {
    max-height: 520px
  }

  .hero-v2:before {
    font-size: 32vw;
    bottom: -6vw
  }
}

@media(max-width:575px) {
  .hero-v2 .row {
    padding-top: 42px !important
  }

  .hero-copy {
    padding-inline: 18px
  }

  .hero-v2 .hero-kicker {
    font-size: .62rem;
    padding: 8px 12px
  }

  .hero-v2 .hero-title {
    font-size: clamp(2.35rem, 14vw, 3.25rem) !important;
    line-height: 1.05 !important;
    margin-top: 22px !important
  }

  .hero-v2 .hero-title .hl {
    white-space: normal !important
  }

  .hero-v2 .hero-subtitle {
    font-size: .98rem !important;
    line-height: 1.65 !important
  }

  .hero-actions {
    gap: 12px;
    margin-top: 24px
  }

  .hero-v2 .hero-actions .btn {
    width: 100%;
    min-height: 52px;
    font-size: 1rem
  }

  .hero-v2 .hero-key-row span {
    width: 100%;
    justify-content: center;
    padding: 12px 16px !important
  }

  .hero-doctor-img {
    max-height: 390px
  }

  .hero-doctor-wrap {
    width: 94vw
  }

  .hero-v2:before {
    font-size: 40vw;
    bottom: -3vw;
    opacity: .75
  }
}


/* ===== Final hero polish: HD image, smaller hero, clean font, full responsiveness ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.brand-text strong,
.identity-board h2,
.hero-stat b,
.impact-card b,
.zigzag-year,
.foundation-moto {
  font-family: 'Inter', Arial, Helvetica, sans-serif !important
}

.main-nav {
  z-index: 1030
}

.navbar {
  min-height: 49px
}

.navbar-brand {
  min-width: 270px
}

.brand-text strong {
  letter-spacing: .01em
}

.nav-link {
  font-weight: 800
}

.btn,
.nav-link {
  transition: all .25s ease
}

.hero-v2 {
  min-height: clamp(590px, 76vh, 760px) !important;
  background: #0d3050 !important;
  display: flex !important;
  align-items: center !important;
}

.hero-v2 .row {
  min-height: clamp(590px, 76vh, 760px) !important;
  align-items: center !important;
}

.hero-copy {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  padding-left: clamp(1.25rem, 6vw, 6rem) !important;
}

.hero-hospital-bg {
  background: linear-gradient(to right, rgba(13, 48, 80, 0.85) 0%, rgba(13, 48, 80, 0.6) 45%, rgba(13, 48, 80, 0) 75%), url('../assets/images/home-hero-original-face-hd.png') !important;
  background-size: cover !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;
  transform: scale(1.05);
  /* Slightly scales up the image to crop out the bottom-right watermark */
}

.hero-hospital-bg:after {
  opacity: 0 !important;
}

.hero-top-gap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 20, 40, .6) 0%, rgba(4, 20, 40, .24) 60%, rgba(4, 20, 40, 0) 100%);
}

@media(max-width:991px) {
  .hero-top-gap {
    height: 110px;
  }
}

@media(max-width:575px) {
  .hero-top-gap {
    display: none;
  }
}

/* New hero background photo replaces the old cutout doctor visual to avoid a duplicate doctor image */
.hero.hero-v2.hero-clean {
  min-height: 100vh !important;
  height: 100vh !important;
}

.hero-layout-row {
  min-height: 100vh !important;
  padding-top: 140px;
}

.hero-text-col,
.hero-clean .hero-text-col {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

.hero-v2:before {
  font-size: 19vw !important;
  bottom: -6vw !important;
  color: rgba(2, 24, 49, .34) !important;
}

.hero-v2 .hero-kicker {
  font-size: .72rem !important;
  letter-spacing: .08em !important;
  padding: 9px 17px !important;
}

.hero-v2 .hero-title {
  font-size: clamp(2.65rem, 4.45vw, 4.9rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.035em !important;
  font-weight: 800 !important;
  max-width: 980px !important;
  white-space: nowrap !important;
  margin: 24px 0 18px !important;
}

.hero-v2 .hero-title .hl {
  display: inline !important;
  white-space: nowrap !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 59%, rgba(215, 25, 45, .58) 59%) !important;
  padding: 0 .08em .01em !important;
}

.hero-v2 .hero-subtitle {
  font-size: clamp(1rem, 1.18vw, 1.16rem) !important;
  line-height: 1.72 !important;
  max-width: 670px !important;
  color: rgba(255, 255, 255, .92) !important;
}

.hero-actions {
  margin-top: 26px !important;
  gap: 16px !important;
}

.hero-v2 .hero-actions .btn {
  min-height: 52px !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.hero-v2 .hero-actions .btn:hover {
  transform: translateY(-3px) scale(1.015) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .24) !important;
}

.hero-v2 .hero-key-row {
  margin-top: 22px !important;
  gap: 12px !important;
}

.hero-v2 .hero-key-row span {
  padding: 11px 18px !important;
  font-size: .98rem !important;
  animation: softFloat 5s ease-in-out infinite;
}

.hero-visual-col {
  min-height: clamp(500px, 76vh, 760px) !important;
  align-items: flex-end !important;
  justify-content: center !important;
  overflow: visible;
}

.hero-doctor-wrap {
  width: min(46vw, 680px) !important;
  height: 100% !important;
  align-items: flex-end !important;
}

.hero-doctor-img {
  max-height: clamp(520px, 74vh, 730px) !important;
  image-rendering: auto !important;
  filter: drop-shadow(0 30px 48px rgba(0, 0, 0, .26)) contrast(1.05) saturate(1.04) !important;
}

.hero-photo-glow {
  right: 8%;
  bottom: 6%;
  width: 70%;
  height: 68%;
  opacity: .9 !important;
}

.section-space {
  padding: 32px 0 !important
}

.reveal {
  will-change: transform, opacity
}

.hero-copy,
.hero-visual-col {
  min-width: 0
}

@media(max-width:1199px) {
  .hero-v2 .hero-title {
    font-size: clamp(2.4rem, 4.55vw, 4rem) !important;
    max-width: 850px !important;
  }

  .hero-v2 .hero-subtitle {
    max-width: 590px !important
  }

  .hero-doctor-wrap {
    width: min(45vw, 590px) !important
  }

  .hero-doctor-img {
    max-height: 650px !important;
  }

  .navbar-brand {
    min-width: 250px
  }

  .brand-text strong {
    font-size: 1.45rem !important
  }

  .brand-text small {
    font-size: .68rem !important
  }
}

@media(max-width:991px) {
  .hero-v2 {
    min-height: auto !important;
    text-align: center !important;
  }

  .hero-v2 .row {
    min-height: auto !important;
    padding: 54px 0 0 !important;
  }

  .hero-copy {
    padding: 24px 22px 0 !important;
    text-align: center !important;
  }

  .hero-v2 .hero-title {
    white-space: normal !important;
    font-size: clamp(2.25rem, 7vw, 3.6rem) !important;
    line-height: 1.08 !important;
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-v2 .hero-title .hl {
    white-space: nowrap !important;
  }

  .hero-v2 .hero-subtitle {
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-actions,
  .hero-v2 .hero-key-row {
    justify-content: center !important;
  }

  .hero-visual-col {
    min-height: auto !important;
    padding-top: 12px !important;
  }

  .hero-doctor-wrap {
    width: min(74vw, 540px) !important;
    height: auto !important;
  }

  .hero-doctor-img {
    max-height: 460px !important;
    width: auto !important;
  }

  .hero-v2:before {
    font-size: 30vw !important;
    bottom: -5vw !important;
  }

  .navbar-collapse {
    padding: 16px 0
  }

  .navbar-nav {
    align-items: flex-start !important
  }

  .nav-item.ms-lg-3 {
    width: 100%;
    margin-top: 8px
  }

  .nav-item.ms-lg-3 .btn {
    flex: 1;
    text-align: center;
    justify-content: center
  }

  .section-space {
    padding: 32px 0 !important
  }
}

@media(max-width:575px) {
  html {
    scroll-padding-top: 76px
  }

  .navbar {
    min-height: 68px
  }

  .navbar-brand {
    min-width: 0;
    gap: 0px
  }

  .logo-mark {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important
  }

  .brand-text strong {
    font-size: 1.35rem !important
  }

  .brand-text small {
    font-size: .58rem !important;
    max-width: 190px;
    white-space: normal;
    line-height: 1.15
  }

  .hero-v2 .row {
    padding-top: 38px !important;
  }

  .hero-copy {
    padding-inline: 16px !important;
  }

  .hero-v2 .hero-kicker {
    font-size: .58rem !important;
    padding: 7px 10px !important;
    letter-spacing: .04em !important;
  }

  .hero-v2 .hero-title {
    font-size: clamp(2.05rem, 10.8vw, 2.9rem) !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    margin-top: 20px !important;
  }

  .hero-v2 .hero-title .hl {
    white-space: nowrap !important;
  }

  .hero-v2 .hero-subtitle {
    font-size: .96rem !important;
    line-height: 1.62 !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 11px !important;
    margin-top: 22px !important;
  }

  .hero-v2 .hero-actions .btn {
    width: 100% !important;
    min-height: 50px !important;
    font-size: .98rem !important;
  }

  .hero-v2 .hero-key-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .hero-v2 .hero-key-row span {
    width: 100%;
    justify-content: center;
    font-size: .94rem !important;
    padding: 11px 14px !important;
  }

  .hero-doctor-wrap {
    width: 92vw !important;
  }

  .hero-doctor-img {
    max-height: 360px !important;
    max-width: 100% !important;
  }

  .hero-v2:before {
    font-size: 42vw !important;
    bottom: -4vw !important;
  }

  .section-space {
    padding: 32px 0 !important
  }

  .contact-heading {
    text-align: left !important
  }
}

@media(max-width:380px) {
  .hero-v2 .hero-title {
    font-size: 2rem !important
  }

  .hero-doctor-img {
    max-height: 320px !important
  }

  .brand-text small {
    display: none
  }
}


/* Mobile slider corrections: swipe cards side-by-side, no arrow buttons */
.activity-mobile-strip {
  display: none
}

@media(max-width:575px) {
  #activities .section-heading {
    padding-right: 8px
  }

  #activities .activity-slider,
  #activities .activity-dots {
    display: none !important
  }

  .activity-mobile-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 6px 22px;
    margin-top: 24px;
    scrollbar-width: none
  }

  .activity-mobile-strip::-webkit-scrollbar {
    display: none
  }

  .activity-mobile-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 405px
  }

  .activity-mobile-card img {
    width: 100%;
    height: 205px;
    object-fit: cover;
    display: block
  }

  .activity-mobile-card span {
    display: inline-block;
    margin: 18px 20px 6px;
    color: var(--red);
    font-weight: 800;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em
  }

  .activity-mobile-card h5 {
    margin: 0 20px 10px;
    color: var(--navy);
    font-weight: 800;
    line-height: 1.35;
    font-size: 1.02rem
  }

  .activity-mobile-card p {
    margin: 0 20px 22px;
    color: var(--muted);
    line-height: 1.65;
    font-size: .9rem
  }

  .activity-mobile-text {
    padding-top: 18px;
    min-height: 245px
  }

  #news .news-viewport {
    overflow: hidden;
    padding: 4px 4px 20px;
    scrollbar-width: none
  }

  #news .news-track {
    gap: 16px;
    align-items: stretch
  }

  #news .news-card-item {
    flex: 0 0 84% !important;
    min-width: 84%;
    scroll-snap-align: start
  }

  #news .news-controls {
    display: none !important
  }

  #news .news-card.news-image-card {
    min-height: 430px;
    border-radius: 24px
  }

  #news .news-cover,
  #news .news-img-rotator {
    height: 205px
  }

  #news .news-body {
    padding: 20px
  }

  #news .news-body h5 {
    font-size: 1rem
  }

  #news .news-body p {
    font-size: .88rem;
    line-height: 1.55
  }
}

@media(max-width:380px) {

  .activity-mobile-card,
  #news .news-card-item {
    flex-basis: 88% !important;
    min-width: 88%
  }
}


/* Final activities/news mobile corrections */
#gallery.section-space {
  padding-top: 0;
}

#gallery .activity-slider,
#gallery .activity-dots {
  display: none !important;
}

#gallery .activity-mobile-strip {
  display: flex !important;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 6px 26px;
  margin-top: 26px;
  scrollbar-width: none;
}

#gallery .activity-mobile-strip::-webkit-scrollbar {
  display: none;
}

#gallery .activity-mobile-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: calc(33.333% - 14px);
  scroll-snap-align: start;
  background: #fff !important;
  border: 0px solid var(--line) !important;
  border-radius: 24px !important;
  box-shadow: var(--shadow) !important;
  overflow: hidden;
  min-height: 405px;
}

#gallery .section-heading,
#news .section-heading {
  max-width: calc(100% - 4rem);
  margin-left: auto;
  margin-right: auto;
}

#gallery .activity-mobile-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

#gallery .activity-mobile-card span {
  display: inline-block;
  margin: 18px 20px 6px;
  color: var(--red);
  font-weight: 800;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

#gallery .activity-mobile-card h5 {
  margin: 0 20px 10px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.35;
  font-size: 1.02rem;
}

#gallery .activity-mobile-card p {
  margin: 0 20px 22px;
  color: var(--muted);
  line-height: 1.65;
  font-size: .9rem;
}

#gallery .activity-mobile-text {
  padding-top: 18px;
  min-height: 245px;
}

#news .news-card-item:first-child .news-cover {
  object-position: center center;
}

@media(max-width:991px) {
  #gallery .activity-mobile-card {
    flex-basis: 46%;
    min-width: 46%;
  }
}

/* ---- Tablet fix: news & activity cards were scaling up to desktop image-height/
   min-height at 2-column tablet widths, making them look oversized. Give this
   band its own compact sizing so cards look "normal", not blown up. ---- */
@media(min-width:576px) and (max-width:991px) {
  #news .news-card-item {
    flex: 0 0 calc(50% - 11px) !important
  }

  #news .news-card.news-image-card {
    min-height: 380px !important
  }

  #news .news-cover,
  #news .news-img-rotator {
    height: 180px !important
  }

  #news .news-body {
    padding: 18px 20px !important
  }

  #news .news-body h5 {
    font-size: .98rem !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important
  }

  #news .news-body p {
    font-size: .85rem !important;
    line-height: 1.5 !important
  }

  #news .news-tag {
    font-size: .68rem !important;
    margin-bottom: 6px !important
  }

  #gallery .activity-mobile-card {
    min-height: 320px !important
  }

  #gallery .activity-mobile-card img {
    height: 150px !important
  }

  #gallery .activity-mobile-card span {
    font-size: .66rem !important;
    margin: 14px 16px 4px !important
  }

  #gallery .activity-mobile-card h5 {
    font-size: .92rem !important;
    margin: 0 16px 6px !important;
    line-height: 1.3 !important
  }

  #gallery .activity-mobile-card p {
    font-size: .82rem !important;
    margin: 0 16px 16px !important;
    line-height: 1.5 !important
  }
}

@media(max-width:575px) {
  #gallery .activity-mobile-strip {
    gap: 16px;
    padding: 8px 6px 22px;
    margin-top: 24px;
  }

  #gallery .activity-mobile-card {
    flex-basis: 84% !important;
    min-width: 84% !important;
  }

  #gallery .activity-mobile-card img {
    height: 205px;
  }
}

@media(max-width:380px) {
  #gallery .activity-mobile-card {
    flex-basis: 88% !important;
    min-width: 88% !important;
  }
}

/* ===== Requested homepage UI updates ===== */
.hero-clean.hero-v2 {
  min-height: 100vh !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  text-align: center !important;
  padding: 96px 0 54px !important;
}

.hero-clean .site-container {
  z-index: 2;
}

.hero-clean .hero-clean-content {
  width: min(980px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-clean .hero-title {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .22em;
  max-width: 1000px !important;
  margin: 0 0 36px !important;
  white-space: normal !important;
  letter-spacing: -.045em !important;
  font-size: clamp(2.7rem, 6vw, 5.7rem) !important;
  line-height: 1.02 !important;
}

.split-title .title-left,
.split-title .title-right {
  display: inline-block;
  will-change: transform, opacity;
}

.split-title .title-left {
  animation: titleFromLeft 1.05s cubic-bezier(.16, 1, .3, 1) both;
}

.split-title .title-right {
  animation: titleFromRight 1.05s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes titleFromLeft {
  from {
    opacity: 0;
    transform: translateX(-90px) scale(.96)
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1)
  }
}

@keyframes titleFromRight {
  from {
    opacity: 0;
    transform: translateX(90px) scale(.96)
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1)
  }
}

.hero-clean .typing-subtitle {
  max-width: 850px !important;
  margin: 0 auto !important;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid rgba(255, 255, 255, .82);
  animation: typingText 3.2s steps(96, end) .9s both, typingCaret .75s step-end infinite;
}

@keyframes typingText {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

@keyframes typingCaret {
  50% {
    border-color: transparent
  }
}

.hero-clean .hero-info-card {
  order: 3;
  margin-top: 26px !important;
  background: rgba(255, 255, 255, .14) !important;
  border: 1px solid rgba(255, 255, 255, .32) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18) !important;
  backdrop-filter: blur(14px);
}

.hero-clean .hero-actions {
  order: 4;
  margin-top: 0 !important;
  justify-content: center !important;
}

.hero-clean .hero-key-row,
.hero-clean .hero-visual-col,
.hero-clean .hero-doctor-wrap,
.hero-clean .hero-doctor-img,
.hero-clean .hero-photo-glow {
  display: none !important;
}

.hero-clean .hero-hospital-bg {
  opacity: 1;
}

.hero-clean.hero-v2:before {
  opacity: .45 !important;
}

.about-media {
  border-radius: 8px !important;
}

.about-media img {
  border-radius: 8px !important;
}

.vision-mission-wide {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 48px max(18px, calc((100vw - 1140px)/2));
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 52%, #eef6ff 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 34px;
  align-items: start;
}

.vm-wide-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left;
}

.vm-wide-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 42, 79, .10);
  flex: 0 0 auto;
}

.vm-wide-icon i {
  font-size: 1.55rem;
  color: var(--red);
}

.vm-wide-item h5 {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--navy);
  margin-bottom: 10px;
}

.vm-wide-item p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.vm-wide-divider {
  width: 1px;
  min-height: 118px;
  background: linear-gradient(transparent, rgba(8, 42, 79, .18), transparent);
}

.vm-row,
.vm-card {
  border-top: 0 !important;
}

@media(max-width:991px) {
  .hero-clean.hero-v2 {
    min-height: 100vh !important;
    padding: 90px 0 42px !important;
  }

  .hero-clean .hero-title {
    font-size: clamp(2.45rem, 8vw, 4rem) !important;
  }

  .hero-clean .typing-subtitle {
    white-space: normal;
    border-right: 0;
    animation: fadeUp .8s ease 1s both;
    width: auto !important;
  }

  .vision-mission-wide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 42px;
  }

  .vm-wide-divider {
    width: 100%;
    min-height: 1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(8, 42, 79, .18), transparent);
  }
}

@media(max-width:575px) {
  .hero-clean.hero-v2 {
    min-height: 100vh !important;
    padding: 82px 0 32px !important;
  }

  .hero-clean .hero-title {
    font-size: clamp(2.05rem, 11vw, 3.15rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 18px !important;
  }

  .hero-clean .hero-info-card {
    margin-top: 22px !important;
    width: 100%;
    max-width: 360px;
    line-height: 1.45;
  }

  .hero-clean .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
    max-width: 360px;
  }

  .vision-mission-wide {
    padding-inline: 18px;
    padding-block: 34px;
  }

  .vm-wide-item {
    gap: 14px;
  }

  .vm-wide-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .vm-wide-item h5 {
    font-size: 1.25rem;
  }

  .vm-wide-item p {
    font-size: .96rem;
    line-height: 1.7;
  }
}

/* ===== Final requested hero layout: image + clean CTA order ===== */
.hero-clean.hero-v2 {
  min-height: 100vh !important;
  padding: 24px 0 24px !important;
  text-align: left !important;
  overflow: hidden !important;
}

.hero-layout-container {
  width: 100%;
  z-index: 2;
}

.hero-layout-row {
  min-height: calc(100vh - 110px) !important;
  padding-top: 24px !important;
}

.hero-text-col {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 110px);
  padding-top: 0 !important;
}

.hero-clean .hero-clean-content {
  width: min(760px, 100%) !important;
  margin: 0 !important;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 2vw, 1.5rem);
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
}

.hero-clean .hero-title {
  justify-content: flex-start !important;
  max-width: 100% !important;
  font-size: clamp(3rem, 5.2vw, 5.25rem) !important;
  line-height: 1.03 !important;
  margin-bottom: 30px !important;
}

.hero-clean .typing-subtitle {
  max-width: 670px !important;
  margin: 0 !important;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem) !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, .90) !important;
  animation: typingText 2.8s steps(82, end) .9s both, typingCaret .75s step-end infinite !important;
}

.hero-clean .hero-info-card {
  margin-top: 24px !important;
  border-radius: 22px !important;
  padding: 18px 24px !important;
  font-size: 1.05rem !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

.hero-clean .hero-actions {
  margin-top: 34px !important;
  gap: 18px !important;
  justify-content: flex-start !important;
}

.hero-clean .hero-visual-col {
  display: flex !important;
}

.hero-clean .hero-doctor-img,
.hero-clean .hero-photo-glow {
  display: block !important;
}

.hero-image-col {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: calc(100vh - 76px);
  position: relative;
}

.hero-doctor-frame {
  position: relative;
  width: min(44vw, 650px);
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-doctor-frame .hero-photo-glow {
  position: absolute;
  right: 6%;
  bottom: 7%;
  width: 78%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .52), rgba(130, 190, 235, .18) 52%, transparent 72%);
  filter: blur(18px);
  opacity: .95 !important;
}

.hero-doctor-frame .hero-doctor-img {
  position: relative;
  z-index: 2;
  max-height: calc(100vh - 92px) !important;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 48px rgba(0, 0, 0, .25)) contrast(1.04) saturate(1.04) !important;
  animation: heroDoctorIn 1s ease .35s both !important;
}

@media(max-width:991px) {
  .hero-layout-row {
    min-height: auto !important;
    padding-top: 140px !important;
  }

  .hero-text-col {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-clean .hero-clean-content {
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 22px !important;
  }

  .hero-clean .hero-title {
    justify-content: center !important;
    font-size: clamp(2.45rem, 8vw, 4rem) !important;
  }

  .hero-clean .typing-subtitle {
    margin: 0 auto !important;
    white-space: normal !important;
    border-right: 0 !important;
    animation: fadeUp .8s ease 1s both !important;
  }

  .hero-clean .hero-actions {
    justify-content: center !important;
    margin-top: 48px !important;
  }

  .hero-clean .hero-info-card {
    white-space: normal !important;
    text-align: center;
  }

  .hero-image-col {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-doctor-frame {
    width: min(72vw, 520px);
    height: auto;
  }

  .hero-doctor-frame .hero-doctor-img {
    max-height: 430px !important;
  }
}

@media(max-width:575px) {
  .hero-layout-row {
    padding-top: 120px !important;
  }

  .hero-text-col {
    padding-top: 36px;
  }

  .hero-clean .hero-title {
    font-size: clamp(2.05rem, 11vw, 3.1rem) !important;
    line-height: 1.08 !important;
  }

  .hero-clean .hero-info-card {
    width: 100%;
    max-width: 360px;
    padding: 16px 18px !important;
    font-size: .98rem !important;
  }

  .hero-clean .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
    max-width: 360px;
    margin-top: 44px !important;
  }

  .hero-doctor-frame {
    width: 92vw;
  }

  .hero-doctor-frame .hero-doctor-img {
    max-height: 345px !important;
  }
}

/* ===== Final hero readability corrections ===== */
.hero-clean .hero-title {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  gap: .16em !important;
  font-size: clamp(2.65rem, 4.85vw, 4.95rem) !important;
  letter-spacing: -.055em !important;
  line-height: 1 !important;
  text-shadow: 0 8px 26px rgba(0, 0, 0, .22) !important;
}

.hero-clean .hero-title .title-left,
.hero-clean .hero-title .title-right {
  white-space: nowrap !important;
}

.hero-clean .typing-subtitle {
  max-width: 850px !important;
  width: auto !important;
  overflow: visible !important;
  white-space: normal !important;
  border-right: 0 !important;
  font-weight: 650 !important;
  color: rgba(255, 255, 255, .96) !important;
  text-shadow: 0 6px 18px rgba(0, 0, 0, .30) !important;
  clip-path: none;
  animation: none;
}

@keyframes subtitleCleanReveal {
  to {
    clip-path: inset(0 0 0 0)
  }
}

.hero-doctor-frame .hero-doctor-img {
  image-rendering: auto !important;
  filter: drop-shadow(0 30px 48px rgba(0, 0, 0, .25)) contrast(1.09) saturate(1.08) brightness(1.02) !important;
}

@media(max-width:1199px) {
  .hero-clean .hero-title {
    font-size: clamp(2.35rem, 4.35vw, 4.1rem) !important;
  }

  .hero-clean .typing-subtitle {
    max-width: 720px !important;
  }
}

@media(max-width:991px) {
  .hero-clean .hero-title {
    font-size: clamp(2rem, 6vw, 3.15rem) !important;
    white-space: nowrap !important;
  }

  .hero-clean .typing-subtitle {
    clip-path: none !important;
    animation: fadeUp .8s ease 1s both !important;
    max-width: 680px !important;
  }
}

@media(max-width:575px) {
  .hero-clean .hero-title {
    font-size: clamp(1.55rem, 7.2vw, 2.25rem) !important;
    white-space: nowrap !important;
    gap: .12em !important;
    letter-spacing: -.05em !important;
  }

  .hero-clean .typing-subtitle {
    font-size: 1rem !important;
    line-height: 1.65 !important;
    max-width: 360px !important;
  }
}

@media(max-width:380px) {
  .hero-clean .hero-title {
    font-size: clamp(1.38rem, 7vw, 1.85rem) !important;
  }
}


/* ===== Final correction: single-line hero title + continuous subtitle typing ===== */
.hero-clean .hero-title.split-title {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  gap: .18em !important;
  font-size: clamp(2.45rem, 4.3vw, 4.4rem) !important;
  max-width: 100% !important;
}

@media(max-width:991px) {
  .hero-clean .hero-title.split-title {
    font-size: clamp(1.9rem, 5.6vw, 2.9rem) !important;
    white-space: nowrap !important;
  }
}

@media(max-width:575px) {
  .hero-clean .hero-title.split-title {
    font-size: clamp(1.7rem, 8vw, 2.3rem) !important;
    white-space: normal !important;
    flex-wrap: wrap !important;
    line-height: 1.15 !important;
    gap: .08em !important;
    row-gap: .05em !important;
  }
}

@media(max-width:380px) {
  .hero-clean .hero-title.split-title {
    font-size: clamp(1.5rem, 8vw, 1.9rem) !important;
  }
}

.hero-clean .hero-title.split-title .title-left,
.hero-clean .hero-title.split-title .title-right {
  white-space: nowrap !important;
}

.hero-clean .typing-subtitle {
  width: 100% !important;
  max-width: 760px !important;
  min-height: calc(1.72em * 2);
  white-space: normal !important;
  overflow: visible !important;
  animation: none !important;
  border-right: none !important;
  text-align: left;
  display: block;
}

.hero-clean .typing-subtitle::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  background: rgba(255, 255, 255, .85);
  vertical-align: -.14em;
  animation: typingCaret .75s step-end infinite;
}

.hero-clean .typing-subtitle.typing-complete::after {
  animation: typingCaret .75s step-end infinite;
}

.hero-clean .hero-image-col,
.hero-clean .hero-doctor-frame {
  display: flex !important;
}

.hero-clean .hero-image-col {
  align-self: stretch;
  align-items: flex-end;
  justify-content: center;
}

.hero-clean .hero-doctor-frame {
  position: relative;
  width: min(42vw, 620px);
  height: 100%;
  align-items: flex-end;
  justify-content: center;
}

.hero-clean .hero-doctor-img {
  display: block !important;
  position: relative;
  z-index: 2;
  width: auto !important;
  max-width: 100% !important;
  max-height: clamp(500px, 76vh, 730px) !important;
  object-fit: contain !important;
  image-rendering: auto !important;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .25)) contrast(1.06) saturate(1.05) !important;
}

.hero-clean .hero-photo-glow {
  display: block !important;
  position: absolute;
  right: 7%;
  bottom: 6%;
  width: 72%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .44), rgba(112, 178, 225, .20) 48%, transparent 70%);
  filter: blur(18px);
}

@media(max-width:1199px) {
  .hero-clean .hero-title.split-title {
    font-size: clamp(2.2rem, 4.15vw, 4rem) !important;
  }

  .hero-clean .typing-subtitle {
    max-width: 660px !important;
  }
}

@media(max-width:991px) {
  .hero-clean .hero-title.split-title {
    font-size: clamp(2.15rem, 6.4vw, 3.55rem) !important;
    flex-wrap: nowrap !important;
  }

  .hero-clean .typing-subtitle {
    text-align: center;
    max-width: 720px !important;
    min-height: auto;
  }

  .hero-clean .hero-doctor-frame {
    width: min(78vw, 540px);
    height: auto;
  }

  .hero-clean .hero-doctor-img {
    max-height: 460px !important;
  }
}

@media(max-width:575px) {
  .hero-clean .hero-title.split-title {
    font-size: clamp(1.55rem, 8.2vw, 2.45rem) !important;
    line-height: 1.08 !important;
    gap: .14em !important;
  }

  .hero-clean .typing-subtitle {
    font-size: .98rem !important;
    line-height: 1.62 !important;
    text-align: left;
    max-width: 100% !important;
  }

  .hero-clean .hero-doctor-frame {
    width: 92vw;
  }

  .hero-clean .hero-doctor-img {
    max-height: 360px !important;
  }
}

@media(max-width:380px) {
  .hero-clean .hero-title.split-title {
    font-size: 1.55rem !important;
  }
}


/* ===== Final fix: visible single continuous subtitle typing ===== */
.hero-clean #heroTypingSubtitle.typing-subtitle {
  display: block !important;
  width: 100% !important;
  max-width: 670px !important;
  min-height: 3.3em !important;
  margin-top: 18px !important;
  margin-bottom: 0 !important;
  color: rgba(255, 255, 255, .96) !important;
  font-size: clamp(1.08rem, 1.35vw, 1.32rem) !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  letter-spacing: .01em !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow: visible !important;
  text-align: left !important;
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  clip-path: none !important;
  border-right: 0 !important;
}

.hero-clean #heroTypingSubtitle.typing-subtitle::after {
  content: '' !important;
  display: inline-block !important;
  width: 2px !important;
  height: 1.05em !important;
  margin-left: 4px !important;
  background: rgba(255, 255, 255, .95) !important;
  vertical-align: -.14em !important;
  animation: typingCaret .75s step-end infinite !important;
}

@media (max-width: 991px) {
  .hero-clean #heroTypingSubtitle.typing-subtitle {
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    white-space: normal !important;
  }
}

@media (max-width: 575px) {
  .hero-clean #heroTypingSubtitle.typing-subtitle {
    max-width: 100% !important;
    min-height: 2.9em !important;
    text-align: left !important;
    font-size: .8rem !important;
    line-height: 1.55 !important;
    white-space: normal !important;
  }
}

@media (max-width: 340px) {
  .hero-clean #heroTypingSubtitle.typing-subtitle {
    font-size: .7rem !important;
  }
}

/* ===== New hero CTA buttons: white card-style pills matching updated design ===== */
.hero-clean .hero-actions .btn.hero-btn-primary,
.hero-clean .hero-actions .btn.hero-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  background: #ffffff !important;
  color: #0a1f44 !important;
  border: 1.5px solid rgba(10, 31, 68, .16) !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: .85rem !important;
  padding: 10px 20px !important;
  min-height: 42px !important;
  box-shadow: 0 8px 20px rgba(8, 20, 42, .12) !important;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease !important;
}

.hero-clean .hero-actions .btn.hero-btn-primary i,
.hero-clean .hero-actions .btn.hero-btn-secondary i {
  font-size: 1.1rem !important;
  color: var(--red, #e02440) !important;
  line-height: 1 !important;
}

.hero-clean .hero-actions .btn.hero-btn-primary:hover,
.hero-clean .hero-actions .btn.hero-btn-secondary:hover {
  transform: translateY(-3px) !important;
  background: #0a1f44 !important;
  color: #ffffff !important;
  border-color: #0a1f44 !important;
  box-shadow: 0 16px 34px rgba(8, 20, 42, .28) !important;
}

.hero-clean .hero-actions .btn.hero-btn-primary:hover i,
.hero-clean .hero-actions .btn.hero-btn-secondary:hover i {
  color: #ffffff !important;
}

@media(max-width:575px) {

  .hero-clean .hero-actions .btn.hero-btn-primary,
  .hero-clean .hero-actions .btn.hero-btn-secondary {
    width: 100% !important;
    font-size: 1rem !important;
    padding: 12px 22px !important;
    min-height: 48px !important;
  }
}

/* ===== Mission & Vision card: 8px border radius ===== */
.vision-mission-wide {
  border-radius: 8px !important;
}

/* ===== Vision & Mission: FINAL â€” one clean, elegant, full-width white card ===== */
.vision-mission-wide {
  width: 100% !important;
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 56px clamp(24px, 5vw, 72px) !important;
  background: #ffffff !important;
  border: 1px solid rgba(8, 42, 79, .07) !important;
  border-top: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 46px rgba(8, 42, 79, .09) !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  gap: 48px !important;
  align-items: start !important;
}

.vm-wide-item {
  background: transparent !important;
  border: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  transform: none !important;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

.vm-wide-item:hover {
  transform: none;
  box-shadow: none !important;
}

.vm-wide-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f8fbff;
  box-shadow: none;
  border: 1px solid rgba(8, 42, 79, .08);
}

.vm-wide-item h5 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}

.vm-wide-item p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--muted);
}

.vm-wide-divider {
  display: block !important;
  width: 1px !important;
  min-height: 100% !important;
  background: linear-gradient(transparent, rgba(8, 42, 79, .14), transparent) !important;
}

@media(max-width:991px) {
  .vision-mission-wide {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding: 44px clamp(20px, 6vw, 40px) !important;
  }

  .vm-wide-divider {
    width: 100% !important;
    height: 1px !important;
    min-height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(8, 42, 79, .14), transparent) !important;
  }
}

@media(max-width:575px) {
  .vision-mission-wide {
    padding: 36px 22px !important;
    border-radius: 8px !important;
  }

  .vm-wide-item h5 {
    font-size: 1.22rem;
  }

  .vm-wide-item p {
    font-size: .98rem;
    line-height: 1.75;
  }
}

.hero-btn-primary {
  background: #c62828 !important;
  border-color: #c62828 !important;
  color: #fff !important;
}

.vision-mission-wide {
  width: auto !important;
  margin: 48px 0 0 !important;
  padding: 0 !important;
  background: none !important;
  display: flex !important;
  gap: 30px !important;
}

.vm-card {
  background: #fff !important;
  padding: 28px !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08) !important;
  flex: 1;
}

.vm-wide-divider {
  display: none !important;
}


.vision-mission {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  margin: 40px auto;
  max-width: 1200px;
}

.vision-mission .card,
.vision-card,
.mission-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media(max-width:768px) {
  .vision-mission {
    flex-direction: column;
  }
}

/* =====================================================================
   FINAL UPDATE â€” Hero CTA buttons (simple pill style, no icons, animated)
   ===================================================================== */
.hero-clean .hero-actions .btn.hero-btn-primary,
.hero-clean .hero-actions .btn.hero-btn-secondary {
  position: relative !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  border-radius: 999px !important;
  padding: 14px 30px !important;
  min-height: 50px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: .01em !important;
  transition: transform .35s cubic-bezier(.22, .9, .32, 1),
    box-shadow .35s ease,
    background-color .35s ease,
    color .35s ease,
    border-color .35s ease !important;
}

.hero-clean .hero-actions .btn.hero-btn-primary i,
.hero-clean .hero-actions .btn.hero-btn-secondary i {
  display: none !important;
}

/* shine sweep on hover */
.hero-clean .hero-actions .btn.hero-btn-primary::before,
.hero-clean .hero-actions .btn.hero-btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-22deg);
  transition: left .65s ease;
  pointer-events: none;
}

.hero-clean .hero-actions .btn.hero-btn-primary:hover::before,
.hero-clean .hero-actions .btn.hero-btn-secondary:hover::before {
  left: 130%;
}

.hero-clean .hero-actions .btn.hero-btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%) !important;
  color: #0a1f44 !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 12px 30px rgba(255, 255, 255, .15), 0 4px 10px rgba(0, 0, 0, .1) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
}

.hero-clean .hero-actions .btn.hero-btn-primary:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 16px 40px rgba(255, 255, 255, .25), 0 8px 16px rgba(0, 0, 0, .15) !important;
  background: #ffffff !important;
}

.hero-clean .hero-actions .btn.hero-btn-primary:active {
  transform: translateY(-1px) scale(1.0) !important;
}

.hero-clean .hero-actions .btn.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
}

.hero-clean .hero-actions .btn.hero-btn-secondary:hover {
  transform: translateY(-4px) scale(1.02) !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
}

.hero-clean .hero-actions .btn.hero-btn-secondary:active {
  transform: translateY(-1px) scale(1.0) !important;
}

@media(max-width:575px) {

  .hero-clean .hero-actions .btn.hero-btn-primary,
  .hero-clean .hero-actions .btn.hero-btn-secondary {
    font-size: .88rem !important;
    padding: 13px 26px !important;
    min-height: 48px !important;
  }
}

@media(max-width:340px) {

  .hero-clean .hero-actions .btn.hero-btn-primary,
  .hero-clean .hero-actions .btn.hero-btn-secondary {
    font-size: .8rem !important;
    padding: 12px 20px !important;
  }
}

/* =====================================================================
   FINAL UPDATE â€” About section: justified paragraph text
   ===================================================================== */
.about-text-col p {
  text-align: justify !important;
  text-justify: inter-word !important;
}

/* =====================================================================
   FINAL UPDATE â€” Vision & Mission cards: icon+title on top, justified
   body text, equal-width aligned cards, hover animation
   ===================================================================== */
.vision-mission-wide {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 32px !important;
  width: 100% !important;
  max-width: 1140px !important;
  margin: 48px auto 0 !important;
  padding: 0 !important;
  background: none !important;
}

.vision-mission-wide .vm-wide-divider {
  display: none !important;
}

.vision-mission-wide .vm-card.vm-wide-item {
  flex: 1 1 340px !important;
  max-width: 520px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  text-align: left !important;
  background: #ffffff !important;
  border: 1px solid rgba(8, 42, 79, .08) !important;
  border-radius: 16px !important;
  padding: 34px 32px !important;
  box-shadow: 0 10px 30px rgba(8, 42, 79, .08) !important;
  transition: transform .4s cubic-bezier(.22, .9, .32, 1),
    box-shadow .4s ease,
    border-color .4s ease !important;
}

.vision-mission-wide .vm-card.vm-wide-item:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 26px 50px rgba(8, 42, 79, .18) !important;
  border-color: rgba(224, 36, 64, .25) !important;
}

.vm-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 18px !important;
}

.vision-mission-wide .vm-card .vm-wide-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
  border: 1px solid rgba(8, 42, 79, .08) !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  transition: transform .4s cubic-bezier(.22, .9, .32, 1),
    background .4s ease !important;
}

.vision-mission-wide .vm-card .vm-wide-icon i {
  font-size: 1.55rem !important;
  color: var(--red, #e02440) !important;
  transition: color .4s ease !important;
}

.vision-mission-wide .vm-card.vm-wide-item:hover .vm-wide-icon {
  transform: rotate(-8deg) scale(1.1) !important;
  background: var(--red, #e02440) !important;
}

.vision-mission-wide .vm-card.vm-wide-item:hover .vm-wide-icon i {
  color: #ffffff !important;
}

.vm-card-header h5 {
  margin: 0 !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
  color: var(--navy) !important;
}

.vision-mission-wide .vm-card p {
  margin: 0 !important;
  font-size: 1.02rem !important;
  line-height: 1.85 !important;
  color: var(--muted) !important;
  text-align: justify !important;
  text-justify: inter-word !important;
}

@media(max-width:991px) {
  .vision-mission-wide {
    gap: 26px !important;
  }

  .vision-mission-wide .vm-card.vm-wide-item {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    padding: 28px 26px !important;
  }
}

@media(max-width:575px) {
  .vision-mission-wide .vm-card.vm-wide-item {
    padding: 24px 20px !important;
  }

  .vm-card-header h5 {
    font-size: 1.22rem !important;
  }

  .vision-mission-wide .vm-card p {
    font-size: .98rem !important;
    line-height: 1.75 !important;
  }
}

/* =====================================================================
   FINAL UPDATE â€” Transparent glass header over hero, solid white on scroll
   ===================================================================== */
.main-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: rgba(255, 255, 255, .10) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .16) !important;
  box-shadow: none !important;
  transition: background-color .4s ease,
    border-color .4s ease,
    box-shadow .4s ease,
    backdrop-filter .4s ease !important;
}

.main-nav .nav-link {
  color: #ffffff !important;
  font-size: 1.02rem !important;
  padding: .5rem 1rem !important;
  margin: 0 .35rem !important;
  transition: color .4s ease !important;
}

.main-nav .brand-text strong {
  color: #ffffff !important;
  transition: color .4s ease !important;
}

.main-nav .brand-text small {
  color: rgba(255, 255, 255, .78) !important;
  transition: color .4s ease !important;
}

.main-nav .btn-volunteer {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, .65) !important;
  padding: .6rem 1.1rem !important;
  font-size: 1rem !important;
  margin-left: .45rem !important;
}

.main-nav .btn-volunteer:hover {
  background: #ffffff !important;
  color: var(--navy) !important;
}

.main-nav .navbar-toggler-icon {
  filter: brightness(0) invert(1) !important;
}

/* Solid white header once the hero banner has been scrolled past */
.main-nav.nav-scrolled {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  box-shadow: 0 10px 30px rgba(8, 42, 79, .08) !important;
}

.main-nav.nav-scrolled .nav-link {
  color: var(--ink) !important;
}

.main-nav.nav-scrolled .brand-text strong {
  color: var(--navy) !important;
}

.main-nav.nav-scrolled .brand-text small {
  color: var(--muted) !important;
}

.main-nav.nav-scrolled .btn-volunteer {
  color: var(--red) !important;
  border-color: var(--red) !important;
}

.main-nav.nav-scrolled .btn-volunteer:hover {
  background: var(--red) !important;
  color: #fff !important;
}

.main-nav.nav-scrolled .navbar-toggler-icon {
  filter: none !important;
}

.main-nav {
  padding-top: .25rem !important;
  padding-bottom: .25rem !important;
}

.main-nav .site-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.navbar {
  min-height: 48px !important;
}

.navbar-brand {
  gap: 0px !important;
}

.logo-mark {
  width: 44px !important;
  height: 44px !important;
}

.main-nav .nav-link {
  padding-top: .5rem !important;
  padding-bottom: .5rem !important;
}

.main-nav .navbar-toggler {
  padding: .35rem .6rem !important;
}

@media(max-width:991px) {
  .main-nav .navbar-collapse {
    background: #ffffff;
    border-radius: 18px;
    padding: 0;
    margin-top: 12px;
    box-shadow: 0 18px 42px rgba(8, 42, 79, .16);
    overflow: hidden;
  }

  .mobile-nav-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 12px;
  }

  .mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }

  .main-nav .navbar-collapse .nav-link {
    color: var(--ink) !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    font-weight: 700;
    width: 100%;
    text-align: left;
  }

  .donation-page .main-nav .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .donation-page .main-nav .navbar-brand img {
    height: 44px;
    width: auto;
    object-fit: contain;
  }

  .donation-page .main-nav .navbar-brand span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
  }

  .main-nav .navbar-collapse .btn-volunteer,
  .main-nav .navbar-collapse .mobile-nav-cta {
    color: #fff !important;
    border-color: var(--red) !important;
    background: var(--red) !important;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .main-nav .navbar-collapse .btn-volunteer:hover,
  .main-nav .navbar-collapse .mobile-nav-cta:hover {
    background: var(--red) !important;
    color: #fff !important;
  }
}

/* ================================================================
   MOBILE & TABLET ALIGNMENT FIX (hero section + global overflow)
   Desktop (>=992px) is untouched â€” this only affects <=991px.
   ================================================================ */

/* Prevent any page-wide horizontal scrollbar */
html,
body {
  overflow-x: hidden;
}

/* --- Fix: hero title was forced onto one line by a later rule,
   which pushed it off-screen and caused horizontal scroll on
   phones and small tablets (576px-800px). Let it wrap when needed
   and keep it centered to match the rest of the mobile hero. --- */
@media(max-width:991px) {
  .hero-clean .hero-title.split-title {
    display: flex !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    justify-content: center !important;
    row-gap: .06em !important;
    max-width: 100% !important;
  }

  .hero-clean .hero-title.split-title .title-left,
  .hero-clean .hero-title.split-title .title-right {
    white-space: nowrap !important;
  }
}

/* --- Fix: on phones/tablets the hero photo fills the whole card
   at a portrait aspect, so "cover" always shows the doctor's hand
   right behind the buttons with no way to reposition it away, and
   with too little contrast to read the CTAs cleanly. Add a scrim
   and re-aim the crop so the buttons always sit on a clean,
   readable area. Desktop keeps the original untouched. --- */
@media(max-width:991px) {
  .hero-hospital-bg {
    background-position: center 14% !important;
  }

  .hero-hospital-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(5, 23, 44, .42) 0%, rgba(5, 23, 44, .30) 30%, rgba(5, 23, 44, .88) 100%),
      linear-gradient(90deg, rgba(4, 19, 38, .85) 0%, rgba(4, 19, 38, .35) 60%, rgba(4, 19, 38, .20) 100%);
    pointer-events: none;
  }
}

@media(min-width:576px) and (max-width:991px) {
  .hero-hospital-bg {
    background-size: auto 115% !important;
    background-position: 78% 8% !important;
  }
}

@media(max-width:575px) {
  .hero-hospital-bg {
    background-size: auto 148% !important;
    background-position: 72% 6% !important;
  }
}

/* --- Fix: hero content was pinned tight to the viewport edges,
   so the last button sat almost flush with the bottom of the
   screen, crowding the background art. Give it real breathing
   room instead of a forced 100vh box. --- */
@media(max-width:991px) {
  .hero.hero-v2.hero-clean {
    height: auto !important;
    min-height: 100vh !important;
  }

  .hero-layout-row {
    padding-top: 104px !important;
    padding-bottom: 60px !important;
  }
}

/* Stats Cards Icons Styling */
.stat-card .stat-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(239, 49, 53, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-wrap {
  background: rgba(239, 49, 53, 0.1);
  transform: scale(1.15);
  border-color: rgba(239, 49, 53, 0.4);
}

.stat-card .stat-icon-wrap i {
  transition: transform 0.3s ease;
  line-height: 1;
}

@media(max-width:991px) {
  .hero-text-col {
    min-height: auto !important;
    padding-top: 0 !important;
  }

  .hero-clean .hero-actions {
    margin-top: 32px !important;
    margin-bottom: 4px !important;
  }
}

/* --- Cinematic Loader --- */
.cadf-site-loader.cadf-cinematic-mode {
  background: var(--bg-1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  position: fixed;
  inset: 0;
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.cadf-site-loader.cadf-cinematic-mode::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size:
    160px 160px,
    160px 160px,
    32px 32px,
    32px 32px;
}

.cadf-site-loader.cadf-cinematic-mode.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* generous stage so the zoom pulse never gets clipped by the viewport edge */
.cadf-site-loader .stage {
  position: relative;
  width: min(85vw, 500px);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.cadf-site-loader .logo-img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  /* crisp scaling */
}

/* ---------- ECG / HEART / "life" MARK (animates every loop) ---------- */
.cadf-site-loader .mark-wrap {
  width: 100%;
  overflow: visible;
  transform-origin: 50% 50%;
  animation: zoomPulse 2.5s cubic-bezier(.55, 0, .2, 1) forwards;
}

.cadf-site-loader .mark-crop {
  width: 100%;
  clip-path: inset(0 100% 0 0);
  animation: revealMark 2.5s cubic-bezier(.65, 0, .35, 1) forwards;
}

.cadf-site-loader .mark-crop img {
  width: 100%;
  display: block;
}

/* ================= KEYFRAMES ================= */

@keyframes revealMark {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }

  85% {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
  }

  100% {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
  }
}

@keyframes zoomPulse {
  0% {
    transform: scale(1);
    opacity: 0;
  }

  10% {
    transform: scale(1);
    opacity: 1;
  }

  85% {
    transform: scale(1);
  }

  95% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {

  .cadf-site-loader .mark-crop,
  .cadf-site-loader .mark-wrap {
    animation: none !important;
    clip-path: none;
    transform: none;
  }
}

@media(max-width:575px) {
  .hero-layout-row {
    padding-top: 92px !important;
    padding-bottom: 48px !important;
  }

  .hero-clean .hero-info-card {
    margin-top: 24px !important;
  }

  .hero-clean .hero-actions {
    margin-top: 28px !important;
  }
}

/* ================================================================
   NAV FIX â€” iPad Pro / small-laptop range (992px-1199px)
   Bootstrap's "lg" tier switches from the hamburger menu to the
   full horizontal nav at 992px, but logo + 7 links + 2 buttons
   don't actually fit until ~1200px, so the Donate button was
   getting pushed off the right edge and clipped (e.g. iPad Pro
   12.9" portrait = 1024px wide). Tightened spacing below so
   everything fits with room to spare; 1200px+ is untouched.
   ================================================================ */
@media(min-width:992px) and (max-width:1199.98px) {
  .navbar-brand {
    min-width: 0 !important;
    gap: 0px !important;
  }

  .brand-text small {
    display: none !important;
  }

  .brand-text strong {
    font-size: 1.2rem !important;
  }

  .logo-mark {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.2rem !important;
  }

  .navbar-nav {
    gap: 2px !important;
  }

  .nav-link {
    padding: 8px 6px 6px !important;
    font-size: .88rem !important;
  }

  .nav-item.ms-lg-3 {
    margin-left: 10px !important;
  }

  .nav-item.ms-lg-3.d-flex {
    gap: 6px !important;
  }

  .nav-item.ms-lg-3 .btn {
    padding: .42rem .75rem !important;
    font-size: .82rem !important;
  }
}

/* ================================================================
   FINAL LAYOUT REQUEST: on tablet & mobile, show the doctor photo
   as its own block ABOVE the text content (instead of a full-bleed
   cropped background), and keep both hero buttons on one row at
   every size. Desktop (>991px) is completely untouched.
   ================================================================ */
.hero-mobile-visual {
  display: none;
}

@media(max-width:575px) {
  .hero.hero-v2.hero-clean {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: auto !important;
    background: #0d3050 !important;
  }

  .hero-hospital-bg {
    display: none !important;
  }

  .hero-layout-row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: auto !important;
  }

  .hero-text-col {
    padding-top: 0 !important;
    min-height: auto !important;
  }

  .hero-clean .hero-clean-content {
    padding-top: 36px !important;
    padding-bottom: 46px !important;
  }

  .hero-mobile-visual {
    display: block;
    order: -1;
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 74px;
    margin-bottom: -52px;
    background-image: url('../assets/images/home-hero-original-face-hd.png');
    background-size: cover;
    background-position: center 14%;
    background-repeat: no-repeat;
  }

  .hero-mobile-visual:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 48, 80, 0) 0%, rgba(13, 48, 80, 0) 40%, rgba(13, 48, 80, .28) 62%, rgba(13, 48, 80, .68) 80%, rgba(13, 48, 80, .92) 92%, #0d3050 100%);
  }

  .hero-clean .hero-clean-content {
    position: relative;
    z-index: 2;
  }
}

/* ================================================================
   TABLET (576px-991px): use the dedicated HD doctor cutout,
   centered, on a clean solid navy backdrop (no wide banner crop,
   no busy grid/scrim pattern). Content still sits below it.
   ================================================================ */
@media(min-width:576px) and (max-width:991px) {
  .hero.hero-v2.hero-clean {
    height: auto !important;
    min-height: 100vh !important;
    background: #0d3050 !important;
  }

  .hero-hospital-bg {
    display: block !important;
    background-image: url('../assets/images/home-hero-original-face-hd.png') !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center 8% !important;
  }

  .hero-hospital-bg::before {
    background: none !important;
  }

  .hero-hospital-bg::after {
    display: none !important;
    content: none !important;
  }

  .hero-mobile-visual {
    display: none !important;
  }

  .hero-layout-row {
    min-height: 100vh !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: stretch !important;
  }

  .hero-text-col {
    min-height: 100vh !important;
    padding-top: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }

  .hero-clean .hero-clean-content {
    position: relative;
    z-index: 2;
    padding-top: 0 !important;
    padding-bottom: 88px !important;
  }
}

/* Both hero buttons stay on a single row, tablet and mobile alike */
@media(max-width:991px) {

  .hero-clean .hero-actions,
  .hero-v2 .hero-actions,
  .hero-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 540px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-clean .hero-actions .btn,
  .hero-v2 .hero-actions .btn {
    flex: 1 1 0 !important;
    width: auto !important;
    white-space: nowrap !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

@media(max-width:575px) {

  .hero-clean .hero-actions,
  .hero-v2 .hero-actions,
  .hero-actions {
    gap: 10px !important;
    max-width: 400px !important;
    align-items: stretch !important;
  }

  .hero-clean .hero-actions .btn,
  .hero-v2 .hero-actions .btn {
    padding: 8px 6px !important;
    font-size: .78rem !important;
    line-height: 1.3 !important;
    min-height: 48px !important;
    height: auto !important;
    white-space: normal !important;
    text-align: center !important;
    /* Wrap onto a new line only at a space, never mid-word,
       so "Consultation" stays whole (e.g. "Book a" / "Consultation") */
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}

@media(max-width:360px) {

  .hero-clean .hero-actions .btn,
  .hero-v2 .hero-actions .btn {
    font-size: .7rem !important;
    padding: 6px !important;
  }
}

/* ================================================================
   FINAL REQUEST: tablet + cellphone hero must match the approved
   reference: same full-screen doctor background, text and buttons
   overlayed below the face, centered, with no separate image block.
   ================================================================ */
@media (max-width: 991.98px) {
  .hero.hero-v2.hero-clean {
    position: relative !important;
    height: 100vh !important;
    min-height: 720px !important;
    display: flex !important;
    align-items: stretch !important;
    overflow: hidden !important;
    background: #0d3050 !important;
    text-align: center !important;
  }

  .hero-hospital-bg {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background-image: url('../assets/images/home-hero-original-face-hd.png') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }

  .hero-hospital-bg::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    background:
      linear-gradient(180deg, rgba(8, 28, 49, .18) 0%, rgba(8, 28, 49, .20) 28%, rgba(8, 28, 49, .44) 54%, rgba(8, 28, 49, .80) 100%),
      linear-gradient(90deg, rgba(4, 23, 42, .82) 0%, rgba(4, 23, 42, .35) 43%, rgba(4, 23, 42, .12) 66%, rgba(4, 23, 42, .28) 100%) !important;
  }

  .hero-hospital-bg::after {
    display: none !important;
    content: none !important;
  }

  .hero-mobile-visual {
    display: none !important;
  }

  .hero-layout-container {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
  }

  .hero-layout-row {
    min-height: 100vh !important;
    height: 100vh !important;
    padding: 76px 0 0 !important;
    align-items: stretch !important;
  }

  .hero-text-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-height: calc(100vh - 76px) !important;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .hero-clean .hero-clean-content {
    width: 100% !important;
    max-width: 820px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: translateY(96px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-v2 .hero-title {
    white-space: nowrap !important;
    font-size: clamp(2.25rem, 5.6vw, 3.35rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -.045em !important;
    margin: 0 0 24px !important;
    max-width: 100% !important;
    color: #fff !important;
    text-align: center !important;
  }

  .hero-v2 .hero-subtitle {
    max-width: 720px !important;
    margin: 0 auto !important;
    font-size: clamp(.9rem, 1.9vw, 1.05rem) !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, .92) !important;
    text-align: center !important;
  }

  .hero-clean .hero-info-card {
    margin-top: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    min-width: min(420px, 82vw) !important;
    padding: 10px 22px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .16) !important;
    border: 1px solid rgba(255, 255, 255, .35) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 14px 36px rgba(0, 0, 0, .18) !important;
    backdrop-filter: blur(10px) !important;
    color: #fff !important;
    font-size: .9rem !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .hero-clean .hero-actions,
  .hero-v2 .hero-actions,
  .hero-actions {
    margin-top: 30px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 520px !important;
  }

  .hero-clean .hero-actions .btn,
  .hero-v2 .hero-actions .btn {
    flex: 1 1 0 !important;
    width: auto !important;
    min-height: 54px !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    font-size: .95rem !important;
    font-weight: 800 !important;
  }
}

@media (max-width:575.98px) {
  .hero.hero-v2.hero-clean {
    min-height: 100vh !important;
    height: 100vh !important;
  }

  .hero-hospital-bg {
    background-image: url('../assets/images/home-hero-original-face-hd.png') !important;
    background-size: cover !important;
    background-position: center top !important;
  }

  .hero-layout-row {
    height: 100vh !important;
    min-height: 100vh !important;
    padding-top: 68px !important;
  }

  .hero-text-col {
    min-height: calc(100vh - 68px) !important;
    padding: 0 18px !important;
  }

  .hero-clean .hero-clean-content {
    transform: translateY(76px) !important;
    max-width: 520px !important;
  }

  .hero-v2 .hero-title {
    font-size: clamp(1.62rem, 6.2vw, 2.25rem) !important;
    line-height: 1.04 !important;
    margin-bottom: 20px !important;
  }

  .hero-v2 .hero-subtitle {
    max-width: 92vw !important;
    font-size: clamp(.72rem, 2.25vw, .86rem) !important;
    line-height: 1.55 !important;
  }

  .hero-clean .hero-info-card {
    margin-top: 18px !important;
    min-height: 42px !important;
    min-width: min(310px, 78vw) !important;
    padding: 8px 14px !important;
    border-radius: 15px !important;
    font-size: .72rem !important;
  }

  .hero-clean .hero-actions,
  .hero-v2 .hero-actions,
  .hero-actions {
    max-width: min(380px, 88vw) !important;
    gap: 12px !important;
    margin-top: 22px !important;
  }

  .hero-clean .hero-actions .btn,
  .hero-v2 .hero-actions .btn {
    min-height: 48px !important;
    padding: 8px 10px !important;
    font-size: clamp(.68rem, 2.4vw, .78rem) !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
}

@media (max-width:380px) {
  .hero-clean .hero-clean-content {
    transform: translateY(64px) !important;
  }

  .hero-v2 .hero-title {
    font-size: 1.45rem !important;
  }

  .hero-v2 .hero-subtitle {
    font-size: .68rem !important;
  }

  .hero-clean .hero-actions {
    gap: 8px !important;
  }

  .hero-clean .hero-actions .btn,
  .hero-v2 .hero-actions .btn {
    font-size: .62rem !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* ================================================================
   FINAL TAB + MOBILE HERO POSITION FIX
   Keeps the same approved doctor background and moves the text/buttons
   lower like the reference mockup.
   ================================================================ */
@media (max-width: 991.98px) {
  .hero.hero-v2.hero-clean {
    height: 100vh !important;
    min-height: 720px !important;
  }

  .hero-text-col {
    align-items: flex-end !important;
    justify-content: center !important;
  }

  .hero-clean .hero-clean-content {
    transform: none !important;
    padding-bottom: 72px !important;
  }
}

@media (min-width:576px) and (max-width:991.98px) {
  .hero-clean .hero-clean-content {
    padding-bottom: 78px !important;
  }
}

@media (max-width:575.98px) {
  .hero.hero-v2.hero-clean {
    height: 100vh !important;
    min-height: 100vh !important;
  }

  .hero-text-col {
    min-height: calc(100vh - 68px) !important;
    align-items: flex-end !important;
  }

  .hero-clean .hero-clean-content {
    transform: none !important;
    padding-bottom: 34px !important;
  }

  .hero-v2 .hero-title {
    margin-bottom: 16px !important;
  }

  .hero-clean .hero-info-card {
    margin-top: 16px !important;
  }

  .hero-clean .hero-actions,
  .hero-v2 .hero-actions,
  .hero-actions {
    margin-top: 20px !important;
  }
}

@media (max-width:380px) {
  .hero-clean .hero-clean-content {
    transform: none !important;
    padding-bottom: 28px !important;
  }
}


/* Mobile hero final tweaks */
@media (max-width: 768px) {

  .hero-subtitle,
  .hero p.hero-subtitle {
    font-size: 15px !important;
    line-height: 1.5 !important;
    max-width: 320px !important;
    margin: 16px auto 0 !important;
  }

  .hero-buttons .btn,
  .hero .btn,
  .hero-buttons a {
    font-size: 14px !important;
    padding: 12px 22px !important;
  }
}

/* =====================================================================
   CLIENT REVISION ROUND â€” logo, curved auto-hide navbar, hero copy,
   about video + moto, impact strip, doctors, program cards, Modi card
   ===================================================================== */

/* Kill the giant ghost "CADF" watermark on the hero */
.hero-clean.hero-v2:before,
.hero-v2:before,
.hero:before {
  content: none !important;
}

/* ---- New logo mark ---- */
.brand-v2 {
  display: flex;
  align-items: center;
  gap: 12px
}

.logo-mark-v2 {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--red) !important;
  background: #fff;
  border: 2px solid var(--red);
  box-shadow: 0 6px 16px rgba(215, 25, 45, .18);
  transition: transform .3s ease
}

.navbar-brand:hover .logo-mark-v2 {
  transform: rotate(-6deg) scale(1.06)
}

.brand-text-v2 strong {
  color: var(--red) !important;
  font-weight: 800;
  letter-spacing: .01em;
  display: flex;
  align-items: baseline;
  gap: 5px;
  text-shadow: 0 1px 4px rgba(255, 255, 255, .55), 0 1px 8px rgba(255, 255, 255, .35)
}

.brand-text-v2 .brand-accent {
  color: var(--navy);
  font-weight: 700;
  font-size: .62em;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(255, 255, 255, .55)
}

.main-nav.nav-scrolled .brand-text-v2 strong {
  color: var(--red) !important;
  text-shadow: none
}

.main-nav.nav-scrolled .brand-text-v2 .brand-accent {
  text-shadow: none
}

.main-nav .brand-text-v2 strong {
  color: var(--red) !important
}

/* ---- Curved navbar styles aligned to the site container ---- */
.main-nav {
  position: fixed !important;
  top: 16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(1380px, calc(100% - 80px)) !important;
  max-width: 1380px !important;
  z-index: 1100 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, .30) !important;
  background: rgba(255, 255, 255, .15) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  box-shadow: 0 18px 40px rgba(8, 42, 79, .12) !important;
}

.main-nav.nav-scrolled {
  border-radius: 999px !important;
  border-color: rgba(8, 42, 79, .12) !important;
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  top: 16px !important;
}

.main-nav .site-container {
  max-width: 1400px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.main-nav .navbar-nav {
  margin-left: auto !important;
  align-items: center !important;
  gap: 1.25rem !important;
}

.main-nav .navbar-collapse {
  justify-content: flex-end !important;
}

.main-nav .navbar-toggler {
  padding: .35rem .8rem !important;
}

.main-nav.nav-hidden {
  transform: translateX(-50%) !important
}

@media(max-width:991px) {
  .main-nav {
    position: fixed !important;
    top: 8px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    border-radius: 28px !important;
    transform: none !important;
  }

  .main-nav.nav-scrolled {
    top: 8px !important;
  }
}

body {
  padding-top: 0
}

.hero-clean .hero-title {
  font-size: clamp(2.6rem, 4.2vw, 3.6rem) !important;
  letter-spacing: -.01em
}

.hero-doctor-line {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.18rem !important;
  color: #fff !important;
  opacity: .95;
  margin-top: 10px;
  margin-bottom: 48px
}

.hero-doctor-quals {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
  margin-top: 4px;
  letter-spacing: .02em
}

.hero-typewriter-line {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--red) !important;
  background: rgba(255, 255, 255, .94) !important;
  min-height: 1.6em
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--red);
  margin-left: 3px;
  animation: blinkCursor .8s step-end infinite;
  vertical-align: -.15em
}

@keyframes blinkCursor {
  50% {
    opacity: 0
  }
}

/* ---- Attractive section titles (all pages) ---- */
.section-title {
  font-size: clamp(2rem, 3.4vw, 2.85rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.01em
}

.about-title-animated {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #111 25%, var(--red) 100%);
  background-size: 100% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important
}

/* ---- About: innovative paragraph treatment ---- */
.about-text-innovative {
  position: relative;
  padding-left: 0 !important;
  border-left: none !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-align: left !important
}

.about-quote-icon {
  font-size: 2.4rem;
  color: rgba(215, 25, 45, .25);
  display: block;
  margin-bottom: 6px
}

/* ---- About: video + moto (replaces right-side image) ---- */
.about-video-wrap {
  max-width: 520px;
  margin-left: auto
}

.about-moto {
  margin-bottom: 16px
}

.about-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(8, 42, 79, .18);
  border: 1px solid var(--line);
  background: #000
}

.about-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

@media(max-width:991px) {
  .about-video-wrap {
    max-width: 100%;
    margin: auto
  }
}

/* ---- Compact attractive impact strip (moved from removed #impact section) ---- */
.impact-strip {
  display: block;
  background: rgba(219, 233, 247, 0.45) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border-top: 1px solid rgba(8, 42, 79, 0.08) !important;
  border-bottom: 1px solid rgba(8, 42, 79, 0.08) !important;
  border-radius: 0 !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 48px 0 !important;
  box-shadow: none !important;
}

.impact-strip-item {
  flex: 1 1 220px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--navy) !important;
  padding: 30px 20px;
  position: relative;
  background: #fff !important;
  border-radius: 22px !important;
  box-shadow: 0 16px 36px rgba(8, 42, 79, 0.12) !important;
  border: 1px solid var(--line) !important;
  transition: transform .3s ease, box-shadow .3s ease;
}

.impact-strip-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(8, 42, 79, 0.18) !important;
}

.impact-strip-item:not(:last-child):after {
  content: none !important;
}

.impact-strip-item i {
  font-size: 1.9rem !important;
  color: var(--red);
  margin-bottom: 10px;
}

.impact-strip-item span {
  font-size: 1.15rem !important;
  color: var(--navy) !important;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.impact-strip-item b {
  font-size: 2.2rem !important;
  font-weight: 500;
  line-height: 1;
  color: var(--navy) !important;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

@media(max-width:575px) {
  .impact-strip {
    gap: 14px;
    padding: 24px 0 !important;
  }

  .impact-strip-item {
    flex: 1 1 42%;
    padding: 22px 14px;
  }

  .impact-strip-item b {
    font-size: 1.6rem !important;
    font-weight: 500;
  }

  .impact-strip-item i {
    font-size: 1.25rem !important;
  }

  .impact-strip-item span {
    font-size: 0.95rem !important;
    font-weight: 700;
  }
}

/* ---- Program cards: remove number badge + corner half-circle design ---- */
.program-box:before {
  display: none !important;
  content: none !important
}

.program-box span {
  display: none !important
}

.program-box h5 {
  text-align: center !important
}

/* ---- Doctors: qualification line + tidier images (keep full image, no crop) ---- */
.doctor-info {
  text-align: center !important
}

.doctor-info h5 {
  margin-bottom: 4px !important;
  text-align: center !important
}

.doctor-quals {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .01em;
  line-height: 1.5;
  margin-bottom: 8px;
  text-align: center !important
}

.doctor-info p {
  text-align: center !important
}

.doctor-image {
  border-radius: 20px !important;
  box-shadow: 0 14px 30px rgba(8, 42, 79, .14);
  border: 1px solid var(--line);
  aspect-ratio: auto !important;
  overflow: hidden;
  height: 280px !important;
  padding: 0 !important;
  display: block !important;
  background: #f8fbff
}

.doctor-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  transition: transform .4s ease
}

.doctor-profile:hover .doctor-image img {
  transform: scale(1.045)
}

/* ---- Modi / Kamath news highlight card ---- */
.modi-news-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(8, 42, 79, .14);
  overflow: hidden;
  opacity: 0;
  transform: translateY(26px);
  animation: modiCardIn .8s ease forwards .15s
}

@keyframes modiCardIn {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.modi-news-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-bottom-right-radius: 16px
}

.modi-news-body {
  display: flex;
  gap: 26px;
  padding: 8px 28px 28px;
  align-items: flex-start
}

.modi-news-image {
  position: relative;
  flex: 0 0 190px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(8, 42, 79, .2)
}

.modi-news-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block
}

.modi-news-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(8, 42, 79, .92), transparent);
  color: #fff;
  font-weight: 700;
  font-size: .86rem;
  padding: 22px 12px 10px;
  text-align: center
}

.modi-news-name small {
  display: block;
  font-weight: 500;
  font-size: .7rem;
  color: rgba(255, 255, 255, .78);
  margin-top: 2px
}

.modi-news-text p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px
}

.modi-news-quote {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
  border-left: 3px solid var(--red);
  padding-left: 14px;
  margin-top: 14px !important
}

.modi-news-quote span {
  display: block;
  font-weight: 500;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 4px
}

@media(max-width:767px) {
  .modi-news-body {
    flex-direction: column;
    padding: 6px 18px 22px
  }

  .modi-news-image {
    flex: 0 0 auto;
    width: 100%
  }

  .modi-news-image img {
    height: 200px
  }
}

/* =====================================================================
   ROUND 2 CLIENT REVISIONS
   ===================================================================== */

/* ---- Hero: fix title overlap, split into exactly 2 lines, smaller size, split-in animation ---- */
.hero-clean .hero-title.split-title-v2 {
  font-size: clamp(2.1rem, 3.4vw, 3.05rem) !important;
  line-height: 1.2 !important;
  display: flex;
  flex-direction: column;
  max-width: 640px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.split-title-v2 .title-left,
.split-title-v2 .title-right {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: splitLineIn .7s cubic-bezier(.2, .8, .2, 1) forwards;
}

.split-title-v2 .title-left {
  animation-delay: .15s
}

.split-title-v2 .title-right {
  animation-delay: .4s
}

@keyframes splitLineIn {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media(max-width:767px) {
  .hero-clean .hero-title.split-title-v2 {
    font-size: clamp(1.05rem, 5.6vw, 1.9rem) !important;
    max-width: 100%;
    letter-spacing: -.015em !important
  }
}

@media(max-width:480px) {
  .hero-clean .hero-title.split-title-v2 {
    font-size: clamp(0.92rem, 5vw, 1.3rem) !important
  }
}

@media(max-width:380px) {
  .hero-clean .hero-title.split-title-v2 {
    font-size: clamp(0.82rem, 4.7vw, 1.15rem) !important
  }
}

/* ---- Hero typing donate line: remove button look, keep plain animated text ---- */
.hero-typewriter-line {
  display: inline-flex;
  align-items: center;
  min-height: 1.6em;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffd7db !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 14px !important;
}

/* ---- Logo image ---- */
.logo-mark-img {
  background: #fff;
  padding: 6px
}

.logo-mark-img img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

/* ---- About: bigger page titles + gradient subtitle headline ---- */
.about .section-title,
#about .section-title {
  font-size: clamp(2.2rem, 3.7vw, 3.1rem) !important
}

.about-subtitle-headline {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem) !important;
  font-weight: 700 !important;
  max-width: 640px;
  margin: 10px auto 0;
}

.about-subtitle-headline.about-title-animated {
  -webkit-text-fill-color: transparent
}

/* ---- SUVARNA KARNATAKA line: make it more attractive ---- */
.about-moto {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: var(--red) !important;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 18px !important;
}

.about-moto:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--navy));
}

.about-moto span {
  display: block;
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: 0;
  color: var(--muted) !important;
  margin-top: 8px
}

/* ---- Impact strip: icon entrance animation (counting handled by JS) ---- */
.impact-strip-item i {
  animation: impactIconPulse 2.6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .15s);
}

.impact-strip-item:nth-child(1) i {
  --i: 0
}

.impact-strip-item:nth-child(2) i {
  --i: 1
}

.impact-strip-item:nth-child(3) i {
  --i: 2
}

.impact-strip-item:nth-child(4) i {
  --i: 3
}

@keyframes impactIconPulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.18)
  }
}

/* ---- Success stories: tidy up spacing now that testimonials are removed ---- */
#stories .modi-news-card {
  margin-bottom: 0
}

/* ---- CTA band: make it smaller/more compact ---- */
.cta-band {
  padding: 38px 0 !important
}

.cta-band h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem) !important
}

.cta-band p {
  font-size: .95rem !important
}

.cta-band .btn {
  padding: 10px 26px !important;
  font-size: .92rem !important
}


/* =====================================================================
   ROUND 4 CLIENT REVISIONS â€” flowing curved crusade path (no tags)
   ===================================================================== */
.crusade-section {
  background: linear-gradient(160deg, var(--blue), var(--navy))
}

.crusade-section .section-title {
  color: var(--navy) !important
}

.crusade-section .section-title.story-title-nowrap {
  color: var(--navy) !important
}

.crusade-track {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 10px 0
}

.crusade-svg {
  display: none !important
}

.crusade-track:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 2.6px dotted rgba(255, 255, 255, .55);
  transform: translateX(-50%);
  z-index: 0;
}

.crusade-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 46px 1fr;
  align-items: center;
  min-height: 60px;
  margin-bottom: 34px;
  z-index: 1;
}

.crusade-row.row-left {
  grid-template-columns: 1fr 46px 1.22fr
}

.crusade-row.row-right {
  grid-template-columns: 1.22fr 46px 1fr
}

.crusade-node {
  grid-column: 2;
  display: none;
}

.crusade-node span {
  display: none
}

.crusade-card {
  position: relative;
  background: linear-gradient(155deg, #0e2036, #132a45);
  color: #fff;
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: 0 16px 34px rgba(8, 42, 79, .18);
  border: 1px solid rgba(215, 25, 45, .18);
}

.crusade-row.row-left {
  grid-template-areas: "card node spacer"
}

.crusade-row.row-right {
  grid-template-areas: "spacer node card"
}

.crusade-row.row-left .crusade-card {
  grid-column: 1
}

.crusade-row.row-right .crusade-card {
  grid-column: 3
}

.crusade-spacer {
  grid-column: 3
}

.crusade-row.row-right .crusade-spacer {
  grid-column: 1
}

.crusade-card p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: .95rem;
  line-height: 1.7
}

.crusade-row.row-left .crusade-card {
  margin-right: 14px
}

.crusade-row.row-right .crusade-card {
  margin-left: 14px
}

/* Our Story: one-by-one card reveal while scrolling (sequenced via JS transition-delay) */
#crusadeTrack .crusade-row.reveal {
  transform: translateY(46px) scale(.96);
  transition: opacity .85s cubic-bezier(.16, 1, .3, 1), transform .85s cubic-bezier(.16, 1, .3, 1) !important;
}

#crusadeTrack .crusade-row.reveal.show {
  transform: none;
}

@media(max-width:767px) {
  .crusade-svg {
    display: none
  }

  .crusade-track:before {
    left: 20px;
    transform: none;
    border-left: 2.6px dotted rgba(255, 255, 255, .55);
  }

  .crusade-row,
  .crusade-row.row-left,
  .crusade-row.row-right {
    grid-template-columns: 40px 1fr !important;
    grid-template-areas: "node card" !important;
    margin-bottom: 22px;
  }

  .crusade-node {
    display: none
  }

  .crusade-row.row-left .crusade-card,
  .crusade-row.row-right .crusade-card {
    grid-column: 2;
    margin-left: 14px;
    margin-right: 0;
  }

  .crusade-spacer {
    display: none
  }
}

/* =====================================================================
   ROUND 5 CLIENT REVISIONS â€” Corrections doc (this round)
   Page 1: nav visibility/cleanup, hero image + copy fixes, hero buttons
   Page 2: headline sizing, video, vision & mission single-card, What We
   Do simplification, new SUVARNA KARNATAKA slogan strip
   ===================================================================== */

/* ---- NAV: transparent background; text-shadow keeps links readable pre-scroll ---- */
.main-nav {
  background: transparent !important;
}

.main-nav .nav-link {
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55), 0 1px 10px rgba(0, 0, 0, .35);
}

.main-nav.nav-scrolled .nav-link {
  text-shadow: none;
}

.main-nav .navbar-nav {
  align-items: center !important;
}

.main-nav .nav-item {
  display: flex;
  align-items: center;
}

.main-nav .site-container {
  padding-top: 1em;
  padding-bottom: 1em;
}

/* ---- NAV: Donate button removed from HTML; Volunteer is now solid red ---- */
.btn-volunteer-solid,
.main-nav .btn-volunteer-solid,
.main-nav.nav-scrolled .btn-volunteer-solid {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
  font-weight: 800 !important;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease !important;
}

.btn-volunteer-solid:hover {
  background: #ae1020 !important;
  border-color: #ae1020 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(215, 25, 45, .32);
}

@media(max-width:991px) {
  .main-nav .navbar-collapse .btn-volunteer-solid {
    color: #fff !important;
    background: var(--red) !important;
    border-color: var(--red) !important;
    width: 100%;
    text-align: center;
  }
}

/* ---- HERO: bring the background image down so the head clears the navbar ---- */
.hero-hospital-bg {
  background-position: center 34% !important;
}

@media(min-width:576px) and (max-width:991px) {
  .hero-hospital-bg {
    background-position: 78% 16% !important;
  }
}

@media(max-width:575px) {
  .hero-mobile-visual {
    background-position: center 20% !important;
  }
}

/* ---- HERO: title â€” slightly smaller, evenly justified, same pattern on both lines ---- */
.hero-clean .hero-title.split-title-v2 {
  font-size: clamp(1.85rem, 3.05vw, 2.7rem) !important;
  line-height: 1.22 !important;
  text-align: left !important;
}

.split-title-v2 .title-left,
.split-title-v2 .title-right {
  text-align: left !important;
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
}

@media(max-width:767px) {
  .hero-clean .hero-title.split-title-v2 {
    font-size: clamp(1rem, 5vw, 1.7rem) !important;
    text-align: center !important;
  }

  .split-title-v2 .title-left,
  .split-title-v2 .title-right {
    text-align: center !important;
    white-space: nowrap;
  }
}

/* ---- HERO: "Dr. Padmanabha Kamath" line â€” bigger and matched with quals ---- */
.hero-doctor-line {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
  text-align: left !important;
  max-width: 520px;
  margin-left: 0;
  margin-right: auto;
}

.hero-doctor-quals {
  display: block;
  font-size: 1.3rem !important;
  font-weight: 500;
  margin-top: 4px;
  opacity: .92;
  text-align: left !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

@media(max-width:991px) {
  .hero-doctor-line {
    margin-left: 0;
    margin-right: auto;
  }
}

@media(max-width:767px) {

  .hero-doctor-line,
  .hero-doctor-quals {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }
}

@media(max-width:575px) {
  .hero-doctor-line {
    font-size: 1.4rem !important;
  }

  .hero-doctor-quals {
    font-size: 1.1rem !important;
    margin-top: 2px;
  }
}

/* ---- ABOUT: eyebrow â€” slightly larger / more attractive ---- */
#about .eyebrow {
  font-size: 1.15rem !important;
  letter-spacing: .12em !important;
}

/* ---- ABOUT: main title â€” slightly larger, solid readable color (no gradient clip,
   which rendered as broken/invisible text on some browsers) ---- */
.about .section-title,
#about .section-title {
  font-size: clamp(2.15rem, 3.7vw, 3.05rem) !important;
}

#about h2.section-title.about-title-animated {
  background: none !important;
  -webkit-text-fill-color: var(--navy) !important;
  color: var(--navy) !important;
}

#about .section-heading h2.section-title {
  color: var(--navy) !important;
}

#about .section-heading>p.text-muted {
  color: var(--red) !important;
  opacity: 1 !important;
}

/* ---- ABOUT: subtitle line â€” single line, smaller, solid black (no gradient), no overlap ---- */
#about .about-subtitle-headline.about-title-animated {
  background: none !important;
  -webkit-text-fill-color: #171717 !important;
  color: #171717 !important;
  font-weight: 600 !important;
  font-size: clamp(.92rem, 1.3vw, 1.1rem) !important;
  white-space: nowrap !important;
  margin-top: 8px !important;
}

@media(max-width:767px) {
  #about .about-subtitle-headline.about-title-animated {
    white-space: normal !important;
    font-size: .92rem !important;
    padding: 0 10px;
  }
}

/* ---- ABOUT: video â€” bigger, with clearance so it never overlaps the text column ---- */
.about-video-wrap {
  max-width: 100% !important;
  width: 100%;
  margin-top: 8px;
}

.about-video {
  border-radius: 26px !important;
}

@media(max-width:991px) {
  .about-video-wrap {
    max-width: 100% !important;
    margin-top: 24px;
  }
}

/* ---- VISION & MISSION: separate professional cards ---- */
.vision-mission-row {
  max-width: 900px !important;
  margin: 40px auto 0 !important;
}

.vm-card-new {
  background: #ffffff;
  border: 1px solid rgba(8, 42, 79, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(8, 42, 79, 0.08);
  padding: 44px 34px 36px;
  height: 100%;
  position: relative;
  margin-top: 24px;
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
}

.vm-card-new:hover {
  box-shadow: 0 22px 54px rgba(8, 42, 79, 0.14);
  transform: translateY(-5px);
  border-color: transparent;
}

.vm-card-new .vm-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: -50px;
  margin-bottom: 18px;
  position: relative;
  z-index: 3;
}

.vm-card-new .vm-wide-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f8fbff;
  border: 2px solid var(--red);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: 0 16px 30px rgba(8, 42, 79, 0.18);
  transform: translateY(-8px);
  margin-top: -6px;
  position: relative;
  z-index: 4;
  transition: background 0.35s ease, transform 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.vm-card-new .vm-wide-icon i {
  font-size: 1.5rem;
  color: var(--red);
  transition: color 0.35s ease;
}

.vm-card-new:hover .vm-wide-icon {
  background: var(--red);
  transform: translateY(-8px) scale(1.2);
  border-color: var(--red);
}

.vm-card-new:hover .vm-wide-icon i {
  color: #fff;
}

.vm-card-new h5 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
}

.vm-card-new p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--muted);
  text-align: justify;
}

@media(max-width:767px) {
  .vm-card-new {
    padding: 38px 24px 28px;
  }

  .vm-card-new .vm-card-header {
    margin-top: -40px;
  }

  .vm-card-new .vm-wide-icon {
    width: 50px;
    height: 50px;
  }

  .vm-card-new .vm-wide-icon i {
    font-size: 1.2rem;
  }
}

/* ---- WHAT WE DO: heading only, no subtitle, tight spacing ---- */
#programs .section-heading {
  max-width: 1000px;
  margin: 0 auto 6px !important;
}

#programs .section-heading .eyebrow {
  margin-bottom: 0 !important;
}

/* ---- SUVARNA KARNATAKA visual banner with animated image stripe ---- */
.slogan-strip {
  margin: 64px 0;
  padding: 0;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden !important;
}

.slogan-strip-inner {
  position: relative;
  width: 100%;
  min-height: 320px;
  border-radius: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  background: #0d2948 !important;
  isolation: isolate;
  box-shadow: none !important;
}

.slogan-strip-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px) scale(1.02);
  transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1);
}

.slogan-strip-inner.reveal.show .slogan-strip-visual {
  opacity: 1;
  transform: none;
}

.slogan-strip-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  animation: stripImagePan 10s ease-in-out infinite alternate;
}

.slogan-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 42, 79, .82) 0%, rgba(8, 42, 79, .38) 55%, rgba(8, 42, 79, .72) 100%);
  pointer-events: none;
}

.slogan-strip-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 540px;
  padding: 56px 24px 56px max(24px, calc((100vw - 1140px)/2));
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  animation: stripTextRise .85s .15s ease-out forwards;
}

.slogan-strip-kicker {
  display: inline-block;
  width: max-content;
  padding: 4px 8px 4px 4px;
  margin-bottom: 4px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
}

.slogan-strip-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.slogan-strip-copy p {
  margin: 12px 0 0;
  max-width: 430px;
  font-size: clamp(.95rem, 1.25vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
}

@keyframes stripImagePan {
  to {
    transform: scale(1.1) translateX(6px)
  }
}

@keyframes stripTextRise {
  to {
    opacity: 1;
    transform: none
  }
}

@media(max-width:991px) {
  .slogan-strip-inner {
    min-height: 290px;
  }

  .slogan-strip-copy {
    padding: 40px 24px 40px 44px;
    max-width: 480px;
  }
}

@media(max-width:767px) {
  .slogan-strip {
    margin: 44px 0 !important;
  }

  .slogan-strip-inner {
    min-height: auto;
  }

  .slogan-strip-copy {
    padding: 28px 22px 32px !important;
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .slogan-strip-copy p {
    max-width: 100%;
  }
}

/* ---- Doctors: bigger name/designation on the 1st (featured) doctor card ---- */
.doctor-featured .doctor-info h5 {
  font-size: 1.25rem !important;
  /* ~20px, up from 16px */
}

.doctor-featured .doctor-quals {
  font-size: 1.05rem !important;
  /* ~16.8px, up from ~13px, still smaller than the name */
}

@media(max-width:575px) {
  .doctor-featured .doctor-info h5 {
    font-size: 1.15rem !important;
  }

  .doctor-featured .doctor-quals {
    font-size: .95rem !important;
  }
}

/* Custom Typography Overrides */
.section-title {
  font-size: clamp(2.8rem, 5.5vw, 4.6rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
}

.section-heading p,
.section-heading .text-muted,
.about-subtitle-headline {
  font-size: clamp(0.88rem, 1.25vw, 1.05rem) !important;
  color: var(--muted) !important;
  margin-top: 8px !important;
  font-weight: 500 !important;
}

.hero-v2 .hero-doctor-quals {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem) !important;
  font-weight: 500;
  opacity: 0.9;
  display: inline-block;
  margin-left: 0;
}

@media (max-width: 575px) {
  .section-title {
    font-size: 2.8rem !important;
  }

  .hero-v2 .hero-doctor-line {
    font-size: 1.4rem !important;
  }

  .hero-v2 .hero-doctor-quals {
    font-size: 1.1rem !important;
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }
}

/* Zoom background to push doctor's head down naturally without leaving a top gap */
.hero-hospital-bg {
  background-position: center top !important;
  background-size: 155% auto !important;
}

@media (max-width: 1199px) {
  .hero-hospital-bg {
    background-size: 165% auto !important;
  }
}

@media (max-width: 991px) {
  .hero-hospital-bg {
    background-size: cover !important;
  }
}

/* Glassy Dropdown Styles */
.glassy-dropdown {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(8, 42, 79, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(8, 42, 79, 0.12) !important;
  padding: 8px 0 !important;
  margin-top: 10px !important;
}

.main-nav .dropdown {
  position: relative;
}

.main-nav .dropdown-menu {
  border: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(8, 42, 79, 0.12);
  border-radius: 12px;
  position: absolute !important;
  top: 100% !important;
  z-index: 1050 !important;
}

.dropdown-item {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy) !important;
  padding: 8px 20px;
  transition: all 0.25s ease;
}

.dropdown-item:hover {
  background: var(--blue-soft) !important;
  color: var(--blue) !important;
}

.main-nav .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.355em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.3s ease;
}

.main-nav .dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Hover dropdown behavior on desktop */
@media (min-width: 992px) {
  .main-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0 !important;
  }
}

/* ---- Detailed Footer Redesign ---- */
.footer-new {
  background: #dbe9f7 !important;
  color: var(--navy) !important;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, .65);
  position: relative;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.footer-new::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: #b7d9f2;
}

.footer-new .footer-logo {
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(8, 42, 79, 0.08);
  padding: 4px;
}

.footer-new .footer-text {
  line-height: 1.7;
  color: var(--muted);
}

.footer-new .footer-contact {
  color: var(--navy);
  font-weight: 500;
}

.footer-new .footer-heading {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-new .footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--red);
}

.footer-new .footer-links {
  margin-top: 10px;
}

.footer-new .footer-links li {
  padding: 6px 0;
}

.footer-new .footer-links a {
  color: var(--muted) !important;
  font-weight: 600;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-new .footer-links a i {
  font-size: 0.75rem;
  color: var(--red);
  transition: transform 0.25s ease;
}

.footer-new .footer-links a:hover {
  color: var(--red) !important;
  padding-left: 5px;
}

.footer-new .footer-links a:hover i {
  transform: translateX(3px);
}

.footer-new .btn-donate-new {
  font-weight: 800;
  color: var(--red) !important;
  border-color: var(--red) !important;
  background: transparent !important;
  transition: all 0.25s ease;
}

.footer-new .btn-donate-new:hover {
  background: var(--red) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(215, 25, 45, 0.25);
}

.footer-new .footer-bottom-bar {
  background: transparent !important;
  border-top: 1px solid rgba(56, 102, 156, 0.18);
  color: var(--navy) !important;
  font-size: 0.88rem;
  font-weight: 600;
  width: calc(100% - 4cm);
  margin: 0 2cm;
  padding-top: 18px !important;
  padding-bottom: 0 !important;
}

.footer-new .footer-bottom-bar p {
  color: var(--navy) !important;
  margin-bottom: 0 !important;
  width: 100%;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .footer-new .footer-bottom-bar .site-container {
    gap: 8px !important;
  }

  .footer-new .footer-bottom-bar p {
    white-space: normal !important;
    display: block !important;
  }
}

.footer-new .footer-designer-link {
  color: var(--blue) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.footer-new .footer-designer-link:hover {
  color: var(--red) !important;
}

/* About Section Heading Restructuring */
.eyebrow-large {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  text-transform: uppercase !important;
  color: var(--navy) !important;
  margin-bottom: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.eyebrow-large::before {
  width: 28px !important;
  height: 3px !important;
  background: var(--red) !important;
}

.about-minimized-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
  font-weight: 700 !important;
  color: var(--blue) !important;
  margin-top: 12px !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.about-subtitle-headline {
  font-size: clamp(0.92rem, 1.3vw, 1.15rem) !important;
  color: var(--muted) !important;
  font-weight: 600 !important;
  display: block !important;
  margin-top: 6px !important;
  white-space: normal !important;
}

/* =====================================================================
   CADF FINAL UI/UX OPTIMIZATION & ALIGNMENT
   ===================================================================== */

/* Global Section Spacing & Heading Centering */
.section-space {
  padding: 32px 0 !important;
}

@media (max-width: 991.98px) {
  .section-space {
    padding: 32px 0 !important;
  }
}

@media (max-width: 575.98px) {
  .section-space {
    padding: 32px 0 !important;
  }
}

/* Enforce center alignment globally on section headings and titles */
.section-heading {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto 36px !important;
  text-align: center !important;
}

.section-heading .section-title {
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
  text-align: center !important;
  font-size: clamp(2rem, 3.8vw, 2.8rem) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  display: block !important;
  letter-spacing: -0.02em !important;
  line-height: 1.22 !important;
}

.section-heading p,
.section-heading .text-muted,
.about-subtitle-headline {
  text-align: center !important;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem) !important;
  color: var(--muted) !important;
  font-weight: 500 !important;
  display: block !important;
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  white-space: normal !important;
  max-width: 740px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Remove eyebrow page titles */
.eyebrow,
.eyebrow-large {
  display: none !important;
}

/* About Section CSS Grid Layout */
.about-grid {
  display: grid;
  grid-template-columns: minmax(350px, 1.05fr) minmax(320px, 0.95fr);
  grid-template-rows: auto auto;
  gap: 32px;
  align-items: stretch;
  margin-top: 24px;
}

.about-paragraph {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 8px;
}

.about-paragraph p {
  text-align: justify !important;
  text-justify: inter-word !important;
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-video-wrap {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.about-video {
  width: 100%;
  max-width: 100%;
  flex: 1 1 0;
  min-height: 0;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.vision-card {
  grid-column: 1;
  grid-row: 2;
}

.mission-card {
  grid-column: 2;
  grid-row: 2;
}

.vm-card-new {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 991.98px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-paragraph,
  .about-video-wrap,
  .vision-card,
  .mission-card {
    grid-column: auto;
    grid-row: auto;
  }

  .about-video-wrap {
    align-items: stretch;
    margin-left: 0;
  }
}

/* Statistics/Impact Section Layout */
.impact-strip {
  display: block !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 48px 0 !important;
  background: rgba(219, 233, 247, 0.45) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border-top: 1px solid rgba(8, 42, 79, 0.08) !important;
  border-bottom: 1px solid rgba(8, 42, 79, 0.08) !important;
}

.impact-header {
  max-width: 800px;
  margin: 0 auto 24px auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.impact-title {
  color: var(--navy);
  font-weight: 800;
  font-size: clamp(2.2rem, 3.7vw, 3.1rem) !important;
  white-space: nowrap !important;
  margin-bottom: 8px;
}

.impact-subtitle {
  color: var(--muted) !important;
  font-size: 1rem;
  line-height: 1.6;
}

.impact-items-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  justify-content: space-between;
}

/* Slogan Strip Layout with absolute integrated image */
.slogan-strip {
  margin: 64px 0;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden !important;
}

.slogan-strip-inner {
  position: relative !important;
  width: 100%;
  min-height: 340px;
  background: linear-gradient(120deg, rgba(235, 247, 255, .96), rgba(205, 230, 250, .92)) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border-top: 1px solid rgba(8, 42, 79, 0.08) !important;
  border-bottom: 1px solid rgba(8, 42, 79, 0.08) !important;
  display: block !important;
  overflow: hidden !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.slogan-strip-content {
  position: relative;
  z-index: 3;
  padding: 56px 24px 56px max(24px, calc((100vw - 1140px)/2)) !important;
  max-width: 60% !important;
  min-width: 0;
}

.slogan-line-1 {
  white-space: nowrap !important;
  font-size: clamp(1.4rem, 2.3vw, 2.2rem) !important;
  font-weight: 900 !important;
  color: var(--navy) !important;
}

.slogan-line-2 {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem) !important;
}

.slogan-strip-photo {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 44% !important;
  height: 100% !important;
  z-index: 2 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

.slogan-strip-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 12% !important;
  display: block !important;
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 95%) !important;
  mask-image: linear-gradient(to left, #000 55%, transparent 95%) !important;
}

@media(max-width: 767.98px) {
  .slogan-strip-inner {
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    min-height: auto !important;
  }

  .slogan-strip-content {
    max-width: 100% !important;
    padding: 32px 24px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .slogan-strip-photo {
    position: relative !important;
    width: 100% !important;
    height: 220px !important;
    border-radius: 0 !important;
  }

  .slogan-strip-photo img {
    -webkit-mask-image: linear-gradient(to top, #000 55%, transparent 95%) !important;
    mask-image: linear-gradient(to top, #000 55%, transparent 95%) !important;
  }
}

/* Responsive constraints to prevent text overlap & wrapping for titles */
.section-heading .section-title.about-title-nowrap {
  white-space: nowrap !important;
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
  font-size: clamp(1rem, 2.5vw, 2.8rem) !important;
  text-align: center !important;
}

.section-heading .section-title.story-title-nowrap {
  white-space: nowrap !important;
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
  font-size: clamp(1.2rem, 2.6vw, 2.8rem) !important;
  text-align: center !important;
}

.section-heading .section-title.success-title-nowrap {
  white-space: nowrap !important;
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
  font-size: clamp(0.85rem, 2.4vw, 2.5rem) !important;
  text-align: center !important;
}

.section-heading .section-title.contact-title-nowrap {
  white-space: nowrap !important;
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
  font-size: clamp(0.9rem, 2.3vw, 2.2rem) !important;
  text-align: center !important;
}

/* Tablet & Mobile overrides to prevent text clipping */
@media (max-width: 991.98px) {

  .section-heading .section-title.about-title-nowrap,
  .section-heading .section-title.story-title-nowrap,
  .section-heading .section-title.success-title-nowrap,
  .section-heading .section-title.contact-title-nowrap,
  .impact-title {
    white-space: normal !important;
    /* Allow wrapping on tablet/mobile if needed to avoid overflow */
    font-size: clamp(1.3rem, 4.5vw, 1.85rem) !important;
    line-height: 1.3 !important;
    padding: 0 16px !important;
  }
}

/* Crusade Cards Light Blue Glassmorphism styling */
.crusade-card {
  position: relative;
  background: rgba(219, 233, 247, 0.5) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 18px !important;
  padding: 20px 24px !important;
  box-shadow: 0 12px 28px rgba(8, 42, 79, 0.05) !important;
  border: 1px solid rgba(8, 42, 79, 0.1) !important;
}

.crusade-card p {
  margin: 0 !important;
  color: var(--navy) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
}

/* Premium Rounded Volunteer CTA button in Navbar */
.btn-volunteer-nav {
  background: var(--red, #d7192d) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 4px 12px rgba(215, 25, 45, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-volunteer-nav:hover {
  background: #b51222 !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 16px rgba(215, 25, 45, 0.35) !important;
}

@media (max-width: 991px) {
  .main-nav .navbar-collapse .btn-volunteer-nav {
    width: 100% !important;
    margin-top: 12px !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* Founder Info Hierarchy */
.slogan-author-name {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.010em !important;
  color: var(--navy) !important;
  display: block !important;
  line-height: 1.2 !important;
}

.slogan-author-role {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  margin-top: 2px !important;
  line-height: 1.2 !important;
  display: block !important;
}

/* =====================================================================
   ROUND 5 CLIENT REVISIONS â€” "Suvarna Karnataka" strip restyled to match
   the supplied reference: taller airy banner, bigger uncropped headline,
   a crisp full doctor photo (no fade cutout), tighter author block.
   Typewriter + reveal-in animations are left exactly as they were.
   ===================================================================== */
.slogan-strip-inner {
  min-height: 580px !important;
  background:
    radial-gradient(ellipse 60% 80% at 82% 60%, rgba(160, 200, 240, .38), rgba(160, 200, 240, 0) 70%),
    linear-gradient(180deg, #eef5fc, #dbeaf8) !important;
}

.slogan-strip-content {
  max-width: 54% !important;
  padding: 48px 24px 48px max(24px, calc((100vw - 1140px) / 2)) !important;
}

.slogan-line-1 {
  white-space: normal !important;
  font-size: clamp(1.7rem, 3.4vw, 3.1rem) !important;
  line-height: 1.16 !important;
  letter-spacing: .01em !important;
}

.slogan-line-2 {
  font-size: clamp(1rem, 1.4vw, 1.2rem) !important;
  line-height: 1.55 !important;
  max-width: 480px;
}

.slogan-strip-divider {
  max-width: 420px !important;
}

.slogan-strip-photo {
  width: 46% !important;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.slogan-strip-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: bottom center !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  filter: drop-shadow(0 18px 30px rgba(8, 42, 79, .18));
}

@media (max-width: 991px) {
  .slogan-strip-inner {
    min-height: 420px !important;
  }

  .slogan-strip-content {
    max-width: 58% !important;
  }
}

@media (max-width: 767.98px) {
  .slogan-strip-inner {
    min-height: auto !important;
  }

  .slogan-strip-content {
    max-width: 100% !important;
  }

  .slogan-strip-photo {
    width: 100% !important;
    height: 260px !important;
  }

  .slogan-strip-photo img {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
}

/* =====================================================================
   ROUND 5 CLIENT REVISIONS â€” "How this mission impossible CRUSADE
   AGAINST CAD was achieved?" restyled as a light, horizontal icon-badge
   timeline to match the supplied reference image. Reuses the existing
   #crusadeTrack .crusade-row.reveal scroll-in animation untouched.
   ===================================================================== */
/* =====================================================================
   RECONSTRUCTED TIMELINE â€” "How this mission impossible CRUSADE
   AGAINST CAD was achieved?" Recreates the 8-box diagram layout with S-curve 
   connectors, proper justification, alignment, and hover animations.
   ===================================================================== */
.crusade-section {
  background: #e8f4fd !important;
}

.timeline-subtitle,
.section-heading .timeline-subtitle {
  color: var(--red) !important;
  font-weight: 600;
  font-size: 1.05rem;
}

.timeline-container {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 40px auto 20px;
  padding: 20px 0;
  z-index: 1;
}

.timeline-grid {
  overflow: visible;
  display: grid;
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.timeline-grid::before {
  display: block !important;
}

.timeline-grid::after,
.timeline-vertical-connector {
  display: none !important;
}

.timeline-grid .tl-zigzag-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.timeline-grid .tl-zigzag-svg path {
  fill: none;
  stroke: rgba(14, 165, 233, 0.55);
  stroke-width: 2.2;
  stroke-dasharray: 6 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-card-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  height: 100%;
}

/* Base horizontal connection lines for desktop */
@media (min-width: 992px) {
  .timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(260px, 1fr));
    gap: 20px 18px;
    position: relative;
    align-items: stretch;
    min-height: 520px;
    height: auto;
  }

  .timeline-card-wrapper {
    display: flex;
    align-items: stretch;
    height: 100%;
  }

  .timeline-card-1 {
    grid-column: 1;
    grid-row: 1;
  }

  .timeline-card-2 {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline-card-3 {
    grid-column: 3;
    grid-row: 1;
  }

  .timeline-card-4 {
    grid-column: 4;
    grid-row: 1;
  }

  .timeline-card-5 {
    grid-column: 1;
    grid-row: 2;
  }

  .timeline-card-6 {
    grid-column: 2;
    grid-row: 2;
  }

  .timeline-card-7 {
    grid-column: 3;
    grid-row: 2;
  }

  .timeline-card-8 {
    grid-column: 4;
    grid-row: 2;
  }

  .timeline-grid::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    border-top: 3px dotted rgba(14, 165, 233, 0.55);
    z-index: 0;
    pointer-events: none;
  }

  .timeline-grid::after,
  .timeline-vertical-connector {
    display: none !important;
  }
}

/* Tablet Layout (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .timeline-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    position: relative;
    min-height: 700px;
  }

  .timeline-grid::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 20px;
    border-left: 3px dotted rgba(14, 165, 233, 0.55);
    transform: translateX(-50%);
    z-index: 0;
  }
}

/* Mobile Layout (max-width: 767.98px) */
@media (max-width: 767.98px) {
  .timeline-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
  }

  .timeline-grid::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 16px;
    bottom: 16px;
    border-left: 3px dotted rgba(14, 165, 233, 0.55);
    transform: translateX(-50%);
    z-index: 0;
  }
}

/* Timeline Card Structure */
.timeline-card-wrapper {
  position: relative;
  z-index: 2;
}

.timeline-card {
  position: relative;
  background: linear-gradient(135deg, #f0f6ff 0%, #dbe9f7 100%) !important;
  border-radius: 18px !important;
  padding: 16px 14px 26px !important;
  box-shadow: 0 8px 24px rgba(8, 42, 79, 0.10) !important;
  border: 1px solid rgba(14, 165, 233, 0.15) !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Dark navy text inside light-blue cards */
.timeline-card-body p {
  color: var(--navy) !important;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Hover enlarge and pop up animation */
.timeline-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 45px rgba(8, 42, 79, 0.16) !important;
  border-color: rgba(14, 165, 233, 0.28) !important;
  z-index: 10;
}

.timeline-header {
  display: flex;
  align-items: center;
  margin-top: -10px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.timeline-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 6px 14px rgba(8, 42, 79, 0.18);
  z-index: 3;
  border: 3.5px solid #fff;
}

.timeline-title-pill {
  padding: 6px 18px 6px 26px;
  margin-left: -20px;
  border-radius: 0 20px 20px 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 2;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(8, 42, 79, 0.08);
}

.timeline-card-body {
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
}

.timeline-card-body p {
  color: var(--navy) !important;
  font-size: 0.82rem !important;
  line-height: 1.6 !important;
  text-align: left;
  margin: 0 !important;
  display: block;
  overflow: visible;
}

.timeline-number {
  display: none !important;
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  border: 3.5px solid;
  box-shadow: 0 5px 10px rgba(8, 42, 79, 0.1);
  z-index: 4;
  transition: all 0.3s ease;
}

/* Active Hover effects on number bubble */
.timeline-card:hover .timeline-number {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 6px 14px rgba(8, 42, 79, 0.18);
}

/* Theme Colors */
.bg-theme-blue {
  background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
}

.bg-theme-red {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

.border-theme-blue {
  border-color: #0ea5e9 !important;
  color: #0ea5e9;
}

.border-theme-red {
  border-color: #ef4444 !important;
  color: #ef4444;
}

.slogan-strip-author {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

@media (max-width: 767.98px) {
  .slogan-strip-author {
    align-items: center !important;
  }
}

/* =====================================================================
   ROUND 7 â€” "Suvarna Karnataka is my dream" restored as real, animated
   text (typewriter headline) over the doctor cutout, per client request,
   sized down slightly from the earlier full-bleed banner and moved to sit
   right after the counting/impact strip.
   ===================================================================== */
.slogan-strip-compact {
  margin-top: 0 !important;
  margin-bottom: 48px !important;
}

.slogan-strip-compact .slogan-strip-inner {
  min-height: 360px !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-top: 1px solid rgba(8, 42, 79, 0.08) !important;
  border-bottom: 1px solid rgba(8, 42, 79, 0.08) !important;
}

.slogan-strip-compact .slogan-strip-content {
  padding: 0px 24px 38px max(24px, calc((100vw - 1280px)/2)) !important;
  max-width: 56% !important;
}

.slogan-strip-compact .slogan-line-1 {
  font-size: clamp(1.4rem, 2.7vw, 2.35rem) !important;
  min-height: 1.3em;
  white-space: nowrap !important;
}

.slogan-strip-compact .slogan-strip-photo {
  width: 42% !important;
}

.slogan-strip-compact .slogan-strip-photo img {
  max-height: 340px;
}

@media(max-width:991px) {
  .slogan-strip-compact .slogan-strip-inner {
    min-height: 320px !important;
  }
}

@media(max-width:767.98px) {
  .slogan-strip-compact .slogan-strip-inner {
    min-height: auto !important;
    border-radius: 0 !important;
    flex-direction: column-reverse !important;
  }

  .slogan-strip-compact .slogan-strip-content {
    max-width: 100% !important;
    padding: 32px 16px !important;
  }

  .slogan-strip-compact .slogan-line-1 {
    white-space: normal !important;
  }

  .slogan-strip-compact .slogan-strip-photo {
    width: 100% !important;
    height: 240px !important;
  }

  .slogan-strip-compact .slogan-strip-photo img {
    max-height: 240px;
  }
}

/* Typewriter headline cursor + fade-in states for the subtitle / divider / author,
   triggered by the existing #sloganTypewriter script once the strip scrolls in. */
.slogan-line-1 .typewriter-cursor {
  background: var(--navy);
}

.slogan-line-2,
.slogan-strip-author {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}

.slogan-line-2.is-in,
.slogan-strip-author.is-in {
  opacity: 1;
  transform: none;
}

.slogan-strip-divider {
  height: 2px;
  width: 100%;
  max-width: 380px;
  background: rgba(8, 42, 79, .22);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity .5s ease, transform .5s ease;
}

.slogan-strip-divider.is-in {
  opacity: 1;
  transform: scaleX(1);
}

/* End of Timeline Styles */

/* Remove dropdown icon and red line under dropdown toggle */
.nav-link.dropdown-toggle::after {
  display: none !important;
}

.nav-link.dropdown-toggle::before {
  display: none !important;
}

/* =====================================================================
   CADF FINAL UI/UX CORRECTIONS & TYPOGRAPHY STANDARDIZATION OVERRIDES
   ===================================================================== */

/* Global Section Spacing & Typography Consistency */
.section-space {
  padding: 32px 0 !important;
  /* Reduced section spacing for a tighter layout */
}

.program-body h5 {
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  font-size: 1.25rem !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  text-align: center !important;
}

.section-title,
.section-heading .section-title,
.section-heading .section-title.about-title-nowrap,
.section-heading .section-title.story-title-nowrap,
.section-heading .section-title.success-title-nowrap,
.section-heading .section-title.contact-title-nowrap,
.about .section-title,
#about .section-title,
.impact-title,
#impact .impact-title {
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
  font-size: clamp(2rem, 3.5vw, 2.7rem) !important;
  /* Standardized uniform font size */
  font-weight: 600 !important;
  /* Reduced heading font thickness to 600 */
  letter-spacing: -0.015em !important;
  line-height: 1.22 !important;
  margin-bottom: 10px !important;
  text-align: center !important;
  color: var(--navy) !important;
  white-space: normal !important;
  /* Prevent text clipping on tablet & mobile */
}

/* Standardize Card Corners, Shadows, and Padding */
.glass-card,
.program-box,
.doctor-profile,
.activity-tile,
.enquiry-form,
.contact-box,
.impact-card,
.testimonial-card,
.about-text-col,
.about-media,
.contact-info-row,
.map-section,
.zigzag-content,
.vm-card,
.hero-info-card,
.about-paragraph,
.about-video-wrap {
  border-radius: 20px !important;
  /* Flat card corners */
  box-shadow: var(--shadow) !important;
  /* Standardized shadow intensity */
}

/* Preserve only the main cards in gallery/news without extra global shaded overrides */
.news-card,
.activity-feature-card,
.activity-mobile-card,
.news-card.news-image-card {
  border-radius: 24px !important;
  box-shadow: var(--shadow) !important;
}

/* Remove background shade between News cards */
#news .news-card,
#news .news-card.news-image-card,
#news .news-card-item,
#news .news-track,
#news .news-viewport {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#news .news-card.news-image-card {
  border-radius: 0 !important;
}

#news .news-card:hover {
  transform: none !important;
}

/* Hero section name line adjustment */
.hero-doctor-line {
  margin-top: 2.2rem !important;
  /* Bring doctor line slightly lower for better alignment */
}

/* About Section Card Styling & Equal Height */
.about-paragraph {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: 100% !important;
  min-height: unset !important;
}

.about-video-wrap {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: 100% !important;
  min-height: unset !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.about-paragraph {
  min-height: unset !important;
  /* let grid control height */
  height: 100% !important;
}

.about-video {
  position: relative !important;
  width: 100% !important;
  height: 0 !important;
  padding-bottom: 56.25% !important;
  /* 16:9 Aspect Ratio */
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow) !important;
  border: 1px solid var(--line) !important;
  background: #000 !important;
}

.about-video iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

/* What We Do section */
#programs .program-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 35px !important;
  justify-content: center !important;
  grid-auto-rows: 1fr !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
}

#programs .program-box {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}

@media (max-width: 1199.98px) {
  #programs .program-grid {
    gap: 32px 32px !important;
  }
}

@media (max-width: 767.98px) {
  #programs .program-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

.program-box {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}

.program-box:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 22px 50px rgba(8, 42, 79, 0.15) !important;
  border-color: rgba(215, 25, 45, 0.25) !important;
}

.program-cover {
  width: 100% !important;
  height: 300px !important;
  flex-shrink: 0 !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .45s ease !important;
}

.program-cover-slider {
  position: relative;
  background: #f8f9fa;
}

.program-cover-slider .slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.program-cover-slider .slide-img.active {
  opacity: 1;
}

.program-box:hover .program-cover {
  transform: scale(1.04) !important;
}

.program-body {
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
}

.program-body h5 {
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  font-size: 1.25rem !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  /* text-align: left !important; */
}

.program-body p {
  color: var(--muted) !important;
  margin: 0 !important;
  font-size: 0.92rem !important;
  line-height: 1.75 !important;
  text-align: justify !important;
}

/* Separator Stripes */
.separator-stripe {
  width: 100% !important;
  height: 6px !important;
  border: 0 !important;
  margin: 0 !important;
}

.stripe-light-blue {
  background-color: var(--blue-soft, #dbe9f7) !important;
}

.stripe-blue {
  background-color: var(--blue, #174e8a) !important;
}

/* Contact Individual Cards */
.contact-cards-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px)) !important;
  gap: 24px !important;
  justify-content: center !important;
  width: 100% !important;
}

.contact-card-item {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
}

.contact-card-item {
  flex: 1 1 220px !important;
  max-width: 300px !important;
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-radius: 24px !important;
  box-shadow: 0 8px 28px rgba(8, 42, 79, 0.08) !important;
  padding: 36px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 12px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.contact-card-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 48px rgba(8, 42, 79, 0.14) !important;
}

.contact-card-icon {
  width: 64px !important;
  height: 64px !important;
  background: linear-gradient(135deg, #eaf2fb, #d0e8f8) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.55rem !important;
  color: var(--blue) !important;
  transition: background 0.3s ease, color 0.3s ease !important;
  margin-bottom: 4px !important;
}

.contact-card-item:hover .contact-card-icon {
  background: var(--blue) !important;
  color: #ffffff !important;
}

.contact-card-label {
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  color: var(--navy) !important;
  letter-spacing: -0.01em !important;
}

.contact-card-value {
  font-family: 'Inter', Arial, sans-serif !important;
  font-size: 1rem !important;
  color: var(--muted) !important;
  line-height: 1.7 !important;
}

.contact-card-value a {
  color: var(--blue) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

.contact-card-value a:hover {
  color: var(--navy) !important;
  text-decoration: underline !important;
}

@media (max-width: 767px) {
  .contact-cards-row {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  .contact-card-item {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Light Blue CTA Stripe */
.cta-band-light {
  background: linear-gradient(135deg, #f3f8ff 0%, #dfeefc 100%) !important;
  padding: 64px 0 !important;
  color: var(--navy) !important;
  border-top: 1px solid rgba(13, 42, 78, 0.08) !important;
  border-bottom: 1px solid rgba(13, 42, 78, 0.08) !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.hero-inline-cta {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
  max-width: 720px !important;
  width: min(100%, 720px) !important;
  text-align: left !important;
}

.hero-inline-cta .hero-inline-cta-card {
  display: block !important;
  width: 100% !important;
  padding: 12px 16px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  box-shadow: 0 10px 20px rgba(13, 42, 78, 0.08) !important;
  backdrop-filter: blur(8px) !important;
}

.hero-inline-cta p {
  margin: 0 !important;
  text-align: left !important;
  color: #fff !important;
  font-size: 0.98rem !important;
  line-height: 1.6 !important;
}

.cta-band-light .site-container {
  position: relative !important;
  z-index: 1 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cta-band-light .row {
  justify-content: center !important;
}

.cta-ecg-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  position: relative !important;
  gap: 10px !important;
}

/* Moving ECG heartbeat watermark â€” decorative background animation */
.cta-band-light::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='90' viewBox='0 0 500 90'%3E%3Cpolyline fill='none' stroke='%230e6394' stroke-opacity='0.12' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' points='0,45 55,45 65,32 75,58 83,14 93,76 103,45 155,45 163,36 171,54 179,45 230,45 240,32 250,58 258,14 268,76 278,45 330,45 338,36 346,54 354,45 405,45 415,32 425,58 433,14 443,76 453,45 500,45'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 500px 100%;
  background-position: 0 center;
  animation: ecgWatermarkScroll 10s linear infinite;
}

@keyframes ecgWatermarkScroll {
  from {
    background-position: 0 center;
  }

  to {
    background-position: -500px center;
  }
}

/* Ensure content stays above watermark */
.cta-band-light .site-container {
  position: relative !important;
  z-index: 1 !important;
}

.cta-band-light .cta-copy {
  max-width: 760px !important;
  margin: 0 auto !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.cta-band-light h2 {
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem) !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin: 0 !important;
  text-align: center !important;
  letter-spacing: -0.015em !important;
  line-height: 1.25 !important;
}

.cta-band-light p {
  font-family: 'Inter', Arial, sans-serif !important;
  font-size: clamp(0.95rem, 1.15vw, 1.08rem) !important;
  color: #3d5572 !important;
  margin: 0 !important;
  text-align: center !important;
  line-height: 1.7 !important;
  max-width: 640px !important;
}

.cta-band-light .btn-cta-light {
  margin-top: 4px !important;
  padding: 12px 26px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(13, 42, 78, 0.12) !important;
}

.cta-band-light .btn-cta-light {
  background-color: var(--blue) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
  border: none !important;
  font-size: 0.95rem !important;
  display: inline-block !important;
  text-decoration: none !important;
}

.cta-band-light .btn-cta-light:hover {
  background-color: var(--navy) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(13, 41, 72, 0.15) !important;
}

/* Doctors Section Image Curved Corners (top side curved, bottom side flat) */
.doctor-image,
.doctor-image img,
.doctor-profile .doctor-image,
.doctor-profile .doctor-image img {
  border-radius: 20px 20px 0 0 !important;
}

/* =====================================================================
   PREMIUM RESPONSIVE TIMELINE â€” clean rebuild
   ===================================================================== */

/* â”€â”€ Section wrapper â”€â”€ */
.tl-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0 26px;
}

/* â”€â”€ Hide mobile on desktop, hide desktop on mobile â”€â”€ */
.tl-mobile {
  display: none;
}

.tl-desktop {
  display: block;
}

/* â”€â”€ Shared card styles â”€â”€ */
.tl-card {
  background: #fff;
  border: 1px solid #d8e9f7;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  transition:
    transform 350ms ease,
    box-shadow 350ms ease,
    border-color 350ms ease,
    background 350ms ease;
  cursor: default;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}


/* Main hover lift + glow */
.tl-card:hover {
  transform: scale(1.05);
  box-shadow:
    0 24px 48px rgba(95, 166, 217, .22),
    0 10px 20px rgba(0, 0, 0, .12);
  border-color: #a8d0f0;
  background: #fafcff;
  z-index: 2;
}

/* Icon color variants */
.tl-blue {
  background: #5fa6d9;
}

.tl-red {
  background: #d9534f;
}

/* Icon: bounce + glow ring on hover */
.tl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.95rem;
  color: #fff;
  transition:
    transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 350ms ease;
  position: relative;
  z-index: 1;
}

.tl-card:hover .tl-icon {
  transform: rotate(-8deg) scale(1.22);
  box-shadow: 0 0 0 5px rgba(95, 166, 217, .25);
}

/* Pill: subtle scale + brightness on hover */
.tl-pill {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0 4px;
  line-height: 1.3;
  transition:
    transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 350ms ease;
  position: relative;
  z-index: 1;
}

.tl-card:hover .tl-pill {
  transform: scale(1.02);
  filter: brightness(1.08);
}

/* Pill color variants */
.tl-pill-blue {
  color: #1a5e8a;
}

.tl-pill-red {
  color: #9a2020;
}

/* â”€â”€ Card header â”€â”€ */
.tl-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}


/* Body text fades to darker on hover */
.tl-body {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  margin: 0;
  flex: 1;
  transition: color 300ms ease;
  position: relative;
  z-index: 1;
}

.tl-card:hover .tl-body {
  color: #333;
}



/* =====================================================================
   DESKTOP LAYOUT (â‰¥768px) â€” horizontal alternating
   ===================================================================== */
@media (min-width: 768px) {

  /* â”€â”€ Top row of cards â”€â”€ */
  .tl-top-row,
  .tl-bottom-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 32px;
  }

  .tl-card-col {
    display: flex;
    flex-direction: column;
    /* top row: cards sit at the bottom of their column */
    justify-content: flex-end;
  }

  .tl-bottom-row .tl-card-col {
    /* bottom row: cards sit at the top */
    justify-content: flex-start;
  }

  /* equal height cards inside each column */
  .tl-top-row .tl-card,
  .tl-bottom-row .tl-card {
    height: 100%;
  }

  /* â”€â”€ Center bus row â”€â”€ */
  .tl-bus-row {
    position: relative;
    height: 60px;
    margin: 0;
  }

  /* Horizontal dotted line spanning 100% */
  .tl-bus-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 0;
    border-top: 2px dotted #9fb6c7;
    transform: translateY(-50%);
  }

  /* Dots + connectors grid â€” 8 columns matching 4 top + 4 bottom cards */
  .tl-dots-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    height: 100%;
    position: relative;
    z-index: 2;
  }

  .tl-col-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  /* â”€â”€ Milestone dot â”€â”€ */
  .tl-dot {
    width: 14px;
    height: 14px;
    background: #6aa3c8;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .tl-col-dot:hover .tl-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(106, 163, 200, 0.3);
  }

  /* â”€â”€ Connector lines (vertical) â”€â”€ */
  .tl-vline {
    position: absolute;
    left: 50%;
    width: 2px;
    background: #b7cad8;
    transform: translateX(-50%);
    transform-origin: top center;
    transition: transform 0.5s ease;
  }

  /* Top connectors go upward from the dot to the card above */
  .tl-vline-top {
    top: 0;
    bottom: 50%;
    /* from top of row to center */
    height: auto;
  }

  /* Bottom connectors go downward from the dot to the card below */
  .tl-vline-bottom {
    top: 50%;
    /* from center to bottom of row */
    bottom: 0;
    height: auto;
  }

  /* Alternate dot columns: odd = top card, even = bottom card */
  /* Columns 1,3,5,7 (1-indexed) align with top-row cards */
  .tl-dots-row .tl-col-dot:nth-child(odd) .tl-vline-top {
    display: block;
  }

  .tl-dots-row .tl-col-dot:nth-child(odd) .tl-vline-bottom {
    display: none;
  }

  /* Columns 2,4,6,8 align with bottom-row cards */
  .tl-dots-row .tl-col-dot:nth-child(even) .tl-vline-top {
    display: none;
  }

  .tl-dots-row .tl-col-dot:nth-child(even) .tl-vline-bottom {
    display: block;
  }
}

/* =====================================================================
   MOBILE LAYOUT (<768px) â€” vertical timeline
   ===================================================================== */
@media (max-width: 767px) {
  .tl-desktop {
    display: none;
  }

  .tl-mobile {
    display: block;
    position: relative;
    padding-left: 36px;
  }

  /* Vertical dotted line on the left */
  .tl-mobile::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: repeating-linear-gradient(to bottom,
        #9fb6c7 0px,
        #9fb6c7 6px,
        transparent 6px,
        transparent 14px);
    border-radius: 2px;
  }

  .tl-mobile-item {
    position: relative;
    margin-bottom: 24px;
  }

  .tl-mobile-item:last-child {
    margin-bottom: 0;
  }

  /* Milestone dot on the vertical line */
  .tl-mobile-dot {
    position: absolute;
    left: -29px;
    top: 18px;
    width: 14px;
    height: 14px;
    background: #6aa3c8;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    z-index: 3;
  }

  /* Cards are full width */
  .tl-card {
    width: 100%;
  }
}

/* =====================================================================
   ENTRANCE ANIMATIONS (scroll-reveal via .show class)
   ===================================================================== */

/* Desktop top cards: fade in */
.tl-desktop .tl-top-row .tl-card.reveal {
  opacity: 0;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.tl-desktop .tl-top-row .tl-card.reveal.show {
  opacity: 1;
}

/* Desktop bottom cards: fade in */
.tl-desktop .tl-bottom-row .tl-card.reveal {
  opacity: 0;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.tl-desktop .tl-bottom-row .tl-card.reveal.show {
  opacity: 1;
}

/* Mobile cards: fade in */
.tl-mobile .tl-mobile-item.reveal {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tl-mobile .tl-mobile-item.reveal.show {
  opacity: 1;
}

/* Stagger delays for desktop cards */
.tl-top-row .tl-card-col:nth-child(1) .tl-card {
  transition-delay: 0s;
}

.tl-top-row .tl-card-col:nth-child(2) .tl-card {
  transition-delay: 0.1s;
}

.tl-top-row .tl-card-col:nth-child(3) .tl-card {
  transition-delay: 0.2s;
}

.tl-top-row .tl-card-col:nth-child(4) .tl-card {
  transition-delay: 0.3s;
}

.tl-bottom-row .tl-card-col:nth-child(1) .tl-card {
  transition-delay: 0.1s;
}

.tl-bottom-row .tl-card-col:nth-child(2) .tl-card {
  transition-delay: 0.2s;
}

.tl-bottom-row .tl-card-col:nth-child(3) .tl-card {
  transition-delay: 0.3s;
}

.tl-bottom-row .tl-card-col:nth-child(4) .tl-card {
  transition-delay: 0.4s;
}

/* Stagger delays for mobile items */
.tl-mobile .tl-mobile-item:nth-child(2) {
  transition-delay: 0.08s;
}

.tl-mobile .tl-mobile-item:nth-child(3) {
  transition-delay: 0.16s;
}

.tl-mobile .tl-mobile-item:nth-child(4) {
  transition-delay: 0.24s;
}

.tl-mobile .tl-mobile-item:nth-child(5) {
  transition-delay: 0.32s;
}

.tl-mobile .tl-mobile-item:nth-child(6) {
  transition-delay: 0.40s;
}

.tl-mobile .tl-mobile-item:nth-child(7) {
  transition-delay: 0.48s;
}

.tl-mobile .tl-mobile-item:nth-child(8) {
  transition-delay: 0.56s;
}



/* =====================================================================
   SUCCESS STORIES â€” Premium Split Card Layout
   ===================================================================== */

/* Keyframe: slide in from left */
@keyframes storyImgIn {
  from {
    opacity: 0;
    transform: translateX(-40px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Keyframe: slide in from right */
@keyframes storyTextIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Keyframe: fade up */
@keyframes storyQuoteIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium card wrapper */
.story-card-premium {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(8, 42, 79, 0.11);
  overflow: hidden;
  margin-top: 48px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

/* â”€â”€ Image Column â”€â”€ */
.story-img-col {
  flex: 0 0 380px;
  position: relative;
  animation: storyImgIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.15s;
  opacity: 0;
}

.story-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
}

.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Gradient overlay */
.story-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(8, 42, 79, 0.08) 0%,
      rgba(8, 42, 79, 0.82) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 16px 20px;
}

/* Verified blue badge at top */
.story-pm-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 165, 233, 0.92);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 50px;
  animation: storyQuoteIn 0.7s ease forwards 0.5s;
  opacity: 0;
}

.story-pm-badge i {
  font-size: 0.9rem;
}

/* Name at bottom */
.story-img-caption {
  color: #fff;
  text-align: left;
  animation: storyQuoteIn 0.7s ease forwards 0.6s;
  opacity: 0;
}

.story-img-caption strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.story-img-caption small {
  font-size: 0.78rem;
  opacity: 0.78;
  font-weight: 400;
}

/* â”€â”€ Text Column â”€â”€ */
.story-text-col {
  flex: 1;
  padding: 48px 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: storyTextIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.3s;
  opacity: 0;
}

/* Red eyebrow label */
.story-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.story-eyebrow i {
  font-size: 0.9rem;
}

/* Story headline */
.story-headline {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}

/* Story body text */
.story-body {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.78;
  margin-bottom: 28px;
}

/* Quote block */
.story-quote-block {
  background: linear-gradient(135deg, #f0f6ff 0%, #dbe9f7 100%);
  border-left: 4px solid var(--blue);
  border-radius: 0 16px 16px 0;
  padding: 20px 24px 20px 20px;
  position: relative;
  animation: storyQuoteIn 0.7s ease forwards 0.65s;
  opacity: 0;
}

.story-quote-icon {
  position: absolute;
  top: -14px;
  left: 16px;
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.story-quote-text {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  color: var(--navy);
  margin: 8px 0 6px;
  font-style: normal;
  line-height: 1.4;
}

.story-quote-author {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  font-weight: 500;
}

/* Story timeline */
.story-timeline-wrap {
  padding-top: 40px;
  padding-bottom: 72px;
}

.story-timeline {
  position: relative;
  padding: 8px 0 10px;
}

.story-timeline-line {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 44px;
  height: 2px;
  border-top: 2px dashed rgba(8, 42, 79, 0.22);
  z-index: 0;
}

.story-timeline-track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 22px;
  padding: 8px 4px 8px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 165, 233, 0.45) transparent;
}

.story-timeline-track::-webkit-scrollbar {
  height: 8px;
}

.story-timeline-track::-webkit-scrollbar-thumb {
  background: rgba(14, 165, 233, 0.45);
  border-radius: 999px;
}

.story-timeline-card {
  position: relative;
  flex: 0 0 min(320px, 84vw);
  min-width: 280px;
  max-width: 320px;
  background: #fff;
  border: 1px solid rgba(8, 42, 79, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(8, 42, 79, 0.08);
  scroll-snap-align: start;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.story-timeline-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.15);
  z-index: 2;
}

.story-timeline-card--accent::before {
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(215, 25, 45, 0.14);
}

.story-timeline-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 46px rgba(8, 42, 79, 0.13);
  border-color: rgba(14, 165, 233, 0.28);
}

.story-timeline-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.story-timeline-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.story-timeline-card:hover .story-timeline-card-media img {
  transform: scale(1.04);
}

.story-timeline-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 42, 79, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.story-timeline-card-body {
  padding: 20px 20px 22px;
}

.story-timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4f8ff;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.story-timeline-card-body h4 {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.story-timeline-card-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 900px) {
  .story-card-premium {
    flex-direction: column;
  }

  .story-img-col {
    flex: 0 0 auto;
  }

  .story-img-wrap {
    min-height: 280px;
  }

  .story-text-col {
    padding: 32px 28px 32px;
  }

  .story-timeline-line {
    left: 18px;
    right: 18px;
    top: 38px;
  }
}

@media (max-width: 575px) {
  .story-img-wrap {
    min-height: 230px;
  }

  .story-text-col {
    padding: 24px 20px;
  }

  .story-headline {
    font-size: 1.05rem;
  }

  .story-timeline-wrap {
    padding-bottom: 56px;
  }

  .story-timeline-card {
    min-width: 84vw;
  }
}

/* =====================================================================
   SUCCESS STORIES â€” Story Spotlight Layout (spot-*)
   ===================================================================== */

/* --- Section wrapper --- */
.spot-section {
  background: #f4f8ff;
  padding-top: 80px;
  padding-bottom: 40px;
  overflow: visible;
}

/* --- Header --- */
.spot-header {
  text-align: center;
  margin-bottom: 48px;
}

.spot-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(215, 25, 45, .1);
  color: var(--red);
  border: 1px solid rgba(215, 25, 45, .25);
  border-radius: 999px;
  padding: 6px 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.spot-title {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.ss-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #6B7280;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.spot-subtitle {
  color: var(--muted);
  font-size: 1rem;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.65;
}

/* --- Full-width cinematic photo strip --- */
.spot-photo-strip {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  margin-bottom: 0;
  /* no border-radius â€” edge-to-edge cinematic feel */
}

.spot-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.spot-photo-strip:hover .spot-photo {
  transform: scale(1.05);
}

/* Bottom gradient fade so white card overlaps cleanly */
.spot-photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(7, 15, 32, .0) 0%,
      rgba(7, 15, 32, .15) 55%,
      rgba(7, 15, 32, .75) 85%,
      rgba(7, 15, 32, .92) 100%);
  pointer-events: none;
}

/* Floating verified badge â€” top right of photo */
.spot-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(8, 42, 79, .8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.spot-badge i {
  color: #5bc1f8;
  font-size: 1rem;
}

/* --- Content card â€” overlaps photo with negative margin --- */
.spot-card {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  /* softer overlap so the card reads as a clear, separate panel */
  margin-bottom: 24px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  border: 1px solid rgba(8, 42, 79, .08);
  box-shadow:
    0 2px 4px rgba(8, 42, 79, .05),
    0 20px 50px rgba(8, 42, 79, .18),
    0 50px 100px rgba(8, 42, 79, .1);
  transform: translateY(24px) scale(.98);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}

.spot-card.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.spot-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 28px 70px rgba(8, 42, 79, .2);
  border-color: rgba(14, 165, 233, .22);
}

.spot-card-left,
.spot-card-right {
  transition: transform .35s ease;
}

.spot-card:hover .spot-card-left {
  transform: translateX(-2px);
}

.spot-card:hover .spot-card-right {
  transform: translateX(2px);
}

/* LEFT PANEL â€” navy, contains story number + quote */
.spot-card-left {
  flex: 0 0 320px;
  background: linear-gradient(160deg, var(--navy) 0%, #174e8a 100%);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* decorative circle behind text */
.spot-card-left::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .08);
  bottom: -80px;
  right: -80px;
  pointer-events: none;
}

.spot-number {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, .07);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 24px;
  user-select: none;
}

.spot-quote-wrap {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.spot-big-q {
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: .5;
  color: var(--red);
  opacity: .7;
  flex-shrink: 0;
  margin-top: 14px;
  user-select: none;
}

.spot-q-text {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  font-style: italic;
  line-height: 1.35;
  margin: 0 0 10px;
}

.spot-q-cite {
  font-size: .78rem;
  color: rgba(255, 255, 255, .55);
  font-style: normal;
  font-weight: 500;
}

/* vertical divider */
.spot-divider {
  width: 1px;
  background: rgba(8, 42, 79, .12);
  flex-shrink: 0;
}

/* RIGHT PANEL â€” white, main content */
.spot-card-right {
  flex: 1;
  background: #ffffff;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
}

.spot-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff0f2;
  color: var(--red);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  width: fit-content;
}

.spot-headline {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.22;
  margin-bottom: 14px;
}

.spot-body {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.78;
  margin-bottom: 24px;
  flex: 1;
}

.spot-body strong {
  color: var(--navy);
  font-weight: 700;
}

/* Person identity chip */
.spot-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #f4f8ff;
  border-radius: 14px;
  border: 1px solid rgba(8, 42, 79, .1);
  width: fit-content;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.spot-person:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(8, 42, 79, .08);
  border-color: rgba(14, 165, 233, .2);
}

.spot-person-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.spot-person strong {
  display: block;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.spot-person span {
  font-size: .76rem;
  color: var(--muted);
  font-weight: 500;
}

/* --- Impact stat bar --- */
.spot-stat-bar {
  background: linear-gradient(100deg, var(--navy) 0%, #0d3461 100%);
  padding: 36px 0;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

.spot-stat-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.spot-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.spot-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
  text-align: center;
}

.spot-stat-n {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.spot-stat-n sup {
  font-size: .55em;
  vertical-align: super;
}

.spot-stat-l {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
}

.spot-stat-sep {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, .15);
  flex-shrink: 0;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .spot-card {
    flex-direction: column;
    margin-top: -20px;
    margin-bottom: 20px;
  }

  .spot-card-left {
    flex: 0 0 auto;
    padding: 32px 28px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .spot-number {
    display: none;
  }

  .spot-divider {
    width: 100%;
    height: 1px;
  }

  .spot-card-right {
    padding: 28px 28px;
  }

  .spot-stat {
    padding: 0 24px;
  }
}

@media (max-width: 640px) {
  .spot-section {
    padding-top: 60px;
    padding-bottom: 24px;
  }

  .spot-photo-strip {
    height: 280px;
  }

  .spot-card {
    margin-top: 0;
    margin-bottom: 16px;
    border-radius: 14px;
  }

  .spot-card-left {
    padding: 24px 20px;
  }

  .spot-card-right {
    padding: 24px 20px;
  }

  .spot-stat-row {
    gap: 0;
  }

  .spot-stat {
    padding: 16px 20px;
  }

  .spot-stat-sep {
    display: none;
  }

  .spot-stat-n {
    font-size: 1.8rem;
  }
}

/* FINAL CLIENT SECTIONS â€” spacing, moving testimonial stripe and news formats */
#programs .program-box.reveal.is-visible {
  animation: programCardIn .65s cubic-bezier(.2, .75, .25, 1) both
}

#programs .program-box:nth-child(2) {
  animation-delay: .1s !important
}

#programs .program-box:nth-child(3) {
  animation-delay: .2s !important
}

#programs .program-box:nth-child(4) {
  animation-delay: .3s !important
}

@keyframes programCardIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(.97)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.testimonial-stripe {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(8, 42, 79, .1);
  padding: 22px 0
}

.testimonial-stripe::before,
.testimonial-stripe::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none
}

.testimonial-stripe::before {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent)
}

.testimonial-stripe::after {
  right: 0;
  background: linear-gradient(270deg, #fff, transparent)
}

.testimonial-marquee {
  overflow: hidden
}

.testimonial-marquee-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: testimonialMove 42s linear infinite
}

.testimonial-stripe:hover .testimonial-marquee-track {
  animation-play-state: paused
}

.testimonial-strip-item {
  width: 430px;
  min-height: 138px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-right: 1px solid var(--line)
}

.testimonial-strip-item img {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  border-radius: 50%;
  object-fit: cover
}

.testimonial-strip-item p {
  font-size: .88rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 8px
}

.testimonial-strip-item h6 {
  font-size: .9rem;
  color: var(--navy);
  margin: 0
}

.testimonial-strip-item h6 span {
  font-size: .72rem;
  color: var(--red);
  margin-left: 6px;
  font-weight: 600
}

@keyframes testimonialMove {
  to {
    transform: translateX(calc(-50% - 12px))
  }
}

#news .news-slider {
  cursor: default
}

#news .news-track {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  transform: none !important
}

#news .news-card-item {
  min-width: 0 !important;
  display: block !important
}

.social-news-card {
  height: 100%;
  min-height: 540px;
  background: #fff;
  border: 1px solid #dce2e9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(8, 42, 79, .09);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease
}

.social-news-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 44px rgba(8, 42, 79, .15)
}

.social-news-card header {
  min-height: 70px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f0f2f5
}

.social-news-card header strong,
.social-news-card header small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px
}

.social-news-card header strong {
  font-size: .86rem;
  color: #17233c;
  font-weight: 700
}

.social-news-card header small {
  font-size: .72rem;
  color: #687386;
  font-weight: 500
}

.platform-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  flex-shrink: 0
}

.instagram-icon-bg {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%)
}

.facebook-icon-bg {
  background: #1877f2
}

.newspaper-icon-bg {
  background: #a40000
}

.card-media-wrapper {
  position: relative;
  width: 100%;
  background: #f0f2f5
}

.card-media-wrapper img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block
}

.media-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.04em
}

.instagram-play-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  font-size: .8rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9)
}

.instagram-play-overlay i {
  font-size: 1.35rem;
  line-height: 1
}

.instagram-actions {
  display: flex;
  gap: 16px;
  padding: 12px 16px 8px;
  font-size: 1.3rem;
  color: #27364c
}

.instagram-actions i {
  cursor: pointer;
  transition: color 0.2s
}

.instagram-actions i:hover {
  color: #dc2743
}

.instagram-caption-block {
  padding: 0 16px 16px;
  font-size: .84rem;
  line-height: 1.5;
  color: #27364c
}

.instagram-caption-block strong {
  display: block;
  margin-bottom: 4px;
  color: #17233c
}

.instagram-caption-block p {
  margin: 0;
  color: #374151
}

.facebook-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 8px
}

.facebook-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e4e7eb
}

.facebook-author-row strong {
  display: block;
  font-size: .84rem;
  color: #17233c;
  font-weight: 700
}

.facebook-author-row small {
  display: block;
  font-size: .7rem;
  color: #687386
}

.facebook-post-text {
  font-size: .84rem;
  line-height: 1.5;
  padding: 0 16px 12px;
  margin: 0;
  color: #27364c;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.facebook-reactions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #f0f2f5;
  font-size: .78rem;
  color: #65676b
}

.reactions-icons {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.9rem
}

.facebook-card footer {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 12px 8px;
  border-top: 1px solid #f0f2f5;
  color: #65676b;
  font-size: .82rem;
  font-weight: 600
}

.facebook-card footer span {
  display: flex;
  gap: 6px;
  align-items: center;
  cursor: pointer
}

.facebook-card footer span:hover {
  color: #1877f2
}

.newspaper-content-grid {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
  padding: 14px 16px;
  align-items: start
}

.newspaper-text-col p {
  font-size: .82rem;
  line-height: 1.55;
  color: #2c3e50;
  margin: 0;
  text-align: justify
}

.newspaper-image-col .card-media-wrapper img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e4e7eb
}

.newspaper-headline-banner {
  background: #a40000;
  color: #fff;
  font-weight: 700;
  padding: 8px 12px;
  text-align: center;
  font-size: .8rem;
  margin: 4px 16px 12px;
  border-radius: 4px;
  letter-spacing: 0.02em
}

.newspaper-footer {
  border-top: 1px solid #f0f2f5;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: .78rem;
  color: #65676b;
  font-weight: 500
}

#contact .contact-cards-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  gap: 28px !important;
  justify-content: center !important
}

#contact .contact-card-item {
  width: 100% !important;
  max-width: none !important;
  min-height: 110px !important;
  padding: 20px 24px !important;
  border-radius: 12px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: #fff;
  border: 1px solid #e4e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease
}

#contact .contact-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08)
}

#contact .contact-card-icon {
  width: 54px !important;
  height: 54px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.45rem !important;
  background: #ffebee !important;
  color: #d9534f !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  transition: background 0.3s ease, color 0.3s ease !important;
}

#contact .contact-card-item:hover .contact-card-icon {
  background: #d9534f !important;
  color: #ffffff !important;
}

#contact .contact-card-content {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding-right: 24px !important
}

.contact-card-label {
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: #17233c !important;
  margin-bottom: 4px !important;
  align-self: auto !important
}

.contact-card-value {
  font-size: .88rem !important;
  line-height: 1.45 !important;
  color: #4b5563 !important;
  overflow-wrap: anywhere !important;
  align-self: auto !important
}

@media(max-width:991.98px) {
  #news .news-track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important
  }

  .social-news-card {
    min-height: 480px
  }

  #contact .contact-cards-row {
    grid-template-columns: 1fr !important;
    max-width: 680px
  }
}

@media(max-width:575.98px) {
  #news .news-track {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    padding: 4px 0 16px;
    gap: 14px;
  }

  #news .news-card-item {
    flex: 0 0 90% !important;
    scroll-snap-align: center;
    max-width: 90%;
  }

  .social-news-card {
    min-height: 440px;
    border-radius: 14px;
  }

  .social-news-card header {
    padding: 12px 14px;
  }

  .social-news-card .card-media-wrapper img {
    height: 210px;
  }

  .social-news-card .social-slide-copy {
    padding: 12px 14px 14px;
  }

  .social-news-card .platform-action-bar {
    padding: 8px 14px;
  }

  .testimonial-strip-item {
    width: 330px;
    padding: 16px
  }

  .testimonial-strip-item img {
    width: 58px;
    height: 58px;
    flex-basis: 58px
  }

  #contact .contact-card-item {
    padding: 24px 20px !important
  }

  .testimonial-stripe::before,
  .testimonial-stripe::after {
    width: 28px
  }
}

@media(prefers-reduced-motion:reduce) {
  .testimonial-marquee-track {
    animation: none
  }

  .program-box {
    animation: none !important
  }

  .social-news-card {
    transition: none
  }
}

.newspaper-content-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
}

.newspaper-content-stack .newspaper-image-col {
  width: 100%;
}

.newspaper-content-stack .card-media-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e4e7eb;
}

.newspaper-content-stack .card-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f0f2f5;
}

.press-cover-slider .slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.press-cover-slider .slide-img.active {
  opacity: 1;
}

/* Client correction pass — 16 July 2026 */
.hero-stat,
.hero-stat::before,
.hero-stat::after,
.hero-stat-strip,
.hero-stat-strip::before,
.hero-stat-strip::after {
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.slogan-strip-hd {
  aspect-ratio: 941 / 227 !important;
  min-height: 0 !important;
}

.slogan-strip-hd::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(245, 250, 255, .98) 0%, rgba(245, 250, 255, .96) 43%, rgba(245, 250, 255, .55) 53%, transparent 64%);
  pointer-events: none;
}

.slogan-strip-hd::after {
  display: none !important;
}

.slogan-strip-content {
  position: relative;
  z-index: 2;
  padding-left: clamp(12px, 2vw, 32px) !important;
}

.programs-client-subtitle {
  color: #d7192d;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.1rem, 1.45vw, 1.3rem);
  line-height: 1.7;
}

#programs .program-grid {
  align-items: stretch;
}

#programs .program-box {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#programs .program-cover {
  height: 350px !important;
  min-height: 350px;
}

#programs .program-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#programs .program-body {
  flex: 1;
}

.testimonial-stripe {
  min-height: 260px;
  padding: 36px 80px !important;
  display: grid;
  place-items: center;
}

.testimonial-stripe::before,
.testimonial-stripe::after {
  display: none;
}

.testimonial-slides {
  position: relative;
  width: 100%;
  min-height: 160px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateX(48px);
  pointer-events: none;
  transition: opacity .55s ease, transform .55s ease;
}

.testimonial-slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.testimonial-slide.is-leaving {
  opacity: 0;
  transform: translateX(-48px);
}

.testimonial-slide p {
  max-width: 820px;
  margin: 0 auto 12px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.testimonial-slide h6 {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.testimonial-slide h6 span {
  color: var(--red);
  font-size: .78rem;
  margin-left: 6px;
}

.testimonial-quote-mark {
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 3rem;
  height: 34px;
  line-height: 1;
}

.testimonial-stars {
  color: #f5a623;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.testimonial-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #cbd5e1;
}

.testimonial-dots button.active {
  background: var(--blue);
  transform: scale(1.25);
}

#news .news-track {
  align-items: stretch;
}

#news .news-card-item {
  height: 520px;
}

#news .social-news-card {
  min-height: 0 !important;
  height: 520px !important;
}

#news .card-media-wrapper,
#news .instagram-card .card-media-wrapper,
#news .newspaper-content-stack .card-media-wrapper {
  width: 100%;
  height: 245px !important;
  min-height: 245px;
  border-radius: 0;
}

#news .card-media-wrapper img,
#news .newspaper-content-stack .card-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}

#news .newspaper-content-stack {
  padding: 0;
  gap: 0;
}

#news .newspaper-text-col {
  padding: 14px 16px;
}

#news .newspaper-text-col p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#news .instagram-caption-block {
  overflow: hidden;
}

.cta-band-light {
  background: #0d2a4e !important;
  color: #fff !important;
  padding: 42px 0 !important;
}

.cta-band-light::before {
  display: none !important;
}

.cta-band-light h2,
.cta-band-light p {
  color: #fff !important;
}

.cta-band-light .btn-cta-light {
  background: #fff !important;
  color: #0d2a4e !important;
  border: 2px solid #fff !important;
}

.cta-band-light .btn-cta-light:hover {
  background: #eaf2fb !important;
  color: #0d2a4e !important;
}

.cta-ecg-line {
  width: 100%;
  height: 80px;
  margin-top: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='100' viewBox='0 0 1200 100'%3E%3Cdefs%3E%3Cfilter id='glow'%3E%3CfeGaussianBlur stdDeviation='2' result='coloredBlur'/%3E%3CfeMerge%3E%3CfeMergeNode in='coloredBlur'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cpath fill='none' stroke='%2300d4ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' filter='url(%23glow)' d='M0 50 L100 50 L110 40 L120 50 L180 50 L190 30 L200 70 L210 10 L220 90 L230 50 L250 50 L260 30 L270 50 L290 50 L300 20 L320 80 L330 50 L500 50 L510 20 L520 80 L530 50 L580 50 L590 30 L600 70 L610 20 L620 50 L800 50 L810 40 L820 50 L900 50 L910 20 L930 80 L940 50 L1200 50'/%3E%3C/svg%3E") repeat-x left center;
  background-size: 1200px 100%;
  mix-blend-mode: normal;
  -webkit-mask-image: linear-gradient(to right, black 50%, transparent 50%);
  -webkit-mask-size: 200% 100%;
  -webkit-mask-position: 100% 0;
  mask-image: linear-gradient(to right, black 50%, transparent 50%);
  mask-size: 200% 100%;
  mask-position: 100% 0;
  animation: ecg-draw 4s infinite linear;
}

@keyframes ecg-draw {
  0% {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }

  100% {
    -webkit-mask-position: 0% 0;
    mask-position: 0% 0;
  }
}

@media (max-width: 991.98px) {
  .slogan-strip-hd {
    min-height: 300px !important;
    aspect-ratio: auto !important;
    background-position: 63% center !important;
  }

  #programs .program-cover {
    height: 310px !important;
    min-height: 310px;
  }

  #news .news-card-item,
  #news .social-news-card {
    height: 500px !important;
  }
}

@media (max-width: 575.98px) {
  .slogan-strip-hd {
    min-height: 410px !important;
    background-position: 68% center !important;
  }

  .slogan-strip-content {
    max-width: 72% !important;
    padding: 20px 0 20px 8px !important;
  }

  .slogan-strip-content .slogan-line-2 {
    font-size: .86rem !important;
  }

  #programs .program-cover {
    height: 285px !important;
    min-height: 285px;
  }

  .testimonial-stripe {
    min-height: 320px;
    padding: 32px 22px 54px !important;
  }

  .testimonial-slides {
    min-height: 220px;
  }

  .testimonial-slide p {
    font-size: .9rem;
  }

  #news .news-card-item {
    flex-basis: 88% !important;
    height: 490px !important;
  }

  #news .social-news-card {
    height: 490px !important;
  }

  #news .card-media-wrapper,
  #news .instagram-card .card-media-wrapper,
  #news .newspaper-content-stack .card-media-wrapper {
    height: 220px !important;
    min-height: 220px;
  }

  .cta-band-light .row {
    text-align: center;
  }

  .cta-band-light h2,
  .cta-band-light p {
    text-align: center !important;
  }

  .cta-ecg-line {
    margin: 10px auto 0;
  }
}


.instagram-card .card-media-wrapper {
  aspect-ratio: auto !important;
  height: 300px;
}

.instagram-card .card-media-wrapper img {
  object-fit: contain !important;
  background: #f0f2f5;
}



/* Mobile Menu Dropdown Fix v2 */
@media(max-width:991px) {


  .instagram-card .card-media-wrapper {
    aspect-ratio: auto !important;
    height: 300px;
  }

  .instagram-card .card-media-wrapper img {
    object-fit: contain !important;
    background: #f0f2f5;
  }

  .vm-card-new .vm-wide-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8fbff;
    border: 1px solid rgba(8, 42, 79, 0.08);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    margin: 0 auto 12px auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(8, 42, 79, 0.06);
    transition: background 0.35s ease, transform 0.35s ease, color 0.35s ease;
  }

  .vm-card-new .vm-wide-icon i {
    font-size: 1.25rem;
    color: var(--red);
    transition: color 0.35s ease;
  }

  /* Mobile Menu Dropdown Fix v2 */
  @media(max-width:991px) {
    .main-nav {
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
    }

    .main-nav .navbar-collapse {
      position: absolute;
      top: 100%;
      right: 0;
      width: 260px;
      background: #ffffff !important;
      border-radius: 20px !important;
      box-shadow: 0 16px 40px rgba(8, 42, 79, 0.15) !important;
      padding: 24px 20px !important;
      margin-top: 12px;
      z-index: 1050;
    }

    .main-nav .navbar-nav {
      gap: 0 !important;
    }

    .main-nav .nav-link {
      text-shadow: none !important;
      color: var(--navy) !important;
      text-align: center;
      padding: 14px 0 !important;
      font-weight: 700;
    }

    .main-nav .dropdown-menu {
      border: none !important;
      background: transparent !important;
      box-shadow: none !important;
      padding: 0 !important;
      margin-top: 0 !important;
      min-width: auto !important;
      border-radius: 0 !important;
      backdrop-filter: none !important;
      text-align: center;
      display: none;
    }

    .main-nav .dropdown-menu.show {
      display: block !important;
    }

    .main-nav .dropdown-item {
      text-align: center;
      padding: 10px 0;
    }

    .main-nav .btn-volunteer-nav {
      display: block;
      width: 100% !important;
      text-align: center !important;
      margin-top: 16px !important;
      background: var(--red) !important;
      color: #fff !important;
      border-radius: 999px !important;
      padding: 12px 0 !important;
    }
  }




  /* Override Vision/Mission Icon Sizes */
  .vm-card-new .vm-wide-icon {
    width: 56px !important;
    height: 56px !important;
  }

  .vm-card-new .vm-wide-icon i {
    font-size: 1.35rem !important;
  }

  @media(max-width: 991px) {
    .vm-card-new .vm-wide-icon {
      width: 44px !important;
      height: 44px !important;
    }

    .vm-card-new .vm-wide-icon i {
      font-size: 1.1rem !important;
    }
  }

  /* Logo Square Overrides */
  .logo-mark,
  .logo-mark-v2 {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(8, 42, 79, 0.1) !important;
    width: 48px !important;
    height: 48px !important;
    display: grid !important;
    place-items: center !important;
  }

  .logo-mark-img {
    padding: 4px !important;
    background: #fff !important;
  }

  .logo-mark-img img {
    border-radius: 8px !important;
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
  }

  .footer-logo {
    width: auto !important;
    height: 55px !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  /* Logo Rectangular Overrides */
  .logo-mark,
  .logo-mark-v2 {
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    max-width: 180px !important;
    height: 48px !important;
    display: block !important;
    background: transparent !important;
  }

  .logo-mark-img {
    padding: 0 !important;
    background: transparent !important;
  }

  .logo-mark-img img {
    border-radius: 0 !important;
    object-fit: contain !important;
    width: auto !important;
    height: 100% !important;
  }

  .footer-logo {
    width: auto !important;
    max-width: 180px !important;
    height: 54px !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  /* Doctor Background Update */
  .doctor-image {
    background: #a2c0dc !important;
  }
}

/* Dynamic Navbar Logo Styles: Swap image source on scroll */
.dynamic-logo-img {
  content: url("../assets/images/header2.png") !important;
  transition: all 0.3s ease !important;
}

.nav-scrolled .dynamic-logo-img {
  content: url("../assets/images/header.png") !important;
}

.cadf-part,
.nav-scrolled .cadf-part {
  color: #da1f26 !important;
  transition: color 0.3s;
}

.oundation-part {
  color: #0d2a4e !important;
  transition: color 0.3s;
}

.main-nav .oundation-part {
  color: #ffffff !important;
}

.main-nav.nav-scrolled .oundation-part {
  color: #0d2a4e !important;
}

/* Final override for footer logo background */
.footer-new .footer-logo,
.footer-logo {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

/* Center Our Activities card titles */
.program-body h5 {
  text-align: center !important;
  color: var(--navy) !important;
}

/* Stronger override for card titles */
#programs .program-body h5,
#programs .program-body h5 a {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  justify-content: center !important;
  color: var(--navy) !important;
}

/* Custom background image for hero section */
.hero-hospital-bg {
  background-image: url('../assets/images/home-hero-original-face-hd.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-color: var(--navy) !important;
}

.hero:hover .hero-hospital-bg {
  transform: scale(1.04) !important;
}

/* Final Doctor image overlay in hero */
.hero-doctor-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 80%;
  width: 50%;
  background-image: url('../assets/images/home-hero-original-face-hd.png');
  background-size: contain;
  background-position: right bottom;
  background-repeat: no-repeat;
  z-index: 10;
  pointer-events: auto;
  transition: transform 0.4s ease-out !important;
  transform-origin: bottom right;
}

.hero-doctor-overlay:hover {
  transform: scale(1.05) !important;
}

section {
  margin-bottom: 0 !important;
}

/* Content published from the CADF admin page */
.managed-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.managed-content-card {
  overflow: hidden;
  border: 1px solid rgba(13, 42, 78, .09);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 42, 78, .08);
}

.managed-content-card>img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.managed-content-body {
  padding: 20px;
}

.managed-content-body h3 {
  margin: 5px 0 10px;
  color: var(--navy);
  font-size: 1.13rem;
}

.managed-content-body p {
  margin: 0 0 14px;
  color: #657286;
  line-height: 1.65;
}

.managed-content-body a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.managed-content-date {
  color: #8290a4;
  font-size: .78rem;
}

.managed-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.managed-gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 13px;
  background: #dce7f1;
}

.managed-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

.managed-gallery-item:hover img {
  transform: scale(1.04);
}

.managed-gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 14px 12px;
  color: #fff;
  background: linear-gradient(transparent, rgba(4, 24, 48, .88));
  font-weight: 700;
}

.managed-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.managed-testimonial-card {
  position: relative;
  padding: 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 42, 78, .08);
}

.managed-testimonial-card .testimonial-quote-mark {
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
}

.managed-testimonial-card p {
  margin: 8px 0 12px;
  color: #526174;
}

.managed-testimonial-card h6 {
  margin: 8px 0 0;
  color: var(--navy);
}

.managed-testimonial-card h6 span {
  display: block;
  margin-top: 3px;
  color: #7a8799;
  font-size: .78rem;
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .managed-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .managed-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .managed-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .managed-content-grid {
    grid-template-columns: 1fr;
  }

  .managed-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .managed-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

#news {
  margin-top: 10px !important;
}

/* Ensure global responsiveness for custom overlays and content blocks */
@media (max-width: 991.98px) {
  .hero-doctor-overlay {
    width: 70%;
    opacity: 0.8;
  }

  .slogan-strip-content {
    padding-left: 15px !important;
    text-align: center !important;
  }
}

@media (max-width: 767.98px) {
  .hero-doctor-overlay {
    width: 90%;
    height: 70%;
    opacity: 0.4;
  }

  .slogan-strip-content {
    text-align: center !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

/* ===== Final reusable responsive layout overrides ===== */
:root {
  --section-gap: 20px;
}

main {
  display: flex;
  flex-direction: column;
}

main>section,
main>.section-space {
  width: 100%;
  margin: 0 !important;
}

.hero-hospital-bg {
  background-image: url('../assets/images/home-hero-original-face-hd.png') !important;
  background-position: center center !important;
  background-size: cover !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.hero-hospital-bg::after,
.hero-doctor-overlay,
.hero-mobile-visual {
  display: none !important;
}

.hero:hover .hero-hospital-bg {
  transform: none !important;
}

.slogan-banner {
  position: relative;
  overflow: hidden;
  background: #d8ebff;
  line-height: 0;
}

.slogan-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.slogan-heading-mask {
  position: absolute;
  left: 6.9%;
  top: 19.8%;
  z-index: 2;
  width: 48%;
  line-height: 1;
  pointer-events: none;
}

.slogan-heading-mask h2 {
  margin: 0;
  color: #092d67;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: clamp(.66rem, 2.75vw, 3.55rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.slogan-heading-mask .typewriter-cursor {
  display: inline-block;
  width: .08em;
  height: .9em;
  margin-left: .08em;
  background: #d71920;
  vertical-align: -.06em;
  animation: slogan-cursor-blink .75s steps(1) infinite;
}

@keyframes slogan-cursor-blink {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slogan-heading-mask .typewriter-cursor {
    animation: none;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .hero-hospital-bg {
    background-position: 58% center !important;
  }

  .hero-v2 .hero-title {
    max-width: 62%;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-gap: 20px;
  }

  .hero-hospital-bg {
    background-position: 68% center !important;
  }

  .hero-v2::before {
    background: linear-gradient(90deg, rgba(7, 35, 64, .9) 0%, rgba(7, 35, 64, .68) 58%, rgba(7, 35, 64, .12) 100%) !important;
  }

  .slogan-banner {
    overflow: hidden;
  }

  .slogan-banner img {
    width: 100%;
    height: auto;
  }
}

/* Final hero image sizing: 20% shorter and anchored to the bottom-right */
.hero-hospital-bg {
  background-size: auto 80% !important;
  background-position: right bottom !important;
  background-repeat: no-repeat !important;
  background-color: #0b477d !important;
}

/* =====================================================================
   CLIENT FINAL PASS — 19 July 2026
   Shared typography, revised slogan, compact donation stripe and
   responsive navigation. Kept at the end so it replaces historic rules.
   ===================================================================== */
:root {
  --cadf-title-size: clamp(1.75rem, 2.8vw, 2.4rem);
  --cadf-title-color: #0d2a4e;
  --cadf-subtitle-size: 1rem;
  --cadf-subtitle-color: #5b6675;
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
}

.section-title,
.section-heading .section-title,
.story-title-nowrap,
.about-title-nowrap,
.contact-title-nowrap {
  color: var(--cadf-title-color) !important;
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
  font-size: var(--cadf-title-size) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
  margin-top: 30px !important;
}

.section-heading>p,
.section-heading .text-muted,
.programs-client-subtitle {
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: var(--cadf-subtitle-color) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: var(--cadf-subtitle-size) !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  white-space: normal !important;
}

.btn-donate-nav {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .55rem 1.15rem !important;
  border: 1px solid #d7192d !important;
  border-radius: 999px !important;
  background: #d7192d !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.btn-donate-nav:hover,
.btn-donate-nav:focus-visible {
  border-color: #a70f20 !important;
  background: #a70f20 !important;
  color: #fff !important;
}

/* The slogan is now real HTML text over a doctor-free blurred background. */
.slogan-banner.slogan-strip {
  position: relative;
  min-height: clamp(245px, 25vw, 330px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background: #dcecff url('../assets/images/slogan-medical-blur.png') center / cover no-repeat !important;
  line-height: normal !important;
}

.slogan-banner.slogan-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(238, 248, 255, .88) 0%, rgba(226, 241, 255, .80) 46%, rgba(209, 231, 251, .40) 72%, rgba(205, 228, 249, .05) 100%);
}

.slogan-content-new {
  width: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.slogan-content-new h2 {
  max-width: none;
  margin: 0;
  color: #092d67;
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
}

.slogan-content-new .typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: .9em;
  margin-left: .12em;
  background: #d7192d;
  vertical-align: -.06em;
  animation: slogan-cursor-blink .75s steps(1) infinite;
}

.slogan-subtitle {
  max-width: 620px;
  margin: 4px 0 18px;
  color: #36536f;
  font-family: 'Inter', sans-serif;
  font-size: clamp(.94rem, 1.3vw, 1.08rem);
  font-weight: 600;
  line-height: 1.55;
}

.slogan-author-new {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 28px;
}

.slogan-author-name-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}

.slogan-author-new h3 {
  margin: 0;
  color: #0d2a4e;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  font-weight: 800;
  line-height: 1.3;
}

.slogan-author-line {
  display: block;
  width: 100%;
  height: 1px;
  margin: 4px 0 5px;
  background: #d7192d;
}

.slogan-author-new p {
  margin: 0;
  color: #486177;
  font-size: clamp(.76rem, 1.05vw, .9rem);
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  .main-nav .navbar-collapse .btn-donate-nav {
    width: 100%;
    margin-top: 10px;
  }

  .slogan-banner.slogan-strip {
    min-height: 310px;
    background-position: 58% center !important;
  }

  .slogan-content-new {
    width: 70%;
    margin-left: 0;
    margin-right: auto;
  }

}

@media (max-width: 767.98px) {

  .section-title,
  .section-heading .section-title,
  .story-title-nowrap,
  .about-title-nowrap,
  .contact-title-nowrap {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    white-space: normal !important;
  }

  .section-heading>p,
  .section-heading .text-muted,
  .programs-client-subtitle {
    font-size: .94rem !important;
  }

  .slogan-banner.slogan-strip {
    min-height: 350px;
    background-position: 62% center !important;
  }

  .slogan-banner.slogan-strip::before {
    background: linear-gradient(90deg, rgba(238, 248, 255, .99) 0%, rgba(226, 241, 255, .95) 62%, rgba(213, 233, 251, .7) 100%);
  }

  .slogan-content-new {
    width: 86%;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .slogan-content-new h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    white-space: normal;
  }

  .slogan-author-new p {
    max-width: 310px;
  }

}

@media (max-width: 420px) {
  .slogan-content-new {
    width: 94%;
  }

  .slogan-content-new h2 {
    font-size: 2rem;
  }
}

/* Link-driven Media Watch cards: each whole post (image + description) advances together. */
#news .social-post-slider {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

#news .social-post-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  opacity: 0;
  transform: translateX(30px) scale(.985);
  pointer-events: none;
  transition: opacity .55s ease, transform .55s ease;
}

#news .social-post-slide.active {
  z-index: 1;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

#news .social-post-slide.is-leaving {
  transform: translateX(-30px) scale(.985);
}

#news .social-post-slide .card-media-wrapper {
  height: 245px !important;
  min-height: 245px;
  overflow: hidden;
}

#news .social-post-slide .card-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  transition: transform .55s ease;
}

#news .social-post-slide .card-media-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #081729;
}

#news .social-post-slide:hover .card-media-wrapper img {
  transform: scale(1.035);
}

#news .social-slide-copy {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 15px 16px 14px;
  border-top: 1px solid #edf1f5;
}

#news .social-slide-copy small {
  display: block;
  margin-bottom: 4px;
  color: #77869a;
  font-size: .7rem;
  font-weight: 600;
}

#news .social-slide-copy strong {
  display: -webkit-box;
  margin-bottom: 6px;
  overflow: hidden;
  color: #17233c;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#news .social-slide-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #4b5e72;
  font-size: .82rem;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#news .social-slide-copy>span,
#news .social-original-link {
  margin-top: auto;
  padding-top: 8px;
  color: #d7192d;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

#news .facebook-card .social-slide-copy>span,
#news .facebook-card .social-original-link {
  color: #1877f2;
}

#news .platform-action-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 16px;
  padding: 8px 16px;
  border-top: 1px solid #edf1f5;
  border-bottom: 1px solid #edf1f5;
  color: #26364a;
}

#news .instagram-action-bar {
  font-size: 1.22rem;
}

#news .facebook-action-bar {
  justify-content: space-around;
  gap: 8px;
  color: #536579;
  font-size: .75rem;
  font-weight: 700;
}

#news .facebook-action-bar span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

#news .platform-website-link {
  flex: 0 0 auto;
  color: #1769aa;
  font-size: .7rem;
  font-weight: 800;
  text-decoration: none;
}

#news .platform-website-link:hover,
#news .platform-website-link:focus-visible {
  text-decoration: underline;
}

#news .social-post-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 28px;
  color: #647589;
  text-align: center;
  background: linear-gradient(145deg, #fbfdff, #edf4fa);
}

#news .social-post-empty[hidden] {
  display: none;
}

#news .social-post-empty i {
  color: #1769aa;
  font-size: 2.4rem;
}

#news .social-post-empty p {
  max-width: 260px;
  margin: 0;
  font-size: .86rem;
  line-height: 1.55;
}

#news .social-post-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  background: linear-gradient(145deg, #edf4fa, #dce9f4);
  color: #38546e;
  text-align: center;
}

#news .social-post-placeholder i {
  font-size: 2.2rem;
}

#news .social-slide-position {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(9, 31, 55, .78);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  pointer-events: none;
}

@media (max-width: 575.98px) {
  #news .social-post-slide {
    display: flex;
  }

  #news .social-post-slide .card-media-wrapper {
    height: 220px !important;
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {

  #news .social-post-slide,
  #news .social-post-slide .card-media-wrapper img {
    transition: none;
  }
}

/* Shared dark-blue impact strips with original hospital artwork and animated ECG. */
.impact-stripe {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  align-items: center;
  padding: 30px 0;
  background: #071f43;
  color: #fff;
}

.impact-stripe::before {
  content: '';
  position: absolute;
  inset: -8%;
  z-index: -2;
  background: url('../assets/images/cardiac-hospital-blue-strip.png') center / 112% auto no-repeat;
  filter: saturate(.92) contrast(1.04);
  animation: hospital-strip-pan 18s ease-in-out infinite alternate;
}

.impact-stripe::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 20, 48, .97) 0%, rgba(6, 34, 73, .9) 51%, rgba(4, 27, 60, .68) 100%),
    linear-gradient(110deg, transparent 30%, rgba(44, 192, 231, .14) 48%, transparent 66%);
  background-size: 100% 100%, 220% 100%;
  animation: hospital-strip-shimmer 8s linear infinite;
}

.impact-stripe-team::before {
  background-position: 58% center;
  animation-direction: alternate-reverse;
}

.impact-stripe-gallery::before {
  background-position: 74% center;
  animation-duration: 22s;
}

.impact-stripe-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 6vw, 86px);
}

.team-stripe-flex {
  flex-direction: row-reverse;
}

.impact-stripe-copy {
  width: min(780px, 100%);
}

.team-stripe-copy-left {
  text-align: left;
}

.impact-stripe h2 {
  margin: 0 0 6px;
  color: #fff;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: var(--cadf-title-size);
  font-weight: 800;
  line-height: 1.18;
}

.impact-stripe p {
  margin: 0;
  color: #d7e9f8;
  font-family: 'Inter', sans-serif;
  font-size: var(--cadf-subtitle-size);
  font-weight: 500;
  line-height: 1.55;
}

.impact-ecg {
  width: 100%;
  height: 35px;
  display: block;
  margin-top: 10px;
  overflow: visible;
}

.impact-ecg path {
  fill: none;
  stroke: #49dcff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  filter: drop-shadow(0 0 5px rgba(73, 220, 255, .75));
  animation: impact-ecg-draw 4s linear infinite;
}

.impact-stripe-button {
  flex: 0 0 auto;
  min-width: 158px;
  padding: .8rem 1.5rem;
  border: 2px solid #e31c36 !important;
  border-radius: 999px;
  background: #e31c36 !important;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.impact-stripe-button:hover,
.impact-stripe-button:focus-visible {
  border-color: #fff !important;
  background: #fff !important;
  color: #0b2a55 !important;
  transform: translateY(-2px);
}

@keyframes impact-ecg-draw {
  0% {
    stroke-dashoffset: 1800;
    opacity: .25;
  }

  15%,
  80% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -1800;
    opacity: .25;
  }
}

@keyframes hospital-strip-pan {
  from {
    transform: scale(1.04) translate3d(-1.5%, 0, 0);
  }

  to {
    transform: scale(1.09) translate3d(2.5%, -1%, 0);
  }
}

@keyframes hospital-strip-shimmer {
  to {
    background-position: 0 0, -120% 0;
  }
}

#testimonials .testimonial-stripe {
  min-height: 275px;
  display: block;
  padding: 72px 64px 28px !important;
  border: 1px solid #cfdfec;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 0%, #f4faff 100%);
  box-shadow: 0 14px 38px rgba(8, 42, 79, .1);
}

#testimonials .testimonial-strip-head {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #153b66;
  font-size: .82rem;
  font-weight: 800;
}

#testimonials .testimonial-strip-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#testimonials .testimonial-strip-head a {
  color: #1769aa;
  font-size: .76rem;
  text-decoration: none;
}

#testimonials .testimonial-slides {
  min-height: 150px;
}

#testimonials .testimonial-slide p {
  font-size: clamp(.94rem, 1.4vw, 1.08rem);
}

/* A single-row, horizontally scrollable gallery prevents long page growth. */
.gallery-section {
  background: #f4faff;
}

/* Gallery Category Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.filter-btn {
  background: #fdf2f3;
  color: #c92437;
  border: 1px solid #f5cfd3;
  padding: 10px 24px;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  background: #f8dedf;
  border-color: #eb9da3;
}

.filter-btn.active {
  background: #d7192d !important;
  color: #fff !important;
  border-color: #d7192d !important;
  box-shadow: 0 4px 12px rgba(215, 25, 45, 0.25);
}

/* Desktop Grid View */
.gallery-desktop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  width: 100%;
}

.gallery-slide-static {
  position: relative;
  width: 100%;
  height: 380px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d7e5f0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 42, 78, .09);
  transition: transform 0.3s ease;
}

.gallery-slide-static figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(5, 29, 59, .82);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-slide-static:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-slide-static img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.gallery-slide-static:hover img {
  transform: scale(1.045);
}



/* Mobile Slider View (hidden by default on desktop) */
.gallery-mobile-slider {
  display: none;
}

/* Base style for mobile slide images */
.gallery-slide-mobile {
  position: relative;
  height: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d7e5f0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 42, 78, .09);
}

.gallery-slide-mobile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-slide-mobile figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(5, 29, 59, .82);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  backdrop-filter: blur(5px);
}

@media (max-width: 991.98px) {
  .impact-stripe::before {
    background-size: auto 118%;
  }

  .gallery-desktop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .gallery-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding-bottom: 5px;
    gap: 8px;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    flex: 0 0 auto;
  }

  .gallery-desktop-grid {
    display: none;
  }

  .gallery-mobile-slider {
    display: block;
    width: 100%;
  }

  .gallery-mobile-scroll {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gallery-mobile-scroll::-webkit-scrollbar {
    display: none;
  }

  .gallery-mobile-track {
    display: flex;
    gap: 12px;
    width: max-content;
    padding: 4px 2px 16px;
  }

  .gallery-slide-mobile {
    flex: 0 0 calc(100vw - 60px);
    width: calc(100vw - 60px);
    height: 260px;
    scroll-snap-align: center;
  }

  .gallery-mobile-nav-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
  }

  .gallery-mobile-nav {
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid #bfd3e3;
    background: #fff;
    color: #0d3d6f;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
  }

  .gallery-mobile-nav:disabled {
    opacity: 0.3;
  }

  /* Stripes Mobile Layout Optimization */
  .impact-stripe {
    min-height: auto;
    padding: 30px 0 !important;
  }

  .impact-stripe-inner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .impact-stripe-copy {
    width: 100% !important;
    text-align: center !important;
  }

  .impact-stripe h2 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 14px !important;
  }

  .impact-stripe p {
    font-size: 0.88rem !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    line-height: 1.7 !important;
  }

  .impact-ecg {
    margin-top: 14px !important;
    margin-bottom: 2px !important;
  }

  .impact-stripe-button {
    width: auto !important;
    min-width: 200px !important;
    align-self: center !important;
    margin-top: 10px !important;
  }

  .team-stripe-flex {
    flex-direction: column !important;
  }

  .team-stripe-copy-left {
    text-align: center !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  .impact-stripe::before,
  .impact-stripe::after,
  .impact-ecg path {
    animation: none;
  }
}

/* Keep the customer navigation compact even if the Bootstrap CDN is slow or unavailable. */
.main-nav {
  min-height: 68px !important;
}

.main-nav .site-container {
  min-height: 60px;
  flex-wrap: nowrap !important;
}

@media (min-width: 992px) {
  .main-nav .navbar-toggler {
    display: none !important;
  }

  .main-nav .navbar-collapse {
    display: flex !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    width: auto !important;
  }

  .main-nav .navbar-nav {
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: clamp(.45rem, .75vw, .9rem) !important;
    margin-left: auto !important;
  }

  .main-nav .nav-item,
  .main-nav .nav-link,
  .main-nav .btn {
    white-space: nowrap;
  }

  .main-nav .nav-link {
    padding: .4rem .08rem !important;
    font-size: clamp(.76rem, .86vw, .9rem);
  }
}

@media (max-width: 991.98px) {
  .main-nav .navbar-toggler {
    display: block !important;
  }

  .main-nav .navbar-toggler-icon {
    width: 24px;
    height: 18px;
    display: block;
    background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor) !important;
    background-position: center top, center, center bottom !important;
    background-size: 24px 2px !important;
    background-repeat: no-repeat !important;
  }

  .main-nav .navbar-collapse {
    display: none !important;
  }

  .main-nav .navbar-collapse.show {
    display: block !important;
  }

  .main-nav .navbar-collapse .mobile-nav-panel {
    width: 100%;
  }

  .main-nav .navbar-collapse .mobile-nav-list {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
    padding: 0.75rem 0 0.25rem;
  }
}

/* =====================================================================
   FINAL CLIENT CORRECTIONS — original portrait, consistent rhythm,
   slogan doctor placement, red subtitles and social post footers.
   ===================================================================== */
:root {
  --section-gap: 20px;
  --cadf-accent-red: #c51f34;
  --cadf-subtitle-color: var(--cadf-accent-red);
}

main {}

main>section,
#news {
  margin: 0 !important;
}

.section-space {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

/* Use one matching red for supporting headings throughout the public site. */
.section-heading>p,
.section-heading .text-muted,
.programs-client-subtitle,
.timeline-subtitle,
.ss-subtitle,
.about-subtitle-headline,
.slogan-subtitle {
  color: var(--cadf-accent-red) !important;
}

/* Keep long body copy clean and consistently aligned. */
.about-paragraph p,
.program-body p,
.timeline-card p,
.success-story-copy p,
.ss-content p,
#news .social-slide-copy p {
  text-align: justify;
  text-justify: inter-word;
}

/* Slogan stripe: the supplied blue-scrubs doctor occupies its own column. */
.slogan-banner.slogan-strip {
  min-height: clamp(245px, 25vw, 330px);
}

.slogan-layout-new {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 34%);
  align-items: stretch;
  column-gap: clamp(18px, 3vw, 48px);
}

.slogan-layout-new .slogan-content-new {
  width: auto !important;
  min-width: 0;
  min-height: inherit;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

.slogan-doctor-new {
  min-width: 0;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.slogan-doctor-new img {
  width: auto;
  height: auto;
  max-width: 104%;
  max-height: clamp(270px, 27vw, 360px);
  display: block;
  object-fit: contain;
  object-position: right bottom;
}

/* Media Watch: poster only, description + View Post, platform footer last. */
#news .social-post-slide .card-media-wrapper>a {
  width: 100%;
  height: 100%;
  display: block;
}

#news .social-post-slide .card-media-wrapper video {
  display: none !important;
}

#news .social-slide-copy {
  padding: 14px 16px 12px;
}

#news .social-slide-copy p {
  -webkit-line-clamp: 3;
}

#news .social-original-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  padding-top: 8px;
}

#news .platform-action-bar {
  margin-top: auto;
  border-top: 1px solid #edf1f5;
  border-bottom: 0;
  background: #fff;
}

#news .instagram-action-bar i,
#news .facebook-action-bar span {
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .slogan-banner.slogan-strip {
    min-height: auto;
    padding: 16px 0 20px;
  }

  .slogan-layout-new {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 12px;
    column-gap: 0;
    padding-bottom: 20px;
  }

  .slogan-doctor-new {
    order: -1;
    justify-content: center;
    min-height: auto;
    align-items: center;
  }

  .slogan-layout-new .slogan-content-new {
    width: auto !important;
    padding-top: 4px !important;
    padding-bottom: 0 !important;
  }

  .slogan-content-new h2 {
    font-size: clamp(1.55rem, 7.2vw, 2.05rem);
    line-height: 1.2;
    white-space: normal;
  }

  .slogan-subtitle {
    font-size: .84rem;
    margin-bottom: 10px;
  }

  .slogan-author-new h3 {
    font-size: .94rem;
  }

  .slogan-author-new p {
    max-width: 100%;
    font-size: .72rem;
    line-height: 1.5;
  }

  .slogan-doctor-new img {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
    object-position: center bottom;
  }
}

@media (max-width: 575.98px) {
  #news .news-viewport {
    width: 100%;
    overflow: visible;
  }

  #news .news-track {
    width: 100%;
    display: flex !important;
    gap: 14px !important;
    padding: 4px 0 16px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  #news .news-track::-webkit-scrollbar {
    display: none;
  }

  #news .news-card-item {
    flex: 0 0 calc(100vw - 30px) !important;
    width: calc(100vw - 30px) !important;
    max-width: calc(100vw - 30px) !important;
    height: 510px !important;
    scroll-snap-align: start;
  }

  #news .social-news-card {
    width: 100%;
    height: 510px !important;
  }

  #news .social-post-slide .card-media-wrapper {
    height: 220px !important;
    min-height: 220px;
  }

  #news .social-slide-copy {
    padding: 12px 14px 10px;
  }

  #news .platform-action-bar {
    padding: 9px 14px;
  }
}

/* =====================================================================
   FINAL CORRECTIONS — mobile navigation menu.
   Placed at the very end of the file so it always wins the cascade over
   the older, conflicting .navbar-collapse rules above. This fixes the
   hamburger menu not opening/closing reliably and locks background
   scroll while the menu is open (client delivery fix).
   ===================================================================== */
body.mobile-menu-open {
  overflow: hidden !important;
}

@media (max-width: 991.98px) {
  .main-nav .navbar-collapse {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
  }

  .main-nav .navbar-collapse.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
  }

  .main-nav .navbar-collapse .mobile-nav-panel,
  .main-nav .navbar-collapse .mobile-nav-list {
    width: 100%;
  }
}

/* ===============================================================
   FINAL MOBILE NAVIGATION — compact navbar + animated top-right menu
   Mobile only; desktop navigation remains unchanged.
   =============================================================== */
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 991.98px) {
  body.mobile-menu-open {
    overflow: hidden !important;
  }

  .main-nav {
    min-height: 58px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

  .main-nav>.site-container {
    min-height: 48px;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .main-nav .navbar-brand {
    padding: 0 !important;
  }

  .main-nav .navbar-brand img,
  .main-nav .dynamic-logo-img {
    height: 34px !important;
  }

  .main-nav .dynamic-brand-text {
    font-size: 1.02rem !important;
  }

  .main-nav .navbar-toggler {
    display: none !important;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 1003;
    width: 42px;
    height: 42px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
  }

  .mobile-menu-toggle-line {
    width: 20px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: #ffffff;
    transition: transform .28s ease, opacity .2s ease, width .28s ease;
  }

  .main-nav.nav-scrolled .mobile-menu-toggle-line {
    background-color: #000000 !important;
  }

  .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle-line:nth-child(2) {
    width: 0;
    opacity: 0;
  }

  .mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav .navbar-collapse {
    position: fixed !important;
    top: 68px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 1002 !important;
    width: min(86vw, 330px) !important;
    display: block !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(13, 42, 78, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 22px 60px rgba(13, 42, 78, .22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(18px, -10px, 0) scale(.96);
    transform-origin: top right;
    transition: opacity .24s ease, transform .3s cubic-bezier(.2, .8, .2, 1), visibility .24s ease;
  }

  .main-nav .navbar-collapse.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .main-nav .mobile-nav-panel {
    width: 100%;
    padding: 12px;
  }

  .main-nav .mobile-nav-list {
    width: 100%;
    margin: 0 !important;
    padding: 0;
    gap: 3px !important;
  }

  .main-nav .mobile-nav-list .nav-item {
    width: 100%;
  }

  .main-nav .mobile-nav-list .nav-link {
    width: 100%;
    display: block;
    padding: 11px 13px !important;
    border-radius: 10px;
    color: #0d2a4e !important;
    font-size: .92rem;
    font-weight: 600;
    text-align: left;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
  }

  .main-nav .mobile-nav-list .nav-link:hover,
  .main-nav .mobile-nav-list .nav-link:focus-visible {
    background: #eef4fa;
    color: #d7192d !important;
    transform: translateX(3px);
  }
}


/* FINAL STANDALONE MOBILE MENU — does not depend on Bootstrap collapse */
.mobile-menu-panel {
  display: flex;
  margin-left: auto;
}

@media (min-width: 992px) {
  .mobile-menu-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 991.98px) {
  .main-nav {
    min-height: 56px !important;
    padding: 4px 0 !important;
  }

  .main-nav>.site-container {
    min-height: 46px !important;
  }

  .mobile-menu-panel {
    position: fixed !important;
    top: 64px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 99999 !important;
    width: min(86vw, 330px) !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(13, 42, 78, .12);
    border-radius: 18px;
    background: #fff !important;
    box-shadow: 0 22px 60px rgba(13, 42, 78, .24);
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(20px, -12px, 0) scale(.96) !important;
    transform-origin: top right;
    transition: opacity .22s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility .22s ease !important;
  }

  .mobile-menu-panel.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
  }

  .mobile-menu-panel .mobile-nav-panel {
    display: block !important;
    width: 100%;
    padding: 12px !important;
  }

  .mobile-menu-panel .mobile-nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    gap: 3px !important;
  }

  .mobile-menu-panel .nav-item,
  .mobile-menu-panel .nav-link {
    width: 100%;
  }

  .mobile-menu-panel .nav-link {
    display: block !important;
    padding: 11px 13px !important;
    border-radius: 10px;
    color: #0d2a4e !important;
    text-align: left !important;
    font-size: .92rem;
    font-weight: 600;
  }

  .mobile-menu-panel .nav-link:hover,
  .mobile-menu-panel .nav-link:focus {
    background: #eef4fa;
    color: #d7192d !important;
  }
}


/* ===============================================================
   FINAL DEVELOPER POLISH — desktop CTA, featured doctor, reviews,
   mobile hero clarity, footer and reliable mobile navigation.
   =============================================================== */
@media (min-width: 992px) {

  .hero-clean .hero-actions .btn.hero-btn-primary,
  .hero-clean .hero-actions .btn.hero-btn-secondary {
    min-width: 210px !important;
    min-height: 56px !important;
    padding: 15px 28px !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
  }

  .doctor-top-card {
    max-width: 820px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .doctor-top-card .doctor-profile {
    grid-template-columns: minmax(280px, 340px) 1fr !important;
    min-height: 340px !important;
  }

  .doctor-top-card .doctor-image img {
    height: 340px !important;
  }

  .doctor-top-card .doctor-info {
    padding: 34px 38px !important;
  }
}

#testimonials .testimonial-stripe {
  max-width: 920px !important;
  margin: 24px auto 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(13, 42, 78, .1) !important;
  border-radius: 24px !important;
  background: linear-gradient(145deg, #ffffff, #f6f9fd) !important;
  box-shadow: 0 22px 55px rgba(13, 42, 78, .12) !important;
  display: flex !important;
  flex-direction: column !important;
}

#testimonials .testimonial-strip-head {
  position: static !important;
  padding: 18px 24px !important;
  background: #0d2a4e !important;
  color: #fff !important;
  flex-shrink: 0 !important;
}

#testimonials .testimonial-strip-head span,
#testimonials .testimonial-strip-head a {
  color: #fff !important;
}

#testimonials .testimonial-slides {
  flex: 1 !important;
  min-height: 160px !important;
  padding: 20px 70px 18px !important;
  position: relative !important;
}

#testimonials .testimonial-slide {
  max-width: 720px !important;
  margin: auto !important;
  text-align: center !important;
}

#testimonials .testimonial-slide p {
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  color: #35475b !important;
}

#testimonials .testimonial-slide h6 {
  margin-top: 6px !important;
  font-size: .95rem !important;
}

#testimonials .testimonial-stars {
  color: #f4b400 !important;
  letter-spacing: 4px !important;
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

#testimonials .testimonial-quote-mark {
  opacity: .12 !important;
  font-size: 4rem !important;
  height: auto !important;
  line-height: 1.1 !important;
  margin-bottom: 20px !important;
}

#testimonials .testimonial-dots {
  padding: 0 0 22px !important;
}

@media (max-width: 991.98px) {
  .main-nav {
    z-index: 5000 !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }

  .mobile-menu-panel {
    z-index: 4999 !important;
    pointer-events: none !important;
  }

  .mobile-menu-panel.is-open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
  }

  #home .hero-hospital-bg {
    background-image: url('../assets/images/mobilehomepage.png') !important;
    background-position: center top !important;
    background-size: cover !important;
    background-color: #fff !important;
    filter: brightness(1.12) contrast(1.05) saturate(1.02) !important;
    transform: none !important;
  }

  #home .hero-mobile-gradient,
  #home .gemini-star-cover,
  #home .hero-mobile-visual::before,
  #home .hero-mobile-visual::after {
    display: none !important;
    background: transparent !important;
  }

  #home::before,
  #home::after {
    background: transparent !important;
    opacity: 0 !important;
  }

  #testimonials .testimonial-slides {
    min-height: 285px !important;
    padding: 28px 24px 16px !important;
  }

  #testimonials .testimonial-slide p {
    font-size: .95rem !important;
    line-height: 1.7 !important;
  }

  #testimonials .testimonial-quote-mark {
    font-size: 2.8rem !important;
    margin-bottom: 2px !important;
  }

  #testimonials .testimonial-stars {
    font-size: .95rem !important;
    margin-top: 4px !important;
    margin-bottom: 20px !important;
    letter-spacing: 2px !important;
  }

  #testimonials .testimonial-slide h6 {
    margin-top: 12px !important;
    font-size: .85rem !important;
  }

  .footer-new {
    text-align: center !important;
  }

  .footer-new .footer-heading::after {
    display: none !important;
  }

  .footer-new .footer-brand {
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .footer-new .footer-brand img {
    margin: 0 auto !important;
  }

  .footer-new .footer-links li {
    text-align: center !important;
  }

  .footer-new .footer-links li a {
    display: inline-block !important;
  }

  .footer-new .btn-donate-new {
    display: inline-block !important;
    margin: 0 auto !important;
  }

  .footer-new .footer-bottom-bar {
    padding: 12px 10px !important;
  }

  .footer-new .footer-bottom-bar .site-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .footer-new .footer-bottom-bar p.footer-copyright {
    margin: 4px auto !important;
    margin-left: -1.5cm !important;
    font-size: clamp(10.5px, 3.1vw, 13px) !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }

  .footer-new .footer-bottom-bar p.footer-credit {
    margin: 4px auto !important;
    font-size: clamp(10.5px, 3.1vw, 13px) !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }

  .footer-new .footer-credit::before {
    content: none;
  }
}

@media (max-width: 640px) {
  #home .hero-clean-content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  #home .hero-title {
    font-size: clamp(1.55rem, 7.2vw, 2.15rem) !important;
    line-height: 1.12 !important;
  }

  #home .hero-doctor-line {
    margin-top: 1rem !important;
  }

  #home .hero-doctor-line>span:first-child {
    font-size: 1.25rem !important;
  }

  #home .hero-doctor-quals {
    font-size: .88rem !important;
    line-height: 1.45 !important;
  }

  #home .hero-actions {
    gap: 10px !important;
  }

  #home .hero-actions .btn {
    min-width: 148px !important;
    min-height: 48px !important;
    padding: 12px 15px !important;
    font-size: .82rem !important;
  }

  .doctor-top-card .doctor-profile {
    min-height: auto !important;
  }

  #testimonials .testimonial-stripe {
    border-radius: 18px !important;
  }

  #testimonials .testimonial-strip-head {
    padding: 14px 16px !important;
  }

  #testimonials .testimonial-strip-head a {
    font-size: .72rem !important;
  }
}

/* ===============================================================
   CADF NEW LOGO LOADER
   =============================================================== */
body.cadf-page-loading {
  overflow: hidden !important;
}

.cadf-site-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  opacity: 1;
  visibility: visible;
  transition: opacity .6s ease-in-out, visibility .6s ease-in-out;
}

.cadf-site-loader.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cadf-new-loader {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cadf-new-loader-img {
  width: 120px;
  height: auto;
  z-index: 2;
  animation: cadf-pulse-logo 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.cadf-new-loader-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #d7192d;
  border-bottom-color: #0d2a4e;
  z-index: 1;
  animation: cadf-spin-ring 1.5s infinite linear;
}

.cadf-new-loader-ring::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-left-color: #43b9ff;
  border-right-color: #43b9ff;
  animation: cadf-spin-ring 2s infinite linear reverse;
}

@keyframes cadf-pulse-logo {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 4px 12px rgba(13, 42, 78, 0.15));
  }

  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 12px 24px rgba(13, 42, 78, 0.25));
  }
}

@keyframes cadf-spin-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 575.98px) {
  .cadf-new-loader-img {
    width: 70px;
  }

  .cadf-new-loader-ring {
    width: 110px;
    height: 110px;
  }
}

@media (min-width: 992px) {
  .donation-page .mobile-only-nav-item {
    display: none !important;
  }

  #home .hero-actions .btn.hero-btn-primary,
  #home .hero-actions .btn.hero-btn-secondary {
    min-width: 246px !important;
    min-height: 60px !important;
    padding: 17px 30px !important;
    font-size: 1rem !important;
  }
}


/* Impact Stats Grid in Donate Hero */
.donate-hero-impact {
  margin-top: 40px;
  width: 100%;
}

.new-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.new-impact-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 24px 15px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.new-impact-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.new-impact-item strong {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 5px;
}

.new-impact-item span {
  display: block;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767.98px) {
  .donate-hero-impact {
    margin-top: 25px;
  }

  .new-impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .new-impact-item {
    padding: 16px 10px;
  }
}

/* ===== Our Activities — Individual Square Cards with gap ===== */
#programs .program-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
  box-shadow: none !important;
}

#programs .program-box {
  border-radius: 12px !important;
  border: 1px solid rgba(13, 42, 78, .14) !important;
  box-shadow: 0 6px 28px rgba(13, 42, 78, .09) !important;
  background: #ffffff !important;
  overflow: hidden !important;
  transition: transform .28s ease, box-shadow .28s ease !important;
}

#programs .program-box:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 42px rgba(13, 42, 78, .16) !important;
  background: #ffffff !important;
}

/* Mobile: single column, full-width with 16px gap */
@media (max-width: 767.98px) {
  #programs .program-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    border-radius: 0 !important;
    border: none !important;
    max-width: 100% !important;
    margin: 0 !important;
    width: 100% !important;
    padding: 0 12px !important;
  }

  #programs .program-box {
    border-radius: 12px !important;
  }

  #programs .site-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
}


/* Final desktop gallery: two rows, continuous horizontal columns for admin-added images */
@media (min-width: 768px) {
  .gallery-desktop-shell {
    position: relative;
    width: 100%;
    padding: 0;
  }

  .gallery-desktop-grid {
    display: grid !important;
    grid-template-rows: repeat(2, 380px) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: calc((100% - 40px)/3) !important;
    grid-template-columns: none !important;
    gap: 20px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding: 2px 2px 14px;
  }

  .gallery-slide-static {
    height: 380px !important;
    scroll-snap-align: start;
  }

  .gallery-desktop-nav-wrapper {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }

  .gallery-desktop-nav {
    padding: 10px 24px;
    border-radius: 999px;
    border: 1px solid #d5e2ee;
    background: #fff;
    color: #0b3971;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(5, 35, 73, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 130px;
    text-align: center;
  }

  .gallery-desktop-nav:hover {
    background: #d7192d;
    color: #fff;
    border-color: #d7192d;
  }
}

@media (min-width:768px) and (max-width:991.98px) {
  .gallery-desktop-grid {
    grid-auto-columns: calc((100% - 20px)/2) !important;
  }
}

@media (max-width:767.98px) {
  .gallery-desktop-shell {
    display: none !important;
  }
}

/* Adjust space after hero title in desktop mode */
@media (min-width: 992px) {
  .hero-title.split-title.split-title-v2 {
    margin-bottom: 20px !important;
  }

  .hero-subtitle.hero-doctor-line {
    margin-top: 0 !important;
  }
}

/* User requested 1.5px spacing between the slogan elements */
.slogan-content-new,
.slogan-author-new {
  gap: 1.5px !important;
}

/* User requested 1px letter spacing for slogan typed text */
span.slogan-typed {
  letter-spacing: 1px !important;
}


/* User requested 20px space above slogan subtitle */
.slogan-subtitle {
  margin-top: 20px !important;
}

/* Hide typewriter cursor for slogan typewriter */
#sloganTypewriter .typewriter-cursor,
.slogan-content-new .typewriter-cursor {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}


/* User requested increased image section height & perfect centering for Dr Padmanabha Kamath top card */
.doctor-top-card .doctor-image {
  height: calc(480px - 2cm) !important;
  padding: 0 !important;
}

.doctor-top-card .doctor-image img {
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 auto !important;
}

/* Remove blue header bar and decrease height of testimonial card */
#testimonials .testimonial-strip-head {
  display: none !important;
}

#testimonials .testimonial-slides {
  min-height: 170px !important;
  padding: 20px 40px 10px !important;
}

#testimonials .testimonial-quote-mark {
  font-size: 3rem !important;
  margin-bottom: 6px !important;
}

#testimonials .testimonial-avatar {
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  margin-bottom: 16px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#testimonials .testimonial-slide h6 {
  margin-top: 12px !important;
}

#testimonials .testimonial-dots {
  padding: 0 0 14px !important;
}

/* Center-align contact cards in both desktop and mobile modes */
#contact .contact-card-item,
.contact-card-item {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

#contact .contact-card-icon,
.contact-card-icon {
  margin: 0 auto 10px auto !important;
}

#contact .contact-card-content,
.contact-card-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

#contact .contact-card-label,
.contact-card-label,
#contact .contact-card-value,
.contact-card-value {
  text-align: center !important;
}

/* Fix centering & remove asymmetric padding-right for contact card labels and values */
#contact .contact-card-content,
.contact-card-content {
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin: 0 auto !important;
  text-align: center !important;
  align-items: center !important;
  justify-content: center !important;
}

#contact .contact-card-label,
.contact-card-label {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  width: 100% !important;
}

#contact .contact-card-value,
.contact-card-value {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  width: 100% !important;
}

/* Stripe accent above Our Activities section */
#programs {
  position: relative !important;
}


/* Remove space above #programs (Our Activities section) */
#programs {
  padding-top: 0 !important;
  margin-top: -40px !important;
  position: relative !important;
  z-index: 10 !important;
}

.slogan-banner,
.slogan-strip {
  margin-bottom: 0 !important;
}

/* Ultra-curved mobile navbar with floating margin & light blue-whitish outline */
@media (max-width: 991.98px) {
  .main-nav {
    top: 12px !important;
    left: 16px !important;
    right: 16px !important;
    width: calc(100% - 32px) !important;
    border-radius: 999px !important;
    border: 1.5px solid rgba(183, 217, 242, 0.9) !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 14px 40px rgba(8, 42, 79, 0.15) !important;
    overflow: hidden !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .main-nav.nav-scrolled {
    top: 10px !important;
    border-radius: 999px !important;
    border-color: rgba(183, 217, 242, 1) !important;
  }

  .main-nav .site-container {
    padding-left: 24px !important;
    padding-right: 24px !important;
    border-radius: 999px !important;
  }
}

/* Universal curved navbar with light blue outline for both index.html and donate.html across all screens */
.main-nav,
.donation-page .main-nav,
body.homepage .main-nav {
  border-radius: 999px !important;
  border: 1.5px solid rgba(183, 217, 242, 0.9) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 14px 40px rgba(8, 42, 79, 0.14) !important;
}

.main-nav.nav-scrolled,
.donation-page .main-nav.nav-scrolled,
body.homepage .main-nav.nav-scrolled {
  border-radius: 999px !important;
  border-color: rgba(183, 217, 242, 1) !important;
}

@media (max-width: 991.98px) {

  .main-nav,
  .donation-page .main-nav,
  body.homepage .main-nav {
    top: 12px !important;
    left: 12px !important;
    right: 12px !important;
    width: calc(100% - 24px) !important;
    border-radius: 999px !important;
    border: 1.5px solid rgba(183, 217, 242, 0.9) !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 12px 35px rgba(8, 42, 79, 0.14) !important;
    overflow: hidden !important;
  }

  .main-nav.nav-scrolled,
  .donation-page .main-nav.nav-scrolled,
  body.homepage .main-nav.nav-scrolled {
    top: 10px !important;
    border-radius: 999px !important;
    border-color: rgba(183, 217, 242, 1) !important;
  }

  .main-nav .site-container,
  .donation-page .main-nav .site-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    border-radius: 999px !important;
  }
}

/* Comprehensive Tablet Responsiveness (768px - 1199px) matching Mobile Mode */
@media (max-width: 1199.98px) {

  /* Navbar floating pill & mobile hamburger toggle for tablets */
  .main-nav,
  .donation-page .main-nav,
  body.homepage .main-nav {
    top: 12px !important;
    left: 12px !important;
    right: 12px !important;
    width: calc(100% - 24px) !important;
    border-radius: 999px !important;
    border: 1.5px solid rgba(183, 217, 242, 0.9) !important;
    box-shadow: 0 12px 35px rgba(8, 42, 79, 0.14) !important;
  }

  .navbar-expand-lg .mobile-menu-toggle,
  .navbar-expand-lg .navbar-toggler {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .navbar-expand-lg .navbar-collapse:not(.show) {
    display: none !important;
  }

  /* Mobile hero background image & layout for tablets on index.html */
  body.homepage #home.hero-v2 {
    background-image: url('../assets/images/mobile-hero-client-final.jpeg') !important;
    background-position: center top !important;
    background-size: cover !important;
    min-height: 520px !important;
    padding-top: 110px !important;
    padding-bottom: 40px !important;
  }

  body.homepage #home .hero-desktop-visual {
    display: none !important;
  }

  body.homepage #home .hero-clean-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  /* Doctor card & testimonial card responsive container width */
  .doctor-profile-card,
  .testimonial-strip-card,
  .contact-info-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Custom Tablet Hero Image for index.html (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199.98px) {

  body.homepage #home.hero-v2,
  body.homepage #home .hero-hospital-bg,
  #home .hero-hospital-bg {
    background-image: url('../assets/images/tab-hero-client.png') !important;
    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    min-height: clamp(650px, 85vh, 950px) !important;
  }

  body.homepage #home .hero-clean-content {
    max-width: 680px !important;
    margin: 0 auto !important;
    padding-top: 140px !important;
    padding-bottom: 60px !important;
  }
}

/* Universal Timeline Nav Buttons */
.tl-nav-wrapper {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.tl-nav-btn {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid #d5e2ee;
  background: #fff;
  color: #0b3971;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(5, 35, 73, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 130px;
  text-align: center;
}

.tl-nav-btn:hover {
  background: #d7192d;
  color: #ffffff;
  border-color: #d7192d;
}

 . m a i n - n a v . n a v - s c r o l l e d   . n a v - l i n k ,
   . m a i n - n a v . n a v - s c r o l l e d   . o u n d a t i o n - p a r t ,
   . m a i n - n a v . n a v - s c r o l l e d   . m o b i l e - m e n u - t o g g l e    {
     c o l o r :    # 0 0 0 0 0 0    ! i m p o r t a n t ;
     
}

         / *   F i n a l   t o u c h u p :   E q u a l   s t a n d a r d   3 5 p x   s p a c i n g   f o r   s e c t i o n s   * /   . s e c t i o n - s p a c e    {
     p a d d i n g :    3 5 p x   0    ! i m p o r t a n t ;
     
}

   . d o n a t i o n - s e c t i o n    {
     p a d d i n g :    3 5 p x   0    ! i m p o r t a n t ;
     
}

       

/* Gallery Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: zoom-out;
}

.lightbox-content {
  position: relative;
  z-index: 100000;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, transform-origin 0.1s ease;
  cursor: zoom-in;
}

.lightbox-content p {
  color: #fff;
  margin-top: 15px;
  font-size: 1.1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: -40px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .lightbox-close {
    top: -45px;
    right: 0;
  }
}

/* Add cursor pointer to gallery images */
.gallery-slide-static img,
.gallery-slide img {
  cursor: zoom-in;
}

/* =====================================================================
   CONTACT CARDS REDESIGN
   ===================================================================== */
.contact-cards-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 60px !important;
}

.contact-info-card {
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 45px 20px 25px;
  text-align: center;
  flex: 1 1 250px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 35px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.contact-icon-wrapper {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--red, #e3000f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(227, 0, 15, 0.3);
}

.contact-info-card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy, #1e3a8a);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.contact-info-card p a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.contact-info-card p a:hover {
  color: var(--red, #e3000f);
}