/* ==========================================================================
   Dr. Sonali's Ultrasound Clinic — Stylesheet
   ========================================================================== */

:root {
  --primary: #c8102e;
  --primary-dark: #8a0b20;
  --primary-darker: #4a0611;
  --primary-light: #ff6b7e;
  --primary-rgb: 200, 16, 46;
  --dark: #1c1116;
  --dark-soft: #2a1820;
  --text-dark: #24151b;
  --text-muted: #7a6a6f;
  --rose-bg: #fff4f5;
  --gray-bg: #f8f7f8;
  --white: #ffffff;
  --gold: #e8a93c;

  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;

  --shadow-sm: 0 6px 18px rgba(74, 6, 17, 0.07);
  --shadow-md: 0 14px 36px rgba(74, 6, 17, 0.12);
  --shadow-lg: 0 24px 60px rgba(74, 6, 17, 0.18);

  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-brand: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 55%,
    var(--primary-darker) 100%
  );
}

/* ============ BASE ============ */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  /* clears the sticky navbar so #anchor targets aren't hidden underneath it */
  scroll-padding-top: 100px;
}
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}
p {
  color: var(--text-muted);
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
html,
body {
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
::selection {
  background: var(--primary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--rose-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--gradient-brand);
  border-radius: 10px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  z-index: 3000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

.section {
  padding: 100px 0;
  position: relative;
}
@media (max-width: 991.98px) {
  .section {
    padding: 70px 0;
  }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rose-bg);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 18px;
}
.section-title span,
.hero-title span {
  color: var(--primary);
  position: relative;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.0rem, 3.6vw, 1.5rem);

}
.section-text {
  max-width: 640px;
  font-size: 1.02rem;
}
.text-center .section-text {
  max-width: 620px;
}

/* ============ BUTTONS ============ */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 28px;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-brand {
  background: var(--gradient-brand);
  background-size: 200% auto;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-brand:hover {
  background-position: right center;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn-outline-brand {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  padding: 10px 26px;
}
.btn-outline-brand:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn-light-brand {
  background: #fff;
  color: var(--primary);
  padding: 12px 28px;
}
.btn-light-brand:hover {
  background: var(--dark);
  color: #fff;
  transform: translateY(-3px);
}
.btn-lg {
  padding: 15px 34px;
  font-size: 1.02rem;
}
.btn i {
  margin-left: 6px;
  transition: transform 0.3s;
}
.btn:hover i.fa-arrow-right {
  transform: translateX(4px);
}

/* ============ PRELOADER ============ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}
.preloader-inner {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-logo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  animation: pulseLogo 1.4s ease-in-out infinite;
}
.preloader-ring {
  position: absolute;
  inset: 0;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulseLogo {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

/* ============ WHATSAPP + BACK TO TOP ============ */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1) rotate(8deg);
  color: #fff;
}
.wa-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.6;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

#backToTop {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  cursor: pointer;
}
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#backToTop:hover {
  transform: translateY(-5px);
}

/* ============ TOPBAR ============ */
.topbar {
  background: var(--dark);
  color: #eadfe1;
  font-size: 0.86rem;
  padding: 9px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-info {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.topbar-info li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.topbar-info i {
  color: var(--primary-light);
}
.topbar-info a {
  color: #eadfe1;
  transition: color 0.25s;
}
.topbar-info a:hover {
  color: var(--primary-light);
}
.topbar-social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-social a {
  color: #eadfe1;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-social a:hover {
  color: var(--primary-light);
  transform: translateY(-2px);
}
.topbar-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
}
@media (max-width: 991.98px) {
  .topbar {
    display: none;
  }
}

/* ============ NAVBAR ============ */
.main-nav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}
.main-nav.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}
/* logo art is tightly cropped (473x149), so it needs less height than a padded mark */
.logo-img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}
.main-nav.scrolled .logo-img {
  height: 42px;
}
@media (max-width: 575.98px) {
  .logo-img {
    height: 42px;
  }
  .main-nav.scrolled .logo-img {
    height: 38px;
  }
}

.navbar-nav {
  gap: 4px;
}
.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark) !important;
  padding: 10px 16px !important;
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 18px;
  flex-shrink: 0;
}
.navbar-brand {
  flex-shrink: 0;
}
/* centred links: keep them from crowding the logo / CTA on narrow desktops */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-link {
    padding: 10px 11px !important;
    font-size: 0.9rem;
  }
  .nav-link::after {
    left: 11px;
    right: 11px;
  }
  .nav-cta .btn-brand {
    padding: 11px 22px;
  }
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
}
.nav-phone i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rose-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: var(--transition);
}
.nav-phone:hover i {
  background: var(--gradient-brand);
  color: #fff;
  transform: rotate(10deg);
}
.nav-phone small {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-phone strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.nav-toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: var(--rose-bg);
  border: none;
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggler span {
  width: 20px;
  height: 2px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 991.98px) {
  .nav-toggler {
    display: flex;
  }
}

/* ============ MOBILE OFFCANVAS MENU (left -> right) ============ */
.mobile-menu {
  width: 300px;
  background: var(--white);
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.2);
}
.offcanvas-header {
  padding: 20px;
  border-bottom: 1px solid #f1e7e9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.offcanvas-logo {
  height: 38px;
  width: auto;
}
.btn-close-custom {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--rose-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.btn-close-custom:hover {
  background: var(--gradient-brand);
  color: #fff;
  transform: rotate(90deg);
}
.offcanvas-body {
  padding: 24px 20px;
}
.mobile-nav-links li {
  border-bottom: 1px solid #f6eef0;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}
.mobile-nav-links a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  opacity: 0;
  transition: var(--transition);
}
.mobile-nav-links a:hover {
  color: var(--primary);
  padding-left: 10px;
}
.mobile-nav-links a:hover::after {
  opacity: 1;
}
.mobile-menu-footer {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #f6eef0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-weight: 500;
}
.mobile-menu-footer a i {
  color: var(--primary);
}
.mobile-social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.mobile-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rose-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-social a:hover {
  background: var(--gradient-brand);
  color: #fff;
}

/* Ensure Bootstrap offcanvas-start truly slides left -> right into view */
.offcanvas-start {
  --bs-offcanvas-width: 300px;
}

/* ============ INNER PAGE HEADER ============ */
.page-header {
  background: var(--gradient-brand);
  padding: 60px 0 60px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.08) 2px,
    transparent 2px
  );
  background-size: 22px 22px;
}
.page-header .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: transparent;
  position: relative;
}
.page-header h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 14px 0 10px;
  position: relative;
}
.page-header nav {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
}
.page-header nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.page-header nav a:hover {
  text-decoration: underline;
}
.page-header nav i {
  font-size: 0.7rem;
  margin: 0 4px;
}
.page-header nav span {
  color: #fff;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff7f7 0%, #ffffff 100%);
}
@media (max-width: 991.98px) {
  .hero {
    padding: 60px 0 70px;
  }
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.shape-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.16) 0%,
    rgba(var(--primary-rgb), 0) 70%
  );
  top: -160px;
  right: -120px;
  animation: floatY 7s ease-in-out infinite;
}
.shape-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.1) 0%,
    rgba(var(--primary-rgb), 0) 70%
  );
  bottom: -120px;
  left: -100px;
  animation: floatY 9s ease-in-out infinite reverse;
}
.shape-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(232, 169, 60, 0.16) 0%,
    rgba(232, 169, 60, 0) 70%
  );
  top: 38%;
  right: 8%;
  animation: floatY 8s ease-in-out infinite;
}
.shape-dots {
  width: 220px;
  height: 220px;
  top: 20%;
  left: 6%;
  background-image: radial-gradient(
    rgba(var(--primary-rgb), 0.35) 2px,
    transparent 2px
  );
  background-size: 18px 18px;
  border-radius: 0;
  opacity: 0.5;
  filter: none;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-bg);
  border: 1px solid #eee0e3;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 8px 16px 8px 14px;
  border-radius: 50px;
}
.status-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: #2fae60;
  animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 174, 96, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(47, 174, 96, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 174, 96, 0);
  }
}
.hero-title {
  font-size: clamp(2rem, 4.6vw, 3rem);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  max-width: 540px;
}
.hero-text {
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.btn-brand {
  box-shadow: 0 10px 26px rgba(var(--primary-rgb), 0.32);
}
.btn-brand:hover {
  box-shadow: 0 14px 34px rgba(var(--primary-rgb), 0.42);
}

.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #f5e9ec;
  border-radius: var(--radius);
  padding: 14px 22px 14px 14px;
  box-shadow: var(--shadow-sm);
}
.proof-avatars {
  display: flex;
}
.proof-avatars span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rose-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  margin-left: -12px;
}
.proof-avatars span:first-child {
  margin-left: 0;
}
.proof-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.proof-stars {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.proof-stars strong {
  color: var(--dark);
  font-family: var(--font-heading);
  margin-left: 6px;
  font-size: 0.85rem;
  letter-spacing: 0;
}
.proof-text > span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-visual-block {
  position: absolute;
  inset: 26px -22px -22px 26px;
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.hero-img-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
  transform-style: preserve-3d;
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 767.98px) {
  .hero-img-frame img {
    height: 320px;
    object-position: center 20%;
  }
  .hero-visual-block {
    inset: 16px -12px -12px 16px;
  }
}

.hero-verified-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-md);
}

