/* General Layout */
body {
  font-family: 'Poppins', sans-serif !important;
  line-height: 1.6;
  color: #333;
  background-color: #FF4F81 !important;
  overflow-x: hidden;
line-height: 25px; 
letter-spacing: 1px;
}

/* nav bar */
/* ---------- NAVBAR ---------- */
.std-navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* When scrolling or on mobile */
/* Scrolled navbar (desktop) */
.std-navbar.scrolled {
  position: sticky;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 5px 0;
}

.std-navbar .navbar {
  padding: 0;
}

.std-navbar-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}


.std-navbar .navbar-nav {
  gap: 25px;
}
.std-navbar.scrolled .nav-link{
  color: #000;
}
.std-navbar .nav-link {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  position: relative;
  transition: all 0.3s ease;
}

.std-navbar .nav-link:hover {
  color: #FF4F81;
}

 .nav-link.active {
  color: #000 !important;
}
.std-navbar.scrolled .nav-link.active {
  color: #FF4F81 !important;
}
/* .std-navbar .nav-link.active {
  color: #FF4F81 !important;
} */

.std-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #FF4F81;
  border-radius: 2px;
}

.std-navbar-btn .std-btn-enquire {
  background-color: #FF4F81;
  color: #fff;
  padding: 6px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.std-navbar-btn .std-btn-enquire:hover {
  background-color: #FF6B98;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  background: url("../images/banner_back.jpg") center/cover no-repeat;
  color: #fff;
  padding: 100px 20px 0px;
  /* leave space for navbar */
}

/* Hero content */
.hero-title {
  font-size: 2.5rem;
}

.hero-img {
  max-width: 90%;
  border-radius: 10px;
}

/* ---------- HERO SECTION ---------- */
hero-section {
  position: relative;
  background: url("../images/banner_back.jpg") center/cover no-repeat;
  color: #fff;
  padding: 180px 20px 100px;
  /* leave space for navbar */
}

/* Hero content */
.hero-title {
  font-size: 2.5rem;
}

.hero-img {
  max-width: 90%;
  border-radius: 10px;
}


.button_btn {
  padding: 10px;
  background: linear-gradient(-90deg, #FF93A6 0%, #FF4F81 100%) !important;
  border-radius: 10px;
}

.button_tt {
  padding: 10px 30px;
  border-radius: 10px;
  border: 1px solid #fff;
}

/* ---------- RESPONSIVE ---------- */




/* home page */
section {
  padding: 60px 0;
}

.section-title {

  font-size: 2rem;
  font-weight: 700;
  color: #222;
}

.section-title span {
  color: #fcfcfc;
}
.section-title p{
  text-align: justify;
}


/* ABOUT */

.about-section {
  background-color: #FFDEEC;
}

.about-section p {
  margin-bottom: 15px;
 
}

.about-image {
  border-radius: 15px;
}

/* DOCTOR SECTIONS */
.doctor-section {
  background-color: #FF4F81;
  padding-bottom: 0px;
}

.doctor-section h4,
.doctor-section h3 {
  font-weight: 700;
  color: #222;
}

.view-more-link {
  display: inline-block;
  margin-top: 10px;
  color: #FF4F81;
  font-weight: 600;
  text-decoration: none;
}

.view-more-link:hover {
  text-decoration: underline;
}

.doctor-image {
  max-width: 80%;

}

.surgery-section {
  background-color: #FF4F81;
  padding: 50px 0;
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.surgery-carousel {
  display: flex;
  flex-wrap: nowrap;       /* ✅ stay in one line */
  gap: 20px;
  width: max-content;      /* ✅ ensures horizontal scroll */
  animation: scroll 40s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.surgery-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 250px;
  flex-shrink: 0;
  text-align: center;
  padding: 15px;
}

.surgery-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.surgery-card h5 {
  color: #FF4F81;
  font-size: 16px;
  margin-bottom: 10px;
  min-height: 45px;
}

.btn-view {
  background: #FF4F81;
  border: none;
  color: #fff;
  padding: 8px 35px;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.surgery-carousel:hover {
  animation-play-state: paused;
}


.carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}






.accomplishment-carousel {
  display: flex;
  white-space: nowrap;
  animation: scroll 3s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.accomplishment-img {
  width: 200px;
  height: 200px;
  margin: 0 15px;
  border-radius: 15px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accomplishment-img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* --- Modal --- */
.modal {
  display: none; 
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 30%;
  border-radius: 15px;
}



.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #ff4f81;
}



@media (max-width: 576px) {
  .modal-content {
    max-width: 90%; /* Full width on small screens */
    border-radius: 10px; /* Slightly smaller corners for mobile */
  }
}

/* 📲 Tablet view (optional) */
@media (min-width: 577px) and (max-width: 992px) {
  .modal-content {
    max-width: 60%;
  }
}




/*footer*/

.footer-section {
  background-color: #ff4f81;
  /* Pink background */
  color: #fff;
  padding: 40px 0;
  /* margin: -12px; */
  font-family: "Poppins", sans-serif;
}

 .std-footer-logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.footer-links h6,
.footer-contact h6 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 6px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #f8f8f8;
  font-size: 0.9rem;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}

.footer-address p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #fff;
}

.footer-address a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.footer-ad a:hover {
  text-decoration: underline;
}

.client-ul{

  text-align: center;
   list-style: none;
}

.client-ul li {
  display: inline-block; /* make items sit side by side */
    /* space between items */
}

.client-list{
  margin-left:20px !important;
}

/*about*/

/* Hero Row */
.hero-row {
  color: white;
  text-align: center;
  padding: 90px 0;
}

.hero-row h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-row p {
  font-size: 24px;
  font-weight: bold;

}


/* Flex Layout */

/* Flex row layout for founder section */

/* ===== FOUNDER ROW ===== */
.founder-row {
  background-color: #FFDEEC;
  padding: 30px 20px;
}


/* ===== LEFT COLUMN (TEXT) ===== */
.col-text {
  flex: 1;
  padding: 20px;
}

.col-text h2 {
  font-size: 32px;
  color: #E91E63;
  margin-bottom: 20px;
}

.col-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;

}

/* ===== RIGHT COLUMN (IMAGE) ===== */
.col-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.col-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 992px) {

  .founder-row {
  background-color: #FFDEEC;
  padding: 30px 20px;
  flex-direction: column;
}


  .std-footer-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.client-list{
  margin-left:0px !important;
}


  /* Reverse order → image first */
  .col-image {
    order: 1;
  }

  .col-text {
    order: 2;
  }

  .col-text h2 {
    font-size: 28px;
  }

  .col-text p {
    font-size: 16px;
  }

  .col-image img {
    max-width: 320px;
  }
}




