/* =====================================================
   BELLA INITIIS — MAIN STYLESHEET
   Best IVF Centre / Advance Laparoscopy Centre Ranchi
   ===================================================== */

/* ---- CSS VARIABLES (aligned to logo) ---- */
:root {
  /* Brand pink — sampled from the "Bella Initiis" logo script & bottom banner */
  --primary: #D81B6F;
  --primary-dark: #A8154E;
  --primary-light: #FCD8EA;   /* soft pink — section backgrounds */
  --primary-soft: #FF97CB;    /* mid pink — topbar / intro section */
  --logo-color: #D81B6F;      /* alias of --primary for clarity */

  /* Brand orange — sampled from the flame inside the logo's "i" */
  --accent: #F58220;
  --accent-dark: #C66506;
  --accent-light: #FFE4CC;
  --gold: #F58220;            /* legacy alias */

  /* Neutrals */
  --dark: #1a0812;
  --text: #2e1020;
  --text-muted: #7a5060;
  --white: #ffffff;
  --border: #F4C9DC;          /* soft pink-tinted border */

  /* Surface backgrounds */
  --bg-light: #FFF6FB;
  --bg-rose: #FFEEF6;
  --bg-mist: #f6f9fb;
  --bg-ivory: #fff9f2;

  /* Shadows */
  --shadow: 0 8px 40px rgba(216, 27, 111, 0.14);
  --shadow-card: 0 4px 24px rgba(26, 8, 18, 0.08);

  --radius: 14px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 100px;
}

/* ---- RESET ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---- UTILITIES ---- */
.container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 90px 0;
}

.bg-light {
  background: var(--bg-light);
}

.bg-rose {
  background: var(--bg-rose);
}

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

/* ---- SECTION TYPOGRAPHY ---- */
.section-subtitle {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  border-left: 3px solid var(--accent);
}

.section-subtitle.light {
  background: rgba(255, 255, 255, 0.15);
  color: #ffd0b0;
  border-left-color: var(--accent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--logo-color);
  line-height: 1.25;
  margin-bottom: 18px;
}

.section-title em {
  color: var(--accent);
  font-style: italic;
}

.section-title.light {
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 50px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #d4305a 60%, var(--accent) 100%);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #e05a20 100%);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(216, 27, 111, 0.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  text-align: center;
  border-radius: 10px;
}

/* ====================================================
   TOP BAR
   ==================================================== */
.topbar {
  background: var(--primary-soft);
  color: #ffffff;
  font-size: 0.88rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 -1px 0 rgba(216, 27, 111, 0.22);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-contact {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.topbar-contact a {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.topbar-contact a i {
  color: #ffffff;
  font-size: 0.85rem;
}

.topbar-contact a:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.topbar-contact a:hover i {
  color: var(--primary);
}

.topbar-social {
  display: flex;
  gap: 12px;
}

.topbar-social a {
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: var(--transition);
}

.topbar-social a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-1px);
}

/* ====================================================
   HEADER
   ==================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(216, 27, 111, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  gap: 8px;
}

.main-nav ul li a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 10px;
  transition: var(--transition);
  position: relative;
  display: inline-block;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: left 0.25s ease, right 0.25s ease;
}

.main-nav ul li a:hover {
  color: var(--primary);
}

.main-nav ul li a:hover::after {
  left: 16px;
  right: 16px;
}

/* Active page — solid pink pill with white text */
.main-nav ul li a.active,
.main-nav ul li a.active:hover {
  color: var(--white);
  font-weight: 700;
  background: var(--primary);
  box-shadow: 0 4px 14px rgba(216, 27, 111, 0.32);
}

.main-nav ul li a.active::after {
  display: none;
}

.btn-consult {
  font-size: 0.84rem;
  padding: 11px 22px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ====================================================
   HERO SLIDER
   ==================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 520px;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--primary-soft) 0%, #F062A6 55%, var(--primary) 100%);
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.85s ease;
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-content {
  max-width: 680px;
  color: var(--white);
  animation: heroFadeIn 0.9s ease both;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.hero-media img {
  width: min(32vw, 460px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28), 0 0 0 10px rgba(255, 255, 255, 0.08);
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.hero-content h1 em {
  color: var(--accent);
  font-style: italic;
}

.hero-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.hero-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.dot.active {
  background: var(--primary);
  border-color: var(--white);
  transform: scale(1.2);
}

/* ====================================================
   INTRO / ABOUT
   ==================================================== */
.intro-section {
  background: var(--primary-soft);
  border-bottom: 1px solid rgba(216, 27, 111, 0.18);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-images {
  position: relative;
}

.intro-slider-controls {
  display: none;
}

.img-grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #f3d7e4;
  box-shadow: 0 16px 36px rgba(122, 25, 72, 0.1);
}

.img-grid-4 img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.img-grid-4 img:hover {
  transform: scale(1.04);
}

.img-main {
  grid-row: 1 / 3;
  height: 452px !important;
}

.intro-text {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
}

.intro-text p {
  color: var(--text-muted);
  line-height: 1.75;
}

.intro-text .section-title {
  margin-bottom: 14px;
}

.intro-highlights {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--text);
  background: #fff8fc;
  border: 1px solid #f5ddea;
  border-radius: 12px;
  padding: 10px 12px;
}

.highlight-item i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ====================================================
   ABOUT PAGE
   ==================================================== */
.about-welcome-section {
  background: linear-gradient(180deg, #fffafd 0%, #ffffff 100%);
}

.about-welcome-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: center;
}

.about-welcome-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #f3d7e4;
  box-shadow: 0 16px 42px rgba(122, 25, 72, 0.12);
}

.about-welcome-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-welcome-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
}