.floating-card {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 22px 14px 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  animation: floatCard 4s ease-in-out infinite;
}
.floating-card i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.fc-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.fc-text strong {
  display: flex;
  align-items: baseline;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--dark);
  /* steady digit width so the count-up doesn't make the card jitter */
  font-variant-numeric: tabular-nums;
}
.fc-text strong em {
  font-style: normal;
  font-size: 0.78em;
  color: var(--primary);
  margin-left: 1px;
}
.card-experience .fc-text strong {
  min-width: 3ch;
}
.card-scans .fc-text strong {
  min-width: 6.6ch;
}
.fc-label {
  margin-top: 4px;
  font-size: 0.76rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.015em;
  color: var(--text-muted);
  white-space: nowrap;
}
.card-experience {
  top: 8%;
  left: -5%;
  animation-delay: 0s;
}
.card-scans {
  bottom: 8%;
  right: -5%;
  animation-delay: 0.6s;
}
@media (min-width: 1400px) {
  .card-experience {
    left: -36px;
  }
  .card-scans {
    right: -36px;
  }
}
@media (max-width: 575.98px) {
  .card-experience {
    left: -4px;
  }
  .card-scans {
    right: -4px;
  }
  .floating-card {
    padding: 10px 16px 10px 11px;
    gap: 10px;
  }
  .floating-card i {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .fc-text strong {
    font-size: 1.2rem;
  }
  .fc-label {
    font-size: 0.7rem;
    margin-top: 3px;
  }
}
@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll-cue span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}
@media (max-width: 767.98px) {
  .hero-scroll-cue {
    display: none;
  }
}

/* ============ SPECIALTIES MARQUEE ============ */
.marquee-strip {
  position: relative;
  background: linear-gradient(
    90deg,
    var(--dark) 0%,
    var(--dark-soft) 50%,
    var(--dark) 100%
  );
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(var(--primary-rgb), 0.25);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.25);
}
/* soft edges so items fade out instead of being cut off mid-word */
/*.marquee-strip::before,*/
/*.marquee-strip::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  top: 0;*/
/*  bottom: 0;*/
/*  width: 100px;*/
/*  z-index: 2;*/
/*  pointer-events: none;*/
/*}*/
/*.marquee-strip::before {*/
/*  left: 0;*/
/*  background: linear-gradient(90deg, var(--dark) 15%, rgba(28, 17, 22, 0));*/
/*}*/
/*.marquee-strip::after {*/
/*  right: 0;*/
/*  background: linear-gradient(270deg, var(--dark) 15%, rgba(28, 17, 22, 0));*/
/*}*/
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
  will-change: transform;
}
.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0 30px;
  position: relative;
  transition: color 0.3s;
}
/* diamond separator, centred in the gap between two items */
.marquee-group span::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: rgba(var(--primary-rgb), 0.6);
}
.marquee-group span i {
  width: 27px;
  height: 27px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--primary-light);
  background: rgba(var(--primary-rgb), 0.18);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  transition: var(--transition);
}
.marquee-group span:hover {
  color: #fff;
}
.marquee-group span:hover i {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
}
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 575.98px) {
  .marquee-strip {
    padding: 13px 0;
  }
  .marquee-group span {
    font-size: 0.81rem;
    padding: 0 20px;
    gap: 9px;
  }
  .marquee-group span i {
    width: 23px;
    height: 23px;
    border-radius: 7px;
    font-size: 0.7rem;
  }
  .marquee-strip::before,
  .marquee-strip::after {
    width: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ============ TRUST STRIP ============ */
/* ============ ABOUT ============ */
.about-heading {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 30px;
  line-height: 1.2;
}
.accent-italic {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
  display: inline-block;
}

.about-photo-wrap {
  position: relative;
  padding-bottom: 10px;
}
.about-photo {
  border-radius: 30px 30px 30px 110px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s;
}
.about-photo:hover img {
  transform: scale(1.08);
}

.hours-card {
  position: absolute;
  top: 26px;
  right: -18px;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 22px 22px 22px 4px;
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  animation: floatCard 5s ease-in-out infinite;
  z-index: 2;
}
.hours-card::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--primary-dark);
  bottom: -8px;
  left: 0;
  border-radius: 0 0 22px 0;
}
.hours-card h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hours-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hours-card li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.82rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.hours-card li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.hours-card li span {
  color: rgba(255, 255, 255, 0.8);
}
.hours-card li strong {
  font-family: var(--font-heading);
}
@media (max-width: 991.98px) {
  .hours-card {
    right: 10px;
  }
}
@media (max-width: 575.98px) {
  .hours-card {
    position: static;
    margin-top: -30px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .about-photo {
    border-radius: 24px;
  }
}

.about-stat-row {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.about-big-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 6.5rem;
  line-height: 1;
  color: var(--primary);
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .about-big-number {
    background:
      linear-gradient(
        135deg,
        rgba(var(--primary-rgb), 0.82),
        rgba(74, 6, 17, 0.88)
      ),
      url("../images/men-health-scan.jpg") center/cover;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.about-big-number .plus {
  font-size: 3.4rem;
}
.about-number-label {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--dark);
  line-height: 1.4;
  border-left: 3px solid var(--primary);
  padding-left: 14px;
}

/* ---- About teaser (home) ---- */
.about-teaser {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fffafb 55%, #fff 100%);
}
.about-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.about-glow-1 {
  width: 360px;
  height: 360px;
  top: -120px;
  left: -140px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.22), transparent 70%);
}
.about-glow-2 {
  width: 420px;
  height: 420px;
  bottom: -180px;
  right: -160px;
  background: radial-gradient(circle, rgba(232, 169, 60, 0.18), transparent 70%);
}
.about-teaser .container {
  position: relative;
  z-index: 1;
}

.about-features {
  margin: 30px 0 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
}
.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #f3e6e9;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(74, 6, 17, 0.04);
  transition: var(--transition);
}
.about-features li:hover {
  transform: translateX(6px);
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: var(--shadow-md);
}
.af-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rose-bg);
  color: var(--primary);
  font-size: 1.05rem;
  transition: var(--transition);
}
.about-features li:hover .af-icon {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 50%;
}
.af-text h4 {
  font-size: 1rem;
  margin: 0 0 3px;
  color: var(--dark);
}
.af-text p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.about-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
}
.about-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.about-call-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--rose-bg);
  border: 1px dashed rgba(var(--primary-rgb), 0.35);
  transition: var(--transition);
}
.about-call:hover .about-call-icon {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
}
.about-call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.about-call-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.about-call-text strong {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  color: var(--dark);
}
.about-call:hover .about-call-text strong {
  color: var(--primary);
}

/* Visual side */
.about-visual {
  position: relative;
  padding: 24px 24px 24px 0;
}
/* offset outline + soft corner wedge instead of a heavy solid slab */
.about-visual-shape {
  position: absolute;
  top: 48px;
  right: 0;
  bottom: 0;
  left: 48px;
  border: 1.5px solid rgba(var(--primary-rgb), 0.22);
  border-radius: var(--radius-lg) var(--radius-lg) 92px var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.045),
    rgba(232, 169, 60, 0.05)
  );
  z-index: 0;
}
.about-visual-shape::after {
  content: "";
  position: absolute;
  right: -1.5px;
  bottom: -1.5px;
  width: 46%;
  height: 46%;
  background: var(--gradient-brand);
  border-radius: 100px 0 92px 0;
  opacity: 0.92;
}
/* single dotted row peeking above the frame */
.about-visual-dots {
  position: absolute;
  top: 0;
  left: 10px;
  width: 168px;
  height: 18px;
  background-image: radial-gradient(rgba(var(--primary-rgb), 0.45) 2.5px, transparent 2.5px);
  background-size: 18px 18px;
  z-index: 0;
}
.about-img-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
}
.about-img-frame img {
  width: 100%;
  height: 530px;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-visual:hover .about-img-frame img {
  transform: scale(1.04);
}
/* keeps the overlay cards legible over a busy photo */
.about-img-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(28, 17, 22, 0.55) 0%,
    rgba(28, 17, 22, 0.16) 30%,
    rgba(28, 17, 22, 0) 58%
  );
}

.about-exp-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 18px;
  border-radius: 16px;
  background: var(--gradient-brand);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 30px rgba(74, 6, 17, 0.3);
  animation: floatSoft 5s ease-in-out infinite;
}
.about-exp-badge strong {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  line-height: 1;
}
.about-exp-badge sup {
  font-size: 0.85rem;
  top: -0.75em;
  color: var(--gold);
}
.about-exp-badge span {
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.03em;
  padding-left: 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.about-mini-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px 13px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(28, 17, 22, 0.22);
  animation: floatSoft 4.6s ease-in-out infinite;
  animation-delay: 0.7s;
}
.amc-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--rose-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-mini-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--dark);
  line-height: 1.2;
}
.about-mini-card small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (max-width: 991.98px) {
  .about-visual {
    padding: 22px 20px 20px 0;
  }
  .about-img-frame img {
    height: 400px;
  }
  .about-visual-shape {
    top: 40px;
    left: 40px;
  }
}
@media (max-width: 575.98px) {
  .about-features li {
    padding: 14px;
    gap: 12px;
  }
  .about-visual {
    padding: 18px 14px 14px 0;
  }
  .about-img-frame img {
    height: 300px;
  }
  .about-img-frame {
    border-width: 6px;
  }
  .about-visual-shape {
    top: 30px;
    left: 30px;
    border-radius: var(--radius) var(--radius) 64px var(--radius);
  }
  .about-visual-shape::after {
    border-radius: 70px 0 64px 0;
  }
  .about-exp-badge {
    top: 12px;
    right: 12px;
    padding: 10px 14px;
    gap: 9px;
  }
  .about-exp-badge strong {
    font-size: 1.45rem;
  }
  .about-mini-card {
    left: 12px;
    bottom: 12px;
    padding: 10px 16px 10px 11px;
  }
  .about-visual-dots {
    display: none;
  }
  .about-cta {
    gap: 14px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-exp-badge,
  .about-mini-card {
    animation: none;
  }
}

.about-points {
  margin: 22px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--text-dark);
}
.about-points i {
  color: var(--primary);
  margin-top: 4px;
}

