



body{
  font-family: 'Poppins Bold', Arial, sans-serif;
}
/* .video-container {
  position: relative;
  top: 0;
  width: 100%;
  height: 110vh; 
  overflow: hidden;
} */

/* .video-background {
  width: 100%;
  height: 110vh;
  object-fit: cover; 

} */

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 
  background: linear-gradient(
    to bottom, 
    rgba(0, 0, 0, 0.8) 0%,    
    rgba(0, 0, 0, 0.3) 50%,  
    rgba(0, 0, 0, 0) 100%     
  );
}


/* Content container */
/* .content-container {
  display: flex;
  width: 100%;
  margin-top: 0px;

  justify-content: center;
  align-items: flex-start;
 
 
 
} */
/* .agency-wrapper{
  width: 87%; 
  max-width: 1440px; 
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

} */

/* Carousel styles */
.image-carousel {
  /* flex: 1; */
  /* display: flex;
  justify-content: center;
  align-items: center; */
  width: 707px;
  /* position: relative; */
  /* margin-right: 90px;
  margin-left: 150px; */
  /* margin-bottom: 120px; */
  /* border: 1px solid red; */
  /* margin-left: 30px; */

}
/* .agency-left-container{
 
  height: 600px;
  width: 707px;
  
} */


.info-card{
  margin: auto;
  margin-top: 50px;
  background: #ffffff; 
  width: 35vw;
  height: 10vw;
  box-shadow: 0 4px 6px rgba(141, 5, 5, 0.1);
  padding: 0;
  align-items: center;
  max-width: 500px; 
  max-height: 220px; 
  min-width: 350px; 
  min-height: 150px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  border: 4px solid transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(45deg, #FA00FF, #4200FE, #4440DB) border-box;
  transition: all 0.3s ease;

}

/* .carousel-images {
  
  position: relative;
  width: 230px;
  height: 330px;

 
  
} */

.carousel-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s, opacity 0.5s, filter 0.5s;
  border-radius: 5px; /* Apply border-radius */
  overflow: hidden; /* Ensures border-image follows the border-radius */
}

