html body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #444;
  width: 100%;
  overflow-x: hidden;
}

h1, h2, h4 {
  font-family: 'Playfair Display', serif;

}
a{
   color: #8b0000;
}
.custom-header {

  background:#fff;
  padding: 0.7rem 0;
  z-index: 1030;
  transition: background 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;

}

.custom-header .nav-link {
  color: #c11a1a !important;
  margin-left: 1rem;
  transition: color 0.2s ease;
}

.custom-header .nav-link:hover {
  color: #ed4040 !important;
}

.custom-header .navbar-toggler {
  border: none;
}

/* Elegant Heading Style */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
 color: #8b0000;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 3px;
  background-color: #d4a373; /* soft gold tone */
  position: absolute;
  left: 0;
  bottom: 0;
}

.nav-link {
  font-size: 20px;
}

.slider .carousel-item {
  min-height: 100vh;
}

.animate__animated {
    color: #000 !important;
}
#about{
      background: linear-gradient(to right, #ffe6e6, #fff0f0);

}
 p{
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
}

.service-card:hover {
  transform: scale(1.03);
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}
/* Hover effect for service cards */
.card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Zoom effect on service images */
.card img {
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}
.panchakarma-desc {
  background: #fff0f0;
  border-left: 5px solid #ff4d4d;
  padding: 30px;
  border-radius: 10px;
  color: #8b0000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.panchakarma-desc p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.panchakarma-desc ul {
  margin-top: 10px;
  padding-left: 20px;
}

.panchakarma-desc ul li {
  font-weight: 500;
  margin-bottom: 8px;
  color: #d90429;
}
.card-body{
    text-align: justify;
}
.panchakarma-section {
  position: relative;
  background: url('/images/bg1.jpg') no-repeat center center / cover;
  padding: 60px 15px;
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
}

/* Dark overlay using pseudo-element */
.panchakarma-section::before {
  content: '';
  position: absolute;
  inset: 0;
 background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* Ensure content stays on top of the overlay */
.panchakarma-section .row {
  position: relative;
  z-index: 2;
}



@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .panchakarma-desc {
    padding: 20px;
  }
}

.benefit-box {
  background: #ffffff;
  border-left: 5px solid #ff4d4d;
  border-radius: 10px;
  padding: 20px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  background-color: #ffe6e6;
}

@media (max-width: 576px) {
  .benefit-box {
    font-size: 0.95rem;
    padding: 16px;
  }
}
/* ABOUT SECTION */
.about-section {
 background: linear-gradient(to right, #ffe6e6, #fff0f0);
}
#about p{
      text-align: justify;

}
#services {
    text-align: justify;
    overflow-x: hidden;
}



.contact-section {
  background: url('/images/bg2.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed; /* Optional: makes background stay in place on scroll */
  background-repeat: no-repeat;
  background-position: center;
}



.contact-section .form-control {
  border-radius: 10px;
  border: 1px solid #ccc;
}

.contact-section .form-label {
  font-weight: 500;
}

.contact-section .btn-primary {
  width: 50%;
  background-color: #8b0000;
  border: none;
  transition: background 0.3s ease;
}
.contact-section .btn-primary:hover {
  background-color: #d90429;
}
.footer-bg {
  /* background: url('/images/footer-bg2.jpg') no-repeat center center/cover; */
  background-color: #fff;
  position: relative;
  color: #c11a1a;
}

/* .footer-bg::before {
  content: '';
  position: absolute;
  inset: 0;
 background: rgba(0, 0, 0, 0.3);
  z-index: 1;
} */

.footer-bg .container {
  position: relative;
  z-index: 2;
}
footer .back-to-top {
  bottom: 10px;
  right: 20px;
  position: absolute;
  z-index: 10;
  transition: transform 0.3s ease;
}

footer .back-to-top:hover {
  transform: translateY(-5px);
}

.btn-success:hover {
  background-color: #128c7e !important;
  border-color: #128c7e !important;
}
.treatment-list {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 15px;
}

.treatment-item {
  background: #e2d6d694;
  border-left: 5px solid #ff4d4d;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #333;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.treatment-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background-color: #ffb3b3;
  color: #222;
}

@media (max-width: 576px) {
  .treatment-item {
    font-size: 1rem;
    padding: 14px 16px;
  }
}
.doctor-name {
  
  color: #0188cf;
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: color 0.3s ease;
}

.doctor-name::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -3px;
  left: 0;
   background-color: #ffb3b3;
  transition: width 0.3s ease;
}

.doctor-name:hover {
  color: #d90429;
}

.doctor-name:hover::after {
  width: 100%;
}


#hero .carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    #hero .carousel-item {
        height: 300px;
    }
}

