/* Initial State */
.thumbnail-slide-in-right, .thumbnail-slide-in-left {
    opacity: 0;
    visibility: hidden;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.thumbnail-slide-in-right.animate {
    animation: slideInFromRight 1s forwards;
    visibility: visible;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.thumbnail-slide-in-left.animate {
    animation: slideInFromLeft 1s forwards;
    visibility: visible;
}

/* Initial State */
.service-slide-in {
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: transform 1s, opacity 1s;
}

.service:hover .inner {
  /* Add your animation properties here */
  transform: scale(1.15); /* Example: Increase the size on hover */
  transition: transform 0.5s ease; /* Example: Add a smooth transition effect */
}
.service.service__style--1.with-working-process:hover{
  /* Add your animation properties here */
  transform: scale(1.15); /* Example: Increase the size on hover */
  transition: transform 0.5s ease; /* Example: Add a smooth transition effect */
}

.service.service__style--2:hover {
  /* Add your animation properties here */
  transform: scale(1.05); /* Example: Increase the size on hover */
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1); /* Example: Custom timing function for smoother ease-out */
}



/* Animation State */
.service-slide-in.animate {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}



 /* Styles for Contact Us Page Map */

 .mapouter {
    position: relative;
    text-align: right;
    width: 520px;
    height: 640px;
  }

  .gmap_canvas {
    overflow: hidden;
    background: none !important;
    width: 520px;
    height: 640px;
  }

  .gmap_iframe {
    width: 520px !important;
    height: 640px !important;
  }


  /* Popup CSS */

  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }


  @media only screen 
  and (device-width: 390px) 
  and (device-height: 844px) 
  and (-webkit-device-pixel-ratio: 3) {
    .bg-video {
      height: 32%;
    }
    .height-950{
      padding: 45px 0;
    }
}

@media only screen and (min-width: 250px) and (max-width: 450px) {
  .bg-video {
    height: 32%;
  }
  .height-950{
    padding: 45px 0;
  }
  .clltoaction-style-default.style-4 .content .title{
    font-size: 26px;
  }
}

@media only screen and (min-width: 450px) and (max-width: 650px) {
  .bg-video {
    height: 45%;
  }
  .height-950{
    padding: 45px 0;
  }
}

/* Video Styles for Blog Posts */
.video-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.embed-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background-color: #000; /* Black background for loading state */
}

.embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

.video-container video {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #000; /* Black background for loading state */
}

/* Add responsive styles for different screen sizes */
@media (max-width: 768px) {
  .video-container {
      max-width: 100%;
      padding: 0 15px;
  }
}