.btn-discover {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark);
  padding: 6px 6px 6px 26px;
  border: 2px solid #eee0e3;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-discover span {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.btn-discover:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.btn-discover:hover span {
  transform: rotate(45deg) scale(1.05);
  border-radius: 50%;
}

/* ============ SPECIALTY BANNER ============ */
.specialty-banner {
  background: var(--gradient-brand);
  padding: 46px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.specialty-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.08) 2px,
    transparent 2px
  );
  background-size: 22px 22px;
  pointer-events: none;
}
/* keeps the dot overlay behind the copy, not on top of it */
.specialty-banner .container {
  position: relative;
  z-index: 1;
}
.specialty-banner h3 {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 8px;
}
.specialty-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  text-wrap: pretty;
}
.specialty-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: pulseLogo 2.4s ease-in-out infinite;
}
/* below lg the three columns stack full width — the old col-4/col-8 split
   squeezed the copy into ~215px and stranded the icon in an empty third */
@media (max-width: 991.98px) {
  .specialty-banner {
    padding: 38px 0;
  }
  .specialty-banner .row {
    --bs-gutter-y: 1.25rem;
  }
  .specialty-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    font-size: 1.75rem;
  }
  .specialty-banner h3 {
    font-size: 1.28rem;
  }
  .specialty-banner p {
    font-size: 0.92rem;
  }
  .specialty-banner .btn-light-brand {
    width: 100%;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .specialty-icon {
    animation: none;
  }
}

/* ============ CATEGORY CARDS (full-bleed photo, overlaid content) ============ */
.cat-card {
  position: relative;
  display: block;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  isolation: isolate;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.cat-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
.cat-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-card:hover .cat-card-img {
  transform: scale(1.06);
}
/* dark veil: carries the overlaid text at any photo brightness */
.cat-card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(24, 14, 18, 0.93) 0%,
    rgba(24, 14, 18, 0.76) 26%,
    rgba(24, 14, 18, 0.3) 54%,
    rgba(24, 14, 18, 0.06) 100%
  );
}
/* brand tint washes in on hover */
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(var(--primary-rgb), 0.88) 0%,
    rgba(var(--primary-rgb), 0.5) 42%,
    rgba(var(--primary-rgb), 0) 78%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
}
.cat-card:hover::after {
  opacity: 1;
}
.cat-card-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 26px 22px 24px;
  text-align: left;
}
.cat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.12rem;
  margin-bottom: 14px;
  transition: var(--transition);
}
.cat-card:hover .cat-icon {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
  border-radius: 50%;
}
.cat-card h4 {
  color: #fff;
  font-size: 1.16rem;
  margin: 0 0 6px;
}
.cat-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  text-wrap: pretty;
}
.explore-link {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.79rem;
  letter-spacing: 0.01em;
  color: #fff;
}
.explore-link i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}
.cat-card:hover .explore-link i {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
  transform: translateX(3px);
}
@media (max-width: 1199.98px) {
  .cat-card {
    height: 395px;
  }
}
@media (max-width: 991.98px) {
  .cat-card {
    height: 375px;
  }
}
@media (max-width: 575.98px) {
  .cat-card {
    height: 330px;
  }
  .cat-card-body {
    padding: 22px 18px 20px;
  }
}

/* ============ SERVICE FILTER BAR + CARDS ============ */
.services-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.services-filter-bar strong {
  color: var(--primary);
  font-family: var(--font-heading);
}
.reset-filter {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  transition: var(--transition);
}
.services-filter-bar.is-filtered .reset-filter {
  display: inline-flex;
  background: var(--rose-bg);
  color: var(--primary);
}
.reset-filter:hover {
  background: var(--gradient-brand);
  color: #fff;
}

.svc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #f5e9ec;
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: left;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}
.svc-card i,
.svc-card h5 {
  position: relative;
  z-index: 1;
}
.svc-card i {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--rose-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.svc-card h5 {
  font-size: 0.84rem;
  line-height: 1.32;
  margin: 0;
  font-weight: 600;
  transition: color 0.3s;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}
.svc-card:hover::before {
  opacity: 1;
}
.svc-card:hover i {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: scale(1.08);
}
.svc-card:hover h5 {
  color: #fff;
}
.svc-flagship {
  background: var(--rose-bg);
  border-color: rgba(var(--primary-rgb), 0.25);
}
.svc-flagship i {
  background: #fff;
  color: var(--gold);
}
.svc-flagship:hover i {
  color: var(--gold);
}

.checks-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 46px;
}
.check-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--rose-bg);
  color: var(--primary);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: var(--transition);
}
.check-chip:hover {
  background: var(--gradient-brand);
  color: #fff;
  transform: translateY(-3px);
}

/* ============ WHY US ============ */
.why-us-section {
  background: var(--gray-bg);
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-item i {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 16px;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-item:hover i {
  background: var(--gradient-brand);
  color: #fff;
  transform: rotate(-8deg) scale(1.08);
}
.feature-item h5 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 0.87rem;
  margin: 0;
}

.why-us-visual {
  position: relative;
}
.why-us-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.why-us-stats {
    display: none !important;
  /*position: absolute;*/
  /*bottom: -30px;*/
  /*left: 50%;*/
  /*transform: translateX(-50%);*/
  /*display: flex;*/
  /*gap: 14px;*/
  /*width: 90%;*/
}
.stat-block {
  flex: 1;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.stat-block h3 {
  color: var(--primary);
  font-size: 1.7rem;
  margin-bottom: 2px;
}
.stat-block p {
  font-size: 0.78rem;
  margin: 0;
  font-weight: 500;
}
@media (max-width: 991.98px) {
  .why-us-visual {
    margin-bottom: 40px;
  }
}

/* ============ ACHIEVEMENT BANNER ============ */
.achievement-banner {
  background: var(--gradient-brand);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.achievement-banner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 16px;
}
.achievement-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  max-width: 480px;
}
.achieve-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 26px 14px;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.achieve-stat:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-6px);
}
.achieve-stat h3 {
  color: #fff;
  font-size: 1.9rem;
  margin-bottom: 4px;
}
.achieve-stat p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ============ DOCTOR PROFILE ============ */
.doctor-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
}
.doctor-photo-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s;
}
.doctor-photo-frame:hover img {
  transform: scale(1.06);
}

.brochure-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 16px;
  background: var(--rose-bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.brochure-mini:hover {
  background: var(--gradient-brand);
}
.brochure-mini img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.brochure-mini span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--primary);
  transition: var(--transition);
}
.brochure-mini:hover span {
  color: #fff;
}

.doctor-info-card h3 {
  font-size: 2rem;
  margin-bottom: 6px;
}
.doctor-sub {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 18px;
}
.doctor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}
.doctor-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rose-bg);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 9px 16px;
  border-radius: 50px;
  transition: var(--transition);
}
.doctor-badges span:hover {
  background: var(--gradient-brand);
  color: #fff;
  transform: translateY(-3px);
}
.doctor-info-card blockquote {
  border-left: 4px solid var(--primary);
  padding: 14px 20px;
  margin: 0 0 26px;
  background: var(--rose-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-dark);
}
.doctor-info-card blockquote span {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
  font-size: 0.85rem;
}

/* ============ HOME TEASER CARDS (condensed cross-links to inner pages) ============ */
/* two portrait plates, the second stepped down and to the right */
.doctor-photo-stack {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0 8px;
}
.dps-item {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  margin: 0;
  aspect-ratio: 3 / 4.15;
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.dps-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.dps-secondary {
  margin-top: 62px;
}
.dps-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(74, 6, 17, 0.24);
}
.dps-item:hover img {
  transform: scale(1.06);
}
/* dotted row above the first plate */
.dps-dots {
  position: absolute;
  top: 0;
  left: 8px;
  width: 152px;
  height: 16px;
  background-image: radial-gradient(
    rgba(var(--primary-rgb), 0.45) 2.5px,
    transparent 2.5px
  );
  background-size: 18px 18px;
  z-index: 0;
}
/* soft brand plate behind the lower-right plate */
.dps-shape {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 46%;
  height: 52%;
  border-radius: 24px 24px 90px 24px;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.1),
    rgba(var(--primary-rgb), 0.28)
  );
  z-index: 0;
}

.doctor-teaser-content h3 {
  font-size: 1.9rem;
  margin: 10px 0 4px;
}
@media (max-width: 991.98px) {
  .doctor-photo-stack {
    gap: 14px;
    padding: 18px 0 6px;
  }
  .dps-secondary {
    margin-top: 46px;
  }
}
@media (max-width: 575.98px) {
  .dps-item {
    border-width: 5px;
    border-radius: 18px;
  }
  .dps-secondary {
    margin-top: 34px;
  }
  .dps-dots {
    display: none;
  }
  .doctor-teaser-content h3 {
    font-size: 1.6rem;
  }
}