@media (max-width: 576px) {
    #hero .carousel-item {
        height: 200px;
    }
}
/* Join Session Section Styles */
.join-session-section {
  background: linear-gradient(135deg, #ffe6e6, #fff0f0);
  padding: 60px 20px;
  border-radius: 20px;
  margin-top: 40px;
}

.join-session-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.join-session-text {
  flex: 1 1 50%;
  max-width: 550px;
}

.join-session-text .section-title {
  font-size: 2rem;
  font-weight: 700;
  /* color: #4a6c44; */
  margin-bottom: 20px;
}

.join-session-text .lead {
  font-size: 1.1rem;
  color: #555;
  text-align: justify;
}

.join-btn {
  background: #8b0000;
  color: #fff;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.join-btn:hover {
   background: #d90429;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(93, 128, 54, 0.3);
}

.join-session-image {
  flex: 1 1 40%;
  text-align: center;
}

.join-session-image img {
  border-radius: 15px;
  max-height: 400px;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .join-session-content {
    flex-direction: column;
  }

  .join-session-text,
  .join-session-image {
    max-width: 100%;
    flex: 1 1 100%;
  }
}
.uniform-img {
    height: 220px;         
    object-fit: cover;
    width: 100%;
}


.gallery-box {
  overflow: hidden;
  border-radius: 12px;
}

.gallery-box img {
  width: 100%;
  height: 250px; 
  object-fit: cover;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gallery-box:hover img {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
/* Section background in greenish */
.webinar-section {
  background: linear-gradient(135deg, #ff4d4d, #8b0000);
  overflow-x: hidden;
}
.webinar-title{
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #8b0000;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  /* display: inline-block; */
  padding-bottom: 10px;
}

/* White box style */
.webinar-box {
  background: #fff;
  color: #333;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.webinar-box:hover {
  transform: translateY(-8px);
 box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Highlight span color */
.highlight-span {
  color: #ffc107;
}

/* Text adjustments */
.webinar-desc {
  font-size: 17px;
  text-align: justify;
}

.doctor-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background-color: #ccd5e6; 
  transition: transform 0.4s ease;
}


.doctor-img:hover {
  transform: scale(1.1);
}

.btn-success:hover {
  background-color: #ffc107;
  color: #fff;
  border-color: #ffc107;
}

.section-title span {
  color: #ffc107;
}

/* Text muted fix */
.text-muted {
  color: #6c757d !important;
}

@media (max-width: 767px) {
  .webinar-desc {
    text-align: center !important;
  }
}
.benefit-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #b30000;
    border-radius: 50%;
    margin-right: 8px;
}
.red-tabs .nav-link {
    font-size: 1.2rem;
    font-weight: bold;
    color: #b30000;
    background-color: #ffeaea;
    padding: 12px 24px;
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .red-tabs .nav-link:hover {
    background-color: #ffcfcf;
    color: #800000;
  }

  .red-tabs .nav-link.active {
    background-color: #b30000;
    color: #fff;
  }

  .tab-content {
    background-color: #fff;
    border-left: 5px solid #b30000;
    padding: 2rem;
    animation: fadeIn 0.4s ease;
  }

  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }

  .tab-pane ul {
    padding-left: 1.2rem;
  }

  .tab-pane li {
    margin-bottom: 10px;
  }

  .tab-pane p, .tab-pane ul li {
    font-size: 1.15rem;
  }

  h3 {
    font-size: 2rem;
  }
  .card h3 {
  font-size: 1.5rem;
}

.card p {
  font-size: 17px;
  color: #333;
}
.card li{
  font-size: 18px;
}
  .section-heading {
      text-align: center;
      font-weight: bold;
      color: #c82333;
      margin-bottom: 2rem;
    }

    .card {
      border: none;
      border-radius: 15px;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
      transition: 0.3s ease;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }

    .btn-danger {
      background-color: #c82333;
      border: none;
    }

    .btn-danger:hover {
      background-color: #a71d2a;
    }

    .modal-body ul {
      padding-left: 1.5rem;
    }

    .modal-body li {
      font-family: 'Segoe UI', sans-serif;
      line-height: 1.7;
    }

    .card-infertility {
    background-color: #edd3d3;
    border-top: 5px solid #dc3545; 
  }

  .card-garbha {
    background-color:  #edd3d3;
    border-top: 5px solid #dc3545; /* Green */
  }

  .card-menopause {
    background-color:  #edd3d3;
    border-top: 5px solid #dc3545; /* Purple */
  }

  .card-pcod {
    background-color:  #edd3d3;
    border-top: 5px solid #dc3545; /* Blue */
  }
.card-obesity {
    background-color: #edd3d3;
    border-top: 5px solid #dc3545;
}
  .card-body h3 {
    font-size: 1.8rem;
  }

  .card-body p {
    font-size: 1.05rem;
  }

  .btn-outline-danger {
    font-weight: 600;
    letter-spacing: 0.5px;
  }
   .custom-btn-position {
    top: 60%; 
    left: 40%; 
    transform: translate(-50%, -50%); 
    width: 200px;
   }
    .custom-btn-position h6 {
    font-size: 15px; 
   }
   @media (max-width: 768px) {
    
   .custom-btn-position {
    top: 70%; 
    left: 48%; 
    transform: translate(-50%, -50%); 
    width: 200px;
   
   }
    .custom-btn-position button {
       font-size: 0.9rem;  
       padding: 0.5rem 1rem;
   }

   .custom-btn-position h6 {
    font-size: 8px; 
    
   }
   }