/* Show dropdown on hover */
.nav-item:hover .dropdown-menu {
  display: block;
}
.bsb-tpl-bg-alice-new-blue{
background: #f8fafc;
}
#background-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin-top: -200px;
  z-index: -1;
}
.dropdown-item:hover {
    background-color: var(--bs-dropdown-link-active-bg);
    color: var(--bs-dropdown-link-active-color);
    text-decoration: none;
}

/* Service Card Styles */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* Fixed Image Container */
.service-image {
  width: 100%;
  height: 250px; /* Fixed height for all images */
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Maintains aspect ratio and fills container */
  object-position: center;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

/* Overlay on Image */
.service-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 109, 182, 0.9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-image .overlay {
  opacity: 1;
}

        /* Required indicator */
        .required {
            color: #d32f2f;
        }
        
/* Service Footer */
.service-footer {
  margin-top: auto; /* Pushes footer to bottom */
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-footer h5 {
  font-size: 16px;
  line-height: 1.4;
}

/*.overlay-heding-logo {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: #126db6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}*/

/* Responsive adjustments */
@media (max-width: 992px) {
  .service-image {
    height: 220px;
  }
  
  .service-footer h5 {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .service-image {
    height: 200px;
  }
  
  .service-footer h5 {
    font-size: 14px;
  }
  
  .col-4 {
    flex: 0 0 50%; /* 2 cards per row on tablet */
    max-width: 50%;
  }
}

@media (max-width: 576px) {
  .service-image {
    height: 180px;
  }
  
  .col-4 {
    flex: 0 0 100%; /* 1 card per row on mobile */
    max-width: 100%;
    margin-bottom: 20px;
  }
}

/*.testimonial-slider {
  margin: 0 -15px; /* Negative margin compensates slide margin */
}*/

.testimonial-slider .slick-slide {
  margin: 0 15px; /* Add horizontal space between slides */
}

.testimonial-slider .card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px 10px;
  background-color: rgba(18, 109, 182, 0.1);
}

.testimonial-slider blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: #555;
}

.testimonial-slider strong {
  display: block;
  margin-top: 15px;
  color: #126db6;
  font-weight: bold;
}

.slick-prev-custom,
.slick-next-custom {
  background: none;
  border: none;
  color: #126db6;
  font-size: 32px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: color 0.3s;
}

.slick-prev-custom:hover,
.slick-next-custom:hover {
  color: #0d5c99;
}

.slick-prev-custom {
  left: -40px;
}

.slick-next-custom {
  right: -40px;
}


.info-card {
  border: 1px solid #000000;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}

.info-card p {
  font-size: 1.1rem;
  color: #333;
}


.service-image {
    position: relative;
}

.service-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(18 109 182 / 80%);
    color: #fff;
    padding: 15px;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}



/*.overlay-heding-logo {
    position: absolute;
    bottom: 58px;
    left: 0;
    right: 0;
    padding: 15px;
}*/

/*.service-footer {
    background-color: #126db6;
    text-align: center;
}*/

.service-footer h5 {
    margin: 0;
    font-size: 1.25rem;
    padding: 15px;
    min-height: 80px;
}
/*.service-footer.bg-primary.text-white.p-3.position-relative {
    min-height: 100px;
    display: block;
}*/

/*why-choose start*/
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
}

.feature-card {
    text-align: center;
    position: relative;
}

.feature-number {
    font-size: 2rem;
    font-weight: bold;
    color: #126db6;
    background: #e1ebfa;
    border-radius: 25%;
    width: 100px;
    height: 100px;
    line-height: 95px;
    margin: 0 auto 15px;
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
}
.footer-made a {
    color: #212529bf !important;
    text-decoration: none;
}
/*why-choose end*/
@media (max-width: 768px) {
  .column-reverse .row {
    display: flex;
    flex-direction: column-reverse;
  }
}
@media (max-width: 700px) {
  #background-video video {
    width: 50%;
    height: 100vh;
  }
    .d-flex {
    gap: 15px !important;
}
}
@media (min-width: 1024px) {
  #scrollspyHero img {
    padding-bottom: 50px;
    margin-left: 400px;
  }

}
@media (max-width: 1024px) {
  #scrollspyHero img {
    padding-bottom: 0px;
    margin-left: 0px;
  }
  .d-flex {
    gap: 10px !important;
}

}

.scrolling-marque img {
  height: 68px;
  width: fit-content;
  border-radius: 20px;
/*  padding: 10px;*/
}
/* Gallary Start */
#gallary {
  padding: 2% 0;
  background-color: #126db6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#gallary h2{
  color: ghostwhite;
  font-size: 40px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.gallery {
  --g: 6px; /* the gap */
  display: grid;
  width: 90%; /* responsive width */
  max-width: 800px; /* fixed maximum width for larger screens */
  aspect-ratio: 1;
  grid: auto-flow 1fr / repeat(3, 1fr);
  gap: var(--g);
  margin: 0 auto 20px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale();
  cursor: pointer;
  transition: 0.5s;
}

.gallery img:hover {
  filter: grayscale(0);
}

.gallery img:nth-child(2) {
  grid-area: 1/2 / span 2 / span 2;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    calc(50% + var(--g) / 4) 100%,
    0 calc(60.5% - var(--g) / 4)
  );
}

.gallery img:nth-child(3) {
  grid-area: 2/1 / span 2 / span 2;
  clip-path: polygon(
    0 0,
    calc(50% - var(--g) / 4) 0,
    100% calc(50% + var(--g) / 4),
    100% 100%,
    0 100%
  );
}

#gallary .btn {
  width: 90%;
  max-width: 300px;
  text-align: center;
  color: ghostwhite;
  font-weight: bold;
  border: 4px solid #bfd2de;
  cursor: pointer;
  margin-top: 10px;
  padding: 12px 24px;
  border-radius: 20px;
  transition: all 0.4s;
  border-color: #667eea;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

#gallary .btn:hover {
  border: 4px solid #126db6;
  background: transparent;
  color: #fff;
}

@media (max-width: 788px) {
  #gallary h2 {
    font-size: 32px;
  }
  
  .gallery {
    width: 95%;
    max-width: 500px;
  }
  
  #gallary .btn {
    width: 80%;
    max-width: 250px;
  }
}

/* Gallary End */

.grid{
  height: 50%; 
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3,1fr);
}
.grid img{
  width: 100%;
}

.grid1{
  display: grid;
  margin: 48px 0px;
  gap :3rem;
  grid-template-columns: repeat(4,1fr);
  justify-content: center;  
  text-align: center;
}

@media (max-width:970px) {
  .grid1{
  display: grid;
  gap :1rem;
  grid-template-columns: repeat(3 ,1fr);
 }

}
@media (max-width:620px) {
  .grid1{
  display: grid;
  gap :1rem;
  grid-template-columns: repeat(2 ,1fr);
}
}
@media (max-width:450px) {
  .grid1{
  display: grid;
  gap :1rem;
  grid-template-columns: repeat(1 ,1fr);
}
}
.box1{
  margin: 10px;
  padding: 10px;
}
.grid1 img{
  width:100%;
}

.box1 .text-p{
  padding-bottom: 10px;
}
.grid1 h1{
  background-color: #bfd2de;
  font-style: none;
}