.about-welcome-content h3 {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-welcome-content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.about-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin: 22px 0 4px;
}

.about-check-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.45;
}

.about-check-item i {
  color: var(--primary);
  margin-top: 3px;
}

.about-results-section {
  background: linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
}

.about-results-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.about-results-copy {
  max-width: 560px;
}

.about-results-copy p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.about-results-cards {
  display: grid;
  gap: 18px;
}

.about-result-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.about-result-number {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.about-result-card h3 {
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.about-result-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.about-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 26px;
}

.about-blog-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.about-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.about-blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-blog-body {
  padding: 22px 20px 24px;
}

.about-blog-body>span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-blog-body h3 {
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

.about-blog-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.about-blog-body a {
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* =========================================
   SERVICES UI/UX PREMIUM OVERRIDE
   (ADD AT END OF CSS FILE)
========================================= */

/* Background */
.service-categories-wrap {
  background: linear-gradient(180deg,
      var(--bg-rose) 0%,
      #ffffff 50%,
      var(--bg-light) 100%);
  position: relative;
}

.service-categories-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(216, 27, 111, 0.08), transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(245, 130, 32, 0.08), transparent 35%);
  pointer-events: none;
}

.service-categories-wrap > .container {
  position: relative;
  z-index: 1;
}

/* Card stack */
.service-categories-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* ----- Card ----- */
.service-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;

  background: var(--white);
  border-radius: 22px;
  padding: 36px;
  border: 1px solid #f4dbe7;

  box-shadow: 0 12px 36px rgba(216, 27, 111, 0.08);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;

  position: relative;
  overflow: hidden;
}

/* Top gradient stripe */
.service-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Soft decorative blob in corner */
.service-row::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 151, 203, 0.22), transparent 65%);
  pointer-events: none;
}

.service-row:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(216, 27, 111, 0.16);
  border-color: rgba(216, 27, 111, 0.22);
}

/* ----- LEFT: content column ----- */
.service-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

/* Header row: icon + title */
.service-detail-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 10px 24px rgba(216, 27, 111, 0.28);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-row:hover .service-icon {
  transform: scale(1.06) rotate(-4deg);
}

.service-detail-head h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.service-content > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* List of treatments — 2-column grid, no bullets, check icons */
.service-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.service-detail-list li i {
  color: var(--primary);
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Even cards — orange accent on icon and list checks */
.service-row:nth-child(even) .service-icon {
  background: linear-gradient(135deg, var(--accent) 0%, #d65500 100%);
  box-shadow: 0 10px 24px rgba(245, 130, 32, 0.3);
}

.service-row:nth-child(even) .service-detail-list li i {
  color: var(--accent);
}

/* Book Appointment button */
.service-card-btn {
  align-self: flex-start;
  margin-top: 8px;
  font-size: 0.88rem;
  padding: 12px 26px;
  border-radius: 999px;
}

/* ----- RIGHT: image column ----- */
.service-image {
  position: relative;
  z-index: 1;
}

.service-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(216, 27, 111, 0.18);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.service-row:hover .service-image img {
  transform: scale(1.03);
}

/* Soft tinted overlay */
.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg,
      rgba(216, 27, 111, 0.05) 0%,
      rgba(245, 130, 32, 0.05) 100%);
  pointer-events: none;
}

/* Alternate layout: image on left, content on right */
.service-row:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}

.service-row:nth-child(even) .service-content {
  order: 2;
}

