/* ==========================================================================
   KADIN SAĞLIĞI & DOĞUM KLİNİĞİ - ANA WEB SİTESİ STİL DOSYASI
   Renk Paleti: Magenta Rose (#DB479D), Deep Plum (#3D203F), Soft Blush (#FAF7F8)
   Tipografi: Poppins (Google Fonts)
   ========================================================================== */

:root {
  --bs-primary: #DB479D;
  --bs-primary-hover: #BA3C85;
  --bs-primary-soft: rgb(248, 218, 235);
  --bs-secondary: #3D203F;
  --bs-secondary-hover: #341B36;
  --bs-light: #FAF7F8;
  --bs-white: #FFFFFF;
  --bs-body-color: #666666;
  --border-color: #E1EBF1;
  --star-gold: #FACC15;

  --font-base: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 15px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(61, 32, 63, 0.05);
  --shadow-md: 0 12px 32px rgba(61, 32, 63, 0.08);
  --shadow-lg: 0 24px 56px rgba(61, 32, 63, 0.12);
}

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

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

body {
  font-family: var(--font-base);
  color: var(--bs-body-color);
  background-color: var(--bs-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--bs-secondary);
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 96px 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bs-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 600;
  color: var(--bs-secondary);
  margin-bottom: 18px;
}

.section-title span {
  color: var(--bs-primary);
}

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.28s ease;
  white-space: nowrap;
}

.btn-primary-pill {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  box-shadow: 0 10px 24px rgba(219, 71, 157, 0.28);
}

.btn-primary-pill:hover {
  background-color: var(--bs-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(219, 71, 157, 0.36);
}

.btn-secondary-pill {
  background-color: var(--bs-secondary);
  color: var(--bs-white);
}

.btn-secondary-pill:hover {
  background-color: var(--bs-secondary-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & STICKY NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 32, 63, 0.06);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  width: 46px;
  height: 46px;
}

.brand-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bs-secondary);
  line-height: 1.15;
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bs-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 26px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--bs-secondary);
  padding: 10px 0;
}

.nav-link .star-dot {
  color: var(--bs-primary);
  font-size: 0.7rem;
}

.nav-link:hover {
  color: var(--bs-primary);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bs-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(61, 32, 63, 0.06);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  list-style: none;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--bs-secondary);
}

.nav-dropdown a:hover {
  background: var(--bs-light);
  color: var(--bs-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-phone-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bs-light);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(219, 71, 157, 0.2);
}

.nav-phone-btn:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--bs-secondary);
  cursor: pointer;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background: url('../images/hero-bg.jpg') center right / cover no-repeat;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 44%, rgba(255, 255, 255, 0.12) 100%);
  z-index: 1;
}

.hero-rail-left {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--bs-secondary);
  white-space: nowrap;
}

.hero-rail-right {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-social-vertical {
  writing-mode: vertical-rl;
  display: flex;
  gap: 18px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--bs-secondary);
}

.hero-social-vertical a:hover {
  color: var(--bs-primary);
}

.hero-talk-pill {
  writing-mode: vertical-rl;
  background: var(--bs-secondary);
  color: var(--bs-white);
  padding: 16px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.hero-talk-pill:hover {
  background: var(--bs-primary);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 80px 0;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.55rem);
  font-weight: 700;
  color: var(--bs-secondary);
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--bs-body-color);
  margin-bottom: 34px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.video-trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bs-secondary);
}

.video-play-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bs-white);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease;
}

.video-trigger:hover .video-play-circle {
  transform: scale(1.08);
  background: var(--bs-primary);
  color: var(--bs-white);
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge-float strong {
  display: block;
  color: var(--bs-primary);
  font-size: 1.25rem;
  line-height: 1.1;
}

.about-badge-float span {
  font-size: 0.78rem;
  color: var(--bs-secondary);
  font-weight: 600;
}

.check-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin: 26px 0 34px;
  list-style: none;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--bs-secondary);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bs-primary-soft);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
}

.about-footer-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.contact-widget {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-widget-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bs-light);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.contact-widget span {
  display: block;
  font-size: 0.78rem;
  color: var(--bs-body-color);
}

.contact-widget strong {
  font-size: 1rem;
  color: var(--bs-secondary);
}

