 html,
body {
  font-family: Poppins;
  background: #f6f7fb;
  overflow-x: hidden;
}

/* topbar */

.topbar {
  background: #fff;
  color: #333;
  /* Darker text for readability */
  font-size: 13px;
  padding: 1px 20px;
  border-bottom: 1px solid #eee;
}

.topbar h4 {
  font-size: 18px;
  margin-bottom: 2px;
  font-weight: 600;
}

.topbar p {
  font-size: 13px;
  margin: 0;
}

.topbar i {
  margin-right: 6px;
}

/* navbar */

.navbar-brand h5 {
  font-weight: 600;
  margin: 0;
  color: #2f327d;
}

.navbar-brand small {
  font-size: 12px;
  color: #666;
}

.nav-item {
  position: relative;
  /* Ensure relative for dropdown positioning */
}

.nav-item i {
  font-size: 11px;
  color: white;
  margin-left: 4px;
}

.nav-link {
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 15px;
}

/* .nav-link:hover {
  color: #fce4ec !important;
} */

/* Dropdown on Hover */
@media (min-width: 992px) {
  .navbar .nav-item.dropdown:hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: 0;
  }

  .navbar .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 10px;
    top: 100%;
  }

  .dropdown-toggle::after {
    transition: transform 0.3s ease;
    vertical-align: middle;
    margin-left: 1px;
  }

  .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

.dropdown-item {
  padding: 12px 15px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 400;
}

.dropdown-item:hover {
  background-color: #fce4ec;
  color: #4b4f8e;
  transform: translateX(5px);
}

.btn-pink {
  border-radius: 10px;
  padding: 5px 20px;
  font-weight: 500;
  font-size: 14px;
}

.btn-pink::after {
  content: "\2192";
  padding-left: 5px;
}

/* hero */

.hero {
  padding: 80px 0;
  /* background: linear-gradient(180deg, #ffffff, #f2f4fb); */
  background-color: #efeeee;
}

.hero h1 {
  font-size: 28px;
  color: #40458f;
  font-weight: 600;
  line-height: 1.4;
}

.secondary-heading {
  color: #686cb5;
}

.hero-box {
  background: white;
  padding: 28px 20px;
  border-left: 5px solid #ff0d6c;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin: 25px 0;
}

.contact-info i {
  color: #ff0d6c;
  margin-right: 8px;
}

.btn-outline-custom {
  border: 2px solid #40458f;
  color: #40458f;
  border-radius: 10px;
  padding: 10px 20px;
}

.btn-outline-custom:hover {
  border: 2px solid #ff0d6c;
}

.hero-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  .navbar {
    position: relative;
    z-index: 1000;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 9999;
  }

  .about-dr-image {
    padding-bottom: 16px;
  }
}

.about-doctor {
  background: #fff;
}

.section-subtitle {
  color: #ff2b7a;
  font-weight: 500;
  margin-bottom: 8px;
}

.section-title {
  color: #4b4f8e;
  font-weight: 600;
}

.header-line {
  width: 60px;
  height: 3px;
  background: #c07859;
  border-radius: 3px;
  margin: 0 auto;
}

.doctor-img-card {
  border-radius: 20px;
  overflow: hidden;
  /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
}

.doctor-img-card img {
  width: 100%;
  display: block;
}

.doctor-content p {
  color: #5a5a5a;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.doctor-content strong {
  color: #333;
  font-weight: 600;
}

.qualification-card {
  min-height: 240px;
  background: #f5efea;
  padding: 40px 20px;
  border-radius: 16px;
  transition: 0.3s;
}

.qualification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 24px;
  color: white;

}

.icon.pink {
  background: #ff0d6c;
}

.icon.purple {
  background: #4b4f8e;
}

.qualification-card h5 {
  font-weight: 600;
  color: #1e2430;
  margin-top: 15px;
  margin-bottom: 6px;
}

.qualification-card p {
  color: #555;
  margin: 0;
  font-size: 15px;
}

.expertise-section {
  background: #edc5d3;
}