/* ============ GALLERY ============ */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--primary-rgb), 0.1) 0%,
    rgba(74, 6, 17, 0.75) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-overlay i {
  color: #fff;
  font-size: 1.6rem;
  transform: scale(0.6);
  transition: var(--transition);
}
.gallery-item:hover img {
  transform: scale(1.15);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}
@media (max-width: 575.98px) {
  .gallery-item img {
    height: 160px;
  }
}

.brochure-highlight {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--rose-bg);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: var(--transition);
}
.brochure-thumb {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: var(--radius);
}
.brochure-thumb img {
  height: 140px;
  object-fit: cover;
}
.brochure-text h4 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}
.brochure-text p {
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.btn-sm-view {
  font-size: 0.82rem;
  padding: 8px 18px;
  cursor: pointer;
  display: inline-flex;
}
@media (max-width: 575.98px) {
  .brochure-highlight {
    flex-direction: column;
    text-align: center;
  }
}

.lightbox-modal {
  background: transparent;
  border: none;
}
.lightbox-modal img {
  border-radius: var(--radius);
}
.modal-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 10;
}

/* ============ TESTIMONIALS ============ */
.testimonials-section {
  background: linear-gradient(
    180deg,
    #fff 0%,
    var(--rose-bg) 35%,
    var(--rose-bg) 100%
  );
  position: relative;
  overflow: hidden;
}
.testimonials-section .container {
  position: relative;
  z-index: 1;
}
.testimonial-swiper {
  padding: 10px 4px 0;
}
/* equal-height slides: the card stretches, the author block pins to the bottom */
.testimonial-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid #f6e9ec;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.2);
  box-shadow: var(--shadow-md);
}
.quote-icon {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3.1rem;
  line-height: 1;
  color: rgba(var(--primary-rgb), 0.09);
  transform: rotate(8deg);
  pointer-events: none;
}
.stars {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 0.88rem;
  letter-spacing: 3px;
}
.testimonial-card p {
  position: relative;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 22px;
  text-wrap: pretty;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #f3e7ea;
}
.avatar-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.28);
}
.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
}
.testimonial-author small {
  color: var(--text-muted);
  font-size: 0.78rem;
}
/* arrows + dots share one centred control row */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 38px;
}
.testi-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--primary);
  background: #fff;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  cursor: pointer;
  transition: var(--transition);
}
.testi-nav:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}
.testi-nav:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.testi-controls .swiper-pagination {
  position: static;
  width: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.testimonial-swiper .swiper-pagination-bullet {
  background: var(--primary);
  opacity: 0.28;
  margin: 0;
  transition: var(--transition);
}
.testimonial-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--gradient-brand);
  width: 26px;
  border-radius: 6px;
}
@media (max-width: 575.98px) {
  .testimonial-card {
    padding: 26px 22px 24px;
  }
  .testi-controls {
    gap: 16px;
    margin-top: 30px;
  }
  .testi-nav {
    width: 42px;
    height: 42px;
  }
}

/* ============ FAQ ============ */
.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 14px;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 20px 24px;
  color: var(--text-dark);
  background: #fff;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--gradient-brand);
  color: #fff;
}
.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border: none;
}
.faq-accordion .accordion-button::after {
  filter: none;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}
.faq-accordion .accordion-body {
  padding: 20px 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ============ CONTACT ============ */
.contact-section {
  background: var(--gray-bg);
}
.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.contact-info-card i {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--rose-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.contact-info-card:hover i {
  background: var(--gradient-brand);
  color: #fff;
  transform: rotateY(180deg);
}
.contact-info-card h5 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.contact-info-card p {
  margin: 0;
  font-size: 0.92rem;
}
.contact-info-card a {
  color: var(--text-muted);
}

.contact-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.contact-form-box {
  padding: 46px 40px;
  position: relative;
}
.contact-form-box h3 {
  margin-bottom: 24px;
}
.contact-form-box .form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.contact-form-box .form-control,
.contact-form-box .form-select {
  border: 1.5px solid #eee0e3;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.92rem;
  transition: var(--transition);
}
.contact-form-box .form-control:focus,
.contact-form-box .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}
.contact-map {
  min-height: 340px;
  height: 100%;
}
.contact-map iframe {
  min-height: 420px;
  filter: grayscale(15%);
}
@media (max-width: 991.98px) {
  .contact-form-box {
    padding: 32px 22px;
  }
}

.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.form-success.show {
  display: flex;
  animation: fadeInScale 0.5s ease;
}
.form-success i {
  font-size: 3.5rem;
  color: #2fae60;
  margin-bottom: 16px;
}
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============ FOOTER ============ */
.site-footer {
  position: relative;
  background: var(--dark);
  color: #cbb9bd;
  overflow: hidden;
}
/* brand glow bleeding in behind the first column */
.site-footer::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -120px;
  width: 520px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.22),
    transparent 68%
  );
  pointer-events: none;
}
.site-footer .container {
  position: relative;
  z-index: 1;
}

/* ---- CTA band ---- */
.footer-cta {
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.16),
    rgba(var(--primary-rgb), 0.04)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-cta-text h3 {
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  margin: 0 0 6px;
}
.footer-cta-text p {
  color: #b9a4aa;
  font-size: 0.9rem;
  margin: 0;
}
.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-wa-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  transition: var(--transition);
}
.btn-wa-ghost i {
  font-size: 1.1rem;
  color: #48c95f;
}
.btn-wa-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--dark);
}

.footer-top {
  padding: 70px 0 50px;
}
.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.footer-top p {
  color: #a9949a;
  font-size: 0.92rem;
  line-height: 1.7;
}
.site-footer h5 {
  position: relative;
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
}
.site-footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-links a {
  color: #a9949a;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  transition: color 0.3s, transform 0.3s;
}
/* dash marker grows on hover — no padding shift, so nothing reflows */
.footer-links a::before {
  content: "";
  width: 8px;
  height: 2px;
  border-radius: 2px;
  flex-shrink: 0;
  background: var(--primary-light);
  transition: width 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer-links a:hover::before {
  width: 16px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  border-radius: 50%;
  transform: translateY(-4px);
}
.footer-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
}
.footer-contact-mini li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  line-height: 1.5;
}
.footer-contact-mini i {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.16);
  color: var(--primary-light);
}
.footer-contact-mini a,
.footer-contact-mini span {
  color: #a9949a;
  transition: color 0.3s;
}
.footer-contact-mini a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.83rem;
}
.footer-bottom-inner p {
  margin: 0;
  color: #8e7a80;
}
.footer-bottom-inner i {
  color: var(--primary-light);
}
@media (max-width: 767.98px) {
  .footer-cta {
    padding: 28px 0;
  }
  .footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-cta-actions {
    width: 100%;
  }
  .footer-cta-actions .btn,
  .btn-wa-ghost {
    /* flex: 1; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .footer-top {
    padding: 52px 0 40px;
  }
}

/* ============ COUNTER (jQuery-driven) fallback display ============ */
.counter {
  font-variant-numeric: tabular-nums;
}

/* ============ AOS override for consistent easing ============ */
[data-aos] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ============ HERO TRUST BAR (overlaps hero / marquee seam) ============ */
.hero-trust-bar {
  position: relative;
  z-index: 3;
  margin-top: -64px;
}
.trust-bar-inner {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 210px;
}
.trust-item i {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 16px;
  background: var(--rose-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition);
}
.trust-item:hover i {
  background: var(--gradient-brand);
  color: #fff;
  transform: rotate(-8deg) scale(1.06);
}
.trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--dark);
}
.trust-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
@media (max-width: 991.98px) {
  .trust-bar-inner {
    padding: 26px 22px;
  }
}
@media (max-width: 767.98px) {
  .hero-trust-bar {
    margin-top: -36px;
  }
  .trust-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
    gap: 20px;
  }
}

/* ============ POPULAR SERVICES (homepage) ============ */
.popular-services-section {
  background: var(--gray-bg);
}
.pop-svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f2e7ea;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}
/* accent rule draws across the top edge on hover */
.pop-svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.pop-svc-card:hover::before {
  transform: scaleX(1);
}
/* warm glow bleeding in from the corner */
.pop-svc-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.14),
    transparent 70%
  );
  opacity: 0;
  z-index: -1;
  transition: opacity 0.45s ease;
}
.pop-svc-card:hover::after {
  opacity: 1;
}
.popular-services-section .pop-svc-card::after {
  display: none;
}
/* image-card variant: photo bleeds to the card edges, text sits below */
.pop-svc-card--img {
  padding: 0;
}
.pop-svc-card--img::before {
  z-index: 2;
}
.pop-svc-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--rose-bg);
}
.pop-svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.pop-svc-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(var(--primary-rgb), 0.18)
  );
  pointer-events: none;
}
.pop-svc-card--img:hover .pop-svc-img img {
  transform: scale(1.06);
}
.pop-svc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}
.pop-svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.22);
}
.pop-svc-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--rose-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  flex-shrink: 0;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.1);
  transition: var(--transition);
}
.pop-svc-card:hover .pop-svc-icon {
  background: var(--gradient-brand);
  border-color: transparent;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 22px rgba(var(--primary-rgb), 0.3);
}
.pop-svc-card h4 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 9px;
  transition: color 0.3s;
}
.pop-svc-card:hover h4 {
  color: var(--primary);
}
.pop-svc-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 20px;
  text-wrap: pretty;
}
/* bottom-aligned so every card's CTA shares one baseline */
.pop-svc-link {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f3e7ea;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.83rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: border-color 0.3s;
}
.pop-svc-link i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  background: rgba(var(--primary-rgb), 0.1);
  transition: var(--transition);
}
.pop-svc-card:hover .pop-svc-link i {
  background: var(--gradient-brand);
  color: #fff;
  transform: translateX(3px);
}
@media (max-width: 575.98px) {
  .pop-svc-card {
    padding: 26px 22px 22px;
  }
  .pop-svc-card--img {
    padding: 0;
  }
  .pop-svc-body {
    padding: 20px 22px 22px;
  }
  .pop-svc-icon {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
    margin-bottom: 16px;
  }
}