/* ==========================================================================
   STATISTICS STRIP
   ========================================================================== */
.stats-strip {
  padding: 64px 0;
  background-color: var(--bs-light);
  border-top: 1px solid rgba(61, 32, 63, 0.05);
  border-bottom: 1px solid rgba(61, 32, 63, 0.05);
}

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

.stat-item {
  position: relative;
  padding: 16px 10px;
}

.stat-num {
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 700;
  color: var(--bs-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label-band {
  position: relative;
  display: inline-block;
  background: var(--bs-light);
  padding: 4px 14px;
  margin-top: -22px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bs-secondary);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.section-head-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

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

.service-card {
  background: var(--bs-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  background: var(--bs-secondary);
  color: rgba(255, 255, 255, 0.85);
}

.service-card.featured h3,
.service-card.featured .service-link {
  color: var(--bs-white);
}

.service-card-img {
  height: 210px;
  overflow: hidden;
}

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

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.88rem;
  margin-bottom: 18px;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--bs-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.services-bottom-bar {
  margin-top: 42px;
  background: var(--bs-white);
  border-radius: var(--radius-pill);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.services-bottom-bar p {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--bs-secondary);
}

/* ==========================================================================
   PREGNANCY TIMELINE (9 MONTHS)
   ========================================================================== */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 12px;
  margin-top: 38px;
}

.timeline-month {
  background: var(--bs-light);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  padding: 16px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.timeline-month:hover,
.timeline-month.active {
  background: var(--bs-white);
  border-color: var(--bs-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.timeline-month svg {
  width: 54px;
  height: 76px;
  margin: 0 auto 10px;
}

.timeline-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--bs-white);
  color: var(--bs-secondary);
}

.timeline-month.active .timeline-pill {
  background: var(--bs-primary);
  color: var(--bs-white);
}

.timeline-detail-box {
  margin-top: 28px;
  background: var(--bs-light);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 4px solid var(--bs-primary);
}

.timeline-detail-box h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.timeline-detail-box p {
  font-size: 0.92rem;
}

/* ==========================================================================
   MAKE AN APPOINTMENT SPLIT SECTION
   ========================================================================== */
.appointment-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 540px;
}

.appointment-form-panel {
  background: var(--bs-light);
  padding: 76px 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.appt-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.input-pill-wrap {
  position: relative;
}

.input-pill {
  width: 100%;
  height: 54px;
  padding: 0 42px 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(61, 32, 63, 0.12);
  background: var(--bs-white);
  color: var(--bs-secondary);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-pill:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 4px rgba(219, 71, 157, 0.12);
}

.input-pill-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bs-primary);
  pointer-events: none;
  font-size: 0.95rem;
}

.appt-submit-btn {
  height: 54px;
  width: 100%;
}

.appt-feedback {
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.appt-feedback.show {
  display: block;
}

.appt-feedback.success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.appt-feedback.error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.appointment-photo-panel {
  position: relative;
  overflow: hidden;
}

.appointment-photo-panel img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.06);
}

/* ==========================================================================
   NUTRITION TIPS SECTION
   ========================================================================== */
.nutrition-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.nutrition-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
}

.nutrition-circle-bg {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 71, 157, 0.15) 0%, rgba(250, 247, 248, 0.9) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nutrition-badge {
  position: absolute;
  background: var(--bs-white);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bs-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nutrition-badge.b1 { top: 24px; left: 20px; }
.nutrition-badge.b2 { top: 24px; right: 20px; }
.nutrition-badge.b3 { bottom: 28px; left: 10px; }
.nutrition-badge.b4 { bottom: 28px; right: 10px; }

/* ==========================================================================
   CARE STAGE TABS
   ========================================================================== */
.care-tabs-bar {
  background: var(--bs-white);
  border-radius: var(--radius-pill);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 42px;
}

.care-tab-btn {
  border: none;
  background: transparent;
  padding: 13px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bs-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.care-tab-btn:hover {
  color: var(--bs-primary);
}

.care-tab-btn.active {
  background: var(--bs-primary);
  color: var(--bs-white);
  box-shadow: 0 8px 20px rgba(219, 71, 157, 0.25);
}

.care-tab-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  background: var(--bs-white);
  border-radius: var(--radius-xl);
  padding: 42px;
  box-shadow: var(--shadow-sm);
}

.care-tab-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}

