.u-section-1 {
    position: relative;
    background-image: url("images/Blog/Legal_Minds_\ AI_vs_Humans_main.webp");
    background-size: cover;
    background-position: center;
    height: 550px;
  }
  .fr-view img.fr-dib{
    height: 255px;
  }
  .data-engineering-content p {
    position: relative;
    top: 450px;
    background: linear-gradient(to right, #d6712d, #c90f53);
    -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    font-weight: bold;
    margin-right: 20px;
    font-size: 2.5rem;
    overflow: hidden;
    /* border-right: .15em solid #ffffff;  */
    white-space: nowrap;
    width: 0;
    animation: typing 4s steps(40) 0s infinite, blink 0.75s step-end infinite;
  }
  
  @keyframes typing {
    0% {
        width: 0;
    }
    100% {
        width: 90%;
    }
  }
  
  @keyframes blink {
    50% {
        border-color: transparent;
    }
  }
  
  
  .u-section-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Black color with 50% opacity */
    z-index: 1; /* Ensures the overlay is on top of the background image */
  }
  
  .u-section-1 * {
    position: relative;
    z-index: 2; /* Ensures content stays above the overlay */
  }
  

.u-section-1 .u-sheet-1 {
  min-height: 410px;
}

h3 {
  font-size: 20px !important;
  margin: 0 0 10px 0;
}

.fr-view img {
    position: relative;
    max-width: 100%;
   
}


.img-fluid {
    max-width: 100%;
    height: 300px;
    border-radius: 10px;
}

p {
  color: #666;
  font-size: 14px;
}

.blog-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease;
}

.blog-slide {
  min-width: 33.33%;
  /* To display 3 cards at a time */
  box-sizing: border-box;
  padding: 10px;
}

.blog-card {
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.blog-img {
  position: relative;
  width: 100%;
  height: 200px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 10px;
  color: #fff;
  font-size: 14px;
}

.blog-content {
  padding: 20px;
}

.category {
  display: inline-block;
  background: #f27121;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  margin-bottom: 10px;
}



.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #3498db;
  text-decoration: none;
  font-size: 14px;
}

.read-more:hover {
  text-decoration: underline;
}

.slider-controls {
  position: absolute;
  left: 0%;
  top: 50%;
  width: 102%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.prev,
.next {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.next {
  position: relative;
  right: 20px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

p:not(.u-text-variant) {
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 0px;
}

.u-text-p {
  position: relative;
  top: 130px;
  right: 20%;
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
}

.u-text-span {
  font-size: 1rem;
  text-align: justify;
  color: #000;

}

.u-text-span b {
  font-size: 1.3rem;
  color: #000;

}

.u-section-2 {}

.u-section-2 .u-text-1 {
  margin: 40px 0;
  text-align: justify;
}

.u-section-2 .u-sheet-1 {
  min-height: 766px;
}




@media (max-width: 1199px) {
  .u-section-1 .u-sheet-1 {
    min-height: 338px;
  }

}

@media (max-width: 991px) {
  .u-section-1 .u-sheet-1 {
    min-height: 259px;
  }
}

@media (max-width: 767px) {
  .u-section-1 .u-sheet-1 {
    min-height: 194px;
  }
  .data-engineering-content p{
    font-size: 1.5rem !important;
    top: 350px;
  }

  html,
  body {
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .u-text-p {
    right: 5% !important;
  }


  .input-checkbox {
    margin-left: -50px;
  }

  .input-label {
    margin-left: -60 !important;
  }

  .u-text-p {
    font-size: 1.5rem;
    top: 80px;
    right: 5%;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 13px;
  }

  .sticky-button {
    /* position: relative; */
    left: 87% !important;
    width: fit-content !important;

  }

}

@media (max-width: 575px) {
  body {
    overflow: hidden !important;
  }

  .u-section-1 .u-sheet-1 {
    min-height: 122px;
  }

  .u-text-span b {
    font-size: 1rem;

  }

}



@media (max-width: 768px) {
  .blog-img img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }

  .blog-slide {
    min-width: 100%;
    /* For mobile view, show one card at a time */
  }

  .blog-content h3 {
    font-size: 16px;
  }

  .blog-img {
    height: 150px;
  }

  .prev,
  .next {
    padding: 5px;
  }

  .dropdown1 .dropdown-content1 {
    width: 100vw !important;
  }









}



@media (min-width: 1024px) and (max-width: 1440px) {

  .u-menu {
    margin-left: 30% !important;
  }

  .u-section-1 {
    background-size: cover;
    /* Ensure the image covers the section properly */
    height: auto;
    /* Adjust height for better scaling */
  }

  .u-text-p {
    top: 100px;
    right: 10%;
    font-size: 2rem;
  }

  .u-container-layout-1,
  .u-container-layout-2,
  .u-container-layout-3,
  .u-container-layout-4 {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Blog slider adjustment for displaying cards properly on laptops */
  .blog-slide {
    min-width: 50%;
    /* Display 2 cards at a time on laptop screens */
  }

}

@media (min-width: 1200px) {
  .u-menu {
    margin-left: 28% !important;
  }

  /* Adjust input checkbox and label margins */
  .input-checkbox {
    margin-left: -600px;
    /* Adjusted for wider screens */
  }

  .input-label {
    margin-left: -1250px !important;
    /* Adjusted margin for wider screens */
  }

  /* Adjust u-section-1 background image for larger screens */
  .u-section-1 {
    background-size: cover;
    height: 600px;
    /* Increased height for larger screens */
  }

  /* Adjust text positioning and font size */
  .u-text-p {
    top: 120px;
    right: 15%;
    font-size: 2.4rem;
    /* Slightly larger text for 1200px screens */
  }



  /* Adjust padding for better spacing on wider screens */
  .u-container-layout-1,
  .u-container-layout-2,
  .u-container-layout-3,
  .u-container-layout-4 {
    padding-left: 30px;
    padding-right: 30px;
  }

  /* Blog slider adjustments */
  .blog-slide {
    min-width: 33.33%;
    /* Display 3 cards at a time for wider screens */
  }


}





/* Mobile view (480px and below) */
@media (max-width: 480px) {
  .blog-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .slider-container {
    display: flex;
    flex-direction: column;
    /* Stack slides vertically */
    width: 100%;
    transition: none;
  }

  .blog-slide {
    width: 100%;
    /* Full width for each slide */
    margin-bottom: 10px;
    /* Adds spacing between each card */
  }

  .blog-card {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }



  .blog-content {
    padding-top: 10px;
  }

  .blog-content .category {
    font-size: 12px;
    color: #fffbfb;
  }

  .blog-content h3 {
    font-size: 16px;
    color: #333;
  }

  .blog-content p {
    font-size: 14px;
    color: #666;
  }

  .slider-controls {
    display: none;
    /* Hide the slider controls on mobile */
  }
}




.captcha-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
