.mfm {
    text-align: left;
    margin-left: 10px;
    padding: 15px;
}


/* Fix the size of team images */

/* Team Image Styles */
.team-img {
    width: 70%;
    min-height: 170px;
    max-height: 170px;
    object-fit: cover;
    border-radius: 30px;
    margin-top: 15px;
    justify-content: center;
    /* Center the images horizontally */
    align-items: center;
    /* Center the images vertically */
    border-bottom: 5px solid #c5d0ff;
    /* Bottom border */

}


/* Media query for smaller screens */
@media (max-width: 768px) {
    .team-img {
        justify-content: center;
        align-items: center;
        height: 250px;
        /* Increased height for smaller screens */
        border-bottom: 5px solid #000;
        /* Keep the border visible on small devices */
        border-radius: 10px;
        /* Apply consistent rounded corners for smaller devices */
    }

    .fade-img {
        border-radius: 10px;
        /* Slightly smaller border radius for smaller screens */
    }
}

/* Specific styles for the room-carousel- ROOM DETAILS PAGE IMAGE CONTROL */
.room-carousel .room-carousel-img {
    width: 100%;
    height: 430px;
    /* Default height for larger screens */
    object-fit: cover;
    /* Maintain aspect ratio */
    border-radius: 10px;
    /* Rounded corners */
    max-width: 100%;
    /* Prevent images from exceeding their container */
}

/* Media query for tablets (medium screens) */
@media (max-width: 1024px) {
    .room-carousel .room-carousel-img {
        width: 95%;
        /* Slightly reduce width to add spacing on tablets */
        height: 350px;
        /* Adjust height for better proportion on tablets */
        margin: 0 auto;
        /* Center align images */
        object-fit: cover;
        /* Prevent distortion */
        border-radius: 10px;
        /* Maintain consistent rounded corners */
    }
}

/* Media query for smaller screens (mobile) */
@media (max-width: 768px) {
    .room-carousel .room-carousel-img {
        width: 100%;
        /* Full width for smaller screens */
        height: 235px;
        /* Reduced height for mobiles */
        margin: 0 auto;
        /* Center align images */
        object-fit: cover;
        /* Maintain aspect ratio */
        border-radius: 10px;
        /* Consistent rounding for smaller devices */
    }
}

/* Additional adjustments for better responsiveness */
.room-carousel .swiper-pagination {
    bottom: 10px;
    /* Position dots below the carousel */
    text-align: center;
    /* Center align dots */
}

.room-carousel .carousel-inner {
    border-radius: 10px;
    /* Maintain consistent rounding for inner carousel */
}

#roomCarousel .carousel-indicators {
    position: static;
    /* Place indicators below the image */
    margin-top: 10px;
    /* Add spacing between indicators and image */
    text-align: center;
    /* Center the dots */
}

.room-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    /* Circular dots */
    background-color: #000;
    /* Default dot color */
    opacity: 0.5;
    /* Semi-transparent for unselected dots */
    border: none;
    transition: background-color 0.3s, opacity 0.3s;
    /* Smooth transition effects */
}

.room-carousel .carousel-indicators button.active {
    background-color: #007bff;
    /* Highlight color for active dot */
    opacity: 1;
    /* Fully visible */
}



/* ABOUT SECTION */

/* Ensures that images are responsive */
.box img {
    min-height: 110px;
    max-width: 120px !important;
    max-height: 120px !important;
    object-fit: contain !important;
}


/* Ensure the container is structured properly */
.custom-img {
    width: 150px;
    height: 150px;
    /* Fixed height of 120px */
    object-fit: contain;
    /* Preserve aspect ratio, prevent distortion */
    margin-top: 5px;
    /* Optional: Adds 5px top margin */
}



/* .image-abt Styles */
.image-abt {
    position: relative;
    width: 100%;
    height: 450px;
    /* Default height for larger devices */
    overflow: hidden;
    /* Ensures any overflow from images is hidden */
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #383838;
    border-radius: 15px;
}

/* Fade-in image styles */
.fade-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Maintain aspect ratio */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border: 2px solid #3c3c3c;
    border-radius: 15px;
    box-shadow: 0px 8px 12px rgba(255, 42, 42, 0.3);
}

/* Ensure the first image is visible */
.fade-image:first-child {
    opacity: 1;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .image-abt {
        height: 250px;
        /* Reduce height for mobile devices */
        border-radius: 10px;
    }

    .fade-image {
        border-radius: 10px;
        /* Match border radius */
    }

    /* Adjust the fade-in images for mobile */
    .fade-image {
        object-fit: cover;
        /* Ensure images cover the container */
        width: 100%;
        height: 100%;
    }

    /* Ensure images inside the .image-abt adjust properly */
    .image-abt img {
        width: 100%;
        /* Ensure full width */
        height: 100%;
        /* Ensure height fills the container */
        object-fit: cover;
        /* Maintain aspect ratio */
    }
}

/* Additional Adjustment for Extra Small Screens */
@media (max-width: 576px) {
    .image-abt {
        height: 200px;
        /* Further reduce height for very small devices */
        border-radius: 8px;
    }

    .fade-image {
        border-radius: 8px;
        /* Match smaller radius */
    }
}



/* .team-img Styles */
.team-img {
    width: 200px;
    height: auto;
    object-fit: cover;
    /* Maintain aspect ratio and prevent distortion */
    border-radius: 8px;
    /* Optional: Adds rounded corners */
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .team-img {
        width: 150px;
        /* Ensure image takes full width */
        height: auto;
        /* Adjust height proportionally */
        object-fit: cover;
        /* Ensure images cover the container */
    }
}

/* Additional Adjustment for Extra Small Screens */
@media (max-width: 576px) {
    .team-img {
        width: 100px;
        /* Ensure full width on very small devices */
        height: auto;
        /* Maintain aspect ratio */
    }
}

/* *********************************** */