.care-tab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.faq-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.faq-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bs-white);
  overflow: hidden;
}

.faq-item.open {
  border-color: rgba(219, 71, 157, 0.45);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--bs-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-chevron {
  color: var(--bs-primary);
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 240px;
}

.faq-answer p {
  padding: 0 22px 18px;
  font-size: 0.9rem;
}

/* ==========================================================================
   TESTIMONIALS & BLOG
   ========================================================================== */
.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 42px;
}

.doctor-pill-widget {
  background: var(--bs-white);
  border-radius: var(--radius-pill);
  padding: 10px 12px 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bs-white);
  margin-left: -10px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.circle-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bs-primary);
  color: var(--bs-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bs-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.44fr 0.56fr;
  box-shadow: var(--shadow-sm);
}

.testimonial-media {
  position: relative;
  min-height: 280px;
}

.testimonial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bs-primary);
  color: var(--bs-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(219, 71, 157, 0.4);
}

.testimonial-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.stars {
  color: var(--star-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.testimonial-body h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.testimonial-body p {
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--bs-secondary);
}

.testimonial-author span {
  font-size: 0.78rem;
}

.quote-mark {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 3rem;
  line-height: 1;
  color: var(--bs-primary-soft);
  font-weight: 700;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  max-width: 340px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--bs-secondary);
}

.progress-track {
  flex: 1;
  height: 4px;
  background: rgba(61, 32, 63, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--bs-primary);
  transition: width 0.3s ease;
}

.carousel-btns {
  display: flex;
  gap: 10px;
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(61, 32, 63, 0.14);
  background: var(--bs-white);
  color: var(--bs-secondary);
  cursor: pointer;
  font-size: 1rem;
}

.carousel-nav-btn:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
  border-color: var(--bs-primary);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  background: var(--bs-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--bs-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.blog-card-body p {
  font-size: 0.87rem;
  margin-bottom: 16px;
  flex: 1;
}

/* ==========================================================================
   FOOTER & NEWSLETTER
   ========================================================================== */
.site-footer {
  background: var(--bs-secondary);
  color: rgba(255, 255, 255, 0.82);
  padding: 84px 0 48px;
}

.footer-white-card {
  background: var(--bs-white);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 44px;
  color: var(--bs-body-color);
  box-shadow: var(--shadow-lg);
  margin-bottom: 52px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.footer-mother-thumb {
  width: 100%;
  max-width: 240px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

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

.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bs-light);
  color: var(--bs-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.social-circle:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
}

.footer-links-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-cols h4 {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bs-primary);
  margin-bottom: 16px;
}

.footer-cols ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-cols a {
  font-size: 0.88rem;
  color: var(--bs-secondary);
}

.footer-cols a:hover {
  color: var(--bs-primary);
}

.footer-copy {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.newsletter-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.newsletter-row h2 {
  color: var(--bs-white);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  margin-bottom: 8px;
}

.newsletter-form {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 6px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--bs-white);
  padding: 10px 18px;
  font-size: 0.92rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.newsletter-form button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--bs-primary);
  color: var(--bs-white);
  cursor: pointer;
  font-size: 1.1rem;
}

/* ==========================================================================
   MODALS & FLOATING SCROLL TOP
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 32, 63, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-box {
  background: var(--bs-white);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bs-light);
  color: var(--bs-secondary);
  font-size: 1.25rem;
  cursor: pointer;
}

.scroll-top-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bs-secondary);
  color: var(--bs-white);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 900;
  font-size: 1.15rem;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid { grid-template-columns: repeat(3, 1fr); }
  .care-tabs-bar { grid-template-columns: repeat(3, 1fr); border-radius: var(--radius-lg); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--bs-white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 12px;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero-rail-left, .hero-rail-right { display: none; }
  .about-grid, .appointment-split, .nutrition-grid, .care-tab-panel, .faq-grid, .footer-white-card, .newsletter-row {
    grid-template-columns: 1fr;
  }
  .appt-form-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .services-grid, .blog-grid, .footer-cols { grid-template-columns: 1fr; }
  .care-tabs-bar { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { grid-template-columns: 1fr; }
  .check-grid-2 { grid-template-columns: 1fr; }
}
