/* =========================================================
   ABOUT US PAGE (aboutUs.php) — mobile-first
   Loaded only on aboutUs.php; every rule is scoped to .about-page
   so it can't change the home page hero or other pages.
   Breakpoints: 576px large phones, 768px tablets, 1024px desktops
   ========================================================= */

.about-page {
    color: #2d261c;
}

.about-page h2 {
    font-size: 26px;
    margin: 0 0 16px;
}

.about-page section {
    padding: 40px 16px;
}

/* Every image fits its box, whatever its original size */
.about-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---------- Hero: slider with the title on top ---------- */
.about-page .about-banner {
    position: relative;
    height: 240px;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.about-page .about-banner .slider-container {
    position: absolute;
    inset: 0;
}
.about-page .about-banner .slider-wrapper {
    height: 100%;
}
.about-page .about-banner .slider-wrapper img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}
.about-page .about-banner .slider-container button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    z-index: 2;
}

.about-page .about-hero {
    position: relative;
    z-index: 1;
    padding: 0 60px;        /* keeps the text clear of the slider arrows */
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    pointer-events: none;   /* slider arrows under the text stay clickable */
}
.about-page .about-hero h1 {
    font-size: 30px;
    margin: 0 0 8px;
}
.about-page .about-hero p {
    font-size: 16px;
    margin: 0;
}

/* ---------- Story ---------- */
.about-page .about-story {
    display: grid;
    gap: 24px;
    align-items: center;
}
.about-page .story-text p {
    line-height: 1.6;
}
.about-page .story-image img {
    width: 100%;
    border-radius: 12px;
}

/* ---------- Mission ---------- */
.about-page .about-mission {
    text-align: center;
}
.about-page .about-mission p {
    max-width: 800px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.about-page .mission-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.about-page .mission-images img,
.about-page .gallery-container img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

/* ---------- Values ---------- */
.about-page .about-values {
    background: #f9f5ef;
    text-align: center;
}
.about-page .values-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}
.about-page .value-card {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
.about-page .value-card h3 {
    margin: 0 0 8px;
}
.about-page .value-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* ---------- Gallery ---------- */
.about-page .about-gallery {
    text-align: center;
}
.about-page .gallery-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

/* ---------- Contact CTA ---------- */
.about-page .about-contact {
    background: #f5f5f5;
    text-align: center;
}
.about-page .contact-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 32px;
    background: #f7b32b;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}
.about-page .contact-btn:hover {
    background: #e6a219;
}

/* =========================================================
   Large phones
   ========================================================= */
@media (min-width: 576px) {
    .about-page .about-banner {
        height: 280px;
    }
    .about-page .about-hero h1 {
        font-size: 38px;
    }
    .about-page .mission-images {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =========================================================
   Tablets
   ========================================================= */
@media (min-width: 768px) {
    .about-page section {
        padding: 60px 24px;
    }
    .about-page h2 {
        font-size: 30px;
    }
    .about-page .about-story {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .about-page .values-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
    .about-page .gallery-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
}

/* =========================================================
   Desktops
   ========================================================= */
@media (min-width: 1024px) {
    .about-page .about-banner {
        height: 350px;
    }
    .about-page .about-hero h1 {
        font-size: 50px;
        margin-bottom: 15px;
    }
    .about-page .about-hero p {
        font-size: 22px;
    }

    /* Keep long lines readable on wide screens */
    .about-page .about-story,
    .about-page .mission-images,
    .about-page .values-container,
    .about-page .gallery-container {
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }
}
