/* *{border:1px solid red;} */
/* html{height:100%;}
body{
    height:100%;
    display:flex;
    flex-direction: column;
} */
.nav-link.active{
    background-color: white;
    color: black !important;
    border-radius:50rem;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}
.carousel-item img {
    position: relative;
    width: 100%;
    height: 180px;
    object-fit: fill;
}
@media (min-width:768px) {
    .carousel-item img {
        position: relative;
        width: 100%;
        height: 500px;
        object-fit: fill;
    }
}

.carousel-item img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.testimonials .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonials .swiper-slide .reviews {
    height: 200px;
}

.serviceRel_image{
    height: 200px;
}

.achievment_rewards .col>.card{
    border-bottom: 5px solid #0d6efd !important;
}

/* form{
    background: #fff;
    box-shadow:  0px 8px 16px #949494,
    -0px -8px 16px #ffffff;
} */
  .form-control, .form-select, .form-check-input{
    --bs-border-width: 2px;
    --bs-border-color: #212529;
  }
.title {
    font-size: 28px;
    color: royalblue;
    font-weight: 600;
    letter-spacing: -1px;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 30px;
  }
  
  .title::before,
  .title::after {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    border-radius: 50%;
    left: 0px;
    background-color: royalblue;
  }
  
  .title::before {
    width: 18px;
    height: 18px;
    background-color: royalblue;
  }
  
  .title::after {
    width: 18px;
    height: 18px;
    animation: pulse 1.5s linear infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.5);
      opacity: 0.5;
    }
    100% {
      transform: scale(2);
      opacity: 0;
    }
  }
  

  .gallery-item {
    height: 200px;
    overflow: hidden;
  }

  .gallery-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 0.3s ease-in-out;
  }

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

  .lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1050;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    padding: 30px;
  }

  
/* From Uiverse.io by satyamchaudharydev */ 
.redirect_button {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
    background-color: rgb(0 107 179);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffff;
    gap: 10px;
    font-weight: bold;
    border: 3px solid #ffffff4d;
    outline: none;
    overflow: hidden;
    font-size: 15px;
    cursor: pointer;
  }
  
  .redirect_button.icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease-in-out;
  }
  
  .redirect_button:hover {
    transform: scale(1.05);
    border-color: #fff9;
  }
  
  .redirect_button:hover .icon {
    transform: translate(4px);
  }
  
  .redirect_button:hover::before {
    animation: shine 1.5s ease-out infinite;
  }
  
  .redirect_button::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0) 70%
    );
    top: 0;
    left: -100px;
    opacity: 0.6;
  }
  
  @keyframes shine {
    0% {
      left: -100px;
    }
  
    60% {
      left: 100%;
    }
  
    to {
      left: 100%;
    }
  }
  

  .go-to-top {
    position: fixed;
    bottom: 45px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    z-index: 9999; /* Ensures it's above other elements */
    display: none; /* Hidden initially */
}

.go-to-top button {
    background-color: #007bff; /* Customize button color */
    color: white;
    border: none;
    border-radius: 50%; /* Circular button */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.go-to-top button:hover {
    transform: scale(1.1); /* Zoom on hover */
}

.go-to-top img {
    width: 50%; /* Adjust icon size */
}