/* Base */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #4f4148;
  background: #fffafb;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
img {
  max-width: 100%;
}
a {
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  color: #5b233a;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 3.25rem;
}
h2 {
  font-size: 2.45rem;
}
h3 {
  font-size: 1.3rem;
}
p {
  margin-bottom: 1rem;
}
.section-space {
  padding: 50px 0;
}
.section-heading {
  margin-bottom: 36px;
}
.section-heading p {
  max-width: 740px;
  margin-bottom: 0;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 15px;
  color: #a42d59;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.btn {
  border-radius: 9px;
  padding: 12px 22px;
  font-weight: 700;
  line-height: 1.4;
}
.btn-brand {
  color: #fff;
  background: #981a49;
  border: 1px solid #981a49;
}
.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background: #77143b;
  border-color: #77143b;
}
.btn-outline-brand {
  color: #8e1945;
  background: #fff;
  border: 1px solid #dba9bd;
}
.btn-outline-brand:hover,
.btn-outline-brand:focus {
  color: #fff;
  background: #8e1945;
  border-color: #8e1945;
}
.btn-light-brand {
  color: #83163f;
  background: #fff7fa;
  border: 1px solid #fff7fa;
}
.btn-light-brand:hover {
  color: #83163f;
  background: #f4dbe4;
}
.text-link {
  color: #981a49;
  font-weight: 700;
}
.text-link:hover {
  color: #6c173a;
}

/* Header */
.site-header {
  position: sticky;
  top: calc(-1 * var(--topbar-height, 0px));
  z-index: 1030;
}
.topbar {
  padding: 7px 0;
  color: #ffe8ef;
  background: #7c173e;
  font-size: 0.85rem;
}
.site-header.is-scrolled .navbar {
  box-shadow: 0 8px 24px rgba(72, 22, 44, 0.13);
}
.topbar a {
  color: #fff;
}
.topbar-contact {
  text-align: right;
}
.site-header .navbar {
  min-height: 90px;
  padding: 7px 0;
  background: #fff;
  box-shadow: 0 4px 24px rgba(72, 22, 44, 0.05);
}
.navbar-brand {
  margin-right: 22px;
}
.navbar-brand img {
  display: block;
  width: 255px;
  height: auto;
}
.navbar-nav {
  gap: 6px;
}
.navbar-nav .nav-link {
  padding: 11px 8px;
  color: #58434c;
  font-size: 0.91rem;
  font-weight: 600;
  white-space: nowrap;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #981a49;
}
.navbar-toggler {
  border-color: #deb9c7;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 3px #f3d5e0;
}

/* Inner page title and breadcrumb */
.page-banner {
  padding: 50px 0;
  background: #fff0f3;
  background-image: radial-gradient(circle at 92% 50%, #f9d8e1 0 110px, transparent 111px);
}
.page-banner h1 {
  margin: 0 0 12px;
}
.page-banner p {
  margin: 0;
  font-size: 1.1rem;
}
.breadcrumb-section {
  padding: 14px 0;
  background: #fffafb;
  border-bottom: 1px solid #f3e4e9;
}
.breadcrumb {
  margin: 0;
  font-size: 0.93rem;
}
.breadcrumb a {
  color: #8b4562;
}
.breadcrumb-item.active {
  color: #66515b;
}

/* Home hero */
.home-hero {
  padding: 50px 0;
  background: #fff0f3;
  overflow: hidden;
}
.home-hero .row {
  min-height: 510px;
}
.hero-copy h1 {
  margin: 0 0 23px;
}
.hero-copy > p {
  max-width: 590px;
  font-size: 1.14rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 24px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #745463;
  font-size: 0.91rem;
}
.hero-points i {
  color: #981a49;
}
.hero-photo {
  position: relative;
  padding: 25px 0 20px 25px;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -38px -90px -40px 75px;
  z-index: 0;
  border-radius: 50%;
  background: #f7d4e0;
}
.hero-photo > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 450px;
  filter: brightness(1.06) contrast(1.02);
  border-radius: 25px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 45px rgba(91, 35, 58, 0.11);
}
.hero-note {
  position: absolute;
  right: -7px;
  bottom: -5px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 16px 22px;
  border-radius: 12px;
  color: #62304a;
  background: #fff;
  box-shadow: 0 12px 30px rgba(91, 35, 58, 0.11);
}
.hero-note span {
  font-size: 0.85rem;
}