.service-row:nth-child(even) .service-image {
  order: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .service-row {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .service-image img {
    max-height: 220px;
  }
}

/* =========================================
   SERVICES MOBILE UX IMPROVEMENT
========================================= */

@media (max-width: 768px) {

  /* Section spacing */
  .service-categories-wrap {
    padding-top: 20px;
  }

  /* Card layout */
  .service-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
    border-radius: 16px;
  }

  /* Image always on top (better UX) */
  .service-image {
    order: -1;
  }

  /* Image styling */
  .service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
  }

  /* Remove alternating layout on mobile */
  .service-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-row:nth-child(even) .service-content,
  .service-row:nth-child(even) .service-image {
    order: unset;
  }

  /* Heading */
  .service-detail-head {
    gap: 12px;
  }

  .service-detail-head h3 {
    font-size: 1.2rem;
  }

  /* Icon */
  .service-icon {
    width: 46px;
    height: 46px;
    font-size: 1.05rem;
    border-radius: 12px;
  }

  /* Text */
  .service-content > p {
    font-size: 0.9rem;
  }

  /* List — single column on mobile */
  .service-detail-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-detail-list li {
    font-size: 0.88rem;
  }

  /* Button full width (mobile friendly) */
  .service-card-btn {
    width: 100%;
    align-self: stretch;
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
  }

  /* Card hover disable (mobile smoothness) */
  .service-row:hover {
    transform: none;
  }

  /* Reduce shadow for performance */
  .service-row {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }
}

/* ====================================================
   SERVICES (Homepage cards)
   ==================================================== */
.services-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 26px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

/* Top accent stripe — slides into view on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* Soft pink wash that fades in behind the content on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255, 151, 203, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 22px 50px rgba(216, 27, 111, 0.32);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 0;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
  color: #ffffff;
}

.service-card:hover .service-icon {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

/* Icon: pink gradient pill, scales gently on card hover */
.services-section .service-icon,
.service-card .service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 10px 24px rgba(216, 27, 111, 0.28);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-4deg);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  flex-grow: 1;
}

/* "Learn More" link — arrow slides on hover */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.25s ease, gap 0.25s ease;
}

.service-link i {
  font-size: 0.78rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-link:hover {
  color: var(--primary);
  gap: 12px;
}

.service-link:hover i {
  transform: translateX(4px);
}

/* Even-card accent override: orange variant for visual rhythm */
.service-card:nth-child(even) .service-icon {
  background: linear-gradient(135deg, var(--accent) 0%, #d65500 100%);
  box-shadow: 0 10px 24px rgba(245, 130, 32, 0.3);
}

.service-card:nth-child(even):hover .service-icon {
  /* keep gradient on hover too */
  background: linear-gradient(135deg, var(--accent) 0%, #d65500 100%);
}

.service-card:nth-child(even)::before {
  background: linear-gradient(90deg, var(--accent) 0%, #d65500 100%);
}

.service-card:nth-child(even) .service-link {
  color: var(--accent);
}

.service-card:nth-child(even) .service-link:hover {
  color: #d65500;
}

/* Card-level hover wins over even-child link tint */
.service-card:nth-child(even):hover .service-link {
  color: #ffffff;
}

/* ====================================================
   WHY US
   ==================================================== */
.whyus-section {
  background: var(--primary-light);
  position: relative;
  border-top: 1px solid rgba(216, 27, 111, 0.08);
  border-bottom: 1px solid rgba(216, 27, 111, 0.08);
}

.whyus-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(216, 27, 111, 0.08), transparent 34%),
    radial-gradient(circle at 90% 78%, rgba(245, 130, 32, 0.07), transparent 34%);
  pointer-events: none;
}

.whyus-section .container {
  position: relative;
  z-index: 1;
}

/* Slider wrapper: holds arrows + viewport */
.whyus-slider {
  position: relative;
  margin-top: 32px;
  padding: 0 56px;
}

.whyus-viewport {
  overflow: hidden;
}

.whyus-grid {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* 3 cards visible on desktop (gap = 24px, so card width = (100% - 48px) / 3) */
.whyus-grid > .whyus-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

/* Arrows */
.whyus-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 0;
  color: var(--primary);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(26, 8, 18, 0.16);
  transition: var(--transition);
  z-index: 3;
}

.whyus-arrow:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.06);
}

.whyus-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.whyus-arrow:disabled:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-50%);
}

.whyus-prev { left: 0; }
.whyus-next { right: 0; }

/* Dots */
.whyus-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.whyus-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.whyus-dot:hover {
  background: var(--white);
}

.whyus-dot.active {
  width: 26px;
  background: var(--primary);
}