.sub-title {
  color: #ff0d6c;
  font-weight: 500;
  margin-bottom: 6px;
}

.main-title {
  color: #4b4f8e;
  font-weight: 600;
}

.section-desc {
  color: #6c757d;
  max-width: 600px;
  margin: auto;
}

/* Card */

.expertise-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card-header {
  color: white;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header.pink {
  background: linear-gradient(90deg, #ff0d6c, #e6005c);
}

.card-header.purple {
  background: #4b4f8e;
}

/* List */

.expertise-card ul {
  list-style: none;
  padding: 25px;
  margin: 0;
}

.expertise-card ul li {
  margin-bottom: 14px;
  font-size: 16px;
  color: #495057;
  display: flex;
  align-items: center;
  gap: 10px;
}

.expertise-card ul i {
  color: #ff0d6c;
  font-size: 18px;
}

.why-choose-section {
  background: #fff;
}

.sub-title {
  color: #ff0d6c;
  font-weight: 500;
  margin-bottom: 5px;
}

.main-title {
  color: #4b4f8e;
  font-weight: 600;
}

/* Card */

.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 60px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #ff0d6c;
}

.why-card i {
  color: #ff0d6c;
  font-size: 22px;
}

.why-card p {
  margin: 0;
  color: #444;
  font-size: 16px;
}

/* Gallery */

.gallery-img {
  border-radius: 18px;
  width: 100%;
  height: 230px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.services-section {
  background: #f5efeac7;
}

.section-subtitle {
  color: #ff0d6c;
  font-weight: 500;
  margin-bottom: 6px;
}

.section-title {
  color: #4b4f8e;
  font-weight: 600;
}

.section-desc {
  color: #6c757d;
  max-width: 600px;
  margin: auto;
}

/* Cards */

.service-card {
  background: #f1eef0;
  padding: 35px 20px;
  border-radius: 16px;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-card h6 {
  margin-top: 15px;
  font-weight: 500;
  color: #2c2c2c;
}

/* Icons */

.icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  font-size: 24px;
  color: white;
}

.icon.pink {
  background: #ff0d6c;
}

.icon.purple {
  background: #f3aeb2;
}

.contact-section {
  background: #fff;
}

.section-subtitle {
  color: #f3aeb2;
  font-weight: 500;
}

.section-title {
  color: #4b4f8e;
  font-weight: 600;
}

.section-desc {
  color: #6c757d;
  max-width: 600px;
  margin: auto;
}

/* Contact Cards */

.contact-card {
  border-radius: 16px;
  padding: 40px 20px;
  color: white;
}

.contact-card i {
  font-size: 35px;
  margin-bottom: 15px;
}

.contact-card.phone {
  background: linear-gradient(45deg, #ff0066, #e6005c);
}

.contact-card.email {
  background: #f3aeb2;
}

.contact-card h5 {
  margin-bottom: 8px;
}

/* Form */

.appointment-form {
  background: #f5efeac7 !important;
  padding: 35px;
  border-radius: 16px;
}

.appointment-form label {
  font-weight: 500;
  margin-bottom: 5px;
}

.form-control {
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #d4d4d4;
}

.btn-book {
  background: #f3aeb2;
  color: white;
  padding: 10px 30px;
  border-radius: 10px;
}

.btn-book:hover {
  background: #f59398ff;
  color: white;
}

.footer-section {
  background: #0b0c2c;
  color: #d1d5db;
  padding: 40px 0 30px;
}

.footer-logo h5 {
  color: #8ea2ff;
  margin: 0;
  font-weight: 600;
}

.footer-logo p {
  margin: 0;
  font-size: 14px;
  color: #9ca3af;
}

.footer-desc {
  color: #fff;
  margin-top: 10px;
}

.footer-quick-links {
  padding-left: 80px;
}

/* Social */

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 50%;
  margin-right: 10px;
  color: #fff;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #000;
}

/* Links */

.footer-title {
  color: #fff;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

/* Contact */

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.footer-contact i {
  /* color: #ff0d6c; */
  color: white;
}

/* Divider */

.footer-divider {
  border-color: white;
  margin: 30px 0;
}

/* Bottom */

.footer-bottom p {
  margin: 4px 0;
  color: #fff;
}

.qualification {
  font-size: 14px;
}

.why-us-padding {
  padding: 0 140px !important;
}

.social-icons a {
  text-decoration: none !important;
}

.pink-color {
  /* color: #e6005c; */
  color: #000;
}

.pink-bg {
  /* background: #da5a8d; */
  background: #f3aeb2;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  justify-content: end;
  text-align: end !important;
}

.hide-desktop {
  display: none !important;
}

@media (max-width: 991px) {
  .hide-desktop {
    display: block !important;
  }

  .topbar {
    display: none;
  }

  .pink-bg {
    background-color: white !important;
    /* Keep the professional color in mobile header */
  }

  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    filter: invert(1);
  }

  .navbar-brand img {
    width: 200px;
    height: auto;
  }

  .navbar-collapse {
    background: #fff;
    padding: 15px;
    border-radius: 0 0 15px 15px;
    margin-top: 10px;
  }

  .nav-link {
    color: #4b4f8e !important;
    padding: 10px 15px !important;
    border-bottom: 1px solid #eee;
  }

  .dropdown-menu {
    border: none;
    background: #fdfdfd;
    padding-left: 20px;
    box-shadow: none;
  }

  .dropdown-item {
    border-bottom: 1px solid #f5f5f5;
    color: #4b4f8e !important;
    padding: 10px 15px;
  }

  .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

.navlink {
  color: #fff;
}

.contact-socials ul li {
  padding-top: 6px;
}

.contact-socials ul li i {
  font-size: 18px;
  padding: 2px 4px;
}

.contact-socials ul li i:hover {
  color: #000;
}

.center-desktop-text {
  padding-top: 12px;
}

.carousel-indicators button {
  height: 12px !important;
  width: 12px !important;
  border-radius: 50% !important;
  background-color: #ccc !important;
  border: 2px white double !important;
}

.carousel-indicators button.active {
  background-color: #c07859 !important;
}

.about-dr-image {
  max-width: 350px;
  border-radius: 12px;
}

.about-dr-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.about-section {
  background-color: #fff;
}

.about-text {
  text-align: justify;
}

.secondary-color {
  color: #000;
}

.section-header h4 {
  font-weight: 600;
  font-size: 36px;
}

.service-card {
  width: 320px;
  text-align: center;
  background: #fff;
  padding: 45px 15px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  margin: 40px auto;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
  width: 50px;
  margin: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(135deg, #d9c3d6, #f5edf3); */
  /* border: 3px solid #fff; */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  transition: 0.4s;
  overflow: hidden;
  object-fit: cover;
}

.service-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.icon-wrapper img {
  /* width: 48px; */
  border-radius: 50%;
  object-fit: contain;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #333;
}

.service-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.services-carousel .owl-nav button {
  position: absolute;
  top: 40%;
  background: #c07859 !important;
  color: #fff !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.services-carousel .owl-nav .owl-prev {
  left: -50px;
}

.services-carousel .owl-nav .owl-next {
  right: -50px;
}

.trimester-section {
  background: #ffffff;
}

.trimester-title {
  color: #000;
  font-weight: 700;
}

.trimester-sub {
  max-width: 850px;
  margin: auto;
}

.trimester-tabs .navlink {
  background: #f5efea;
  color: #333;
  padding: 14px 100px;
  margin: 10px;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.2);
  outline: none;
}

.trimester-tabs .navlink.active {
  background: #f3aeb2;
  color: #fff;
}

.arrow-list {
  list-style: none;
  padding: 0;
}

.arrow-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.arrow-list li::before {
  content: "➜";
  position: absolute;
  left: 0;
  color: #c07859;
  font-weight: bold;
}

/* .calculator-section {
  background: #f5efeac7;
} */

.section-title {
  color: #000;
  font-weight: 700;
  font-size: 36px;
}

.calculator-card {
  transition: 0.3s;
}

.calc-img {
  border-radius: 6px;
  width: 100%;
}

.calculator-card:hover {
  transform: translateY(-6px);
}

.calc-btn {
  font-size: 14px;
  background: #f3aeb2;
  color: #fff;
  padding: 6px 20px;
  border-radius: 5px;
  font-weight: 500;
}

.calc-btn:hover {
  background: #000;
  color: #fff;
}

.treatments-section {
  background: #f5efeac7;
}

.video-card {
  width: 100%;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px solid #fff;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-card iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

@media (max-width: 768px) {
  .video-card {
    height: 220px;
  }
}

.blogs-section {
  background-color: #fff;
}

.blog-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  padding-bottom: 20px;
}

/* .blog-card img {
  border-radius: 12px;
  max-width: 350px;
} */

.blog-card img:hover {
  scale: 1.05;
}

@media (min-width: 992px) {
  .lg-text-center {
    text-align: center !important;
  }
}

.tmn-section {
  background: #f3f3f3;
}

.tmn-title {
  color: #000;
  font-weight: 700;
  font-size: 34px;
}

.tmn-card {
  background: #e6d7d7;
  padding: 25px;
  border-radius: 4px;
  position: relative;
  min-height: 130px;
}

.tmn-card::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  border-width: 15px 15px 0;
  border-style: solid;
  border-color: #e6d7d7 transparent transparent transparent;
}

.tmn-user {
  margin-top: 35px;
}

.tmn-user img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.tmn-user h6 {
  margin-top: 10px;
  font-weight: 600;
}

.tmn-stars {
  color: #ffc107;
  font-size: 18px;
}

.tmn-carousel .owl-nav {
  position: absolute;
  top: -60px;
  right: 0;
}

.tmn-carousel .owl-nav button {
  background: #d7c9c9 !important;
  width: 35px;
  height: 35px;
  margin-left: 10px;
}

.tmn-videos {
  padding: 40px 0;
}

.tmn-video-card {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px solid #fff;
}

.tmn-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Removed duplicate .video-card style */
@media (max-width:991px) {
  .tmn-carousel .owl-nav {
    display: none;
  }
  .tmn-video-card {
  width: 100%;
  height: 600px;
  
}
}

/* -------about page -------------- */

.profile-details-section {
  background-color: #f5efeac7;
}

.profile-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.profile-card-header {
  background: #f3aeb2;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
}

.profile-card-header i {
  font-size: 15px;
  background: rgba(255, 255, 255, 0.2);
  width: 32px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.profile-card-header h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.profile-card-body {
  padding: 25px;
}

.profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: #444;
  font-size: 15px;
  line-height: 1.5;
}

.profile-list li:last-child {
  margin-bottom: 0;
}

.profile-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #ff1b7b;
  font-size: 14px;
}

.cert-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  overflow: hidden;
  border-radius: 12px;
}