/* Shared images and cards */
.image-frame img {
  display: block;
  width: 100%;
  height: 390px;
  border-radius: 20px;
  object-fit: cover;
}
.home-intro,
.home-partnership,
.about-story,
.about-clinic,
.projects-intro {
  background: #fffafb;
}
.home-services,
.home-recognition,
.care-steps,
.about-purpose,
.about-team,
.about-credentials,
.services-main,
.services-steps,
.projects-areas,
.projects-recognition,
.gallery-main,
.gallery-videos,
.contact-details,
.contact-registration,
.contact-form-section,
.contact-map {
  background: #fffafb;
}
.service-card,
.content-card,
.credential-card,
.contact-card {
  position: relative;
  height: 100%;
  padding: 30px;
  border: 1px solid #efdbe3;
  border-radius: 17px;
  background: #fff;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 470px;
}
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 63px;
  height: 63px;
  margin-bottom: 25px;
  border-radius: 14px;
  color: #981a49;
  background: #f9e4ec;
  font-size: 1.7rem;
}
.service-number {
  position: absolute;
  top: 37px;
  right: 29px;
  color: #a9647c;
  font-weight: 700;
}
.service-card h3 {
  min-height: 52px;
}
.service-card p {
  color: #6e5b64;
}
.service-card ul {
  padding: 18px 0 0;
  margin: 0 0 20px;
  border-top: 1px solid #f0e1e6;
  list-style: none;
}
.service-card li {
  position: relative;
  padding-left: 25px;
  margin: 0 0 13px;
  font-size: 0.95rem;
}
.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #a72153;
  font-weight: 700;
}
.service-card .text-link {
  margin-top: auto;
}
.content-card {
  min-height: 210px;
}
.content-card h3 {
  margin: 13px 0;
}
.content-card p {
  margin: 0;
}
.card-index {
  color: #a42d59;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}
.value-panel {
  padding: 40px;
  border-radius: 20px;
  background: #f9e6ed;
}
.value-panel ul {
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}
.value-panel li {
  padding: 9px 0;
  color: #712d49;
  font-size: 1.35rem;
  font-weight: 700;
}
.value-panel p {
  margin: 0;
}

/* Promise and project report panels */
.promise-panel,
.projects-reports .container {
  padding: 46px 52px;
  border-radius: 20px;
  color: #ffe8f0;
  background: #8d1b47;
}
.promise-panel h2,
.projects-reports h2 {
  color: #fff;
}
.promise-panel .eyebrow,
.projects-reports .eyebrow {
  color: #ffd4e0;
}
.promise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 55px;
  margin-top: 27px;
  font-weight: 600;
}
.promise-list i {
  margin-right: 7px;
  color: #f8bbce;
}
.projects-reports .container {
  background: #8d1b47;
}
.projects-reports p {
  margin: 0;
}

/* Recognition, process and credentials */
.recognition-card {
  height: 100%;
  min-height: 174px;
  padding: 27px 32px;
  border: 1px solid #efdbe3;
  border-radius: 16px;
  background: #fff;
}
.recognition-card > span {
  display: block;
  margin-bottom: 10px;
  color: #a42d59;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}
.recognition-card strong {
  display: block;
  margin-bottom: 8px;
  color: #981a49;
  font-size: 2rem;
  line-height: 1.2;
}
.recognition-card p {
  margin: 0;
}
.step-card > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 23px;
  border-radius: 50%;
  color: #981a49;
  background: #f9e4ec;
  font-weight: 700;
}
.step-card p {
  margin: 0;
}
.credential-card {
  min-height: 215px;
}
.credential-card i {
  color: #981a49;
  font-size: 1.9rem;
}
.credential-card h3 {
  margin: 14px 0 9px;
}
.credential-card p {
  margin: 0;
}

/* Photo and video galleries */
.photo-card,
.gallery-card {
  display: block;
  color: #5b233a;
}
.photo-card img,
.gallery-card img {
  display: block;
  width: 100%;
  height: 250px;
  border-radius: 15px;
  object-fit: cover;
}
.photo-card span,
.gallery-card span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  color: #5b233a;
  font-size: 1.08rem;
  font-weight: 700;
}
.photo-card:hover span,
.gallery-card:hover span {
  color: #981a49;
}
.gallery-more {
  margin-top: 32px;
}
.gallery-card img {
  height: 265px;
}
.gallery-card img {
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}
.gallery-card:hover img {
  filter: brightness(1.05);
  transform: translateY(-3px);
}
.gallery-card[href$="award-news.jpg"] img,
.gallery-card[href$="foundation-day-news.jpg"] img {
  object-fit: contain;
  background: #f8edf1;
}
.video-empty {
  padding: 47px;
  border: 1px dashed #d7aabd;
  border-radius: 18px;
  background: #faeaf0;
  text-align: center;
}
.video-empty i {
  color: #981a49;
  font-size: 2.6rem;
}
.video-empty h3 {
  margin: 15px 0 8px;
}
.video-empty p {
  margin: 0;
}

