/* Styles specific to the About Us page */

/* Adjustments for the hero section on the About Us page */
.hero.about-hero {
    height: 350px; /* Slightly shorter hero for About Us */
    justify-content: center; /* Center content horizontally */
    text-align: center; /* Center text */
    padding: 0 50px; /* Adjust padding */
    background: url('../upload/about.png') center/contain no-repeat; /* Use about.png and contain to zoom out */
    background-size: 120%; /* Adjust as needed to zoom out further */
}

.hero.about-hero .hero-content {
    max-width: 800px; /* Wider content area for About Us hero */
}

.hero.about-hero h1 {
    font-size: 3.5rem; /* Slightly smaller heading for About Us hero */
    margin-bottom: 15px;
}

.hero.about-hero p {
    font-size: 1.2rem; /* Slightly smaller paragraph for About Us hero */
    margin-bottom: 0;
}

/* Container for main content */
.about-page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Section styling */
.about-content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 60px;
    align-items: stretch; /* Ensure children stretch to same height */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* Apply shadow to the whole connected block */
    border-radius: 12px; /* Apply border-radius to the whole connected block */
    overflow: hidden; /* Hide overflow for rounded corners */
}

.about-content.reverse {
    flex-direction: row-reverse;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex; /* Use flex to center image vertically if needed */
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8; /* Light background for image section */
}

.about-image img {
    width: 100%;
    height: 100%; /* Make image take full height of its container */
    object-fit: cover; /* Cover the area without distortion */
    border-radius: 0; /* Remove individual border-radius */
    box-shadow: none; /* Remove individual shadow */
}

.about-text {
    flex: 2;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 0; /* Remove individual border-radius */
    box-shadow: none; /* Remove individual shadow */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center text vertically */
}

.about-text h2 {
    color: var(--dark-brown); /* Use dark brown for headings */
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #555; /* Slightly lighter text color for paragraphs */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero.about-hero {
        height: 300px;
        padding: 0 30px;
    }
    .hero.about-hero h1 {
        font-size: 3rem;
    }
    .hero.about-hero p {
        font-size: 1rem;
    }
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    .about-content.reverse {
        flex-direction: column;
    }
    .about-text {
        padding: 25px;
    }
    .about-text h2 {
        font-size: 1.8rem;
    }
    .about-text p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero.about-hero {
        height: 250px;
        padding: 0 20px;
    }
    .hero.about-hero h1 {
        font-size: 2.5rem;
    }
    .hero.about-hero p {
        font-size: 0.9rem;
    }
    .about-page-container {
        margin: 30px auto;
        padding: 0 15px;
    }
    .about-content {
        gap: 20px;
        margin-bottom: 40px;
    }
    .about-image {
        min-width: unset;
    }
    .about-text {
        padding: 20px;
    }
    .about-text h2 {
        font-size: 1.6rem;
    }
    .about-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero.about-hero {
        height: 200px;
    }
    .hero.about-hero h1 {
        font-size: 2rem;
    }
    .hero.about-hero p {
        display: none; /* Hide subtitle on very small screens */
    }
    .about-page-container {
        margin: 20px auto;
        padding: 0 10px;
    }
    .about-content {
        margin-bottom: 30px;
    }
    .about-text h2 {
        font-size: 1.4rem;
    }
}