.cert-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-main {
  border-right: 1px solid grey;
}

.ser-content {
  padding-bottom: 15px;
}

.ser-item {
  text-decoration: none;
  color: black;
  font-size: 18px;
  opacity: 0.5;
}

.service-names li {
  line-height: 2;
  list-style: none;
  padding-left: 0px;
}

.ser-item:hover {
  opacity: 1;
}

.service-tabs {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-tabs .card-header {
  background: linear-gradient(135deg, #2e6da4, #3d7fbf);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  padding: 15px 20px;
}

.service-tabs .list-group-item {
  padding: 14px 20px;
  border: none;
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

.service-tabs .list-group-item:hover {
  background: #f5f8ff;
}

.service-tabs .list-group-item.active {
  background: #3d7fbf;
  border-color: #3d7fbf;
}

@media (max-width:991px) {
  .service-content {
    padding-bottom: 20px;
  }

  .footer-quick-links {
    padding-left: 3px;
  }

  .social-icons {
    padding-bottom: 15px;
  }
}

/* .img-column {
  width: 100%;
  object-fit: contain;
  overflow: hidden;
  padding: 10px 20px;
}

.img-column img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  border-radius: 15px;

} */

.img-wrapper {
  width: 100%;
  height: 100%;
  min-height: 300px; /* control layout */
  overflow: hidden;
  border-radius: 12px;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
}

/* --- Gynecology Page Styles --- */
.gyn-banner-wrapper {
  min-height: 350px;
}

.gyn-banner-img {
  /* object-fit: cover; */
  /* object-position: center; */
  z-index: 1;
}

.gyn-banner-overlay {
  background: linear-gradient(to top, rgba(13, 30, 45, 0.9) 0%, rgba(13, 30, 45, 0) 60%);
  z-index: 2;
}

.gyn-banner-title {
  font-size: 2.5rem;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.custom-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  content: '→';
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

.gyn-breadcrumb-active {
  color: #e23b3b;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.gyn-img-cover {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.gyn-img-fit {
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
  background-color: #f8f9fa; /* Subtle background for contain gaps */
}

.gyn-section-title {
  font-size: 35px;
  color: #122947;
}

.gyn-section-text {
  color: #5d666f;
  line-height: 1.8;
  font-size: 15px;
}

.gyn-subtitle {
  color: #000;
}

.gyn-check-icon {
  color: #f3aeb2;
  font-size: 1.1rem;
}

.gyn-list-text {
  color: #444;
  font-weight: 500;
}

.gyn-check-icon-pink {
  color: var(--pink-color, #d63384);
}

.gyn-icon-box {
  width: 50px;
  height: 50px;
  background-color: #f8e1ec;
  line-height: 50px;
}

.gyn-icon-inner {
  color: var(--pink-color, #d63384);
  font-size: 1.2rem;
}

/* --- Gynecology Widgets Styles --- */
.gyn-widgets-section {
  background-color: #f5efeac7;
}

.gyn-widget-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 230px;
  padding: 2.5rem 1rem;
}

.gyn-widget-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.gyn-widget-icon {
  width: 85px;
  height: 85px;
  object-fit: contain;
  margin-bottom: 20px;
  background-color: #f5efeac7;
  border-radius: 50%;
  padding: 16px;
}

.gyn-widget-title {
  color: #c07859;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0;
}

/* --- Gynecology Detail Sections --- */
.bg-pale-pink {
  background-color: #fff6f6;
  border-radius: 16px;
  margin: 30px 0;
}

.bg-pale-blue {
  background-color: #f6f7fb;
  border-radius: 16px;
  margin: 30px 0;
}

.gyn-detail-section {
  padding: 3rem 1.5rem;
}

.gyn-list-arrow {
  color: #f3aeb2;
  font-size: 1.15rem;
}

.gyn-subtitle-red {
  color: #f3aeb2;
}


.bg-light {

  background-color: #f5efeac7 !important;
}

/* --- Hero Section Exact Match Styles --- */
.hero-wrapper {
  background-color: #f8fbff;
  padding: 70px 0 60px 0;
  overflow: hidden;
}

.expert-badge {
  background-color: #fbe6e8;
  color: #de6e7c;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  letter-spacing: 0.5px;
}

.hero-heading {
  color: #4b4f8e;
  font-size: 45px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-pink-text {
  color: #ea999d;
}

.hero-paragraph {
  color: #555;
  font-size: 16px;
  line-height: 1.7;
  max-width: 95%;
}

.btn-hero-primary {
  background-color: #f3aeb2;
  color: white;
  border: none;
  padding: 12px 28px;
  font-weight: 500;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  background-color: #ea999d;
  color: white;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  color: #4b4f8e;
  font-weight: 600;
  font-size: 16px;
  padding: 0;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  color: #ea999d;
}

.hero-stats-row {
  border-top: 1px solid #e9ecef;
  max-width: 90%;
}

.hero-stat-box {
  border-right: 1px solid #e9ecef;
}

.hero-stat-box.middle, .hero-stat-box.last {
  padding-left: 20px;
}

.hero-stat-box.last {
  border-right: none;
}

.hero-stat-title {
  color: #4b4f8e;
  font-size: 2.2rem;
}

.hero-stat-text {
  font-size: 14px;
}

.hero-img-bg-shape {
  background-color: #eff1d9;
  border-radius: 40px;
  position: absolute;
  width: 85%;
  height: 95%;
  top: 5%;
  right: 7.5%;
  z-index: 0;
}

.hero-img-main {
  z-index: 1;
  border-radius: 40px;
  width: 85%;
  object-fit: cover;
}

/* --- About Doc Section Styles --- */
.about-doc-section {
  padding: 30px 0;
  background-color: #ffffff;
}

.about-doc-img {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
}

.about-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.about-pill {
  background-color: #4b4f8e;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
}

.about-doc-title {
  color: #4b4f8e;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-doc-paragraph {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
}

.about-feature-icon-box {
  width: 55px;
  height: 55px;
  min-width: 55px;
  background-color: #fce8ea;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon {
  color: #de6e7c;
  font-size: 24px;
}

.about-feature-content h5 {
  color: #4b4f8e;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.about-feature-content p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 991px) {
  .hero-wrapper {
    padding: 40px 0 20px;
    text-align: center;
  }
  .hero-heading {
    font-size: 2.8rem;
  }
  .hero-stat-title {
    font-size: 1.8rem;
  }
  .hero-stat-text {
    font-size: 12px;
  }
  .hero-paragraph {
    max-width: 100%;
  }
  .about-doc-title {
    font-size: 2rem;
    text-align: center;
  }
  .about-doc-paragraph {
    text-align: center;
  }
  .about-doc-section {
    padding: 40px 0;
  }
  /* Fix Trimester Tabs Overflow */
  .trimester-tabs .navlink {
    padding: 12px 20px;
    margin: 5px 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: 2.2rem;
  }
  .hero-stat-title {
    font-size: 1.4rem;
  }
  .hero-stat-text {
    font-size: 11px;
  }
  .hero-stat-box.middle, .hero-stat-box.last {
    padding-left: 5px;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  .d-flex.flex-wrap.gap-4.align-items-center {
    justify-content: center;
  }
  .about-pill-container {
    justify-content: center;
  }
  .hero-stats-row {
    max-width: 100%;
  }
  /* On very small screens, make trimester tabs full width */
  .trimester-tabs .nav-item {
    width: 100%;
    margin: 0;
  }
  .trimester-tabs .navlink {
    width: 100%;
    display: block;
    text-align: center;
    margin: 5px 0;
  }
  .gyn-banner-title {
    font-size: 1.8rem;
  }
  .gyn-banner-wrapper {
    min-height: 250px;
  }
  .gyn-detail-section {
    padding: 2rem 1rem;
  }
  .section-header h4 {
    font-size: 24px;
  }
}

/* Ensure images come first on mobile for alternating service rows */
@media (max-width: 767px) {
  .row.row-mobile-reverse {
    flex-direction: column-reverse;
  }
}

/* Consultation Flow Section */
.consultation-flow-section {
    background-color: #fdfdfd;
    position: relative;
    overflow: hidden;
}

.flow-step {
    position: relative;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #f1f1f1;
    z-index: 1;
}

.flow-step a {
  text-decoration: none;
}

.flow-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #f3aeb2;
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(243, 174, 178, 0.1);
    z-index: -1;
    line-height: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: #fdf0f1;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #4b4f8e;
    transition: all 0.3s ease;
}

.flow-step:hover .step-icon {
    background: #f3aeb2;
    color: #fff;
}

.flow-step h5 {
    color: #4b4f8e;
    font-weight: 600;
    margin-bottom: 12px;
}

.flow-step p {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Connecting line for desktop */
@media (min-width: 992px) {
    .flow-row {
        position: relative;
    }
    .flow-row::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        background: dashed #e9ecef;
        z-index: 0;
        display: none; 
    }
}

/* Location Section */
.location-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f1f1;
    height: 100%;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100% !important;
    height: 300px !important;
    border: 0;
    display: block;
}

.location-info {
    padding: 25px;
}

.location-info h5 {
    color: #4b4f8e;
    font-weight: 600;
    margin-bottom: 15px;
}

.location-info p {
    color: #6c757d;
    margin-bottom: 10px;
    font-size: 15px;
}

.location-info i {
    color: #f3aeb2;
    width: 20px;
}

/* --- Specialties Card Section --- */
.specialty-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.specialty-icon {
    width: 65px;
    height: 65px;
    background: #fdf2f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.specialty-icon i {
    font-size: 28px;
    color: #f3aeb2;
}

.specialty-card:hover .specialty-icon {
    background: #f3aeb2;
}

.specialty-card:hover .specialty-icon i {
    color: #fff;
}

.specialty-title {
    color: #4b4f8e;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.specialty-card p {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
}

.specialty-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specialty-list li {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}


.flow-step {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #f1f1f1;
    z-index: 1;
}

.flow-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #f3aeb2;
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(243, 174, 178, 0.1);
    z-index: -1;
    line-height: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: #fdf0f1;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #4b4f8e;
    transition: all 0.3s ease;
}

.flow-step:hover .step-icon {
    background: #f3aeb2;
    color: #fff;
}

.flow-step h5 {
    color: #4b4f8e;
    font-weight: 600;
    margin-bottom: 12px;
}

.flow-step p {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Connecting line for desktop */
@media (min-width: 992px) {
    .flow-row {
        position: relative;
    }
    .flow-row::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        background: dashed #e9ecef;
        z-index: 0;
        display: none; 
    }
}

/* Location Section */
.location-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f1f1;
    height: 100%;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100% !important;
    height: 300px !important;
    border: 0;
    display: block;
}

.location-info {
    padding: 25px;
}

.location-info h5 {
    color: #4b4f8e;
    font-weight: 600;
    margin-bottom: 15px;
}

.location-info p {
    color: #6c757d;
    margin-bottom: 10px;
    font-size: 15px;
}

.location-info i {
    color: #f3aeb2;
    width: 20px;
}

/* --- Specialties Card Section --- */
.specialty-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.specialty-icon {
    width: 65px;
    height: 65px;
    background: #fdf2f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.specialty-icon i {
    font-size: 28px;
    color: #f3aeb2;
}

.specialty-card:hover .specialty-icon {
    background: #f3aeb2;
}

.specialty-card:hover .specialty-icon i {
    color: #fff;
}

.specialty-title {
    color: #4b4f8e;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.specialty-card p {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
}

.specialty-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specialty-list li {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specialty-list li i {
    font-size: 12px;
}

.text-pink {
    color: #f3aeb2 !important;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, #4b4f8e, #2f327d);
    color: #fff;
    margin: 30px 0;
}

.cta-title {
    font-weight: 700;
    font-size: 36px;
    color: #fff;
}

.cta-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.btn-cta {
    background: #f3aeb2;
    color: #fff;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

.btn-cta:hover {
    background: #ea999d;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- Service Pages Full-Width CTA --- */
.service-page-cta {
    background: linear-gradient(135deg, #4b4f8e, #2f327d);
    position: relative;
    border-radius: 20px;
    padding: 3rem 2rem;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-page-cta::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    top: -100px;
    right: -50px;
}

.service-page-cta::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.service-cta-icon {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    right: 5%;
    bottom: -5%;
    z-index: 0;
}

.service-page-cta .z-1 {
    position: relative;
    z-index: 1;
}

.service-cta-title {
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-service-primary {
    background-color: #f3aeb2;
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(243, 174, 178, 0.3);
}

.btn-service-primary:hover {
    background-color: #ea999d;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(234, 153, 157, 0.4);
}

.btn-service-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-service-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .service-page-cta {
        padding: 2.5rem 1.5rem;
    }
    .service-cta-title {
        font-size: 1.5rem;
    }
    .service-cta-text {
        font-size: 1rem;
    }
    .service-cta-icon {
        font-size: 7rem;
        right: 0;
        bottom: -10%;
        opacity: 0.5;
    }
}

.internal-links {
  font-weight: bold;
  color: #5d666f;
  text-decoration: none;
}

.internal-links:hover {
  color: #f3aeb2;
}