/* ============ HOW IT WORKS / PROCESS ============ */
.process-section {
  background: var(--rose-bg);
}
.process-step {
  text-align: center;
  position: relative;
  padding: 0 12px;
}
/* dashed run from this step's disc to the next one's */
.process-connector {
  position: absolute;
  top: 37px;
  left: calc(50% + 44px);
  width: calc(100% - 64px);
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(var(--primary-rgb), 0.32) 0 7px,
    transparent 7px 16px
  );
  z-index: 0;
}
.process-connector::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(var(--primary-rgb), 0.45);
  border-right: 2px solid rgba(var(--primary-rgb), 0.45);
  transform: translateY(-50%) rotate(45deg);
}
.process-number {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin: 0 auto 18px;
  position: relative;
  z-index: 2;
  /* ring matches the section ground so the dashed line passes cleanly behind */
  border: 6px solid var(--rose-bg);
  box-shadow: 0 12px 26px rgba(var(--primary-rgb), 0.26);
  transition: var(--transition);
}
.process-step:hover .process-number {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(var(--primary-rgb), 0.34);
}
.process-step-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  padding: 4px 13px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.process-step h5 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.87rem;
  line-height: 1.6;
  margin: 0;
  text-wrap: pretty;
}
/* below lg each step becomes a row: disc on the left, copy on the right,
   with the dashed run turned vertical so the journey still reads as a sequence */
@media (max-width: 991.98px) {
  .process-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
    padding: 0;
  }
  .process-number {
    width: 58px;
    height: 58px;
    font-size: 1.15rem;
    border-width: 4px;
    margin: 0;
    flex-shrink: 0;
  }
  .process-text {
    padding-top: 2px;
  }
  .process-connector {
    top: 58px;
    left: 29px; /* centre of the 58px disc */
    width: 2px;
    /* disc bottom -> next disc top, across the 24px row gutter */
    height: calc(100% - 34px);
    background-image: repeating-linear-gradient(
      180deg,
      rgba(var(--primary-rgb), 0.32) 0 7px,
      transparent 7px 16px
    );
  }
  .process-connector::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
  .process-step:hover .process-number {
    transform: none;
  }
  .process-step h5 {
    font-size: 1.08rem;
    margin-bottom: 6px;
  }
  .process-step p {
    max-width: 46ch;
  }
  .process-step-label {
    margin-bottom: 9px;
  }
}

/* ============ RESPONSIVE FIXES ============ */
@media (max-width: 575.98px) {
  .hero-btns {
    flex-direction: column;
  }
  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }
  .doctor-badges {
    justify-content: center;
  }
  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}

/* ============ PREVENTIVE SCREENING + LAB ============ */
.preventive-section {
  position: relative;
  background: var(--rose-bg);
  overflow: hidden;
}
.prev-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.prev-glow-1 {
  width: 320px;
  height: 320px;
  background: rgba(var(--primary-rgb), 0.18);
  top: -110px;
  right: -80px;
}
.prev-glow-2 {
  width: 260px;
  height: 260px;
  background: rgba(232, 169, 60, 0.16);
  bottom: -100px;
  left: -70px;
}
.preventive-section .container {
  position: relative;
  z-index: 2;
}

.prev-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 20px;
}
.prev-check {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.prev-check i {
  font-size: 1.05rem;
}
.prev-check:hover {
  background: var(--gradient-brand);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.prev-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 26px;
}

.lab-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 38px 38px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
}
.lab-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.lab-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.lab-card > p {
  color: var(--text-muted);
  margin-bottom: 26px;
}
.lab-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.lab-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px dashed rgba(var(--primary-rgb), 0.18);
}
.lab-list li > i {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--rose-bg);
  color: var(--primary);
}
.lab-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  color: var(--text-dark);
}
.lab-list span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.lab-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
.lab-call:hover {
  color: var(--primary-dark);
  gap: 14px;
}

@media (max-width: 575.98px) {
  .lab-card {
    padding: 32px 24px 30px;
  }
  .prev-tagline {
    font-size: 1.15rem;
  }
  .prev-check {
    padding: 9px 16px;
    font-size: 0.88rem;
  }
}

/* ============ HOW TO REACH US ============ */
.reach-section {
  background: var(--white);
}
.reach-card {
  height: 100%;
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid rgba(var(--primary-rgb), 0.07);
  transition: var(--transition);
}
.reach-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.reach-card i {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}
.reach-card h5 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.reach-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0;
}

/* ============ INNER PAGES: SHARED FILTER PILLS (services + gallery) ============ */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  background: #fff;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--transition);
}
.filter-pill i {
  color: var(--primary);
  font-size: 0.8rem;
  transition: color 0.3s;
}
.filter-pill:hover {
  background: var(--rose-bg);
  border-color: rgba(var(--primary-rgb), 0.35);
  transform: translateY(-2px);
}
.filter-pill.active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.filter-pill.active i {
  color: #fff;
}
.filter-pill:focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), 0.4);
  outline-offset: 2px;
}

/* ============ SERVICES PAGE ============ */
/* category card acting as an active filter */
.cat-card-check {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
}
.cat-card.is-active {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}
.cat-card.is-active .cat-card-check {
  opacity: 1;
  transform: scale(1);
}
.cat-card.is-active::after {
  opacity: 1;
}
.cat-card.is-active .explore-link i {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
}

.svc-group + .svc-group {
  margin-top: 44px;
}
.svc-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3e4e7;
}
.svc-group-title i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--rose-bg);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.svc-note {
  margin: 40px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.svc-note i {
  color: var(--primary);
  margin-right: 4px;
}
.svc-note a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

/* ============ DOCTOR PAGE ============ */
.doctor-quick-facts {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.doctor-quick-facts li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #f5e9ec;
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: var(--transition);
}
.doctor-quick-facts li:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.doctor-quick-facts i {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--rose-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.doctor-quick-facts strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.doctor-quick-facts span {
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 500;
}
.doctor-info-card .section-tag {
  margin-bottom: 8px;
}
.brochure-mini:focus-visible,
.gallery-item:focus-visible,
.cat-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* ============ GALLERY PAGE ============ */
.gallery-col.is-hidden {
  display: none;
}
.gallery-empty {
  text-align: center;
  margin-top: 30px;
  color: var(--text-muted);
}
.brochure-thumb img {
  width: 100%;
  border-radius: var(--radius);
}
.lightbox-modal img {
  max-height: 82vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.lightbox-caption {
  color: #fff;
  text-align: center;
  margin: 12px 0 0;
  font-size: 0.92rem;
}
.modal-close {
  padding: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-close i {
  margin: 0;
}
@media (max-width: 575.98px) {
  .modal-close {
    top: -8px;
    right: 6px;
  }
}

/* ============ MOBILE MENU: current page ============ */
.mobile-nav-links a.active {
  color: var(--primary);
}
.mobile-nav-links a.active::after {
  opacity: 1;
}

/* ============ DOCTOR PAGE: PROFILE HERO ============ */
.doc-profile {
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--rose-bg) 100%);
}
.doc-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.doc-glow-1 {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -140px;
  background: rgba(var(--primary-rgb), 0.1);
}
.doc-glow-2 {
  width: 320px;
  height: 320px;
  bottom: -120px;
  right: -100px;
  background: rgba(232, 169, 60, 0.12);
}
.doc-profile .container {
  position: relative;
  z-index: 1;
}

/* photo side */
.doc-visual {
  position: relative;
  max-width: 470px;
  margin: 0 auto;
  padding: 0 0 26px 26px;
}
.doc-visual-shape {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78%;
  height: 72%;
  border-radius: 30px 30px 30px 120px;
  background: var(--gradient-brand);
  z-index: 0;
}
.doc-visual-dots {
  position: absolute;
  top: -22px;
  right: -14px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(rgba(var(--primary-rgb), 0.35) 2.5px, transparent 2.5px);
  background-size: 18px 18px;
  z-index: 0;
}
.doc-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: var(--shadow-lg);
}
.doc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.doc-visual:hover .doc-photo img {
  transform: scale(1.05);
}
.doc-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 12px 18px 12px 12px;
  box-shadow: var(--shadow-lg);
  animation: floatCard 5s ease-in-out infinite;
}
.doc-float strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--dark);
}
.doc-float small {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}
.doc-float-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.doc-float-gold {
  background: linear-gradient(135deg, #f3c26b, var(--gold));
}
.doc-float-exp {
  top: 34px;
  left: -8px;
}
.doc-float-cert {
  right: -22px;
  bottom: 70px;
  animation-delay: 0.8s;
}

/* content side */
.doc-name {
  font-size: clamp(2.3rem, 4.4vw, 3.3rem);
  line-height: 1.05;
  margin: 6px 0 14px;
}
.doc-role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.doc-role-main {
  color: var(--primary);
  font-weight: 700;
}
.doc-role-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.4);
}
.doc-lead {
  font-size: 1.14rem;
  line-height: 1.65;
  color: var(--text-dark);
  font-weight: 500;
  padding-left: 18px;
  border-left: 3px solid var(--primary);
  margin-bottom: 18px;
  max-width: 640px;
}
.doc-profile .section-text strong {
  color: var(--dark);
}

