/* aboutUs.css — page-specific styles only, no global resets */

/* About Us and Why Choose Us Section */
.about-why {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    align-items: center;
    background-color: #fff;
}

.text-section {
    flex: 1;
    max-width: 50%;
}

.text-section h2 {
    font-size: 28px;
    color: orange;
    margin-bottom: 10px;
    position: relative;
}

.text-section h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: black;
    margin-top: 10px;
}

.text-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.text-section ul {
    list-style: disc;
    padding-left: 20px;
}

.text-section ul li {
    font-size: 18px;
    margin-bottom: 10px;
}

.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
}

.image-section img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

/* Gallery Section */
.gallery {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    padding: 20px;
    background-color: #fcae1e;
}

.image-box {
    width: 30%;
    height: 250px;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.image-box:hover {
    transform: scale(1.1);
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-why {
        flex-direction: column;
        padding: 25px 15px;
    }
    .text-section,
    .image-section {
        max-width: 100%;
        width: 100%;
    }
    .image-section {
        margin-top: 20px;
    }
    .gallery {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px;
    }
    .image-box {
        width: 90%;
    }
    .banner {
        min-height: 200px !important;
        height: auto !important;
    }
    .banner h1 {
        font-size: 28px !important;
    }
}

/* --- Mobile improvements --- */
@media (max-width: 575.98px) {
    .about-why {
        padding: 20px 12px;
    }
    .text-section h2 {
        font-size: 20px;
    }
    .text-section p,
    .text-section ul li {
        font-size: 14px;
    }
    .gallery {
        margin-top: 20px;
        gap: 12px;
    }
    .image-box {
        width: 95%;
        height: 180px;
    }
}