.carousel-image.center-image {
  transform: scale(1.2);
  opacity: 1;
  filter: blur(0);
  z-index: 2;
  border: 4px solid transparent;
  border-radius: 8px; /* Rounded corners */
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(45deg, #FA00FF61, #4200FE8C, #4440DB) border-box;
}

.carousel-image.left-image {
  transform: translateX(-230px) scale(1);
  opacity: 0.5;
  filter: blur(7px);
  border: 4px solid transparent;
  border-radius: 8px; /* Rounded corners */
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(45deg, #FA00FF61, #4200FE8C, #4440DB) border-box;
}

.carousel-image.right-image {
  transform: translateX(230px) scale(1);
  opacity: 0.5;
  filter: blur(5px);
  border: 4px solid transparent;
  border-radius: 8px; /* Rounded corners */
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(45deg, #FA00FF61, #4200FE8C, #4440DB) border-box;
}


.carousel-image.left-image,
.carousel-image.right-image {
  opacity: 0.6;
  filter: blur(3px);
}


/* Text section */
.text-section {
  position: relative;
  margin-left: 10px;

  height: 600px;
  width: 37vw;

}

.text-section h1 { 
  font-family: 'poppins';
  margin: 20px 10px 15px 0;
  color: #4440DB;
}

.text-section h3 {
  color: #050D24;
}

/* .text-content>p {
  color: #5C6271;
  margin-top: 10px;
  margin-bottom: 20px;
} */


.text-title{
  color: #05091f;
  font-weight: 500;
  font-size: 34px;
  margin: 10px 0;
  line-height: 50px;
  width: 90%;
  

}
.progress-bar {
  width: 100%;
  background-color: #ddd;
  height: 10px;
  border-radius: 5px;
  position: relative;
  /* margin: 20px 0; */
  /* border: 1px solid red; */
}

.progress-fill {
  height: 100%;
  background-color: #4440db;
  border-radius: 5px;
  transition: width 4s ease-in-out;
}

.progress-percentage {
  position: absolute;
  right: 10px;
  top: -20px;
  font-size: 12px;
  font-weight: bold;
  color: #333;
}



/* Keyframe animation for fill and unfill */
@keyframes fillOutIn {
  0%, 100% {
    width: 0%;
  }
  50% {
    width: 100%; 
  }
}

 .card-content{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Card content styles */
.info-card .card-content p {
  font-family: 'Roboto', Arial;
  font-weight: 400;
  font-size: 16px;
  
  color: #050D24;
  /* margin: 10px 46px; */
  padding: 10px 40px;
  position: relative;
  z-index: 1; 
  cursor: pointer;
  

}
.card-content>p{
  font-size: 18px;
  font-weight: 400;
  padding: 30px 0px;
}
.info-card .card-content p:hover {
  color: white;
}


/* Black diagonal corner effect */
.info-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70px; 
  height: 70px; 
  background-color: black;
  color: white;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  transition: all 0.3s ease;
  pointer-events: none; 
 
}

/* Expanding effect on hover */
.info-card:hover::after {
  width: 100%;
  height: 100%;
  clip-path: none;
  border-radius: 0;
}


.learn-more-button {
  position: absolute;
  bottom: 0;
  margin-top: 15px;
  background-color: #4440db;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  height: 60px;
  width: 177px;
}

.learn-more-button:hover {
  background-color: #29292a;
  transform: scale(1.1);
}
@media screen and (min-width: 2560px) {
  .agency-wrapper {
    width: 1440px;
  }
  .info-card{
    height: 5vw;
  }
  /* .text-title p{
    font-size: 24px;
  } */

  .learn-more-button {
    height: 60px;
    width: 180px;
    font-size: 18px;
  }
  
}



/* Responsive Design for Mobile */
@media (max-width: 660px) {
  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .discover-button {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
  }

  .dot-wrapper {
    width: 15px;
    height: 15px;
  }

  .inner-dot {
    width: 7px;
    height: 7px;
  }
}


/* .image-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 400px;
  overflow: hidden;
  
} */

.image {
  position: absolute;
  transition: all 0.5s ease-in-out;
  opacity: 0.5;
  transform: scale(0.8);
  filter: blur(2px);
}

.image img {
  width: 300px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
}

.image.highlighted {
  opacity: 1;
  transform: scale(1);
  filter: none;
  z-index: 10;
  border: 3px solid #4440db;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.image.next {
  transform: translateX(200px) scale(0.9);
  z-index: 5;
}

.image.prev {
  transform: translateX(-200px) scale(0.9);
  z-index: 5;
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .agency-wrapper {
    flex-direction: row; 
    align-items: flex-start; 
    text-align: left; 
    width: 87%; 
    margin: 0 auto;
  }
 .text-section{
  height: 520px;
 }
  .agency-left-container {
    position: relative;
    width: 49.097vw; 
    height: 520px;
  }
 

 
.image-carousel{
  width: 48.611vw;
  height: 320px;
}
 
 
  .carousel-images{
    width: 15.972vw;
    height: 22.917vw;
  }
  .carousel-image.left-image {
    transform: translateX(-15.972vw) scale(1);
  }
  .carousel-image.right-image{
    transform: translateX(15.972vw) scale(1);

  }
  .text-title{
    font-size: 2.361vw;
    line-height: 3.472vw;
  }
 
  .progress-item h3{
    font-size: 1.1vw;
    font-weight: 500;
  }
  .text-content p{
    font-size: 1.111vw;
  }
 .info-card{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 9vw;
 }
 .card-content p{
  padding: 0;
 }
 
 
 .info-card .card-content p{
  font-size: 1.111vw;
  line-height: 1.458vw;
  margin: 0.694vw 3.194vw;

 }

  .learn-more-button {
    position: absolute; /* Keep button at bottom */
    bottom: 0;
  }

  /* Ensure text content doesn't overflow */
  .text-content {
    width: 100%;
  }
}




@media (max-width: 768px) {
  .content-container {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center-align content */
  }

  .image-carousel {
    margin: 0 0 20px; /* Add space below carousel */
  }

  .text-section {
    margin: 0 20px; /* Add space around text */
  }
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .info-card {
    margin-left: 20px; 
    margin-top: 80px;   
    max-width: 90%;     
  }
}
.card-content p {
  font-size: 14px;
  color: #050D24;
  padding: 10px 20px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Media query for extra small screens */
@media (max-width: 660px) {
  .card-content p {
    font-size: 12px; /* Smaller font size on very small screens */
  }
}





@media screen and (max-width: 768px) {
  .agency-wrapper {
      flex-direction: column; /* Stack items vertically */
      align-items: center; /* Center align */
      text-align: center; /* Center text */
      /* border: 1px solid red; */
      
  }
.text-title{
  margin: 30px auto;
}

.agency-left-container{
  margin: auto;
  width: 100%;
  /* border: 1px solid red; */
}
.carousel-images{

  /* border: 1px solid red; */
}
  .text-section {
      width: 90%; /* Adjust width for smaller screens */
      padding: 20px; /* Add padding */
  }
  .image-carousel{
    /* border: 1px solid red; */
    width: 100%;
  }

  .text-section h1 {
      font-size: 24px; /* Reduce heading size */
  }

  .text-section p {
      font-size: 2vw; /* Adjust paragraph size */
  }

  .carousel {
      width: 100%; /* Make it full width */
      height: auto; /* Adjust height automatically */
  }
  .carousel {
    width: 100%;
    display: flex;
    justify-content: center; /* Center carousel items */
    align-items: center;
    overflow: hidden;
}

.carousel-images {
 
    display: flex;
    justify-content: center; /* Center images */
    align-items: center;
   /* Adjust width for responsiveness */
}

.carousel img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure full image visibility */
}
.info-card{
  margin-top: 30px;
  width: 100%;
  /* border: 1px solid red; */
}
.learn-more-button{
  position: static;
  margin: 20px auto;
}
.text-content{
  margin-top: 20px;
  width: 100%;
  /* border: 1px solid red; */
}
.text-section{
  padding:20px 0;
  width: 100%;
  /* border: 1px solid red; */
}


}


/* Mobile Responsive Styles (480px and below) */
@media screen and (max-width: 660px) {
  /* Video Container */
 
  .card-content{
    height: 100%;
    border: 1px solid red;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .info-card .card-content p{
    text-align: start;
    margin: 10px 20px;
  }
  .info-card::after{
   width: 50px;
   height: 50px;
  }

  /* Content Container */
  .content-container {
    padding: 20px 0;
    background-size: contain;
  }

  /* Agency Wrapper */
  .agency-wrapper {
    flex-direction: column;
    width: 95%;
  }

  /* Agency Left Container */
  .agency-left-container {
    margin-top: -45px;
    width: 100%;
    height: auto;
  }

  /* Carousel Images */
  .carousel-images {
    width: 104px;
    height: 160px;
    margin: 0 auto;
   
  }
  .info-card .card-content p{
    font-size: 10px;
   
   
  }
  
.image-carousel{
  height: 220px;
}
  /* Info Card */
  .info-card {

    width: 100%;
    min-width: unset;
    min-height: 100px;
    margin: auto;
    padding: 0;
  
  }

  .card-content p {
    font-size: 14px;
    padding: 0;
    margin: 0 20px;
  }

  /* Text Section */
  .text-section {
    width: 100%;
    height: auto;
    margin: 30px 0 0;
  }

  .text-title {
    font-size: 24px;
    line-height: 32px;
    margin: 15px 0;
  }
  .text-content{
    text-align: center;
    /* border: 1px solid red; */
  }
  .text-content h3{
    margin: auto;
    
    /* border: 1px solid red; */
  }
  .text-content p {
    font-size: 14px;
  }
  .text-section h1{
    font-size: 25px;
    /* border: 1px solid red; */
  }
  /* Progress Bars */
  .progress-bar {
    height: 8px;
  }

  .progress-percentage {
    top: -18px;
  }
  .carousel-image.left-image{
    transform: translateX(-100px) scale(1);

  }
  .carousel-image.right-image{
    transform: translateX(100px) scale(1);

  }

  /* Learn More Button */
  .learn-more-button {
    position: relative;
    margin: 20px auto;
    width: 150px;
    height: 50px;
  }

  /* Adjust other sections for mobile */
  .cards-container,
  .card-container {
    padding: 0 15px;
  }


}

/* Additional small screen adjustments (360px and below) */
@media screen and (max-width: 360px) {
  .carousel-images {
    width: 150px;
    height: 200px;
  }

  .text-title {
    font-size: 22px;
  }

  .info-card {
    min-height: 120px;
  }

  .card-content p {
    font-size: 13px;
    margin: 0 10px;
  }
}