.doc-creds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}
.doc-creds li {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid #f3e6e9;
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 4px 14px rgba(74, 6, 17, 0.04);
  transition: var(--transition);
}
.doc-creds li:hover {
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.doc-creds i {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: var(--rose-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  transition: var(--transition);
}
.doc-creds li:hover i {
  background: var(--gradient-brand);
  color: #fff;
}
.doc-creds strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.doc-creds span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

.doc-quote {
  position: relative;
  margin: 0 0 28px;
  padding: 22px 24px 20px 70px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #f3e6e9;
  box-shadow: var(--shadow-sm);
}
.doc-quote > i {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.doc-quote p {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0 0 8px;
}
.doc-quote span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.doc-brochure-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  padding: 4px 6px 4px 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  border-radius: 12px;
  transition: var(--transition);
}
.doc-brochure-link img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.doc-brochure-link span {
  border-bottom: 2px solid rgba(var(--primary-rgb), 0.3);
  transition: var(--transition);
}
.doc-brochure-link:hover {
  color: var(--primary);
}
.doc-brochure-link:hover span {
  border-color: var(--primary);
}

@media (max-width: 991.98px) {
  .doc-float-cert {
    right: 0;
  }
}
@media (max-width: 575.98px) {
  .doc-visual {
    padding: 0 0 18px 18px;
  }
  .doc-visual-dots {
    display: none;
  }
  .doc-float {
    padding: 9px 14px 9px 9px;
    gap: 10px;
  }
  .doc-float-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 0.9rem;
  }
  .doc-float strong {
    font-size: 0.92rem;
  }
  .doc-float-exp {
    top: 18px;
    left: 0;
  }
  .doc-float-cert {
    bottom: 44px;
    right: -4px;
  }
  .doc-creds {
    grid-template-columns: 1fr;
  }
  .doc-lead {
    font-size: 1.02rem;
  }
  .doc-quote {
    padding: 20px 18px 18px 58px;
  }
  .doc-quote > i {
    left: 16px;
    top: 20px;
    width: 30px;
    height: 30px;
  }
  .doc-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ============ INNER PAGES: DISTINCT SECTIONS ============ */
/* alternating white / soft-rose bands with a hairline + centred brand accent between them */
.inner-page main > .section-light {
  background: #fff;
}
.inner-page main > .section-tint {
  background: linear-gradient(180deg, #fff5f6 0%, #fdeef1 100%);
}
.inner-page main > .section-light,
.inner-page main > .section-tint {
  position: relative;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}
.inner-page main > .section-light > .container,
.inner-page main > .section-tint > .container {
  position: relative;
  z-index: 1;
}
/* short brand bar hanging from the dividing line (inside the band, so overflow:hidden sections don't clip it) */
.inner-page main > .section-light > .container::before,
.inner-page main > .section-tint > .container::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 64px;
  height: 4px;
  margin-left: -32px;
  border-radius: 4px;
  background: var(--gradient-brand);
}
@media (max-width: 991.98px) {
  .inner-page main > .section-light > .container::before,
  .inner-page main > .section-tint > .container::before {
    top: -70px;
  }
}
/* the first band sits right under the red page header - no divider needed */
.inner-page .page-header + .section {
  border-top: 0;
}
.inner-page .page-header + .section > .container::before {
  display: none;
}
/* cards that were designed for a grey band keep their contrast on white */
.inner-page .why-us-section.section-light .feature-item i {
  background: var(--rose-bg);
  box-shadow: none;
}
.inner-page .section-tint .reach-card,
.inner-page .section-tint .contact-info-card {
  background: #fff;
}
/* stop Bootstrap .row gutter margins collapsing through the container (which dragged the accent bar upward) */
.inner-page main > .section-light > .container,
.inner-page main > .section-tint > .container {
  display: flow-root;
}
/* rose cards need a white face on the rose band */
.inner-page .section-tint .brochure-highlight {
  background: #fff;
  box-shadow: var(--shadow-sm);
}
/* divider accent bar removed on request */
.inner-page main > .section-light > .container::before,
.inner-page main > .section-tint > .container::before {
  display: none;
}

/* ============ ABOUT PAGE: WHO WE ARE ============ */
.who-visual {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 60px 70px 0;
}
.who-shape {
  position: absolute;
  top: 40px;
  right: 20px;
  bottom: 20px;
  left: 60px;
  border: 2px dashed rgba(var(--primary-rgb), 0.25);
  border-radius: 34px;
  z-index: 0;
}
.who-dots {
  position: absolute;
  left: -18px;
  bottom: 10px;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(rgba(var(--primary-rgb), 0.35) 2.5px, transparent 2.5px);
  background-size: 18px 18px;
  z-index: 0;
}
.who-img {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.who-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.who-img:hover img {
  transform: scale(1.06);
}
.who-img-main {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 4.4;
  border-radius: 30px 30px 30px 110px;
}
.who-img-sub {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  border: 8px solid #fff;
}
.who-badge {
  position: absolute;
  z-index: 3;
  top: 28px;
  right: 18px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 6px solid #fff;
  box-shadow: 0 18px 40px rgba(var(--primary-rgb), 0.35);
  animation: floatCard 5s ease-in-out infinite;
}
.who-badge strong {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}
.who-badge span:not(.counter) {
  font-size: 0.72rem;
  line-height: 1.25;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.who-lead {
  font-size: 1.12rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--text-dark);
  padding-left: 18px;
  border-left: 3px solid var(--primary);
  margin-bottom: 16px;
}
.who-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.who-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--rose-bg);
  border-radius: 14px;
  padding: 11px 14px;
  transition: var(--transition);
}
.who-points li:hover {
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.who-points i {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(74, 6, 17, 0.06);
}

.who-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 16px 20px;
  border: 1px solid #f3e4e7;
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.who-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.who-info-item i {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.who-info-item small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}
.who-info-item strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--dark);
}
.who-info-item a:hover {
  color: var(--primary);
}
.who-info-sep {
  width: 1px;
  height: 36px;
  background: #f0dfe3;
}

.who-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 26px;
}
.who-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark);
  border-bottom: 2px solid rgba(var(--primary-rgb), 0.25);
  padding-bottom: 2px;
  transition: var(--transition);
}
.who-link i {
  font-size: 0.8rem;
  color: var(--primary);
  transition: transform 0.3s;
}
.who-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.who-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 575.98px) {
  .who-visual {
    padding: 0 30px 50px 0;
  }
  .who-shape {
    left: 30px;
    top: 24px;
  }
  .who-dots {
    display: none;
  }
  .who-img-main {
    border-radius: 24px 24px 24px 70px;
  }
  .who-img-sub {
    width: 56%;
    border-width: 5px;
    border-radius: 18px;
  }
  .who-badge {
    width: 96px;
    height: 96px;
    top: 14px;
    right: 6px;
    border-width: 4px;
  }
  .who-badge strong {
    font-size: 1.6rem;
  }
  .who-badge span:not(.counter) {
    font-size: 0.62rem;
  }
  .who-points {
    grid-template-columns: 1fr;
  }
  .who-info-sep {
    display: none;
  }
  .who-lead {
    font-size: 1.02rem;
  }
}
/* keep "Accuracy You Can Trust," on one line at common laptop widths */
.about-section .about-heading {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}
/* why-us stat cards: on phones the 3-up row is wider than the photo and spills off-screen,
   so drop it below the photo as a compact equal-width grid instead */
.stat-block {
  min-width: 0;
}
@media (max-width: 767.98px) {
  .why-us-visual {
    margin-bottom: 0;
  }
  .why-us-visual img {
    height: 320px;
  }
  .why-us-stats {
    position: static;
    transform: none;
    width: calc(100% - 24px);
    margin: -34px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .stat-block {
    padding: 14px 8px;
  }
  .stat-block h3 {
    font-size: 1.25rem;
  }
  .stat-block p {
    font-size: 0.72rem;
    line-height: 1.3;
  }
}
@media (max-width: 400px) {
  .why-us-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* only a 3rd card spans the full second row; a 2-card row stays side by side */
  .why-us-stats .stat-block:nth-child(3) {
    grid-column: 1 / -1;
  }
}
/* hover: restore the red fill so the white icon stays visible (the white-band override above was out-ranking it) */
.inner-page .why-us-section.section-light .feature-item:hover i {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* ============ HERO: DOCTOR NAME, TAGLINE & KEY POINTS ============ */
.hero-title {
  max-width: 620px;
  margin-bottom: 10px;
}
.hero-sub {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  color: var(--primary);
  margin-bottom: 26px;
}
.hero-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
  max-width: 600px;
}
.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-dark);
  font-weight: 500;
  text-wrap: pretty;
}
.hero-points i {
  flex: 0 0 auto;
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--primary);
}
@media (max-width: 575.98px) {
  .hero-points {
    gap: 10px;
    margin-bottom: 28px;
  }
  .hero-points li {
    font-size: 0.92rem;
  }
}

