body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    overflow: hidden;
}

h4{
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

h5{
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 30px;
}

p{
    font-family: Arial, sans-serif;
    text-align: justify;
    text-justify: inter-word;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Adjust the opacity and color as needed */
    z-index: 0; /* Ensure it's layered between video and content */
}


.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.content.active {
    display: flex;
    opacity: 1;
}

/* Slide animation for the text content (left to right) */
@keyframes slideTextIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Slide animation for the image content (right to left) */
@keyframes slideImageIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Apply the animations when content becomes active */
.content.active .text-content {
    animation: slideTextIn 0.7s ease-in-out;
}

.content.active .image-content {
    animation: slideImageIn 0.7s ease-in-out;
}


.text-content {
    width: 1900px;
    max-width: 100%;
    margin-bottom: 20px;
    margin-right: -120px;
}

.text-content h2 {
    font-size: 4em;
    font-weight: bold;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}


.image-content img {
    max-width: 100%; /* Ensures the image does not exceed its container */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Scale down the image, maintaining aspect ratio */
    display: block;
    margin: 0 auto; /* Center the image */
}

.image-content {
    /* Remove or increase max-width */
    max-width: 100%; /* Allow the container to scale based on screen size */
    height: auto; /* Let the height adjust proportionally */
    display: flex;
    justify-content: center;
    margin-right: -350px;
    margin-top: 150px;
    align-items: center;
    overflow: hidden; /* Still hide overflow if the image is too large */
}


.carousel-images img {
    display: none;
}

.carousel {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 1;
}

/* Carousel navigation buttons */
.prev-btn, .next-btn {
    background-color: #e0e0e0; 
    border: none;
    border-radius: 50%;
    width: 90px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    outline: none;
    margin: 0 10px;
    margin-top: 100px;
    font-size: 1.5em;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), inset -2px -2px 5px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    color: #333;
}


/* Carousel images adjustments */
.carousel-images {
    width: 100%;
    height: 150px; /* Adjust as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


.carousel-images img {
    width: 100px;
    height: 100px;
    object-fit: cover; /* Scales and crops the image to fit exactly */
    margin: 0 5px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.carousel-images img.active {
    opacity: 1;
}

/* Responsive adjustments for larger screens */
@media (min-width: 768px) {
    .content {
        flex-direction: row;
        padding: 50px;
        text-align: left;
    }

    .text-content {
        max-width: 40%;
        margin-bottom: 0;
    }

    .image-content img {
        max-width: 80%; /* Adjust size for larger screens */
    }

    .carousel {
        bottom: 50px;
    }

    .carousel-images img {
        max-width: 100px; /* Consistent size for larger screens */
    }
}

.modal-content {
position: relative;
background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
border-radius: 10px; /* Optional: Softens the corners */
overflow: hidden; /* Ensures the blurred background stays within modal bounds */
}

.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px); 
    z-index: 1; 
}

.modal-header, .modal-body {
    position: relative;
    z-index: 2; /* Ensures content stays above the blurred background */
}


.back-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: transparent;
    border: 2px solid white; /* Adds an outline */
    color: white; /* Font color for visibility */
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10; /* Ensure it's above other elements */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.back-btn:hover {
    background-color: white; /* Change background on hover */
    color: black; /* Change font color on hover */
}


/* LAPTOP */
@media (min-width: 1367px) and (max-width: 1910px) {
.content {
flex-direction: row;
padding: 50px;
text-align: left;
}

.text-content {
max-width: 40%;
margin-bottom: 0;
}

.image-content img {
max-width: 80%; /* Adjust size for larger screens */
}

.carousel {
bottom: 50px;
}

.carousel-images img {
max-width: 100px; /* Consistent size for larger screens */
}
}

/* TABLET */
@media (min-width: 768px) and (max-width: 1366px) {
.prev-btn,
.next-btn {
background-color: #e0e0e0;
border: none;
border-radius: 50%;
width: 140px;
height: 70px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
outline: none;
margin: 0 10px;
margin-top: 100px;
font-size: 1.8em;
box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), inset -2px -2px 5px rgba(255, 255, 255, 0.8);
transition: all 0.3s ease;
color: #333;
}

.back-btn {
position: fixed;
bottom: 20px;
right: 20px;
background-color: transparent;
border: 2px solid white; /* Adds an outline */
color: white; /* Font color for visibility */
padding: 10px 20px;
font-size: 25px;
border-radius: 5px;
cursor: pointer;
z-index: 10; /* Ensure it's above other elements */
transition: background-color 0.3s ease, color 0.3s ease;
}

.back-btn:hover {
background-color: white; /* Change background on hover */
color: black; /* Change font color on hover */
}
}

/* MOBILE */
@media (max-width: 767px) {
.prev-btn,
.next-btn {
background-color: #e0e0e0;
border: none;
border-radius: 50%;
width: 70px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
outline: none;
margin: 0 10px;
margin-top: 100px;
font-size: 1.2em;
box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), inset -2px -2px 5px rgba(255, 255, 255, 0.8);
transition: all 0.3s ease;
color: #333;
}

.back-btn {
position: fixed;
bottom: 20px;
right: 20px;
background-color: transparent;
border: 2px solid white; /* Adds an outline */
color: white; /* Font color for visibility */
padding: 10px 20px;
font-size: 10px;
border-radius: 5px;
cursor: pointer;
z-index: 10; /* Ensure it's above other elements */
transition: background-color 0.3s ease, color 0.3s ease;
}

.back-btn:hover {
background-color: white; /* Change background on hover */
color: black; /* Change font color on hover */
}
}
