.about-us4-section {
    padding: 50px 0;
    background-color: #000000;
    color: #ffffff;
    overflow: hidden;
}

.about-us4-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-us4-content {
    flex: 1.2;
    /* Give more weight to text side to prevent stretching images */
}

.about-us4-section .title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25; /* Match Home Page */
    margin-bottom: 25px;
    color: #ffffff;
    max-width: 500px;
}

.about-us4-section .title .text-secondary {
    color: #54b248;
}

.about-us4-section .desc {
    font-size: 18px;
    line-height: 1.7; /* Match Home Page */
    color: #ffffff;
    font-weight: 400;
    max-width: 500px;
}

/* Gallery Styling - Fixed to match the 'Tall' look from screenshot */
.about-us4-gallery {
    flex: 1.8;
    display: flex;
    gap: 15px;
    height: 450px;
    /* Force height to ensure tall aspect ratio */
}

.main-image-wrapper {
    flex: 2;
}

.side-images-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: flex-end;
    /* Dono images niche se ayengi */
    align-items: flex-start;
    /* Upar waali image ab left side se align hogi */
}

.about-us4-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    /* Matches the rounded look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-us4-img-side {
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.about-us4-img-side.img-top {
    height: 25%;
    /* Chhoti height */
    width: 70%;
    /* Width kam kar di */
}

.about-us4-img-side.img-bottom {
    height: 45%;
    /* Bada size */
    width: 100%;
    /* Full width */
}

/* Responsiveness */
@media (max-width: 1024px) {
    .about-us4-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-us4-title {
        font-size: 32px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .about-us4-description {
        max-width: 100%;
    }

    .about-us4-gallery {
        width: 100%;
        height: 400px; /* Reduced fixed height for tablets */
    }
}

@media (max-width: 768px) {
    .about-us4-gallery {
        height: auto; /* Remove fixed height on small screens */
        flex-direction: column;
        gap: 20px;
    }

    .main-image-wrapper, .side-images-wrapper {
        flex: none;
        width: 100%;
    }

    .side-images-wrapper {
        flex-direction: row;
        height: 200px;
        align-items: stretch;
        gap: 15px; /* Added consistent gap for mobile side-by-side images */
    }

    .about-us4-img-side.img-top,
    .about-us4-img-side.img-bottom {
        width: calc(50% - 7.5px); /* Ensure accurate 50% split with gap */
        height: 100%;
    }
}

@media (max-width: 480px) {
    .about-us4-gallery {
        gap: 10px; /* Slimmer gaps for very small screens */
    }
    
    .side-images-wrapper {
        height: 150px;
        gap: 10px;
    }

    .about-us4-img-side.img-top,
    .about-us4-img-side.img-bottom {
        width: calc(50% - 5px);
    }
    
    .about-us4-title {
        font-size: 28px;
    }
}
