/* ===================================================== */
/* GLOBAL RESPONSIVE BASE — fixes horizontal overflow     */
/* ===================================================== */


*,
*::before,
*::after{
  box-sizing: border-box;
      font-family: 'Open Sans', Arial, Helvetica, sans-serif;

}

html{
  -webkit-text-size-adjust: 100%;
}

html, body{
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

img, svg, video, canvas, iframe{
  max-width: 100%;
  height: auto;
  display: block;
}

body{ font-family: Arial, Helvetica, sans-serif; }

a{ text-decoration: none; }

:root{
  --brand-pink: #9c2360;
  --brand-pink-dark: #7d1c4d;
  --brand-navy: #1c3f66;
  --topbar-bg: #f4f4f4;
  --topbar-text: #9c2360;
  --nav-bg: #ffffff;
  --text-dark: #333333;
}

/* ============ Top Bar ============ */
.top-bar{
  background: var(--topbar-bg);
  padding: 10px 0;
  font-size: 14px;
  width: 100%;
}

.top-bar-inner{
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 25px;
  display: flex;
  gap: 30px;
  box-sizing: border-box;
}

.top-bar-link{
  color: var(--topbar-text);
  font-weight: 500;
}

.top-bar-link .arrow{
  margin-right: 4px;
  font-weight: 700;
}

.top-bar-link:hover{
  text-decoration: underline;
}

/* ============ Main Nav ============ */
.main-nav{
  background: var(--nav-bg);
  position: relative;
  z-index: 100;
  width: 100%;
  height: 100px;
  margin-bottom: 20px;
}

.main-nav-inner{
  max-width: 1300px;
  margin: 0 auto;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  gap:40px;
  margin-top: 30px;
}

/* Brand / Logo */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-icon{
  height: 56px;
  width: auto;
  flex-shrink: 0;

}

.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-name{
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-navy);
  white-space: nowrap;
}