/* Facilities Section */
.facilities-row {
  padding: 80px 20px;
  text-align: center;
}

.facilities-row h2 {
  font-size: 36px;
  color: #f7f4f5;
  margin-bottom: 40px;
  font-weight: 700;
}

/* Flex layout for cards */
.cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 30px;
}

/* Individual card styling */
.facilities-row .card {
  background: #fff;
  flex: 1 1 250px;
  max-width: 280px;
  border-radius: 16px;
  padding-top: 10px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;

}

.card a{
   text-decoration: none;
   color: #E91E63;
  font-size: 12px;
  margin-bottom: 15px;
}

/* Hover effect */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
 .facilities-row h2 {
  font-size: 25px;
  color: #f7f4f5;
  margin-bottom: 40px;
  font-weight: 700;
}
}


/* ===== Treatments Row ===== */
.treatments-row {
  background-color: #fff8f9;
  padding: 80px 20px;
}

.treatments-row .flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.treatments-row .col-text {
  flex: 1;
  padding: 20px;
}

.treatments-row h2 {
  font-size: 36px;
  color: #E91E63;
  margin-bottom: 20px;
  text-align: center;
}

.treatments-row p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}

.treatments-row .col-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.treatments-row .col-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===== Doctor Profile Row ===== */
.doctor-row {
  background-color: #FFDEEC;
  padding: 80px 20px;
  text-align: center;
}

.doctor-row h2 {
  font-size: 34px;
  color: #E91E63;
  margin-bottom: 25px;
}