/* multi-line credential lists inside the "Know Your Doctor" feature cards */
.about-features .af-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 4px 0 0;
}
.about-features .af-list li {
  position: relative;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-wrap: pretty;
}

.about-features .af-list li {
  display: block;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  transform: none;
}
about-features .af-list ul,li{
  list-style: none;
}
/* ============ SERVICES PAGE: CANCER SCREENING CARDS ============ */
.cancer-card {
  height: 100%;
  background: #fff;
  border: 1px solid #f3e6e9;
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.cancer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: var(--shadow-md);
}
.cancer-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #f3e6e9;
}
.cancer-card-head h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.cancer-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 16px;
  background: var(--rose-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}
.cancer-card:hover .cancer-icon {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 50%;
}
.cancer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cancer-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-dark);
}
.cancer-list i {
  flex: 0 0 auto;
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--primary);
}
@media (max-width: 575.98px) {
  .cancer-card {
    padding: 26px 22px;
  }
  .cancer-list li {
    font-size: 0.92rem;
  }
}

/* ============ NAV: GALLERY DROPDOWN ============ */
.nav-dropdown .dropdown-toggle::after {
  display: none; /* Bootstrap caret off; we use our own chevron */
}
.nav-dropdown .dropdown-toggle > i {
  font-size: 0.7rem;
  margin-left: 4px;
  transition: transform 0.3s;
  vertical-align: middle;
}
.nav-dropdown.show .dropdown-toggle > i,
.nav-dropdown .dropdown-toggle[aria-expanded="true"] > i {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  margin-top: 6px !important;
  min-width: 220px;
  padding: 10px;
  border: 1px solid #f3e6e9;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.nav-dropdown-menu .dropdown-item {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 10px 14px;
  border-radius: 10px;
  transition: var(--transition);
}
.nav-dropdown-menu .dropdown-item:hover,
.nav-dropdown-menu .dropdown-item:focus {
  background: var(--rose-bg);
  color: var(--primary);
  padding-left: 18px;
}
/* invisible bridge so the menu doesn't close while the cursor crosses the gap */
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 8px;
}
.nav-dropdown {
  position: relative;
}

/* mobile: sub-links indented under Gallery */
.mobile-nav-links li.has-sub > a::after {
  content: "\f107"; /* chevron down */
}
.mobile-sub-links {
  padding: 0 0 10px 18px;
  border-left: 2px solid rgba(var(--primary-rgb), 0.15);
  margin: 0 0 6px 6px;
}
.mobile-sub-links li {
  border: 0;
}
.mobile-nav-links .mobile-sub-links a {
  padding: 9px 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}
.mobile-nav-links .mobile-sub-links a::after {
  content: "";
}
.mobile-nav-links .mobile-sub-links a:hover {
  color: var(--primary);
  padding-left: 8px;
}

/* gallery: friendlier empty state */
.gallery-empty {
  background: var(--rose-bg);
  border-radius: var(--radius);
  padding: 34px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
}
.gallery-empty i {
  display: block;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
}

/* ============ HOME: AREAS OF INTEREST + ACHIEVEMENT ============ */
.interest-section {
  background: #fff;
}
.interest-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 32px;
  max-width: 560px;
}
.interest-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #f3e6e9;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(74, 6, 17, 0.04);
  transition: var(--transition);
}
.interest-list li:hover {
  transform: translateX(6px);
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: var(--shadow-md);
}
.interest-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rose-bg);
  color: var(--primary);
  font-size: 1.05rem;
  transition: var(--transition);
}
.interest-list li:hover .interest-icon {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 50%;
}
.interest-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 3px;
}
.interest-list li > div > span {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.interest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.interest-chips span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--primary);
  background: var(--rose-bg);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  padding: 4px 12px;
  border-radius: 50px;
}

.achieve-card {
  position: relative;
  overflow: hidden;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  box-shadow: var(--shadow-lg);
}
.achieve-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 2px, transparent 2px);
  background-size: 22px 22px;
}
.achieve-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.achieve-card > * {
  position: relative;
  z-index: 1;
}
.achieve-card-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.achieve-card-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}
.achieve-card h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.25;
  margin-bottom: 12px;
}
.achieve-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.achieve-card-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  margin-bottom: 26px;
  backdrop-filter: blur(4px);
}
.achieve-card-stat strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: #fff;
}
.achieve-card-stat strong .counter {
  font-size: inherit;
}
.achieve-card-stat > span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.achieve-card .btn-brand {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}
.achieve-card .btn-brand:hover {
  background: var(--dark);
  color: #fff;
}
@media (max-width: 575.98px) {
  .achieve-card {
    padding: 30px 24px;
  }
  .achieve-card-stat strong {
    font-size: 2rem;
  }
  .interest-list li {
    padding: 14px;
  }
}
/* achievement card: stat is the last item now, so no trailing gap; single-line interest titles need no bottom margin */
.achieve-card-stat:last-child {
  margin-bottom: 0;
}
.interest-list li > div > strong:only-child {
  margin-bottom: 0;
}
.interest-list li:has(> div > strong:only-child) {
  align-items: center;
}
/* nav dropdown: highlight the sub-page you are on; filter pills also work as plain links */
.nav-dropdown-menu .dropdown-item.active {
  background: var(--rose-bg);
  color: var(--primary);
}
a.filter-pill {
  text-decoration: none;
}
/* no focus ring after a mouse click on the Gallery dropdown; keyboard focus still shows */
.nav-dropdown .dropdown-toggle:focus,
.nav-dropdown .dropdown-toggle.show,
.nav-dropdown .dropdown-toggle:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
.nav-dropdown .dropdown-toggle:focus-visible {
  outline: 2px solid rgba(var(--primary-rgb), 0.5);
  outline-offset: 2px;
  border-radius: 8px;
}
/* about page: a single odd point spans both columns of the 2-col grid */
.who-points .who-point-wide {
  grid-column: 1 / -1;
}

/* ============ FOOTER: QR CODES ============ */
.footer-qr {
  margin-top: 24px;
}
.footer-qr-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-qr-card {
  margin: 0;
  width: 150px;
  text-align: center;
  transition: var(--transition);
}
.footer-qr-card:hover {
  transform: translateY(-4px);
}
.footer-qr-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  display: block;
  transition: var(--transition);
}
.footer-qr-card:hover img {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}
.footer-qr-card figcaption {
  margin-top: 9px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.footer-qr-card figcaption i {
  color: var(--primary-light);
  font-size: 0.85rem;
}
@media (max-width: 575.98px) {
  .footer-qr-card {
    width: calc(50% - 8px);
    max-width: 160px;
  }
}

/* ============ HOME: STATS STRIP (4-up) ============ */
.stats-strip {
  padding: 64px 0;
}
.stats-strip .container {
  position: relative;
  z-index: 1;
}
.stats-strip .achieve-stat {
  height: 100%;
}
.achieve-stat-icon {
  display: block;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 12px;
  opacity: 0.9;
  transition: var(--transition);
}
.stats-strip .achieve-stat:hover .achieve-stat-icon {
  transform: translateY(-3px);
  opacity: 1;
}
.stats-strip .achieve-stat h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin-bottom: 6px;
  white-space: nowrap;
}
.stats-strip .achieve-stat p {
  font-size: 0.88rem;
}
@media (max-width: 575.98px) {
  .stats-strip {
    padding: 50px 0;
  }
  .achieve-stat-icon {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  .stats-strip .achieve-stat h3 {
    font-size: 1.45rem;
  }
  .stats-strip .achieve-stat p {
    font-size: 0.78rem;
  }
}
/* ============ HOME: GALLERY ALBUMS ============ */
.home-gallery-section {
  background: #fff;
}
.home-gallery-section .cat-card {
  height: 360px;
}
@media (max-width: 991.98px) {
  .home-gallery-section .cat-card {
    height: 320px;
  }
}
@media (max-width: 575.98px) {
  .home-gallery-section .cat-card {
    height: 280px;
  }
}
/* home gallery: all 5 albums on one row on desktop */
@media (min-width: 992px) {
  .home-gallery-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
  }
  .home-gallery-row > [class*="col-"] {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
  }
  .home-gallery-section .cat-card {
    height: 330px;
  }
  .home-gallery-section .cat-card-body {
    padding: 22px 18px 20px;
  }
  .home-gallery-section .cat-card h4 {
    font-size: 1.02rem;
  }
  .home-gallery-section .cat-card p {
    font-size: 0.8rem;
  }
}

/* ============ APPOINTMENT PAGE ============ */
.appt-intro {
  margin: -6px 0 22px;
  font-size: 0.95rem;
}
.appt-side {
  height: 100%;
  background: var(--gradient-brand);
  color: #fff;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.appt-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 2px, transparent 2px);
  background-size: 22px 22px;
}
.appt-side-block {
  position: relative;
  z-index: 1;
}
.appt-side .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: transparent;
}
.appt-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.appt-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.appt-steps li > span {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.appt-steps strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.appt-steps small {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}
.appt-side-location {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: auto;
}
.appt-side-location > i {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.appt-side-location strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
}
.appt-side-location span {
  display: block;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 3px 0 10px;
  line-height: 1.5;
}
.appt-side-location a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: var(--transition);
}
.appt-side-location a:hover {
  border-color: #fff;
}
.appt-side-location a i {
  font-size: 0.75rem;
}
@media (max-width: 991.98px) {
  .appt-side {
    padding: 32px 24px;
  }
}