.whyus-card {
  text-align: center;
  padding: 28px 18px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fff9fc 100%);
  border-radius: 16px;
  border: 1px solid #f3d9e6;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.whyus-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 34px rgba(181, 16, 90, 0.16);
  border-color: #ebb8d1;
}

.whyus-card::after {
  content: '';
  position: absolute;
  width: 84px;
  height: 84px;
  right: -22px;
  bottom: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 27, 111, 0.12), rgba(216, 27, 111, 0));
  transition: transform .35s ease;
}

.whyus-card:hover::after {
  transform: scale(1.1);
}

.whyus-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 18px;
  padding: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe6f2 0%, #ffd9ea 100%);
  border: 1px solid #f7cde0;
}

.whyus-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.45;
}

/* ====================================================
   VIDEOS
   ==================================================== */
.videos-section {
  background: linear-gradient(180deg, var(--bg-ivory) 0%, #fff2f8 100%);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 26px;
}

.video-card {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fff9fc 100%);
  border: 1px solid #f3d9e6;
  box-shadow: 0 8px 26px rgba(26, 8, 18, 0.08);
  transition: var(--transition);
  position: relative;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(181, 16, 90, 0.16);
  border-color: #ebb8d1;
}

.video-card video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
  background: #000;
  transition: transform 0.35s ease;
}

.video-card:hover video {
  transform: scale(1.02);
}

.video-label {
  padding: 13px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  border-top: 1px solid #f0d4e2;
  background: #fff;
}

/* ====================================================
   TEAM
   ==================================================== */
.team-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.team-card {
  display: flex;
  gap: 24px;
  /* background: var(--white); */
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  /* border: 1px solid var(--border); */
  border: 4px solid var(--logo-color);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.team-photo {
  width: 140px;
  flex-shrink: 0;
}

.team-photo img {
  width: 140px;
  height: 180px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
}

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.team-role {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.team-quals {
  list-style: disc;
  padding-left: 18px;
}

.team-quals li {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Supporting team */
.support-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.support-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.support-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--primary-light);
}

.support-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.support-card span {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 500;
}

/* ====================================================
   APPOINTMENT FORM
   ==================================================== */
.appointment-section {
  background-color: #4d1230;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.appt-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.appt-text .section-title {
  margin-bottom: 12px;
}

.appt-contact-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.appt-contact-list div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.5;
}

.appt-contact-list i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.appt-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.appt-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  transition: var(--transition);
  outline: none;
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(192, 34, 78, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-success {
  display: none;
  text-align: center;
  color: #1a7a3e;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px;
  background: #e8f7ee;
  border-radius: 8px;
  grid-column: 1 / -1;
}

.form-success.show {
  display: block;
}

.form-success small {
  display: block;
  color: #376b4a;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  margin-top: 4px;
}

/* Appointment popup */
.appointment-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.appointment-modal.open {
  display: flex;
}

.appointment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 8, 18, 0.72);
  backdrop-filter: blur(6px);
}

.appointment-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid rgba(240, 208, 220, 0.9);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 28px 80px rgba(26, 8, 18, 0.34);
}

/* Split-layout dialog: left image + right form */
.appointment-modal-dialog--split {
  width: min(960px, 100%);
  padding: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1.05fr;
  overflow: hidden;
}

.appointment-modal-image {
  position: relative;
  background: #fde7f1;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.appointment-modal-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.appointment-modal-body {
  padding: 36px 34px;
  overflow-y: auto;
  max-height: calc(100vh - 48px);
}

.appointment-modal-dialog--split .appointment-modal-close {
  z-index: 2;
}

.appointment-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.appointment-modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

.appointment-modal-head {
  padding-right: 42px;
  margin-bottom: 24px;
}

.appointment-modal-head .section-title {
  margin-bottom: 8px;
}

.appointment-modal-head .section-desc {
  margin: 0;
}

.appointment-modal-form {
  gap: 16px;
}

/* In-popup validation error pill */
.appointment-modal-error {
  grid-column: 1 / -1;
  background: #ffeaea;
  color: #b3261e;
  border: 1px solid #f5c6cb;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.appointment-modal-error[hidden] {
  display: none;
}

.appointment-modal-error::before {
  content: '\f071';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #b3261e;
  font-size: 0.95rem;
}

.appointment-modal-error.show {
  opacity: 1;
  transform: translateY(0);
}

/* Inline per-field error message (shown directly under the invalid input) */
.appointment-modal-form .field-error {
  display: block;
  color: #b3261e;
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 6px;
  line-height: 1.3;
}

/* Highlight invalid field */
.appointment-modal-form .is-invalid {
  border-color: #b3261e !important;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.10) !important;
  background: #fff5f5 !important;
}