.doctor-row p {
  font-size: 18px;
  color: #333;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

/* ===== Centre of Excellence Row ===== */
.excellence-row {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.excellence-row h2 {
  font-size: 34px;
  color: #E91E63;
  margin-bottom: 20px;
}

.excellence-row p {
  font-size: 18px;
  color: #333;
  line-height: 1.8;
  max-width: 850px;
  margin: 0 auto;
}


/* s */

/* Banner Section */
.services-banner {
  height: 300px;
  color: white;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.services-banner-content {
  max-width: 800px;
  padding: 20px;
  animation: fadeIn 1.5s ease-in-out;
}

.services-banner h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #FFDEEC;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 15px;
}

.services-banner p {
  font-size: 1.1rem;
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services Description Section */
.services-section {
  background-color: #FFDEEC;
  padding: 60px 0;
}

.services-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
}

.services-title .highlight {
  color: #E91E63;
}

.services-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
}

.services-text strong {
  font-weight: bold;
}

/* Service Cards Section */
.service-section-card {
  background-color: #FFDEEC;
  font-family: 'Poppins', sans-serif;
  padding: 60px 0;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  /* justify-content: flex-start; */
  height: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.text-gold {
  color: #E91E63;
  font-size: 1.1rem;
  font-weight: bold;
}

.text-muted {
  color: #555 !important;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .services-banner h1 {
    font-size: 2rem;
  }

  .services-banner p {
    font-size: 1rem;
  }
}


/*contact*/

/* Contact Section */
.contact-section {
    padding: 120px 20px;
    background-color: #FFDEEC;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
}

/* Equal Height Columns */
.row.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.row.equal-height > [class*='col-'] {
    display: flex;
}

/* Info Boxes */
.info-box {
    background-color: #ff4f81;
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.info-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Icons */
.info-icon {
    margin-bottom: 15px;
}

.info-icon i {
    font-size: 48px;
    color: #000;
}

/* Text */
.info-text h2 {
    color: #000;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-text span,
.info-text a {
    display: block;
    font-size: 16px;
    color: #FFDEEC;
    text-decoration: none;
    margin: 3px 0;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: #fda40b;
}

/* Map Box */
.map-box {
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.service_list{
  width: 150px;
  height: 150px;
  margin-bottom:10px;
}
.service_trauma{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Responsive Adjustments */
@media (max-width: 992px) {
    .info-box {
        padding: 30px 15px;
    }
}

@media (max-width: 768px) {
    .row.equal-height {
        flex-direction: column;
    }

    .info-box {
        margin-bottom: 20px;
    }

    .info-icon i {
        font-size: 40px;
    }

    .info-text h2 {
        font-size: 20px;
    }

    .info-text span,
    .info-text a {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 15px;
        border-radius: 20px;
    }

    .info-box {
        padding: 25px 15px;
    }

    .info-icon i {
        font-size: 36px;
    }

    .info-text h2 {
        font-size: 18px;
    }

    .info-text span,
    .info-text a {
        font-size: 14px;
    }
}
/* ✅ RESPONSIVE DESIGN */

/* ----------- Tablets and Below (≤991px) ----------- */
@media (max-width: 991px) {
  /* Navbar */
  .std-navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    z-index: 1000;
  }

  .std-navbar-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}


  .std-navbar .navbar-nav {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin-top: 10px;
  }

  .std-navbar-btn {
    display: block !important;
    text-align: center;
    margin-top: 10px;
  }

  .std-navbar .nav-link {
    color: #000;
  }

  .std-navbar .nav-link.active::after {
    background-color: #FF4F81;
  }

  /* Hero Section */
  .hero-section {
    padding: 120px 15px 80px;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-img {
    max-width: 100%;
  }

  /* Surgery Cards */
  /* .surgery-card {
    width: 45%;
  } */
}

/* ----------- Mobile Devices (≤576px) ----------- */
@media (max-width: 576px) {
  .hero-section {
    padding: 30px 15px 0px;
  }

  .hero-title {
    font-size: 24px !important;
  }
  .lead{
    font-size: 16px !important;
  }

  .hero-img {
    max-width: 100%;
  }


  .doctor-image {
    max-width: 100%;
  }

  .std-navbar-btn {
    display: none !important;
  }
  .common-as{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .common-aj{
     display: flex;
     flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .text-centers{
    text-align: center;
  }
  .hero-row{
    padding: 50px;
  }
  .hero-row h1{
    font-size: 32px;
  }
  .hero-row p{
    font-size: 16px;
    font-weight: 500;
  }
  .services-title{
    font-size: 34px;
  }
  .services-title .highlight{
    font-size: 34px;

  }
}
.info-text p{
  color: #FFDEEC;
}
