/********** Template CSS **********/
:root {
  --primary: #13c5dd;
  --secondary: #354f8e;
  --light: #eff5f9;
  --dark: #1d2a4d;
}

.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn:hover {
  -webkit-box-shadow: 0 8px 6px -6px #555555;
  -moz-box-shadow: 0 8px 6px -6px #555555;
  box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
  color: #ffffff;
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
  font-family: "Jost", "saira";
  position: relative;
  margin-left: 30px;
  padding: 30px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  outline: none;
  transition: 0.5s;
}
.navbar-logo {
  height: 100px;
  object-fit: contain;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

/* Open main dropdown instantly */
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* Remove Bootstrap click delay */
.dropdown-menu {
  transition: none !important;
}

/* Nested dropdown open instantly */
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
  top: 0;
  right: 100%;
  left: auto;
}

/* Prevent submenu closing */
.dropdown-submenu {
  position: relative;
}

/* Arrow spacing fix */
.dropdown-toggle::after {
  display: none;
}

.dropdown-item:hover {
  background-color: #00d1a0;
  color: #fff;
}

@media (min-width: 992px) {
  .navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: 0;
    left: 50%;
    background: var(--primary);
    transition: 0.5s;
  }

  .navbar-light .navbar-nav .nav-link:hover::before,
  .navbar-light .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
  }
}

@media (max-width: 991.98px) {

  .navbar-logo {
    height: 65px;
  }

  

  .navbar-collapse {
    background: #fff;
    padding: 15px;
  }

 
}

/* Dropdown Hover Color */
.dropdown-item:hover {
  background-color: #00d1a0;
  color: #fff;
}


@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }
}
.hero-header {
  height:60vh;              /* Full screen height */
          /* Minimum height */
  background-size: cover;     /* Cover full section */
  background-position: center;/* Center image properly */
  background-repeat: no-repeat;
  position: relative;
}

.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
 
}

.hero-header .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-header {
    height: 40vh; /* Reduce height on mobile */
  }
  
  .hero-header .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}





.price-carousel::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 50%;
  bottom: 0;
  left: 0;
  background: var(--primary);
  border-radius: 8px 8px 50% 50%;
  z-index: -1;
}

.price-carousel .owl-nav {
  margin-top: 35px;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
  position: relative;
  margin: 0 5px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #ffffff;
  font-size: 22px;
  border-radius: 45px;
  transition: 0.5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

@media (min-width: 576px) {
  .team-item .row {
    height: 350px;
  }
}

.team-carousel .owl-nav {
  position: absolute;
  padding: 0 45px;
  width: 100%;
  height: 45px;
  top: calc(50% - 22.5px);
  left: 0;
  display: flex;
  justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
  background: var(--dark);
}

.testimonial-carousel .owl-dots {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 20px;
  height: 20px;
  background: var(--light);
  border: 2px solid var(--primary);
  border-radius: 20px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 40px;
  height: 40px;
  background: var(--primary);
}

.testimonial-carousel .owl-item img {
  width: 150px;
  height: 150px;
}

/* SECTION WITH IMAGE + GREEN OVERLAY */
.team-section {
  position: relative;
  background-image: url("https://web.archive.org/web/20250406221653im_/https://advancedenthospital.com/wp-content/uploads/2021/12/doctor-working-with-laptop-computer-writing-paperwork-hospital-background-scaled.jpg?id=3270"); /* your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* GREEN TRANSPARENT LAYER */
.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 214, 163, 0.85); /* #00d6a3 overlay */
  z-index: 1;
}

/* CONTENT ABOVE OVERLAY */
.team-section .container {
  position: relative;
  z-index: 2;
}

/* CARDS */
.info-card {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
   min-height: 200px;  
}

.info-card h5 {
  font-weight: 700;
  color: #083c44;
}

.info-card p {
  color: #8fa3a6;
  margin-bottom: 0;
}

.info-card hr {
  border: none;
  height: 1px;
  background: #eee;
  margin: 20px 0;
}

/* ICON */
.icon-box {
  width: 26px;
  height: 26px;
  border: 2px solid #00d6a3;
  flex-shrink: 0;
}

.border-white {
  border-color: #fff;
}

/* VERTICAL DIVIDER */
.vertical-line {
  width: 1px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.5);
}

.vision-box {
  background-color: #00d6a3;
  min-height: 100%;
  margin-top: -100px;
}

.vision-content {
  max-width: 650px;
  padding: 70px 60px;
}

.letter-spacing {
  letter-spacing: 2px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: #9aaab0; /* soft gray like image */
  font-weight: 500;
}

.feature-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 0;
  color: #00d6a3;
  font-weight: bold;
}