/* Contact call to action */
.contact-cta {
  padding-top: 50px;
}
.contact-cta .container {
  padding: 37px 44px;
  border-radius: 20px;
  background: #f8e4eb;
}
.contact-cta h2 {
  margin-bottom: 10px;
}
.contact-cta p {
  margin: 0;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* Contact page */
.contact-card {
  min-height: 234px;
}
.contact-card > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 53px;
  margin-bottom: 20px;
  border-radius: 13px;
  color: #981a49;
  background: #f9e4ec;
  font-size: 1.4rem;
}
.contact-card h3 {
  margin-bottom: 10px;
}
.contact-card a {
  overflow-wrap: anywhere;
  color: #981a49;
  font-weight: 700;
}
.contact-card p {
  margin: 5px 0 0;
}
.registration-card {
  height: 100%;
  padding: 30px;
  border: 1px solid #efdbe3;
  border-radius: 17px;
  background: #fff;
}
.registration-office {
  background: #fff3f7;
}
.registration-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 17px;
  border-radius: 12px;
  color: #981a49;
  background: #f9e4ec;
  font-size: 1.4rem;
}
.registration-card h3 {
  margin-bottom: 16px;
}
.registration-office address {
  max-width: 370px;
  margin-bottom: 24px;
  font-style: normal;
}
.registration-label {
  display: block;
  margin-bottom: 5px;
  color: #805569;
  font-size: 0.84rem;
  font-weight: 700;
}
.registration-card a {
  display: block;
  width: fit-content;
  color: #981a49;
  font-weight: 700;
}
.registration-phone {
  font-size: 1.18rem;
}
.registration-note {
  margin: 20px 0 0;
  color: #704e5d;
  font-size: 0.88rem;
}
.registration-list {
  margin: 0;
}
.registration-list > div {
  display: grid;
  grid-template-columns: minmax(155px, 42%) minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f0e4e9;
}
.registration-list > div:last-child {
  border-bottom: 0;
}
.registration-list dt {
  color: #805569;
  font-weight: 600;
}
.registration-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #5b233a;
  font-weight: 700;
}
.registration-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 6px;
}
.registration-heading .registration-icon,
.registration-heading h3 {
  margin-bottom: 0;
}
.registration-leadership strong {
  display: block;
  color: #5b233a;
}
.enquiry-form,
.visit-panel {
  height: 100%;
  padding: 32px;
  border: 1px solid #efdbe3;
  border-radius: 18px;
  background: #fff;
}
.enquiry-form label {
  display: block;
  margin-bottom: 8px;
  color: #67334a;
  font-weight: 700;
}
.form-control,
.form-select {
  min-height: 48px;
  border: 1px solid #e6d4dc;
  border-radius: 8px;
  background-color: #fffafb;
}
textarea.form-control {
  min-height: 110px;
}
.form-control:focus,
.form-select:focus {
  border-color: #b35578;
  box-shadow: 0 0 0 3px #f8dfe8;
}
.form-note {
  color: #78646d;
  font-size: 0.86rem;
}
.visit-panel {
  padding: 37px;
  background: #f9e6ed;
}
.visit-panel hr {
  border-color: #d5a9b9;
  margin: 25px 0;
}
.visit-panel h4 {
  font-size: 1.05rem;
}
.visit-panel .btn {
  display: block;
  width: fit-content;
  min-width: 175px;
  margin-top: 12px;
}
.map-frame {
  height: 360px;
  overflow: hidden;
  border-radius: 18px;
  background: #f9e6ed;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.map-link {
  display: inline-block;
  margin-top: 13px;
  color: #981a49;
  font-weight: 700;
}

