

/* ------------------------------------------------------------------------------------ */

/* ``````````````````````````````````service banner ````````````````````````````````````````````````` */

.services{
    display: flex;
    justify-content: center;
}

.service{
    /* padding-right: 5%; */
    /* padding-left: 5%; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service .image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;

}
.image-container video{
  width: 100%;
  height: 100%; /* keep aspect ratio */
  display: block;
  object-fit: cover; /* ensures it fills nicely */
  border-radius: 8px;
}

.service .overlay{
    position: absolute;
    opacity: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    background-color: rgba(0, 0, 0, 0.632); 
}

.service .image-container:hover>img,
.service .image-container:focus>img,
.service .image-container:active>img  {
    transform: scale(1.2);
    transition: transform .5s ease-in-out;
    overflow: hidden;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    background-color: rgba(0, 0, 0, 0.632); 

}

.service .image-container:hover > .overlay,
.service .image-container:focus> .overlay,
.service .image-container:active> .overlay 
{
    opacity: 1;
    height: 20%;
    transition: opacity .5s ease-in-out, height .5s ease-in-out;
}


.service .overlay .read-more{
    display: inline-flex;
    align-items: center;
}

.service .overlay .read-more a {
    color:white;
    font-size: 1rem;
}

.service .overlay .read-more .line{
    border: 2px solid white;

}

.service .overlay h2{
  color:white;
    margin-top: 2rem;
    font-weight: 900;
}

.service p{
    margin-top: 1rem;
    color: #777777;
}





/* ``````````````````````````````````service banner````````````````````````````````````````````````` */



  /* Responsive adjustments */
  @media (max-width: 992px) {
    .half-width-image {
      flex: 1 1 100%;
    }
    .read-btn {
      font-size: 14px;
      padding: 6px 16px;
    }
  }
  
  @media (max-width: 576px) {
    .read-btn {
      font-size: 12px;
      padding: 5px 14px;
    }
    .read-btn span {
      width: 20px;
    }
  }
  
  .B:hover{
    color: #df4d4d;

  }

  @media (max-width:768px){
    .service{
        padding-top: 3rem;
    }
  }


  /* ````````````````````````````````````````modals starts here ````````````````````````````````````````````````````````````````````` */
  .service-modals .row, .service-modals .col{
    margin: 0;
    padding: 0;
  }

  .modal {
    position: fixed;
    top: 0%;
    left:0%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vh;
    background:none;
    display: none;
    z-index: 10000;
    border: none;
    outline: none;
    overflow: hidden;
  }
  
  .active {
    display: block;
  }
  
  .modal-content {
    background: #000000a5;
    height: 100%;
    overflow:hidden;
    border: none;
    border-radius:0;
  }
  
  
  .web .project {
    position: relative;
    box-sizing: border-box;
    background: none;
    width: 100%;
    height: 90vh;
    margin-top: 2%;
  }

  .web .project:hover> .iframe-overlay,
  .web .project:active> .iframe-overlay,
  .web .project:focus> .iframe-overlay
  {
    display: block;
  }

  .web .iframe-overlay{
    display: none;
    position: absolute;
    z-index: 1000000;
    background: #dd4545;
    bottom: 0;
    right: 0;
    padding: 10px;
    color: white;
    font-weight: bolder;
    border-top-left-radius: 10px;
  }
  
  .web .project iframe {
    width: 70vw;
    height: 90vh;
    border: none;
    background:none;
    border-radius: 6px;
    outline: none;
  }
  .web .swiper{
    height: 100vh;
    /* overflow: visible; */
    
  }
  .web .swiper-wrapper{
    /* overflow: visible; */
    background: #fff;
    width: 70vw;
  }

    /* Position nav outside */
  .web  .swiper-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px; /* keeps buttons above carousel */
    }
  
   .web .swiper-button-prev,
   .web .swiper-button-next {
      position: absolute; /* reset default absolute position */
      color: white;   /* customize */
      font-weight: 900;
    }
    
   .web .swiper-button-prev{
      left:10%;
      
    }

   .web .swiper-button-next {
      right: 10%;

    }
  
  
  /* Close button */
  .cross-btn {
    position: absolute;
    top: 10px;
    right: 40px;
    z-index: 110000;
    border-radius: 100%;
    font-size: 1.5rem;
    font-weight: 900;
    background: none;
    color: #777777 !important;
    border: none;
    cursor: pointer;
  }
  
  .body-cover {
    overflow: hidden; /* Prevent background scroll */
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .web .project{
      margin-top: 15%;
    }
  
    .web .iframe-overlay{
        display: none;
        position: absolute;
        z-index: 1000000;
        background: #dd4545;
        bottom: 50%;
        right: 50%;
        padding: 10px;
        color: white;
        border-radius: 10px;
        font-weight: bolder;
        transform: translateX(50%);
      }
      
      .web .project iframe {
        width: 90vw;
        height: 80vh;
        border: none;
        background:none;
        border-radius: 6px;
        outline: none;
      }
      .web .swiper{
        height: 110vh;
        /* overflow: visible; */
        
      }
      .web .swiper-wrapper{
        /* overflow: visible; */
        background: #fff;
        width: 90vw;
      }
      .web .swiper-button-prev:after,
      .web .swiper-button-next:after {
        
        font-size: 20px;
      }
      .web .swiper-button-prev{
        left:20%;
        bottom: 0;
        top: 610px;
        

        
      }
  
      .web .swiper-button-next {
        right: 20%;
        bottom: 0;
        top: 610px;
  
      }
  }
  
  
  /* ````````````````````````````````````````modals end here ````````````````````````````````````````````````````````````````````` */

  