:root {
  --primary: #f07fb3; /* Theme Pink */
  --secondary: #2e3a8c; /* Theme Blue */
  --text-color: #64748b; /* Light Gray Text */
  --bg-light: #f8fafc; /* Light Background */
  --white: #ffffff;
  --font-main: "Outfit", sans-serif;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Quicksand, sans-serif;
}
body {
  font-family: var(--font-main);
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
img {
  max-width: 100%;
  height: auto;
}

/* ================= UTILITY CLASSES ================= */
.container {

  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-pad {
  padding: 90px 0;
}
.bg-light {
  background-color: var(--bg-light);
}
.bg-white {
  background-color: var(--white);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.flex-row {
  display: flex;
}
.align-items-center {
  align-items: center;
}
.align-items-end {
  align-items: flex-end;
}
.justify-center {
  justify-content: center;
}

/* Column Widths (Simple Grid System) */
.col-lg-6 {
  width: 50%;
  padding: 0 15px;
}
.col-lg-4 {
  width: 33.333%;
  padding: 0 15px;
}
.col-lg-8 {
  width: 66.666%;
  padding: 0 15px;
}
.col-lg-5 {
  width: 41.666%;
  padding: 0 15px;
}
.col-lg-7 {
  width: 58.333%;
  padding: 0 15px;
}
.col-lg-3 {
  width: 25%;
  padding: 0 15px;
}
.col-sm-6 {
  width: 50%;
  padding: 0 15px;
}
.w-40 {
  width: 40%;
}
.w-60 {
  width: 60%;
}

/* Spacing Helpers */
.mt-20 {
  margin-top: 20px;
}
.mt-30 {
  margin-top: 30px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-50 {
  margin-top: 50px;
}
.mb-30 {
  margin-bottom: 30px;
}
.ms-2 {
  margin-left: 8px;
}
.ms-30 {
  margin-left: 30px;
}
.pl-lg-30 {
  padding-left: 30px;
}
.pl-lg-50 {
  padding-left: 50px;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-primary {
  color: var(--primary) !important;
}
.text-warning {
  color: var(--primary);
}
.fw-bold {
  font-weight: 700;
}

/* Typography */
.sub-title {
  color: var(--primary);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: capitalize;
}
.section-desc {
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 30px;
  color: var(--text-color);
}
.mini-title {
  color: var(--primary);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--secondary);
  color: var(--white);
}
.btn-white {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.btn-white:hover {
  background-color: var(--primary);
  color: var(--white);
}
.link-btn {
  color: var(--primary);
  font-weight: 500;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
}

/* ================= 1. HERO SECTION ================= */
.hero-section {
  background-image: url('images/hero-section.jpg');
  position: relative;
  height: 95vh;
  min-height: 1000px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin-top: -60px;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 20%);
}
.hero-container {
  position: relative;
  z-index: 2;
  
  
}
.hero-title {
   
    font-size: 85px;
    font-weight: 700;
    line-height: 102px;
    color: rgb(255, 255, 255);
    
    
}
.hero-desc {
    margin-top :10px;
    
  font-size: 20px;
  color: var(--white);
  max-width: 550px;
  margin-bottom: 30px;
  font-weight: 300;
}

/* ================= 2. ABOUT US ================= */
.about-images-wrapper {
  position: relative;
}
.img-main {
  width: 90%;
  border-radius: 20px;
  object-fit: cover;
}
.img-overlap {
  position: absolute;
  bottom: -40px;
  right: 0;
  width: 50%;
  border-radius: 20px;
  border: 10px solid var(--white);
  object-fit: cover;
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 30px;
}
.btn-video {
  color: var(--secondary);
  font-weight: 500;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.play-icon {
  color: var(--primary);
  font-size: 20px;
}

/* ================= 3. SERVICES TABS ================= */
.custom-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tab-btn {
  background: var(--white);
  border: none;
  padding: 20px 30px;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 500;
  color: var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  font-family: var(--font-main);
}
.tab-btn.active,
.tab-btn:hover {
  background-color: var(--primary);
  color: var(--white);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s;
}
.tab-content.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  background: var(--white);
  border-radius: 25px;
  padding: 30px;
  gap: 30px;
  align-items: center;
}
.service-card .img-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.service-card .img-box img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
}
.btn-book {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: center;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
}
.service-card .info-box h3 {
  font-size: 26px;
  color: var(--secondary);
  margin-bottom: 15px;
}
.check-list {
  list-style: none;
  margin-top: 20px;
}
.check-list li {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-list li i {
  color: var(--primary);
  font-size: 20px;
}

/* ================= 4. DOCTOR & SKILLS ================= */
.skills-list {
  list-style: none;
  margin-bottom: 20px;
  row-gap: 15px;
}
.skills-list li {
  font-size: 16px;
  font-weight: 500;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.rounded-image {
  border-radius: 25px;
}

/* ================= 5. WHY CHOOSE US ================= */
.icon-ring {
  font-size: 40px;
  color: var(--primary);
  margin-right: 15px;
  animation: ring 2s infinite ease-in-out;
}
@keyframes ring {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}
.h-450 {
  height: 450px;
}
.object-cover {
  object-fit: cover;
}
.image-card {
  position: relative;
}

/* ================= 6. TEAM SECTION ================= */
.team-col {
  margin-bottom: 30px;
}
.team-card {
  position: relative;
  overflow: hidden;
}
.team-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}
.team-img img {
  width: 100%;
  transition: 0.5s;
}
.team-social {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 50px);
  background: var(--primary);
  padding: 10px 25px;
  border-radius: 30px;
  display: flex;
  gap: 15px;
  opacity: 0;
  transition: 0.4s;
}
.team-social a {
  color: var(--white);
  font-size: 16px;
}
.team-card:hover .team-social {
  opacity: 1;
  transform: translate(-50%, 0);
}
.team-card:hover .team-img img {
  transform: scale(1.05);
}
.team-info h3 {
  font-size: 22px;
  color: var(--secondary);
  margin-bottom: 5px;
}
.team-info span {
  font-size: 15px;
  color: var(--text-color);
}

.home-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-team-grid .doctor-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(46, 58, 140, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-team-grid .doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(46, 58, 140, 0.14);
}

.home-team-grid .doctor-image-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.home-team-grid .doctor-info {
  padding: 18px;
}

.home-team-grid .doctor-info h3 {
  margin: 0 0 6px;
  color: var(--secondary);
  font-size: 1.2rem;
}

.home-team-grid .role {
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
}

.home-team-grid .desc {
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ================= 7. TESTIMONIALS ================= */
.testi-card {
  background: var(--white);
  border-radius: 25px;
  padding: 50px;
  gap: 40px;
  margin: 20px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}
.absolute-quote {
  margin-bottom: 20px;
  display: block;
  font-size: 45px;
  color: rgba(31, 140, 157, 0.2);
}
.testi-text {
  font-size: 22px;
  font-weight: 400;
  color: var(--secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}
.testi-name {
  font-size: 24px;
  margin-bottom: 5px;
}
.testi-role {
  font-size: 16px;
}
.testi-img img {
  border-radius: 20px;
  border-bottom-right-radius: 100px;
  width: 100%;
}
.testi-rating {
  position: absolute;
  bottom: 20px;
  left: -30px;
  background: var(--white);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}
.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .col-lg-6,
  .col-lg-4,
  .col-lg-8,
  .col-lg-5,
  .col-lg-7,
  .w-40,
  .w-60 {
    width: 100%;
    padding: 0 15px;
  }
  .pl-lg-30,
  .pl-lg-50 {
    padding-left: 15px;
  }
  .mb-mob-30 {
    margin-bottom: 30px;
  }
  .mb-mob-40 {
    margin-bottom: 40px;
  }
  .hero-title {
    font-size: 50px;
  }
  .flex-row {
    flex-direction: column;
  }
  .service-card .img-box img {
    height: auto;
  }
  .testi-card {
    padding: 30px;
  }
  .testi-img {
    display: none; /* Simplifies layout on mobile */
  }
  .testi-content {
    width: 100%;
  }

  .home-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .col-sm-6 {
    width: 100%;
  }
  .hero-title {
    font-size: 40px;
  }
  .btn-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .contact-inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .ms-30 {
    margin-left: 0;
  }
  .img-overlap {
    bottom: -20px;
    width: 60%;
  }

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

/* ================= HOME EXTRA SECTIONS ================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.stat-card {
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
}
.stat-card h3 {
  font-size: 44px;
  color: var(--secondary);
  margin-bottom: 6px;
}
.stat-card p {
  color: var(--text-color);
  font-weight: 500;
}

.ivf-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ivf-step-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 18px;
}
.step-no {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
}
.ivf-step-card h4 {
  color: var(--secondary);
  margin-bottom: 8px;
  font-size: 18px;
}

.benefits-head {
  margin-bottom: 36px;
}
.benefits-tag {
  display: inline-block;
  background: #2f56cb;
  color: #ffffff;
  font-size: 28px;
  font-style: italic;
  line-height: 1;
  padding: 7px 14px;
  margin-bottom: 16px;
}
.benefits-main-title {
  color: #2e3a8c;
  margin-bottom: 0;
}
.benefits-scroll-wrap {
  --steps: 6;
  position: relative;
  height: calc(100vh + (var(--steps) - 1) * 65vh);
}
.benefits-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.benefits-stage {
  position: relative;
  min-height: clamp(380px, 54vh, 560px);
  overflow: hidden;
}
.benefit-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f4f7fd 100%);
  border-radius: 18px;
  padding: 30px 24px;
  text-align: left;
  border: 1px solid #d9e2f0;
  box-shadow: 0 14px 30px rgba(46, 58, 140, 0.08);
  overflow-y: auto;
  scrollbar-gutter: stable both-edges;
  opacity: 0;
  transform: scale(0.985);
  pointer-events: none;
  transition: opacity 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  border-color: rgba(240, 127, 179, 0.42);
  animation: benefitCardInDown 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.benefits-stage.dir-up .benefit-card.active {
  animation-name: benefitCardInUp;
}
.benefit-card.active:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(46, 58, 140, 0.16);
  border-color: rgba(240, 127, 179, 0.55);
}
.benefit-card i {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 12px;
  transition: transform 0.28s ease, color 0.28s ease;
}
.benefit-card.active:hover i {
  transform: scale(1.1) rotate(-6deg);
  color: #e45aa0;
}
.benefit-card h4 {
  color: var(--secondary);
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.benefit-card p {
  color: var(--text-color);
  font-size: 16px;
  margin: 0;
}
.benefit-points {
  margin: 10px 0;
  padding-left: 22px;
  color: var(--text-color);
}
.benefit-points li {
  margin-bottom: 6px;
}
.benefits-counter {
  margin-top: 18px;
  text-align: center;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.06em;
}
@keyframes benefitCardInDown {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes benefitCardInUp {
  from {
    opacity: 0;
    transform: translateY(-24px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .benefit-card {
    transition: none;
    animation: none !important;
  }
}

.cta-mini-card {
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  height: 100%;
}
.cta-mini-card h3 {
  color: var(--secondary);
  font-size: 28px;
  margin-bottom: 10px;
}
.cta-mini-card p {
  margin-bottom: 20px;
}

.faq-wrap-home {
  max-width: 920px;
  margin: 0 auto;
}
.faq-item-home {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q-home {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 18px;
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.faq-q-home i {
  color: var(--primary);
}
.faq-a-home {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: 0.25s ease;
}
.faq-item-home.active .faq-a-home {
  max-height: 120px;
  padding: 0 18px 16px;
}
.faq-item-home.active .faq-q-home i {
  transform: rotate(45deg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.news-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(46, 58, 140, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 127, 179, 0.35);
  box-shadow: 0 16px 34px rgba(46, 58, 140, 0.12);
}
.news-card h4 {
  color: var(--secondary);
  font-size: 22px;
  margin-bottom: 8px;
}
.news-card p {
  margin-bottom: 16px;
  line-height: 1.6;
}
.news-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #dd62a2);
  color: var(--white);
  margin-bottom: 12px;
}
.news-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(240, 127, 179, 0.12);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.news-link {
  color: var(--secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
}
.news-link:hover {
  color: var(--primary);
}
.news-card-cta {
  background: var(--white);
  color: inherit;
}
.news-card-cta h4,
.news-card-cta p {
  color: inherit;
}
.news-card-cta .news-badge {
  color: var(--primary);
  background: rgba(240, 127, 179, 0.12);
}
.news-card-cta .news-icon {
  background: linear-gradient(135deg, var(--primary), #dd62a2);
}
.news-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  color: var(--white);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 12px;
  margin-top: auto;
  width: fit-content;
}
.news-cta-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

@media (max-width: 1024px) {
  .stats-grid,
  .ivf-steps-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-stage {
    min-height: clamp(400px, 57vh, 620px);
  }
}

@media (max-width: 768px) {
  .stats-grid,
  .ivf-steps-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .stat-card h3 {
    font-size: 34px;
  }

  .benefits-scroll-wrap {
    height: calc(100vh + (var(--steps) - 1) * 85vh);
  }

  .benefits-stage {
    min-height: clamp(430px, 60vh, 680px);
  }
}

/* ================= HOME TESTIMONIAL (SERVICES STYLE) ================= */
.home-testimonial-slider {
  overflow: hidden;
  position: relative;
}

.home-testimonial-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.home-testimonial-slide {
  min-width: min(920px, 88vw);
  flex: 0 0 min(920px, 88vw);
}

.home-testi-card {
  background: var(--white);
  border-radius: 25px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 30px;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.home-testi-text {
  font-size: 20px;
  color: var(--secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.home-testi-name {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 4px;
}

.home-testi-role {
  font-size: 15px;
  color: var(--text-color);
}

.home-testi-img img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  min-height: 300px;
}

@media (max-width: 1024px) {
  .home-testimonial-slide {
    min-width: min(700px, 92vw);
    flex: 0 0 min(700px, 92vw);
  }

  .home-testi-card {
    grid-template-columns: 1fr;
  }
}




.about-more-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
.about-more-content.is-open {
  max-height: 220px;
  opacity: 1;
  margin: -10px 0 18px;
}
.about-more-content p {
  margin-bottom: 10px;
  color: var(--text-color);
}
.about-more-content p:last-child {
  margin-bottom: 0;
}

