html,
body {
  font-family: 'Nunito', sans-serif;
  margin: 0;
  overflow-x: hidden;
}

:root {
  --accent: #2d8484;
  /* primary - use ~50% more across site */
  --accent-2: #c45655;
  /* warm secondary */
  --dark: #2c386a;
  /* deep navy for headings/footer */
  --accent-dark: #246e6e;
  /* darker accent for gradients */
  --heading-color: #0869c4;
}



h2,
h4,
h3 {
  color: var(--accent);
  font-weight: 700;
}

/* Underline style for h6 headings */
h6.text-primary {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

h6.text-primary::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 45px;
  height: 2px;
  background: #dc3545;
  border-radius: 1px;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar .nav-link,
.navbar-brand {
  color: white !important;
  font-weight: 600;
}

.btn-primary {
  background-color: var(--accent);
  border: none;
}

.carousel-itema {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-image-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.carousel-image {
  object-fit: cover;
  height: 100%;
  width: 100%;
  filter: brightness(0.7);
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 1rem;
  width: 90%;
  max-width: 700px;
}


/* Responsive typography */

@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 1.8rem;
  }

  .carousel-caption h6 {
    font-size: 0.9rem;
  }

  .carousel-caption p {
    font-size: 0.85rem;
  }

  .btn-lg {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }
}