/* ====================================================
   TESTIMONIALS
   ==================================================== */
.testimonials-section {
  /* background:
    linear-gradient(180deg, #fff8fb 0%, #f6f9fb 58%, #ffffff 100%); */
  background: var(--primary-light);
  overflow: hidden;
  border-bottom: 1px solid rgba(216, 27, 111, 0.08);
}

.testimonials-container {
  position: relative;
}

.testimonials-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.testimonials-heading .section-desc {
  max-width: 650px;
  margin-bottom: 0;
}

.testimonial-rating-badge {
  min-width: 190px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.testimonial-rating-badge span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.testimonial-rating-badge strong {
  display: block;
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

.testimonials-slider {
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 28px;
  padding: 4px;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: calc(33.33% - 16px);
  background: var(--white);
  border-radius: 12px;
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(26, 8, 18, 0.08);
  flex-shrink: 0;
  min-height: 310px;
  height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  min-inline-size: 0;
}

.testimonial-card::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(216, 27, 111, 0.07);
  font-size: 3.8rem;
  line-height: 1;
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.testimonial-card-top span {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
}

.testimonial-card>.stars {
  display: none;
}

.stars {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 1px;
  display: inline-flex;
  gap: 3px;
}

.testimonial-quote {
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
  position: relative;
  z-index: 1;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  min-width: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(240, 208, 220, 0.7);
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 8px 20px rgba(216, 27, 111, 0.18);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
  line-height: 1.25;
}

.testimonial-author small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.test-arrows {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}

.test-arrow {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--primary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 8px 22px rgba(26, 8, 18, 0.06);
}

.test-arrow:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Stats Bar */
.stats-bar {
  background: var(--primary);
  padding: 40px 0;
  margin-top: 60px;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.stat-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.85);
  flex-shrink: 0;
}

.stat-item div {
  text-align: left;
}

.counter {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.stat-item div>span:last-of-type {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.stat-item div p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

/* ====================================================
   GALLERY
   ==================================================== */
.gallery-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #fff8f2 48%, #fff7fb 100%);
  border-top: 1px solid rgba(216, 27, 111, 0.10);
  overflow: hidden;
  padding-top: 64px;
}

.gallery-container {
  position: relative;
}

.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.gallery-heading .section-desc {
  max-width: 680px;
  margin-bottom: 0;
}

.gallery-controls {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.gallery-arrow {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(216, 27, 111, 0.18);
}

.gallery-slider {
  overflow: hidden;
  border-radius: 16px;
  padding: 4px;
}

.gallery-grid {
  display: flex;
  gap: 18px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg-light);
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(26, 8, 18, 0.08);
  flex: 0 0 calc(33.33% - 12px);
  min-width: 0;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(26, 8, 18, 0.72);
  backdrop-filter: blur(8px);
  transform: translateY(8px);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-label {
  transform: translateY(0);
  opacity: 1;
}

.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.gallery-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--border);
  transition: var(--transition);
}

.gallery-dot.active {
  width: 28px;
  background: var(--primary);
}

.gallery-count {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

#lightboxImg {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 10px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--primary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--primary);
}

.lb-prev {
  left: 20px;
}

.lb-next {
  right: 20px;
}

/* =========================================
   GALLERY PAGE (SEPARATE UI - SAFE)
========================================= */

/* ====================================================
   GALLERY PAGE
   ==================================================== */
.gallery-page-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-rose) 100%);
  position: relative;
}

.gallery-page-head {
  text-align: center;
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-page-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(216, 27, 111, 0.18);
  box-shadow: 0 6px 18px rgba(216, 27, 111, 0.08);
  margin-bottom: 16px;
}

.gallery-page-chip i {
  font-size: 0.78rem;
}

.gallery-page-head .section-subtitle,
.gallery-page-head .section-title {
  margin-left: auto;
  margin-right: auto;
}