/* service tiles are booking links: small arrow appears on hover */
a.svc-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.svc-book {
  position: relative;
  z-index: 1;
  margin-left: auto;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--primary);
  background: var(--rose-bg);
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}
.svc-book i {
  width: auto;
  height: auto;
  min-width: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}
.svc-card:hover .svc-book {
  opacity: 1;
  transform: translateX(0);
  background: #fff;
}
/* appointment page: form stands alone (no side panel), so give it the full rounded card */
.appt-page .contact-wrapper {
  box-shadow: none;
  background: transparent;
}
.appt-page .contact-form-box {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
/* appointment page: wrapper is just a layout row now; the form box is the visible card */
.appt-page .contact-wrapper {
  overflow: visible;
  border-radius: 0;
}
.appt-page .contact-form-box {
  background: #fff;
}

/* form fields: red focus ring; the open dropdown list keeps the browser's own single highlight colour */
.contact-form-box .form-select:focus,
.contact-form-box .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
}
.contact-form-box .form-select optgroup {
  font-family: var(--font-heading);
  font-weight: 600;
}
/* ============ HOME: TECHNOLOGY (MINDRAY RESONA I9) ============ */
.tech-section {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.tech-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
}
.tech-glow-1 {
  width: 340px;
  height: 340px;
  background: rgba(var(--primary-rgb), 0.16);
  top: -120px;
  left: -90px;
}
.tech-glow-2 {
  width: 260px;
  height: 260px;
  background: rgba(232, 169, 60, 0.16);
  bottom: -90px;
  right: -60px;
}
.tech-section .container {
  position: relative;
  z-index: 2;
}

/* product shot: portrait image on a white background, so it sits in a soft rose card */
.tech-visual {
  position: relative;
  padding: 18px 18px 40px 0;
}
.tech-visual-ring {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 72%;
  border-radius: var(--radius-lg);
  background: var(--rose-bg);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  z-index: 0;
}
.tech-visual-dots {
  position: absolute;
  left: -14px;
  bottom: 10px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(rgba(var(--primary-rgb), 0.28) 1.6px, transparent 1.6px);
  background-size: 14px 14px;
  z-index: 0;
  pointer-events: none;
}
.tech-img-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 8px solid #fff;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
}
.tech-img-frame img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.tech-visual:hover .tech-img-frame img {
  transform: scale(1.04);
}
.tech-badge {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
}
.tech-badge-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 1.05rem;
}
.tech-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.2;
}
.tech-badge small {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.tech-features {
  list-style: none;
  padding: 0;
  margin: 30px 0 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 620px;
}
.tech-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #f3e6e9;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(74, 6, 17, 0.04);
  transition: var(--transition);
}
.tech-features li:hover {
  transform: translateX(6px);
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: var(--shadow-md);
}
.tf-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rose-bg);
  color: var(--primary);
  font-size: 1.1rem;
  transition: var(--transition);
}
.tech-features li:hover .tf-icon {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 50%;
}
.tf-text h4 {
  font-size: 1.05rem;
  margin: 0 0 4px;
  color: var(--dark);
}
.tf-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.tech-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 991.98px) {
  .tech-visual {
    max-width: 480px;
    margin: 0 auto;
  }
  .tech-img-frame img {
    height: 440px;
  }
}
@media (max-width: 575.98px) {
  .tech-visual {
    padding-right: 0;
  }
  .tech-img-frame img {
    height: 360px;
  }
  .tech-badge {
    left: 10px;
    padding: 10px 14px 10px 10px;
  }
  .tech-features li {
    padding: 16px;
  }
}

/* ============ HOME: SPECIALISED PROCEDURES ============ */
.procedures-section {
  background: var(--gray-bg);
}
.proc-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #f2e7ea;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}
/* brand accent rail slides in on hover */
.proc-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--gradient-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.proc-card:hover::before {
  transform: scaleY(1);
}
.proc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.22);
}
.proc-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rose-bg);
  color: var(--primary);
  font-size: 1.25rem;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  transition: var(--transition);
}
.proc-card:hover .proc-icon {
  background: var(--gradient-brand);
  border-color: transparent;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 22px rgba(var(--primary-rgb), 0.3);
}
.proc-body h4 {
  font-size: 1.02rem;
  line-height: 1.35;
  margin: 0;
  color: var(--dark);
  transition: color 0.3s;
}
.proc-card:hover .proc-body h4 {
  color: var(--primary);
}
@media (max-width: 575.98px) {
  .proc-card {
    padding: 12px 14px;
    gap: 12px;
  }
  .proc-icon {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }
}

/* ============ DOCTOR VIDEOS ============ */
.doc-videos-section {
  position: relative;
  overflow: hidden;
}
.doc-videos-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 58%;
  width: 90%;
  height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.09), transparent 70%);
  pointer-events: none;
}
.doc-video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow-md);
  outline: 1px solid rgba(var(--primary-rgb), 0.08);
  isolation: isolate;
  transition: transform var(--transition), box-shadow var(--transition);
}
.doc-video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.doc-video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--dark);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.doc-video-card:not(.is-playing):hover video {
  transform: scale(1.05);
}
.doc-video-card.is-playing video {
  object-fit: contain;
}

/* overlay */
.doc-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background:
    linear-gradient(to bottom, rgba(28, 17, 22, 0.45) 0%, transparent 22%),
    linear-gradient(to top, rgba(28, 17, 22, 0.92) 0%, rgba(28, 17, 22, 0.55) 28%, transparent 55%);
  transition: opacity var(--transition), visibility var(--transition);
}
.doc-video-card.is-playing .doc-video-overlay {
  opacity: 0;
  visibility: hidden;
}
.doc-video-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.doc-video-badge,
.doc-video-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.doc-video-badge {
  gap: 7px;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.doc-video-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

/* play button */
.doc-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--primary);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: var(--transition);
}
.doc-video-play i {
  margin-left: 4px;
}
.doc-video-play::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  animation: docVideoPulse 2s ease-out infinite;
}
.doc-video-play::after {
  content: "";
  position: absolute;
  inset: -100vh -100vw;
}
.doc-video-card:hover .doc-video-play,
.doc-video-play:focus-visible {
  color: var(--white);
  background: var(--gradient-brand);
  transform: translate(-50%, -50%) scale(1.08);
}
.doc-video-play:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}
@keyframes docVideoPulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* title */
.doc-video-info {
  position: relative;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(4px);
  transition: transform var(--transition);
}
.doc-video-card:hover .doc-video-info {
  transform: translateY(0);
}
.doc-video-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}
.doc-video-card:hover .doc-video-icon {
  background: var(--gradient-brand);
  border-color: transparent;
}
.doc-video-info h5 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

@media (max-width: 575.98px) {
  .doc-video-card {
    max-width: 340px;
  }
}
@media (min-width: 992px) and (max-width: 1399.98px) {
  .doc-video-info h5 {
    font-size: 0.875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .doc-video-play::before { animation: none; }
  .doc-video-card video { transition: none; }
}

/* ============ SERVICES PAGE: IMAGE TILES ============ */
.svc-group + .svc-group {
  margin-top: 56px;
}
.svc-group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #f3e4e7;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.svc-group-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.25);
}
.svc-group-text {
  flex: 1;
  min-width: 0;
}
.svc-group-head .svc-group-title {
  display: block;
  font-size: 1.25rem;
  margin: 0 0 2px;
  padding: 0;
  border: 0;
}
.svc-group-text p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.svc-group-count {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--rose-bg);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

/* tile: photo on top, name + booking cue below */
a.svc-card.svc-card--img {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid #f2e6e9;
  background: #fff;
  box-shadow: 0 4px 14px rgba(30, 10, 15, 0.05);
}
.svc-card--img::before {
  display: none;
}
.svc-card--img:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.25);
}
.svc-img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rose-bg);
}
.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.svc-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 5, 10, 0.28) 0%, transparent 38%, transparent 62%, rgba(var(--primary-rgb), 0.22) 100%);
  pointer-events: none;
}
.svc-card--img:hover .svc-img img {
  transform: scale(1.08);
}
.svc-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.svc-card--img .svc-chip i {
  width: auto;
  height: auto;
  min-width: 0;
  background: none;
  color: inherit;
  font-size: 0.68rem;
  transform: none;
}
.svc-flagship .svc-chip {
  background: var(--gradient-brand);
  color: #fff;
}
.svc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
  padding: 16px 18px 18px;
}
.svc-card--img h5 {
  font-size: 0.98rem;
  line-height: 1.38;
  font-weight: 600;
  color: var(--dark, #2a1018);
}
.svc-card--img:hover h5 {
  color: var(--primary);
}
.svc-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed #efdfe3;
}
.svc-book-text {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
}
.svc-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rose-bg);
  color: var(--primary);
  transition: var(--transition);
}
.svc-card--img .svc-arrow i {
  width: auto;
  height: auto;
  min-width: 0;
  background: none;
  color: inherit;
  font-size: 0.72rem;
  transform: none;
}
.svc-card--img:hover .svc-arrow {
  background: var(--gradient-brand);
  color: #fff;
  transform: translateX(3px);
}
.svc-flagship.svc-card--img {
  border-color: rgba(var(--primary-rgb), 0.3);
}
@media (max-width: 575.98px) {
  .svc-group-head {
    flex-wrap: wrap;
    padding: 16px;
  }
  .svc-group-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 1rem;
  }
  .svc-group-count {
    margin-left: auto;
  }
  .svc-group-text {
    order: 1;
    flex-basis: 100%;
  }
}