/* Responsive */
@media (max-width: 991px) {
  .vision-content {
    padding: 60px 30px;
  }
}

/* Doctor team */
.transition {
  transition: all 0.4s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
}

.hover-shadow:hover {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}
.transition {
  transition: all 0.4s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
}

.hover-shadow:hover {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}

/* Fix indicator visibility */
#testimonialSlider {
  padding-bottom: 40px;
}

#testimonialSlider .carousel-indicators {
  position: absolute;
  bottom: -30px;
  margin: 0;
}

#testimonialSlider .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d1d5db;
  opacity: 1;
}

#testimonialSlider .carousel-indicators .active {
  background-color: #10b981;
}

.rating-box span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #facc15; /* yellow star */
  font-size: 20px; /* size of star */
  margin-right: 4px;
}

.divider {
  width: 450px;
  height: 1px;
  background: black;
}

.tech-list {
  list-style: none;
  padding-left: 0;
}

.tech-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: #7a8a97;
  font-size: 15px;
}

.tech-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 0;
  color: #00d6a3;
  font-weight: bold;
  
}

.facilities-section {
  background: #ffffff;
}

.divider {
  width: 80px;
  height: 1px;
  background: #00d6a3;
}

.facility-list {
  list-style: none;
  padding-left: 0;
}

.facility-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  font-size: 16px;
  color: #7a8a97;
}

.facility-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 0;
  color: #00d6a3;
  font-weight: bold;
}
.appointment-section {
  background-image: url('../img/Appointment.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 570px;   /* instead of height */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Fix */
@media (max-width: 768px) {
  .appointment-section {
    background-attachment: scroll;  /* important */
    min-height: auto;
    padding: 60px 20px;
  }

  .appointment-section h1 {
    font-size: 26px;   /* reduce heading size */
  }

  .appointment-section .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }
}





/* start about */
.breadcrumb-item + .breadcrumb-item::before {
  color: #ffffff;
}

.hospital-title {
  color: var(--hospital-teal);
}

/* The left-side gray strip */
.gray-sidebar {
  width: 120px;
  background-color: #f2f2f2;
  min-height: 100%;
}

.image-placeholder {
  border: 1px solid #dee2e6;
  height: 100%;
  min-height: 300px;
}

/* Accordion Customization */
.accordion-button {
  color: var(--hospital-teal) !important;
  font-weight: 600;
  background-color: transparent !important;
  box-shadow: none !important;
  padding-left: 0;
}

/* Changing the Bootstrap Icon to Plus/Minus */
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23005b71'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E") !important;
  background-size: 1.5rem;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23005b71'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E") !important;
}

.accordion-body {
  padding-left: 0;
  line-height: 1.6;
}

/*contact start////////////////////////////////////////////*/
.contact-section .icon-box {
  width: 45px;
  height: 45px;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-section .social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.contact-section .social-icon:hover {
  background: #fff;
  color: #198754;
}

.form-control {
  border: none;
  padding: 12px;
}

/* ================= MOBILE RESPONSIVE FIX ================= */

@media (max-width: 991px) {

  /* Stack columns properly */
  .contact-section .row {
    flex-direction: column;
  }

  /* Reduce padding on mobile */
  .contact-section .col-lg-5,
  .contact-section .col-lg-7 {
    padding: 30px !important;
  }

  /* Fix long horizontal line */
  .contact-section hr {
    width: 100% !important;
  }

  /* Reduce heading size slightly */
  .contact-section h2 {
    font-size: 24px;
  }

  /* Make address text wrap properly */
  .contact-section h5 {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Social icons spacing */
  .contact-section .social-icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  /* Make button full width on mobile */
  .contact-section .btn {
    width: 100%;
  }

}


/* Mediclaim & Cashless Services //////////////////////////////////////////////////////////////////////////////////////////*/

.insurance-list li {
  position: relative;      /* REQUIRED for absolute ::before */
  padding-left: 20px;      /* space for arrow */
  font-size: 15px;
  color: #8a9aa5;
  margin-bottom: 12px;
}

.insurance-list li::before {
  content: ">";            /* better arrow symbol */
  position: absolute;
  left: 0;
  top: 0;
  color: #00d6a3;
  font-weight: bold;
}

.insurance-img {
  width: 100%;
  max-width: 100%;
}
@media (min-width: 992px) {
  .insurance-img {
    transform: scale(1.1);
  }
}

.carousel img {
  height: 350px;
  object-fit: cover;
}

section p {
  font-size: 16px;
  line-height: 1.8;
  color: #003f5c;
}

section .fw-semibold {
  margin-top: 10px;
  color: #002b40;
}