.brand-tagline{
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Mobile/tablet toggle button (hidden on desktop) */
.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-bar{
  width: 22px;
  height: 2px;
  background: var(--brand-pink);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2){
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav menu */
.nav-menu{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.nav-item{
  position: relative;
}

.nav-link{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 12px;
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--brand-pink);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

/* =========================================
   TESTIMONIALS NAV ITEM
========================================= */

.has-dropdown > .dropdown-toggle {
    padding: 12px 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}


/* Remove extra nav-link styling from inner link */

.has-dropdown > .dropdown-toggle > a {
    padding: 0;
    margin: 0;

    color: inherit;
    background: transparent;

    text-decoration: none;

    font-size: inherit;
    font-weight: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
}


/* Hover */

.has-dropdown > .dropdown-toggle:hover {
    background: var(--brand-pink) !important;
    color: #fff !important;
}

.has-dropdown > .dropdown-toggle:hover > a {
    color: #fff !important;
}

.has-dropdown > .dropdown-toggle:hover .caret {
    color: #fff !important;
}


/* =========================================
   ACTIVE TESTIMONIALS
========================================= */

.has-dropdown > .dropdown-toggle.testimonial-active {
    background: var(--brand-pink) !important;
    color: #fff !important;
}

.has-dropdown > .dropdown-toggle.testimonial-active > a {
    color: #fff !important;
}

.has-dropdown > .dropdown-toggle.testimonial-active .caret {
    color: #fff !important;
}


/* Active state should remain same on hover */

.has-dropdown > .dropdown-toggle.testimonial-active:hover {
    background: var(--brand-pink) !important;
    color: #fff !important;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--brand-pink-dark);
}

.has-dropdown > .dropdown-toggle.testimonial-active:hover {
  color: #fff !important;
}

.nav-link.current{
  background: var(--brand-pink);
  color: #fff;
}
.nav-link.current:hover{
  color: #fff;
}

/* Remove Bootstrap's auto-generated dropdown arrow so only our custom .caret shows */
.dropdown-toggle::after {
  display: none !important;
  content: none !important;
}

.caret{
  font-size: 11px;
  transition: transform 0.25s ease;
}

.has-dropdown.open > .dropdown-toggle .caret{
  transform: rotate(180deg);
}

/* Dropdown menu (desktop) */
.dropdown-menu{
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-radius: 6px;
  border-top: 3px solid var(--brand-pink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}

.dropdown-menu li a{
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.dropdown-menu li a:hover,
.dropdown-menu li a:focus-visible{
  background: #fbeef4;
  color: var(--brand-pink);
}



/* =========================================
   GALLERY SUB-DROPDOWN
========================================= */

/* Gallery submenu container */
.gallery-parent > ul.dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 210px;
    background: #ffffff;
    padding: 8px 0;
    margin: 0;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    display: none;
}

/* SHOW Gallery submenu on hover */
.gallery-parent:hover > ul.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Gallery link itself */
.gallery-parent > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #b02a68;
    background: #ffffff;
    padding: 10px 18px;
    text-decoration: none;
}

/* Gallery link hover */
.gallery-parent:hover > a {
    background: #b02a68;
    color: #ffffff;
}

.gallery-parent > a .caret {
    margin-left: 30px;
    font-size: 14px;
}

/* Submenu items inside Gallery */
.gallery-parent ul.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #b02a68;
    background: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.gallery-parent ul.dropdown-menu li a:hover {
    background: #b02a68;
    color: #ffffff;
}


@media (min-width: 992px){
  .has-dropdown:hover > .dropdown-menu,
  .has-dropdown.open > .dropdown-menu{
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ===================================================== */
/* TABLET (768px - 991px) */
/* ===================================================== */
@media (max-width: 991px) and (min-width: 768px){

  .top-bar-inner{
    padding: 0 24px;
    gap: 24px;
    flex-wrap: wrap;
  }

  .main-nav-inner{ padding: 12px 24px; }

  .brand-icon{ height: 50px; }
  .brand-name{ font-size: 22px; }
  .brand-tagline{ font-size: 13px; }

  .nav-toggle{ display: flex !important; }

  .nav-menu{
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
    margin-top: 14px;
    border-top: 1px solid #eee;
    padding-top: 8px;
    background-color: #ffffff;
  }

  .nav-menu.open{ display: flex !important; }

  .nav-item{ width: 100%; }

  .nav-link{
    width: 100%;
    justify-content: space-between;
    padding: 16px 10px;
    font-size: 15px;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 0;
    white-space: normal;
  }

  .nav-link.current{
    background: none;
    color: var(--brand-pink-dark);
  }

  .dropdown-menu{
    position: static;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: #fbf7f9;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.3s ease;
    min-width: 0;
  }

  .has-dropdown.open > .dropdown-menu{
    display: block;
    max-height: 600px;
    padding: 6px 0;
  }

  .dropdown-menu li a{
    padding: 14px 30px;
    font-size: 14.5px;
    white-space: normal;
  }
}

/* ===================================================== */
/* MOBILE (below 768px) */
/* ===================================================== */
@media (max-width: 767px){

  .top-bar-inner{
    flex-direction: column;
    gap: 6px;
    padding: 0 16px;
  }

  .main-nav-inner{
    padding: 10px 16px;
    flex-wrap: wrap;
  }

  .brand-icon{ height: 42px; }
  .brand-name{ font-size: 18px; }
  .brand-tagline{ font-size: 11.5px; }

  .nav-toggle{ display: flex !important; }

  .nav-menu{
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
    margin-top: 12px;
    border-top: 1px solid #0c0c0c;
    padding-top: 8px;
    background-color:#ffffff;
  }

  .nav-menu.open{ display: flex !important; }

  .nav-item{ width: 100%; }

  .nav-link{
    width: 100%;
    justify-content: space-between;
    padding: 14px 8px;
    font-size: 14px;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 0;
    white-space: normal;
  }

  .nav-link.current{
    background: none;
    color: var(--brand-pink-dark);
  }

  .dropdown-menu{
    position: static;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: #fbf7f9;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.3s ease;
    min-width: 0;
  }

  .has-dropdown.open > .dropdown-menu{
    display: block;
    max-height: 600px;
    padding: 6px 0;
  }

  .dropdown-menu li a{
    padding: 12px 26px;
    font-size: 13.5px;
    white-space: normal;
  }
}

/* Extra small phones */
@media (max-width: 380px){
  .brand-name{ font-size: 16px; }
  .brand-tagline{ font-size: 10.5px; }
  .brand-icon{ height: 36px; }
  .top-bar{ font-size: 12.5px; }
}

/*hewader carousal*/

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.hero-slide {
    width: 100%;        /* changed from min-width to explicit width */
    min-width: 100%;
    max-width: 100%;     /* forces it to never grow beyond container */
    flex: 0 0 100%;       /* flex-grow:0, flex-shrink:0, flex-basis:100% — locks the slide width */
    box-sizing: border-box;
}

.hero-slide-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* Responsive heights */
@media (max-width: 992px) {
    .hero-slide-img { height: 400px; }
}

@media (max-width: 768px) {
    .hero-slide-img { height: 300px; }
    .hero-slider-arrow { width: 36px; height: 36px; font-size: 16px; }
}

@media (max-width: 576px) {
    .hero-slide-img { height: 181px; }
}


:root{
  --services-bg:#0c4f6b;
  --services-bg-dark:#0a3f57;
  --icon-bg:#ffffff;
  --text-color:#ffffff;
  --dot-inactive:rgba(255,255,255,0.35);
  --dot-active:#ffffff;
}

* { box-sizing: border-box; }

.services-section{
  width:100%;
  margin-top: 60px;
  background-color: var(--services-bg);
  background-image: linear-gradient(180deg, var(--services-bg) 0%, var(--services-bg-dark) 100%);
  padding: 45px 0;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
  overflow: hidden;
}

.services-section .visually-hidden{
  position:absolute;
  width:1px;height:1px;
  margin:-1px;padding:0;border:0;
  clip:rect(0 0 0 0);
  clip-path: inset(50%);
  overflow:hidden;
  white-space:nowrap;
}

.services-wrapper{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.services-track-viewport{
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
}

.services-track{
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 1.6s ease-in-out;
  will-change: transform;
}

.service-item{
  flex: 0 0 25%;
  max-width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 15px;
}

.service-link{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 100%;
}

.service-icon{
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.service-icon img{
  width: 55%;
  height: 55%;
  object-fit: contain;
}

.service-link:hover .service-icon,
.service-link:focus-visible .service-icon{
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

.service-item h3{
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.4;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.service-link:hover h3,
.service-link:focus-visible h3{
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-link:focus-visible{
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 8px;
}

/* Dots */
.services-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.services-dots button{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--dot-inactive);
  cursor: pointer;
  padding: 0;
}
.services-dots button[aria-current="true"]{
  background: var(--dot-active);
  width: 26px;
  border-radius: 6px;
}

/* Laptop / small desktop */
@media (max-width: 1200px){
  .services-wrapper{ padding: 0 30px; }
}

/* Tablet: 2 items per view */
@media (max-width: 992px){
  .services-section{ padding: 35px 0; margin-top: 40px; }
  .service-item{
    flex: 0 0 50%;
    max-width: 50%;
  }
  .service-icon{
    width: 100px;
    height: 100px;
  }
}

/* Mobile: 1 item per view */
@media (max-width: 576px){
  .services-section{ margin-top: 25px; padding: 28px 0; }
  .services-wrapper{ padding: 0 16px; }
  .service-item{
    flex: 0 0 100%;
    max-width: 100%;
    padding: 6px 15px;
  }
  .service-icon{
    width: 90px;
    height: 90px;
    margin-bottom: 14px;
  }
  .service-item h3{ font-size: 16px; }
  .services-dots{ margin-top: 20px; }
}

/* Extra small phones */
@media (max-width: 360px){
  .service-icon{
    width: 78px;
    height: 78px;
  }
  .service-item h3{ font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce){
  .services-track{ transition: none; }
  .service-link:hover .service-icon{ transform: none; }
}


.doctor-intro {
    width: 100%;
    padding: 60px 40px;
}

.doctor-intro-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.doctor-intro-title {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: #1a2f5e;
    margin-bottom: 30px;
    text-align: center;
}

.doctor-intro-row {
    display: flex;
    align-items: stretch;
    gap: 30px;               /* <-- gap between the two divs */
    flex-wrap: wrap;
    width: 100%;
}

/* Left photo */
.doctor-intro-media {
    flex: 1 1 40%;
    min-width: 300px;
}

.doctor-intro-img {
    width: 100%;
    height: 60%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    
}

/* Right maroon panel */
.doctor-intro-content {
    flex: 1 1 55%;
    min-width: 200px;
    background-color: #7a1140;
    color: #fff;
    padding: 40px 45px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-intro-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.doctor-intro-content p:last-of-type {
    margin-bottom: 30px;
}

.doctor-intro-content a {
    color: #4370c8;
    text-decoration: none;
}

.doctor-intro-content a:hover {
    text-decoration: underline;
}

.doctor-intro-content .doctor-intro-btn {
    display: inline-block;
    align-self: flex-start;
    background-color: #2f8fd6;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.doctor-intro-content .doctor-intro-btn:hover {
    background-color: #1f6fae;
    color: #ffffff !important;
    text-decoration: none;
}
/* Tablet */
@media (max-width: 992px) {
    .doctor-intro {
        padding: 40px 20px;
    }
    .doctor-intro-row {
        gap: 20px;
    }
    .doctor-intro-content {
        padding: 30px 30px;
    }
}

/* Mobile — stack vertically, gap still applies */
@media (max-width: 768px) {
    .doctor-intro-row {
        flex-direction: column;
        gap: 20px;
    }
    .doctor-intro-media,
    .doctor-intro-content {
        flex: 1 1 100%;
        min-width: 100%;
    }
    .doctor-intro-img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .doctor-intro {
        padding: 30px 15px;
    }
    .doctor-intro-content {
        padding: 25px 20px;
    }
    .doctor-intro-content p {
        font-size: 15px;
    }
}

.section-band {
    position: relative;
    width: 100%;
    background-image: url('../img/Middleband.png'); /* your background photo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 20px;
    text-align: center;
    overflow: hidden;
    height: 110px;
}

/* Red tint overlay on top of the background image */


.section-band-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.section-band-title {
    color: #eeebeb;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: clamp(20px, 3.2vw, 31px);
   
    line-height: 1.3;
}

.section-band-subtitle {
    color: #fff;
    font-size: clamp(14px, 1.6vw, 17px);
    font-weight: 600;
    margin: 0;
    opacity: 0.95;
}

/* Tablet */
@media (max-width: 768px) {
    .section-band {
        padding: 30px 16px;
    }
    .section-band-title {
        font-size: 22px;
        letter-spacing: 0.3px;
    }
    .section-band-subtitle {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .section-band {
        padding: 25px 12px;
    }
    .section-band-title {
        font-size: 18px;
        line-height: 1.4;
    }
    .section-band-subtitle {
        font-size: 13px;
    }
}


.speciality-card {
    overflow: hidden;
    border-radius: 16px;
    border: 2px solid #222;
    padding: 20px;
    background: #fff;
}

/* Alternate cards — no border */
.row > div:nth-child(odd) .speciality-card {
    border: none;
}

.speciality-card-img-wrap {
    width: 100%;
    height: 0;
    padding-top: 60%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.speciality-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.speciality-card .card-body {
    padding: 20px 10px 0;
    text-align: center;
}

.speciality-card .card-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 0;
}

.speciality-card-link {
    color: #e0781f;
    text-decoration: none;
    transition: color 0.25s ease;
}

.speciality-card-link:hover,
.speciality-card-link:focus {
    color: #b95f13;
    text-decoration: underline;
}

.speciality-card-divider {
    width: 100%;
    margin: 12px 0 16px;
    border: none;
    border-top: 1px solid #160404;
    opacity: 1;
}

.speciality-card .card-text {
    font-size: 15px;
    color: #6a3fa0;
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .speciality-card {
        padding: 14px;
        border-radius: 12px;
    }
    .speciality-card .card-body {
        padding: 14px 6px 0;
    }
}


.centers-section {
    width: 100%;
    padding: 50px 20px;
    background-color: #f4f4f4;
    margin-top: 40px;
}

.centers-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.centers-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: #1a2f5e;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.centers-title-underline {
    width: 220px;
    height: 4px;
    background: linear-gradient(to right, #2e8b3d, #a9d3a9);
    margin-bottom: 30px;
}

.clinic-block {
    margin-bottom: 36px;
}

.clinic-name {
    font-size: 20px;
    font-weight: 600;
    color: #1a2f5e;
    margin-bottom: 8px;
}

.clinic-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #d6249f, #ff9a44);
    margin-bottom: 16px;
}

.clinic-address {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 14px;
}

.view-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2f8fd6;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.view-map-link:hover {
    text-decoration: underline;
}

.arrow-icon {
    color: #ff7a29;
    font-weight: 700;
}

/* Right side image */
.clinic-img-wrap {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 45px;
    margin-top: -95px;
}

.clinic-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Book Appointment button */
.book-appointment-btn {
    display: inline-block;
    background-color: #2f8fd6;
    color: #fff;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.book-appointment-btn:hover {
    background-color: #1f6fae;
    color: #fff;
}

@media (max-width:567px) {
  .title-text h4{
    font-size: 15px;
  }
  
}

/* Responsive */
@media (max-width: 992px) {
    .centers-section {
        padding: 40px 20px;
    }
    .clinic-img-wrap {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .centers-title {
        font-size: 22px;
    }
    .clinic-name {
        font-size: 18px;
    }
    .clinic-address {
        font-size: 14px;
    }
    .book-appointment-btn {
        width: 100%;
        text-align: center;
    }
}

.sticky-icon {
    position: fixed;
    top: 70%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sticky-icon:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.sticky-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Map icon — left side, vertically centered */
.sticky-map {
    left: 20px;
    /* background: #fff;
    padding: 6px; */
}

/* Call icon — right side, vertically centered */
.sticky-call {
    right: 20px;
    background: radial-gradient(circle, #4a6fd4, #2b3f8c);
}



/* Responsive */
@media (max-width: 992px) {
    .sticky-icon {
        display: none;
    }
}
/*treatment band*/

/* Teal band */
.treatment-band {
    width: 100%;
    background-color: #f0f0f0;
    margin-top: 40px;
}

.treatment-band-inner {
    background-color: #1e9bb5;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 18px 30px;
}

.treatment-band-strip {
    width: 100%;
    height: 40px;
}

@media (max-width: 768px) {
    .treatment-band-inner {
        font-size: 17px;
        padding: 14px 20px;
    }
    .treatment-band-strip {
        height: 28px;
    }
}

@media (max-width: 480px) {
    .treatment-band-inner {
        font-size: 15px;
        padding: 12px 16px;
    }
}

/* Cards section */
.treatment-cards-section {
    padding: 50px 0;
}

.treatment-cards-title {
    text-align: center;
    color: #1a2f5e;
    font-weight: 600;
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 30px;
}

.treatment-card {
    text-align: center;
}

.treatment-card-img {
    width: 100%;
    height: 205px;
    object-fit: cover;
    border: 1px solid #150505;
    display: block;
}

.treatment-card-divider {
    width: 80%;
    margin: 20px auto;
    border: none;
    border-top: 1px solid #1a0c0c;
}

.treatment-card-title {
    display: block;
    color: #2f8fd6;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    line-height: 1.4;
}

.treatment-card-title:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .treatment-card-img {
        height: 200px;
    }
}


/*video section*/
.videos-main-title {
    text-align: center;
    color: #1a2f5e;
    font-weight: 700;
    font-size: clamp(24px, 3vw, 32px);
    background-color: #eaeaea;
    padding-top: 40px;
    margin: 0;
}

@media (max-width: 768px) {
    .videos-main-title {
        padding-top: 30px;
        font-size: 22px;
    }
}
.videos-main-title {
    text-align: center;
    color: #1a2f5e;
    font-weight: 700;
    font-size: clamp(24px, 3vw, 32px);
    background-color: #eaeaea;
    padding-top: 40px;
    margin: 0;
}

.videos-section {
    width: 100%;
    background-color: #eaeaea;
    padding: 20px 0 50px;
}

.video-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-label-card {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    padding: 16px 20px;
    border-radius: 2px;
}

.video-label-teal   { background-color: #5e8eb9; }
.video-label-orange { background-color: #f08c20; }
.video-label-green  { background-color: #74953c; }

.video-embed-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background-color: #000;
    border-radius: 6px;
    overflow: hidden;
}

.video-embed-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .videos-main-title { padding-top: 30px; font-size: 22px; }
    .videos-section { padding: 15px 0 35px; }
}

.appointment-band {
  background-color: #b02a68;
  color: #ffffff;
  max-height: 100px;
  padding: 2.5rem;
}

.title-text {
  font-weight: bold;
  padding-left: 15px;
  padding-right: 30px;
  color: #ffffff;
 
}

.band-btn {
  padding: 8px 40px;
  margin-right: 180px;
}

@media (max-width: 576px) {
  .appointment-band {
    max-height: none;
    padding: 1rem;
  }

  .appointment-title-text {
    font-size: 13px;
    padding-left: 5px;
    padding-right: 10px;
  }

  .band-btn {
    padding: 6px 14px;
    margin-right: 0;
    font-size: 12px;
    white-space: nowrap;
  }
}


/*footer css*/

/* Footer base */
.footer {
  background-color: #0d0d0d !important;
}

.footer-heading {
  color: #ffffff;
  font-weight: 700;
  font-size: 22px;
}

.footer-tex p{
  color:#afacac;
  font-size: 12px;
  line-height: 1.7;
}


.footer-link {
  color: #5e5e5e;
  text-decoration: none;
}

.footer-link:hover {
  color: #ffffff;
}

/* Quick Links */
.quick-links {
  display: flex;
  flex-direction: column;
}

.quick-links a {
  color: #e0e0e0;
  text-decoration: none;
  padding: 10px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid #2b2b2b;
  font-size: 15px;
  transition: 0.3s;
}

.quick-links a::before {
  content: "\f105"; /* Font Awesome angle-right */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #999999;
}

.quick-links a:hover,
.quick-links a.active {
  color: #9c2360;
  padding-left: 25px;
}

.quick-links a:hover::before,
.quick-links a.active::before {
  color: #9c2360;
}

/* Map box */
.map-box {
  position: relative;
  border: 3px solid #ffffff;
  border-radius: 4px;
  overflow: hidden;
}

.map-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #ffffff;
  color: #1a73e8;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.map-box iframe {
  display: block;
}

/* Facebook box */
.fb-box {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  color: #050505;
}

.fb-page-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.fb-avatar {
  width: 45px;
  height: 45px;
  border-radius: 4px;
  object-fit: cover;
}

.fb-name {
  font-weight: 600;
  font-size: 14px;
  color: #050505;
}

.fb-followers {
  color: #65676b;
  font-size: 12px;
}

.fb-follow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #e7f3ff;
  color: #1877f2;
  font-weight: 600;
  font-size: 14px;
  padding: 10px;
  margin: 0 12px 12px;
  border-radius: 4px;
  text-decoration: none;
}

.fb-follow-btn:hover {
  background: #d0e6ff;
}

/* Bottom copyright bar */
.footer-bottom {
  background-color: #000000;
  border-top: 1px solid #292929;
  color: #8a8a8a;
  font-size: 14px;
}

.footer-bottom a {
  color: #ffffff;
}

.footer-bottom a:hover {
  color: #d63384;
}


/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background-color: #1a1a1a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  text-decoration: none;
  z-index: 999;
  transition: 0.3s;
}

.back-to-top:hover {
  background-color: #d63384;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}


/*about us*/

/* Page header */
.page-header {
  background-color: #1d1a28;
  height: 100px;
}

.breadcrumb-text {
  font-size: 13px;
  letter-spacing: 0.5px;
}

.breadcrumb-text a {
  color: #2b96cc;
  text-decoration: none;
  font-weight: bold;
}

.breadcrumb-text span {
  color: #999999;
}

.page-title {
  color: #ffffff;
  font-weight: 500;
  font-size: 36px;
  margin-bottom: 15px;
  display: inline-block;
}

.page-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #2196f3;
  margin-top: 0px;
}

/* Section subtitle "WHO WE ARE" */
.section-subtitle {
  color: #2b96cc;
  font-size: 27px;
  letter-spacing: 1px;
}

.section-subtitle span {
  color:#2b96cc;
}

.section-divider {
  border: none;
  border-top: 2px solid #dddddd;
  margin: 0;
}

.about-para p{
  font-size: 15px;
}

/* Doctor image */
.doctor-img {
  max-height: 350px;
  object-fit: cover;
}

.doctor-name {
  color: #0c3b73;
  font-weight: 700;
  letter-spacing: 1px;
}
.about-name{
    color: #484848;
    font-weight: bold;
    font-size: 18px;
}

/* Sidebar */
.sidebar-heading {
  font-weight: 700;
  color: #1a1a1a;
  border-bottom: 2px solid #eeeeee;
  padding-bottom: 8px;
}
.btn-dark{
  border-left: 1px;
}
.sidebar-list {
  list-style: none;
  padding-left: 0;
}

.sidebar-list li {
  border-bottom: 1px solid #eeeeee;
  padding: 10px 0;
}

.sidebar-list li a {
  color: #555555;
  text-decoration: none;
  padding-left: 15px;
  position: relative;
}

.sidebar-list li a::before {
  content: "\f105"; /* Font Awesome angle-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #999999;
}

.sidebar-list li a:hover {
  color: #2196f3;
}
.col-md-6 p {
  font-size: 15px;
  line-height: 1.7;
  color: #444444;
}

/*about slider section*/
/* Specialization carousel dots */
.specialization-dots{
  position: static;
  margin-top: 20px;
}

.specialization-dots button{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #9fd2eb;
  opacity: 1;
  margin: 0 4px;
}

.specialization-dots button.active{
  background-color: #1c3f66;
}

/* FAQ Accordion styling to match "WHY CHOOSE US" look */
.faq-accordion .accordion-item{
  border: 1px solid #2196f3;
  border-left: 4px solid #2196f3;
  margin-bottom: 15px;
  border-radius: 4px;
  overflow: hidden;
}

.faq-accordion .accordion-button{
  background-color: #f5f5f5;
  color: #2196f3;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed){
  background-color: #f5f5f5;
  color: #2196f3;
}

.faq-accordion .accordion-button::after{
  filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(190deg) brightness(97%) contrast(101%);
}

.faq-accordion .accordion-body{
  font-size: 14px;
  color: #555555;
  line-height: 1;
}

.section-subtitle-taining {
  font-size: 22px;
  letter-spacing: 1px;
}

.training-img{
  height: 600px;
  width: 100%;
}

.training-item {
    list-style: none;
    margin-bottom: 20px;
    background: #0390b2;
    color: white;
    font-weight: bold;
    padding: 7px 15px;
    display: flex;
    align-items: center;
}

.training-number {
    background: #4bbcd7;
    margin-right: 10px;
    line-height: 40px;
    padding: 0 15px;
    display: inline-block;
    text-align: center;
    border-radius: 4px;
}

.training p{
  color: white;
}

/*contact page*/

.map-box-large iframe {
  height: 360px;
}

.contact-form-box {
  background: #f9f9f9;
  padding: 30px 40px;
  border-radius: 6px;
  border: 1px solid #eeeeee;
  max-width: 500px;
  
}

.form-row-inline {
  display: flex;
  align-items: center;
  gap: 15px;
}

.form-row-inline.align-items-start {
  align-items: flex-start;
}

.form-label-inline {
  flex: 0 0 90px;
  font-weight: 600;
  font-size: 14px;
  color: #333333;
  margin: 0;
}

.form-row-inline .form-control {
  flex: 1;
  border-radius: 4px;
  border: 1px solid #dddddd;
  padding: 10px 14px;
  font-size: 14px;
}

.form-row-inline .form-control:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 0.15rem rgba(33, 150, 243, 0.15);
}

.contact-submit-btn {
  background-color: #2196f3;
  color: #ffffff;
  font-weight: 700;
  padding: 10px;
  border-radius: 4px;
  border: none;
  transition: background-color 0.3s ease;
}

.contact-submit-btn:hover {
  background-color: #1976d2;
  color: #ffffff;
}

@media (max-width: 480px) {
  .form-row-inline {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .form-label-inline {
    flex: none;
  }
}

.contact-form-box {
  padding: 0;
}

.contact-form .form-label {
  font-weight: 400;
  font-size: 15px;
  color: #333333;
  margin-bottom: 8px;
  display: block;
}

.contact-form .form-control {
  border-radius: 3px;
  border: 1px solid #cccccc;
  padding: 10px 14px;
  font-size: 14px;
  width: 100%;
}

.contact-form .form-control:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 0.15rem rgba(33, 150, 243, 0.15);
  outline: none;
}

.contact-submit-btn {
  background-color: #2196f3;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 28px;
  border-radius: 3px;
  border: none;
  transition: background-color 0.3s ease;
}

.contact-submit-btn:hover {
  background-color: #1976d2;
  color: #ffffff;
}


.get-in-touch {
  padding: 40px 0;
}

.get-in-touch-title {
  font-size: 28px;
  font-weight: 700;
  color: #2196f3;
  margin-bottom: 15px;
}

.get-in-touch-divider {
  border: none;
  border-top: 4px solid #0a2419;
  margin-bottom: 25px;
}

.get-in-touch img {
  max-width: 180px;
  margin-bottom: 20px;
}

.clinic-title {
  font-weight: 600;
  color: #2196f3;
  margin-top: 15px;
  margin-bottom: 8px;
}

.get-in-touch p {
  color: #555555;
  line-height: 1.7;
  font-size: 14.5px;
}

/*surgical*/

.info-card-gallery {
  background: #ffffff;
  
  overflow: hidden;
  
  height: 100%;
}

.info-card-img {
  width: 100%;
  height: 180px;        /* same height for all cards */
  object-fit: cover;    /* crops image to fit without distortion */
  display: block;
}

.info-card-body {
  padding: 18px 20px;
}

.info-card-title {
  font-weight: 700;
  color: #1a2f5e;
  margin-bottom: 8px;
}

.info-card-text {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .info-card-img {
    height: 200px;
  }
}

/*dr borse media*/
.media-slider-title {
    font-size: 15px;
    text-align: center;
    color: #514d4d;
    padding: 20px 20px;
}
.media-event-slider {
    width: 100%;
    margin-top: 20px;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.slide img {
    width: calc(33.333% - 10px);
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dots span.active {
    background: #6c3861;
}

/* Responsive */
@media (max-width: 768px) {
    .slide img {
        width: calc(50% - 8px);
        height: 160px;
    }
}

@media (max-width: 480px) {
    .slide {
        gap: 10px;
    }
    .slide img {
        width: 100%;
        height: 200px;
    }
}


.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 75%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    z-index: 10001;
}

.lightbox-close:hover {
    color: #ccc;
}

/* Arrows */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    user-select: none;
    transition: background 0.3s ease;
    z-index: 10001;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

/* Counter (e.g. "3 / 11") */
.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 14px;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-overlay img {
        max-width: 90%;
        max-height: 70vh;
    }
    .lightbox-arrow {
        font-size: 22px;
        padding: 8px 12px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 32px;
    }
}

.media-video-section {
    width: 100%;
    background-color: #eaeaea;
    padding: 20px 0 50px;
}

.media-video-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.media-video-label {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    padding: 16px 20px;
    border-radius: 2px;
}

.media-video-label-teal   { background-color: #5e8eb9; }
.media-video-label-orange { background-color: #f08c20; }
.media-video-label-green  { background-color: #74953c; }

.media-video-embed-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background-color: #000;
    border-radius: 6px;
    overflow: hidden;
}

.media-video-embed-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .media-video-main-title { padding-top: 30px; font-size: 22px; }
    .media-video-section { padding: 15px 0 35px; }
}

/*blog card*/

.blog-card{
  background-color: #eaeaea;
  padding: 5px;
}

.blog-card-img{
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.blog-card-text{
  font-size: 15px;
}


/*FAQ section*/

.faq-section {
    padding: 40px 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border-left: 3px solid #2196f3;
    background-color: #f2f2f2;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    padding: 18px 20px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-icon-arrow {
    color: #2196f3;
    font-size: 16px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.faq-question-text {
    flex: 1;
    color: #0088cc;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.faq-icon-chevron {
    color: #2196f3;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* ===== OPEN STATE: question turns blue, text/icons turn white ===== */
.faq-item.active .faq-question {
    background-color: #2196f3;
}

.faq-item.active .faq-question-text {
    color: #ffffff;
}

.faq-item.active .faq-icon-arrow,
.faq-item.active .faq-icon-chevron {
    color: #ffffff;
}

.faq-item.active .faq-icon-chevron {
    transform: rotate(180deg);
}

/* ===== Answer: always white background, black text ===== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    background-color: #ffffff;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
}

.faq-answer p {
    margin: 0;
    color: #000000;
    font-size: 14.5px;
    line-height: 1.6;
    padding-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-question-text {
        font-size: 14.5px;
    }
    .faq-question {
        padding: 14px 16px;
    }
}


/*frozenpelvis*/


/* ===== Blog Post Detail ===== */
.blog-post-detail {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 15px;
}

.post-hero-wrap {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.post-hero-img {
    width: 100%;
    max-height: 746px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.post-hero-zoom-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #2196f3;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    pointer-events: none; /* clicks pass through to the image */
}

.post-content-wrap {
    position: relative;
    padding-top: 20px;
}

.post-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #2196f3;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    margin-bottom: 12px;
    line-height: 1.1;
}

.post-day { font-size: 20px; font-weight: 700; }
.post-month { font-size: 12px; text-transform: uppercase; }

.post-title {
    font-size: 28px;
    font-weight: 700;
    color: #2196f3;
    margin: 0 0 8px;
}

.post-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.post-meta a {
    color: #2196f3;
    font-weight: 600;
}

.post-body p {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    margin: 0 0 10px;
}

.post-gallery-grid {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.post-gallery-grid img {
    width: calc(50% - 8px);
    height: 280px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.post-gallery-grid img:hover {
    transform: scale(1.02);
}

@media (max-width: 576px) {
    .post-gallery-grid img {
        width: 100%;
    }
}

/* ===== Lightbox (shared) ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 75%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-close:hover { color: #ccc; }

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    user-select: none;
    transition: background 0.3s ease;
    z-index: 10001;
}

.lightbox-arrow:hover { background: rgba(255, 255, 255, 0.25); }

.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 14px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .lightbox-overlay img { max-width: 90%; max-height: 70vh; }
    .lightbox-arrow { font-size: 22px; padding: 8px 12px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 15px; right: 20px; font-size: 32px; }
}

.share-author-section {
    padding: 30px 0;
}

/* Share this post */
.share-title,
.author-title {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 18px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
}

.share-icon {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.share-icon:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    color: #ffffff;
}

.share-facebook { background-color: #3b5998; }
.share-x        { background-color: #4bbcd7; }
.share-linkedin { background-color: #0077b5; }
.share-google   { background-color: #dd4b39; }
.share-email    { background-color: #c73527; }

/* Tooltip on hover - matches the small arrow bubble in the screenshot */
.share-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.share-icon::before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #1a1a1a;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.share-icon:hover::after,
.share-icon:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Author */
.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    border: 1px solid #eeeeee;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f5f5f5;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    font-size: 16px;
    color: #2196f3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-name:hover {
    color: #1976d2;
    text-decoration: underline;
}

/*Laparoscopy Surgery*/

.laparoscopy-surgery p {
    color: #555;      /* body text slightly gray, like the screenshot */
    font-size: 15px;
    line-height: 1.7;
}

.laparoscopy-surgery strong {
    color: #363535;       /* important phrases pure black, stands out from gray paragraph */
    font-weight: 700 !important;
}

.laparoscopy-surgery a {
    color: #2b75b2;    /* blue links, matching your screenshot */
    text-decoration: none;
}

.laparoscopy-surgery a strong {
    color: #2b7aba;    /* keep link+bold combo blue, not black */
}
.laparoscopy-surgery h2{
  font-size:29px;
  font-weight: 50;
}
.laparoscopy-surgery h5 {
    color: #333;
    font-weight: 400;
    font-size: 16px;
}

.laparoscopy-surgery h3{
  font-weight: 700px;
  font-size: 25px;
}

.laparoscopy-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0 0 15px;
}

.laparoscopy-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1;
}

.laparoscopy-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #555656;   /* dot color — matches your site's blue accent */
    font-size: 20px;
    line-height: 0.5;
    top: -2px;
}
.laparoscopy-list i{
  color: #000;
}

.label-band-laparoscopy{
  background-color: #5e8eb9;
  color: #f5f6f8;
  width: 600px;
  padding: 10px 20px;
  font-weight:bold;

}

.label-band-video-embed-wrap{
  width: 500px;
}

/*hesteroscopy services*/

.hysteroscopy-title{
    font-family: Abril Fatface;
    font-weight: 1000;
    font-style: normal;
    letter-spacing: -1.2px;
    
}

.hysteroscopy p{
  font-size: 15px;
  color: #5c5b5b;
  line-height: 1.5;
}
.hysteroscopy-list li{
  color: #5c5b5b;
  font-size: 15px;
  line-height: 1.5;
}

.facilities-sidebar {
    padding: 10px 0;
}

.facilities-title {
    font-size: 28px;
    font-weight: 300;
    color: #333;
    margin-bottom: 20px;
}

.facilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facilities-list li {
    border-bottom: 1px dashed #ccc;
    padding: 9px 0;
}

.facilities-list li:last-child {
    border-bottom: none;
}

.facilities-list a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.facilities-list a:hover {
    color: #f08c20;
    padding-left: 6px;
}

.facilities-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    background-color: #ca771d;
    color: #eae8e8;
    border-radius: 50%;
    font-size: 7px;
    flex-shrink: 0;
    transition: background-color 0.25s ease;
}

.facilities-list a:hover .facilities-icon {
    background-color: #ca771d;
}

@media (max-width: 768px) {
    .facilities-title {
        font-size: 24px;
    }
    .facilities-list a {
        font-size: 15px;
    }
}

/*fertility-infertility*/
.fertility a{
  color: #4e8dd5;
}
.fertility p{
  color: #000;
  font-size: 15px;
}

.infertiltiy p{
  color: #000;
  font-size: 15px;
}

.infertility-img img{
  border: 4px solid #000;
  border-radius: 4px;
  height: 250px;
  object-fit: cover;
  display: block;
  
}

.infertility-card-title h3{
  font-weight: 500px;
}

.reason-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.flip-card {
    width: 100%;
    height: 320px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 2px;
    overflow: hidden;
}

/* Front: image + pink title bar */
.flip-card-front {
    display: flex;
    flex-direction: column;
    background-color: #9c2360;
}

.flip-card-front img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    padding: 10px;
}

.flip-card-title-bar {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.flip-card-title-bar h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    line-height: 1.3;
}

/* Back: info */
.flip-card-back {
    background-color: #f6f2f4;
    color: #9c2360;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
}

.flip-card-back h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.flip-card-back p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Tablet: 2 per row */
@media (max-width: 992px) {
    .reason-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 per row */
@media (max-width: 576px) {
    .reason-card-grid {
        grid-template-columns: 1fr;
    }
    .flip-card {
        height: 300px;
    }
    .flip-card-title-bar h3 {
        font-size: 20px;
    }
}



/*emergency-laparoscopy*/

.emergency-laparoscopy h4{
  margin: 0 0 0 12px;
  
}

.emergency-laparoscopy li{
  margin: 0 0 0 20px;
}

/*gynocology oncology*/
.gynocology-oncology-title h3{
  font-weight: 300px;
  font-size: 20px;
}
.gynocology-oncology p{
  color: #797b7c;
  font-size: 15px;
}
.gynocology-oncology a{
  color: #528ccf;
}

.gynocology-oncology-list li{
  color:#63666a;
  font-size: 15px;
}

/*emerald endoscopy*/
.endoscopy p{
  font-size: 14px;  /* or any fixed width/float */
}

.emerald-endoscopy p{
  font-size: 15px;
}
.emerald-endoscopy a{
  color:  #0088cc;
}

/* testimonials */

.testimonials{
  background-image: url('../img/testimonialsback.png');
  padding: 60px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonials-item {
  position: relative;
}

.testimonials-item input {
  display: none;
}

.testimonials-item > label {
  display: block;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
}

.testimonials-item > label img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: 0.4s ease;
}

.testimonials-item > label:hover img {
  transform: scale(1.08);
}


/* POPUP */

.testimonials-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: 0.3s ease;

  z-index: 9999;
}

.testimonials-popup img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}


/* Show popup when checkbox is checked */

.testimonials-item input:checked ~ .testimonials-popup {
  opacity: 1;
  visibility: visible;
}


/* Close button */

.testimonials-popup .close {
  position: absolute;
  top: 20px;
  right: 35px;

  font-size: 45px;
  color: white;

  cursor: pointer;
  line-height: 1;
}


/* Mobile */

@media (max-width: 767px) {

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-item > label img {
    height: 230px;
  }

  .testimonials-popup img {
    max-width: 95%;
    max-height: 80vh;
  }

  .testimonials-popup .close {
    right: 20px;
    font-size: 38px;
  }
}