.about-section {
  background: linear-gradient(to right, #f4f8ff, #eaf3ff);
}

.image-wrapper {
  max-width: 400px;
  transition: transform 0.4s ease;
}

.image-wrapper:hover {
  transform: scale(1.03);
}

.about-img {
  width: 100%;
  border-radius: 20px;

}

.about-content h2 {
  font-size: 1.8rem;

  font-weight: 700;
}

.about-content p {
  font-size: 1rem;
  text-align: justify;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--dark));
  transform: scale(1.05);
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-section {
  background: linear-gradient(to right, #f4f8ff, #eaf3ff);
}

.team-section {
  background: linear-gradient(to right, #f4f8ff, #eaf3ff);
}

.team-heading {
  color: var(--accent);
}

.team-card {
  border-radius: 16px;
  overflow: hidden;
  background-color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.team-img {
  height: 300px;
  object-fit: cover;
}

.team-info {
  padding: 15px;

}

.accordion-faq {
  max-width: 800px;
  margin: auto;
}

.faq-section {
  background: linear-gradient(to right, #f4f8ff, #eaf3ff);
}

.faq-item {
  background: #ffffff;
  border-radius: 15px;
  margin-bottom: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #eef4ff;
}

.faq-answer {
  display: none;
  padding: 0 24px 18px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}

.arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-section img {
  max-width: 100%;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 1rem;
  }
}

.testimonial-section {
  background: linear-gradient(to right, #f4f8ff, #eaf3ff);
}

.testimonial-card {
  max-width: 700px;
  background: #ffffff;
  padding: 30px 35px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  margin-bottom: 20px;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: #555;
  line-height: 1.7;
}

.testimonial-person {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.carousel-indicators {
  margin-top: -10px;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  background-color: var(--accent);
}

.carousel-indicators .active {
  opacity: 1;
}

.carousel-item {
  height: 39vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.appointment-section {
  background: linear-gradient(to right, #f4f8ff, #eaf3ff);
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  border-radius: 10px;
  padding: 10px 15px;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 0.15rem rgba(36, 110, 110, 0.25);
}

#successMsg {
  font-size: 0.95rem;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Ensure team images don't overflow on small screens */
.team-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.footer-section {
  background-color: var(--dark);
  position: relative;
}

.footer-section p {
  text-align: justify;
}

.footer-logo {
  font-size: 1.5rem;
}

.footer-section a:hover {
  color: #e60202 !important;
  text-decoration: underline;
}

.footer-section a.text-white-50:hover {
  color: #e60202 !important;
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--accent-2);
  color: #fff;
  border-radius: 50%;
  padding: 12px;
  font-size: 16px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.back-to-top:hover {
  background: #a4454b;
  /* slightly darker secondary */
}



.counter-box {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(45, 132, 132, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid var(--accent);
}

.counter-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(45, 132, 132, 0.2);
}

.counter-box h2.counter {
  font-size: 2.8rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.counter-box h2.counter::after {
  content: "+";
  color: #000;
  font-weight: 700;
  margin-right: 5px;
}

.counter-box p {
  font-size: 1rem;
  color: #666;
}

#stats {
  background: linear-gradient(135deg, #f4f8ff 0%, #bbcbe1 100%);
}



.upper-section {
  position: relative;
  background: url('/images/backupper.png') center/cover no-repeat;
  /* optional image */
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 60px 0;
}

.upper-section span {
  color: var(--accent);
}


.upper-section h1 {
  color: #0d0d0d;
  font-size: 32px;
  font-weight: 600;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: inline-block;
  background: rgba(255 255 255 / 96%);
  padding: 10px 25px;
  border-radius: 12px;
  margin-top: 85px;
}

.nav-bread-crumb {
  display: inline-block;
  padding: 10px 20px;
  background: rgb(255 255 255 / 96%);
  border-radius: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 15px;
  /* ensures it stays on new line */
}

.nav-bread-crumb a {
  color: #6c757d;
  font-weight: 500;
  text-decoration: none;
}

.nav-bread-crumb a.current {
  color: #007bff;
}


@media (max-width: 576px) {
  .upper-section h1 {
    font-size: 24px;
    /* smaller heading on mobile */
    padding: 8px 18px;
  }

  .nav-bread-crumb {
    padding: 8px 15px;
  }

  .nav-bread-crumb a {
    font-size: 13px;
    /* smaller breadcrumb text */
  }

  .nav-bread-crumb i {
    font-size: 10px;
    margin: 0 4px;
  }
}

/* about  */

.rts-doctors-details-area {
  background: #f9f9ff;
}

.doctor-certificate img {
  border: 2px solid #ddd;
  transition: transform 0.3s ease;
}

.doctor-certificate img:hover {
  transform: scale(1.05);
}

.follow-me-social-area ul li a {
  color: #007bff;
  font-size: 18px;
  transition: color 0.3s ease;
}

.follow-me-social-area ul li a:hover {
  color: #e60202;
}


.doctor-info-row {
  margin-top: 30px;
}

.single-details-content-info {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  text-align: left;
  height: 100%;
}

.single-details-content-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.single-details-content-info .title {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  border-left: 4px solid #e60202;
  padding-left: 10px;
}

.single-details-content-info p {
  margin-bottom: 5px;
  color: #333;
  font-size: 0.95rem;
}

/* ✅ Responsive for Mobile */
@media (max-width: 576px) {
  .single-details-content-info {
    padding: 20px 15px;
    text-align: center;
  }

  .single-details-content-info .title {
    font-size: 1.05rem;
  }
}


.single-shedule span {
  font-size: 14px
}


/* contact */
.contact-section {
  background: #f8f9fa;
  position: relative;
}

.contact-info-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.contact-item {
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-item i {
  font-size: 1rem;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-info-card {
    padding: 20px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }
}


/* gallery */
.gallery-section {
  background-color: #f9f9fb;
  position: relative;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
  .gallery-section h2 {
    font-size: 1.6rem;
  }
}


.gallery-section .gallery-item img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-section .gallery-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}



.service-section-info {
  background-color: #f8f9fb;
}

.service-img img {
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.service-img img:hover {
  transform: scale(1.02);
}

.service-info p {
  line-height: 1.7;
  color: #555;
  text-align: justify;
}

.service-info ul li {
  margin-bottom: 8px;
  font-size: 15px;
}

.services-link {
  background: #fff;
  border: 1px solid #e6e6e6;
}

.services-link a {
  display: block;
  color: #333;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

.services-link a:hover,
.services-link a.active {
  background-color: #0d6efd;
  color: #fff;
}

/* Sticky Sidebar */
.sticky-sidebar {
  position: sticky;
  top: 100px;
  z-index: 10;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .sticky-sidebar {
    position: static;
    margin-top: 30px;
  }
}







#videos {
  background: linear-gradient(135deg, #f5faff, #fff0f9);
}

.small-video {
  max-width: 200px;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.small-video:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

/* Responsive: stack videos vertically on mobile */
@media (max-width: 768px) {
  #videos .row {
    display: flex;


    text-align: center;
  }

  .about-content h2 {
    font-size: 1.6rem;
  }



}

@media (max-width: 576px) {
  .small-video {}


}


 /* Floating Buttons */
  .whatsapp-float {
    position: fixed;
    bottom: 80px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    line-height: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
  }

    .call-float {
    position: fixed;
    bottom: 25px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    line-height: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .call-float {
    background-color: #007bff;
    left: 25px;
  }

  .whatsapp-float {
    left: 25px;
  }

  .whatsapp-float:hover, .call-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  }

  @media (max-width: 576px) {
    .whatsapp-float, .call-float {
      width: 40px;
      height: 40px;
      font-size: 18px;
      line-height: 40px;
    }
    .whatsapp-float { right: 80px; }
    .call-float { right: 20px; }
  }