.gallery-page-head .section-desc {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.gallery-page-grid .gallery-item {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(26, 8, 18, 0.08);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  /* Reset base .gallery-item conflicts */
  aspect-ratio: auto;
  flex: initial;
  min-width: auto;
}

/* Media wrapper holds the image + zoom icon */
.gallery-page-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-page-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pink tint overlay on hover */
.gallery-page-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(216, 27, 111, 0.32) 0%,
      rgba(216, 27, 111, 0.22) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Center magnify badge — fades in on hover */
.gallery-page-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

/* Caption row at the bottom — always visible */
.gallery-page-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.gallery-page-num {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.gallery-page-title {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
}

/* Hover state */
.gallery-page-grid .gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 54px rgba(216, 27, 111, 0.18);
  border-color: rgba(216, 27, 111, 0.28);
}

.gallery-page-grid .gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-page-grid .gallery-item:hover .gallery-page-media::after {
  opacity: 1;
}

.gallery-page-grid .gallery-item:hover .gallery-page-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-page-grid .gallery-item:hover .gallery-page-title {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .gallery-page-grid {
    gap: 14px;
  }

  .gallery-page-head {
    margin-bottom: 32px;
  }

  .gallery-page-caption {
    padding: 12px 14px 14px;
    gap: 10px;
  }

  .gallery-page-num {
    font-size: 0.85rem;
  }

  .gallery-page-title {
    font-size: 0.85rem;
  }

  .gallery-page-zoom {
    width: 44px;
    height: 44px;
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .gallery-page-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ====================================================
   FOOTER CTA
   ==================================================== */
.footer-cta {
  padding: 80px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
}

/* ====================================================
   FOOTER
   ==================================================== */
.site-footer-bottom {
  background: var(--dark);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: 6px;
  padding: 6px 10px;
}

.footer-brand p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ====================================================
   SCROLL TO TOP / WHATSAPP FLOAT
   ==================================================== */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(216, 27, 111, 0.35);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary-dark);
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-green 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 6px 36px rgba(37, 211, 102, 0.65);
  }
}

/* ====================================================
   ANIMATIONS
   ==================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for cards */
.service-card:nth-child(1) {
  transition-delay: 0.05s;
}

.service-card:nth-child(2) {
  transition-delay: 0.10s;
}

.service-card:nth-child(3) {
  transition-delay: 0.15s;
}

.service-card:nth-child(4) {
  transition-delay: 0.20s;
}

.service-card:nth-child(5) {
  transition-delay: 0.25s;
}

.service-card:nth-child(6) {
  transition-delay: 0.30s;
}

.service-card:nth-child(7) {
  transition-delay: 0.35s;
}

.service-card:nth-child(8) {
  transition-delay: 0.40s;
}

/* ====================================================
   RESPONSIVE — TABLET (max 1024px)
   ==================================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .whyus-grid > .whyus-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item {
    flex-basis: calc(50% - 9px);
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .appt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .appt-text .section-title {
    font-size: 2rem;
  }

  .intro-grid {
    gap: 36px;
  }

  .about-welcome-grid,
  .about-results-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ====================================================
   RESPONSIVE — MOBILE (max 768px)
   ==================================================== */