/* Footer and quick WhatsApp access */
.site-footer {
  padding-top: 50px;
  color: #f9e5ed;
  background: #6c173a;
}
.site-footer h2 {
  margin-bottom: 19px;
  color: #fff;
  font-size: 1.2rem;
}
.site-footer a {
  color: #f9e5ed;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-brand img {
  display: block;
  width: 290px;
  height: auto;
  margin-bottom: 22px;
  border-radius: 3px;
  background: #ffdae4;
}
.footer-brand p {
  max-width: 305px;
}
.footer-links ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-links li {
  margin-bottom: 7px;
}
.footer-contact p {
  overflow-wrap: anywhere;
  margin-bottom: 10px;
}
.footer-contact i {
  margin-right: 7px;
}
.footer-credentials {
  margin-top: 36px;
  padding: 24px 28px;
  border: 1px solid #a45d78;
  border-radius: 12px;
  background: #7a2146;
}
.footer-credentials-label {
  display: block;
  margin-bottom: 5px;
  color: #f2bbcf;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer .footer-credentials h2 {
  margin-bottom: 0;
}
.footer-credentials-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-credentials-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.footer-credentials-list i {
  flex: 0 0 auto;
  color: #ffd2e1;
  font-size: 1rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 0;
  margin-top: 30px;
  border-top: 1px solid #a15c78;
  color: #e7b7c9;
  font-size: 0.85rem;
}
.whatsapp-float {
  position: fixed;
  right: 23px;
  bottom: 23px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  background: #20a862;
  box-shadow: 0 8px 23px rgba(0, 0, 0, 0.18);
  font-size: 1.7rem;
}
.whatsapp-float:hover {
  color: #fff;
  background: #168c50;
}

/* Gallery filters and gentle entry motion */
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gallery-card img {
    transition: none;
  }
}

/* Tablet */
@media (max-width: 1199px) {
  .navbar-brand img {
    width: 210px;
  }
  .navbar-nav {
    gap: 1px;
  }
  .navbar-nav .nav-link {
    padding: 10px 6px;
    font-size: 0.83rem;
  }
  h1 {
    font-size: 2.8rem;
  }
  .service-card {
    padding: 25px;
  }
}
@media (max-width: 991px) {
  .section-space {
    padding: 50px 0;
  }
  .topbar-contact {
    text-align: left;
  }
  .navbar-brand img {
    width: 220px;
  }
  .navbar-collapse {
    padding: 14px 0 10px;
    border-top: 1px solid #f0e2e7;
  }
  .navbar-nav {
    align-items: stretch !important;
  }
  .navbar-nav .nav-link {
    padding: 11px 4px;
    font-size: 1rem;
  }
  .home-hero {
    padding: 50px 0;
  }
  .hero-photo {
    max-width: 700px;
    margin: 35px auto 0;
    padding: 0;
  }
  .hero-photo::before {
    inset: -25px -35px;
  }
  .hero-photo > img {
    height: 430px;
  }
  .cta-actions {
    justify-content: flex-start;
    margin-top: 23px;
  }
  .footer-contact {
    margin-top: 30px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  h1 {
    font-size: 2.35rem;
  }
  h2 {
    font-size: 1.9rem;
  }
  .section-space {
    padding: 50px 0;
  }
  .topbar {
    font-size: 0.72rem;
  }
  .topbar-contact {
    display: none;
  }
  .site-header .navbar {
    min-height: 75px;
  }
  .navbar-brand img {
    width: 195px;
  }
  .page-banner {
    padding: 50px 0;
    background-image: none;
  }
  .home-hero {
    padding: 50px 0;
  }
  .hero-copy > p {
    font-size: 1rem;
  }
  .hero-photo > img {
    height: 310px;
  }
  .hero-photo::before {
    inset: -14px -18px;
  }
  .hero-note {
    right: 5px;
    bottom: -18px;
    padding: 11px 14px;
    font-size: 0.85rem;
  }
  .image-frame img {
    height: 290px;
  }
  .service-card {
    min-height: 0;
  }
  .service-card h3 {
    min-height: 0;
  }
  .promise-panel,
  .projects-reports .container {
    padding: 33px 27px;
  }
  .promise-list {
    display: grid;
    gap: 15px;
  }
  .value-panel {
    padding: 28px;
  }
  .contact-cta .container {
    padding: 30px 26px;
  }
  .enquiry-form,
  .visit-panel {
    padding: 23px;
  }
  .registration-card {
    padding: 23px;
  }
  .registration-list > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .map-frame {
    height: 300px;
  }
  .footer-main > div + div {
    margin-top: 33px;
  }
  .footer-contact {
    margin-top: 33px;
  }
  .footer-credentials {
    padding: 21px;
  }
  .footer-credentials-list {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    margin-top: 35px;
  }
  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 51px;
    height: 51px;
  }
}
@media (max-width: 420px) {
  .navbar-brand img {
    width: 175px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-points {
    gap: 9px;
    flex-direction: column;
  }
  .hero-photo > img {
    height: 250px;
  }
  .gallery-card img,
  .photo-card img {
    height: 215px;
  }
  .cta-actions .btn {
    width: 100%;
  }
}

/* ---- Enquiry form alerts ---- */
.contact-form-section .alert {
  margin-bottom: 20px;
  border-radius: 12px;
}
