/* @import url(
  'https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap'); */

/* body {
  font-family: cursive;
} */

/* home page  */
/* Crop background image from the right side */
.slides li {
  background-position: center right;
  position: relative;
}

/* Ensure content is above the overlay */
.relative.z-10 {
  z-index: 10;
}

/* Hide elements on mobile devices */
@media (max-width: 768px) {
  .description {
    display: none;
  }

  .about-btn {
    display: none;
  }

  .slides li {
    background-position: left;
  }

  .flex-col {
    margin-left: 0;
    padding: 1rem;
  }

  .py-5 {
    padding: 0.5rem 1rem;
  }

  /* Dark overlay */
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(45 24 24 / 47%);
    /* Dark overlay with 40% opacity */
  }
}

@media (max-width: 900px) {
  .description {
    display: none;
  }
}

/* image slider  */
.carousel-container {
  width: 80%;
  margin: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--lx-gap);

  .carousel {
    aspect-ratio: 16/9;
    width: 100%;
    position: relative;
    overflow: hidden;

    .item {
      opacity: 0;
      width: 100%;
      height: 100%;
      display: none;
      transition: opacity 0.5s ease-in-out;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
      }


      &.active {
        opacity: 1;
        display: block;
      }
    }
  }

  .slider-btn {
    /* padding: 0px 8px; */
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    line-height: 45px;
    outline: none;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 900;
    color: #10100e;
    border-radius: 50%;
    background-color: #c8dbf1;

    &:active,
    &:focus {
      transform: translateY(-50%) scale(0.9);
    }

    &:hover {
      transform: translateY(-50%) scale(0.96);
    }
  }

  .prev {
    left: -9%;
  }

  .next {
    right: -9%;
  }

  .dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;

    .dot {
      cursor: pointer;
      height: 10px;
      width: 10px;
      background-color: #242421;
      transition: background-color 0.2s ease;
      border-radius: 50%;

      &.active,
      &:hover {
        background-color: #0b82c7;
      }
    }
  }
}


/* WhatsApp Float Starts Here  */
.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 95px;
  right: 30px;
  background-color: #22c213;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #128303;
  z-index: 100;
}

.ff {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  color: #fff;

}

.my-float {
  margin-top: 17px;
}

.float-fb {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 165px;
  right: 30px;
  background-color: #1ad82a;

  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;

}

/* WhatsApp Float Ends Here    */

/* about page Doctor image  */
@media(min-width:1024px) and (max-width:1280px) {
  .doctor {
    width: 15rem !important;
    height: 15rem !important;
    margin-top: 80px;
  }
}



/* custom button  */
.glow-on-hover {
  width: 220px;
  height: 50px;
  border: none;
  outline: none;
  color: #fff;
  background: #17a2b8;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 24px;
}

.glow-on-hover:before {
  content: '';
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 24px;
}



.glow-on-hover:active:after {
  background: transparent;
}

.glow-on-hover:hover:before {
  opacity: 1;
}

.glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #17a2b8;
  left: 0;
  top: 0;
  border-radius: 24px;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}


/* service-page button  */
.box-1 {
  background-color: #17a2b8;
  border-radius: 3px;
}

.btn {
  line-height: 45px;
  height: 45px;
  text-align: center;
  width: 150px;
  cursor: pointer;
}

.btn-one {
  color: #000000;
  transition: all 0.3s;
  position: relative;
}

.btn-one span {
  transition: all 0.3s;
}

.btn-one::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(0, 0, 0, 0.5);
  transform: scale(0.1, 1);
}

.btn-one:hover span {
  letter-spacing: 2px;
}

.btn-one:hover::before {
  opacity: 1;
  transform: scale(1, 1);
}

.btn-one::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.3s;
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-one:hover::after {
  opacity: 0;
  transform: scale(0.1, 1);
}


/* Roadblock Styles */
#roadblock-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(207, 198, 198);
  /* background colour*/
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 1;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#roadblock-wrap.hidden {
  opacity: 0;
  visibility: hidden;
}

#roadblock-wrap .inner {
  position: relative;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 16px;
}

#roadblock-wrap .close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 24px;
  font-weight: 500;
  color: #bb3d3d;
  cursor: pointer;
}

#roadblock-wrap .close-btn:hover {
  background-color: #bb3d3d;
  color: #ffffff;
}

#roadblock-wrap img {
  border-radius: 12px;
  object-fit: contain;
  width: 500px;
  height: 500px;
}

/* .orange-filter {
    filter: invert(60%) sepia(92%) saturate(620%) hue-rotate(6deg) brightness(96%) contrast(92%);
} */