.elementor-24 .elementor-element.elementor-element-9453627{--display:flex;--min-height:507px;}.elementor-24 .elementor-element.elementor-element-9453627:not(.elementor-motion-effects-element-type-background), .elementor-24 .elementor-element.elementor-element-9453627 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://metrolyfhospital.com/wp-content/uploads/2026/11/Modern-Medical-Departments-Banner-1.png");background-repeat:no-repeat;background-size:cover;}.elementor-24 .elementor-element.elementor-element-726ef61{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-149327d *//* =====================================
   METRO LYF HOSPITAL DEPARTMENTS
   ===================================== */

.mlh-departments {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

.mlh-departments *,
.mlh-departments *::before,
.mlh-departments *::after {
    box-sizing: border-box;
}

/* Department Rows */

.mlh-department-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 45px;
    width: 100%;
    margin-bottom: 40px;
}

/* Alternate Image and Text */

.mlh-department-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Image Container */

.mlh-department-image {
    flex: 1 1 50%;
    min-width: 0;
    height: 320px;
    overflow: hidden;
    border-radius: 14px;
}

/* Department Images */

.mlh-department-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    transition: transform 0.4s ease;
}

/* Image Hover Effect */

.mlh-department-image img:hover {
    transform: scale(1.04);
}

/* Text Container */

.mlh-department-content {
    flex: 1 1 50%;
    min-width: 0;
}

/* Department Titles */

.mlh-department-content h3 {
    color: #003B5C;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 15px;
}

/* Department Descriptions */

.mlh-department-content p {
    color: #003B5C;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    margin: 0;
}

/* Sea Green Accent */

.mlh-department-content h3::after {
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    background-color: #00A6A6;
    border-radius: 5px;
    margin-top: 10px;
}

/* Tablet Layout */

@media (max-width: 1024px) {

    .mlh-department-row {
        gap: 30px;
        margin-bottom: 35px;
    }

    .mlh-department-image {
        height: 280px;
    }

    .mlh-department-content h3 {
        font-size: 23px;
    }

    .mlh-department-content p {
        font-size: 15px;
    }
}

/* Mobile Layout */

@media (max-width: 768px) {

    .mlh-departments {
        padding: 20px 15px;
    }

    .mlh-department-row,
    .mlh-department-row:nth-child(even) {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin-bottom: 45px;
    }

    .mlh-department-image {
        width: 100%;
        flex: none;
        height: 260px;
    }

    .mlh-department-content {
        width: 100%;
        flex: none;
    }

    .mlh-department-content h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .mlh-department-content p {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* Small Mobile Screens */

@media (max-width: 480px) {

    .mlh-department-image {
        height: 220px;
    }

    .mlh-department-content h3 {
        font-size: 20px;
    }

    .mlh-department-content p {
        font-size: 14px;
    }
}/* End custom CSS */