@media (max-width: 768px) {
  :root {
    --header-h: 80px;
  }

  html {
    font-size: 15px;
  }

  body {
    line-height: 1.65;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 54px 0;
  }

  .section-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 1.22;
    margin-bottom: 12px;
  }

  .section-desc {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .btn {
    min-height: 46px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topbar {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar-contact {
    width: 100%;
    justify-content: center;
    gap: 8px;
    font-size: 0.76rem;
  }

  .topbar-contact a {
    min-height: 30px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
  }

  .topbar-contact a:nth-child(1),
  .topbar-contact a:nth-child(3) {
    display: none;
  }

  .topbar-social {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 18px;
    text-align: center;
  }

  .hero-media {
    min-height: 180px;
  }

  .hero-media img {
    width: min(68vw, 320px);
  }

  /* Mobile Nav */
  .site-header {
    top: 0;
  }

  .header-inner {
    height: var(--header-h);
    gap: 12px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 16px 18px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    z-index: 998;
    border-top: 1px solid var(--border);
    visibility: hidden;
  }

  .main-nav.open {
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav ul li {
    width: 100%;
  }

  .main-nav ul li a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 12px;
    background: transparent;
    border: 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
  }

  /* Hide the underline pseudo — vertical nav doesn't need it */
  .main-nav ul li a::after {
    display: none;
  }

  .main-nav ul li a:hover {
    background: var(--primary-light);
    color: var(--primary);
  }

  /* Active page on mobile: solid pink pill, white text */
  .main-nav ul li a.active {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
  }

  .main-nav ul li a.active:hover {
    background: var(--primary);
    color: var(--white);
  }

  .btn-consult {
    display: none;
  }

  .hamburger {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    justify-content: center;
  }

  .hamburger span {
    width: 100%;
    height: 3px;
  }

  .logo img {
    height: 64px;
  }

  /* Hero */
  .hero {
    height: calc(100svh - var(--header-h));
    min-height: 620px;
  }

  .hero-slide {
    padding: 40px 0 74px;
  }

  .hero-badge {
    font-size: 0.58rem;
    line-height: 1.4;
    margin-bottom: 12px;
    padding: 5px 11px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.82rem;
    margin: 0 auto 18px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
    top: auto;
    bottom: 22px;
    transform: none;
    font-size: 0.85rem;
  }

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .hero-dots {
    bottom: 34px;
  }

  .dot {
    width: 9px;
    height: 9px;
  }

  /* Intro */
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .intro-text {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .intro-highlights {
    gap: 10px;
    margin: 20px 0;
  }

  .highlight-item {
    align-items: flex-start;
    padding: 10px;
  }

  .about-welcome-content {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .about-check-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .about-results-grid {
    gap: 24px;
  }

  .about-result-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
    border-radius: 14px;
  }

  .about-result-number {
    font-size: 2.1rem;
  }

  .about-blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-blog-card {
    border-radius: 14px;
  }

  .about-blog-body {
    padding: 20px 18px;
  }

  .intro-images {
    overflow: hidden;
  }

  .img-grid-4 {
    display: flex;
    gap: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  .img-grid-4 img,
  .img-main {
    flex: 0 0 100%;
    width: 100%;
    height: 300px !important;
    object-fit: cover;
    border-radius: 16px;
  }

  .img-grid-4 img:hover {
    transform: none;
  }

  .intro-slider-controls {
    display: flex;
    position: relative;
    z-index: 2;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
  }

  .intro-slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--white);
    border: 1.5px solid var(--border);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(26, 8, 18, 0.06);
    transition: var(--transition);
  }

  .intro-slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
  }

  .intro-slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .intro-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--border);
    transition: var(--transition);
  }

  button.intro-slider-dot {
    cursor: pointer;
  }

  .intro-slider-dot.active {
    width: 24px;
    background: var(--primary);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .service-card h3 {
    font-size: 1.08rem;
  }

  .service-card p {
    margin-bottom: 14px;
  }

  /* Why us — single card per slide on mobile */
  .whyus-slider {
    padding: 0 44px;
  }

  .whyus-grid {
    gap: 14px;
  }

  .whyus-grid > .whyus-card {
    flex: 0 0 100%;
    padding: 20px 12px 18px;
    border-radius: 14px;
  }

  .whyus-card img {
    width: 110px;
    height: 110px;
    margin-bottom: 14px;
    padding: 14px;
  }

  .whyus-card h4 {
    font-size: 0.92rem;
  }

  .whyus-arrow {
    width: 36px;
    height: 36px;
  }

  /* Videos */
  .videos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .video-card {
    border-radius: 14px;
  }

  .video-label {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  /* Team */
  .team-grid {
    gap: 18px;
    margin-bottom: 28px;
  }

  .team-card {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .team-photo {
    width: 100%;
  }

  .team-photo img {
    width: 100%;
    height: 260px;
    border-radius: 12px;
  }

  .support-team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .support-card {
    padding: 20px 12px;
    border-radius: 14px;
  }

  .support-card img {
    width: 82px;
    height: 82px;
  }

  /* Testimonials */
  .testimonials-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
  }

  .testimonial-rating-badge {
    width: 100%;
    min-width: 0;
    padding: 16px;
  }

  .testimonials-slider {
    padding: 4px 0;
  }

  .testimonial-card {
    min-width: calc(100% - 0px);
    padding: 22px 18px;
    border-radius: 14px;
  }

  .test-arrows {
    justify-content: center;
  }

  /* Stats */
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .stat-item div {
    text-align: center;
  }

  /* Gallery */
  .gallery-section {
    padding-top: 46px;
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
  }

  .gallery-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .gallery-item {
    flex-basis: 100%;
  }

  .gallery-slider {
    margin-left: -4px;
    margin-right: -4px;
  }

  .gallery-item-label {
    transform: none;
    opacity: 1;
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 0.8rem;
  }

  /* Form */
  .appt-form {
    grid-template-columns: 1fr;
  }

  .appointment-section {
    background-attachment: scroll;
  }

  .appt-grid {
    gap: 28px;
  }

  .appt-text {
    text-align: center;
  }

  .appt-contact-list {
    gap: 10px;
    margin-top: 22px;
  }

  .appt-contact-list div {
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.10);
  }

  .appt-form-wrap {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .appointment-modal {
    padding: 14px;
    align-items: flex-start;
    padding-top: 24px;
  }

  .appointment-modal-dialog {
    max-height: calc(100svh - 48px);
    padding: 24px 18px 20px;
    border-radius: 16px;
  }

  .appointment-modal-dialog--split {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .appointment-modal-image {
    display: none;
  }

  .appointment-modal-body {
    padding: 24px 18px 20px;
    max-height: calc(100svh - 48px);
  }

  .appointment-modal-head {
    padding-right: 34px;
    margin-bottom: 18px;
  }

  .appointment-modal-head .section-desc {
    font-size: 0.9rem;
  }

  .appointment-modal-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .appointment-modal-form {
    grid-template-columns: 1fr;
  }

  .form-group input,
  .form-group textarea {
    min-height: 46px;
    font-size: 16px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-cta {
    padding: 50px 0;
  }

  .footer-cta h2 {
    font-size: 1.6rem;
  }

  .site-footer-bottom {
    padding-top: 42px;
  }

  .footer-logo {
    height: 50px;
  }

  .footer-col h5 {
    margin-bottom: 14px;
  }

  .footer-col ul li a,
  .footer-contact li {
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding: 18px;
  }

  .scroll-top {
    right: 16px;
    bottom: 82px;
    width: 42px;
    height: 42px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 46px 0;
  }

  .hero {
    min-height: 590px;
  }

  .hero-layout {
    gap: 12px;
  }

  .hero-slide {
    padding: 30px 0 70px;
  }

  .hero-content {
    padding: 0 12px;
  }

  .hero-content h1 {
    font-size: 1.25rem;
  }

  .hero-media img {
    width: min(72vw, 260px);
  }

  .img-grid-4 img,
  .img-main {
    height: 240px !important;
  }

  .whyus-grid > .whyus-card {
    flex: 0 0 100%;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .support-team-grid {
    grid-template-columns: 1fr;
  }

  .gallery-controls {
    justify-content: center;
  }

  .gallery-footer {
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .testimonial-card {
    padding: 22px;
    min-height: 330px;
  }

  .testimonial-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .testimonial-quote {
    font-size: 0.9rem;
  }
}

/* ====================================================
   PAGE BANNER (Inner Pages)
   ==================================================== */
.page-banner {
  padding: 24px 0 22px;
  background-size: cover;
  background-position: center;
  text-align: center;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.35), transparent 45%),
    radial-gradient(circle at 88% 78%, rgba(216, 27, 111, 0.22), transparent 50%);
  pointer-events: none;
}

.page-banner > .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 18px;
  border-radius: 999px;
}

.breadcrumb a {
  color: var(--white);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb i {
  font-size: 0.6rem;
  opacity: 0.8;
}

/* ====================================================
   CONTACT INFO CARDS
   ==================================================== */
/* ====================================================
   CONTACT PAGE
   ==================================================== */
.contact-page-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 151, 203, 0.18), transparent 40%),
    radial-gradient(circle at 92% 92%, rgba(252, 216, 234, 0.55), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-rose) 100%);
  position: relative;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: start;
}

