.coverimage img{
    width: 100%;
     height: 100vh; 
    object-fit: cover;
}

.coverimage{
    margin-top: -7%;
}

@media  (max-width: 1024px) {
  

    .coverimage{
        margin-top: -11% !important;
  
    }
  
    
  }
  
  @media  (max-width: 768px) {
    /* For small screens, adjust the font size and the image layout */
    .coverimage{
        margin-top: -15% !important;;
        
    }
  
    
  }
  
  @media  (max-width: 480px) {
    /* For very small screens, further reduce the text size */
    .coverimage{
        margin-top: -26% !important;;
    }
  
    
  }

.content-box {
    display: flex;
    align-items: center;
    background-color: #F2F5F6; /* Light background color */
    
    margin-left: 200px; /* Move the div to the right */
}

.content-box img {
    width: 50%; /* Adjust image width */
    height: 70vh; /* Maintain aspect ratio */
    margin-right: 20px; /* Add space between image and text */
     /* Optional: Add rounded corners to the image */
}

.text-content {
    width: 50%; /* Match image width */
}

.text-content h2 {
    margin-top: 0; /* Remove default top margin */
    color: #333; /* Darker text color */
    font-family: 'Swanky Special',sans-serif;
}

.text-content p {
    line-height: 1.9; /* Improve text readability */
    color: #555; /* Subtle text color */
    font-family: 'spectral',sans-serif;
    font-size: 16px;
    margin-top: 90px;
}

@media (max-width: 1024px) {
    .content-box {
        flex-direction: column; /* Stack image and text on smaller screens */
        text-align: center; /* Center align text */
        margin-left: 0; /* Reset margin for smaller screens */
    }

    .content-box img {
        width:auto;      /* Ensures width scales naturally */
             /* Prevents the image from enlarging */
        max-height: 100% !important; /* Optional: ensures the image doesn't exceed its natural height */
        margin-bottom: 20px; /* Add space below the image */
    }
    

    .text-content {
        width: 100%; /* Full width for text on smaller screens */
    }
}

.content-wrapper {
    display: flex;
    
    justify-content: space-between; /* Space out text and image */
    align-items: center; /* Vertically center the items */
    gap: 20px; /* Space between text and image */
    padding: 20px;

}

.text-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.text-section h2, .text-section p {
    margin: 0 0 20px 0;
    text-align: center;
}

.image-section {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F2F5F6;
    
}

.image-section img {
    width: 80%;
    height: auto;
    object-fit: cover;
    
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .text-section {
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .image-section {
        padding: 30px;
    }

    .image-section img {
        width: 100%;
    }

    .text-section h2{
        font-size: 27px;
    }
}

.carousel-wrapper {
    margin-top: 45px;
    margin-bottom: 30px;
    width: 100%; /* Set to desired width */
    overflow: hidden; /* Hide anything outside the container */
  }
  
  .carousel {
    display: flex;
    animation: scroll 20s linear infinite; /* Continuous scrolling with animation */
  }
  
  .carousel img {
    width: 100%; /* Ensure each image takes up the full width */
    height: 45vh; /* Maintain aspect ratio */
    padding-right: 5px;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0); /* Start at the beginning */
    }
    100% {
      transform: translateX(-100%); /* Scroll to the end */
    }
  }
  