.contact-page-info .section-title {
  margin-bottom: 12px;
}

.contact-page-lead {
  color: var(--text-muted);
  margin: 0 0 28px;
  line-height: 1.7;
  max-width: 520px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.contact-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 27, 111, 0.28);
  box-shadow: 0 14px 32px rgba(216, 27, 111, 0.12);
}

.contact-card:hover::before {
  transform: scaleY(1);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(216, 27, 111, 0.25);
}

.contact-card-whatsapp .contact-card-icon {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.28);
}

.contact-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-card strong {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-card-body a,
.contact-card-body span {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.4;
  word-break: break-word;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-card-body a {
  display: block;
}

.contact-card-body a:hover {
  color: var(--primary);
}

.map-embed {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(216, 27, 111, 0.10);
}

.map-embed iframe {
  display: block;
  width: 100%;
}

/* Form wrap on contact page — softer shadow than homepage's dark version */
.contact-page-form-wrap {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px 36px 36px;
  box-shadow: 0 22px 50px rgba(216, 27, 111, 0.10);
  overflow: hidden;
}

.contact-page-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.contact-form-head {
  margin-bottom: 24px;
}

.contact-form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.contact-form-head h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.2;
}

.contact-form-head p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Form error */
.form-error {
  background: #ffeaea;
  color: #c0392b;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 16px;
  grid-column: 1 / -1;
  border: 1px solid #f5c6cb;
}

.req {
  color: var(--primary);
}

/* Footer CTA title */
.footer-cta-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 24px;
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  .contact-page-form-wrap {
    padding: 28px 22px 26px;
    border-radius: 16px;
  }

  .contact-form-head h3 {
    font-size: 1.25rem;
  }

  .contact-card {
    padding: 16px;
  }

  .contact-card-icon {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .page-banner {
    padding: 16px 0 14px;
  }

  .page-banner h1 {
    margin-bottom: 8px;
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .breadcrumb {
    font-size: 0.82rem;
    padding: 6px 14px;
  }

  .service-categories-grid {
    grid-template-columns: 1fr;
  }
}