﻿/* =========================
   ABOUT – BASE (DESKTOP)
   ========================= */

/* HERO */
.mission-landing {
    background-color: #b8c6b3;
    padding: 85px 100px;
    gap: 100px;
    align-items: flex-start;
    justify-content: space-between;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

    .mission-landing h1 {
        font-size: 2.4rem;
        font-weight: 800;
        margin-bottom: 0.8rem;
    }

    .mission-landing > p {
        max-width: 800px;
        line-height: 1.6;
    }

/* Mission / Vision */
.mission-vision-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    margin-top: 40px;
}

.mission-section h4,
.vision-section h4 {
    margin-bottom: 0.75rem;
}

.mission-section p,
.vision-section p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Value cards */
.mission-cards,
.vision-cards {
    list-style: none;
    padding: 16px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 16px;
}

.values-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTACT US */
.contact-section {
    background: #f6f2e7;
    padding: 50px 40px;
    text-align: center;
}

    .contact-section h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .contact-section p {
        max-width: 700px;
        margin: 0 auto 30px;
        color: #444;
    }

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

    .contact-form .form-group {
        margin-bottom: 20px;
    }

    .contact-form label {
        display: block;
        font-weight: 600;
        margin-bottom: 6px;
    }

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.contact-btn {
    display: block;
    margin: 20px auto 0;
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 8px;
}

/* TEAM SECTION – DESKTOP */
.team-section {
    background-color: #f5e1c2;
    padding: 80px 100px;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

    .team-section h2 {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }

.team-intro {
    max-width: 720px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}

/* Team stats – 3 in a row on desktop */
.team-stats {
    list-style: none;
    padding: 0;
    margin: 2rem 0 3rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
    font-weight: 600;
}

    .team-stats li span {
        display: block;
        font-size: 1.1rem;
    }

/* Team cards – 3 in a row on desktop */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* always 3 columns */
    gap: 32px;
}

.team-card {
    background-color: #fff7e6;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.team-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top; /* keeps heads visible */
    border-radius: 14px;
    margin-bottom: 16px;
}

.team-card h4 {
    margin: 0;
}

.team-card .role {
    margin: 4px 0 12px;
    font-weight: 600;
    color: #6a5a3d;
}

.team-card h6 {
    margin: 0 0 4px;
    font-weight: 600;
}

.team-contact {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    text-align: left;
}

    .team-contact li {
        margin-bottom: 6px;
        font-size: 0.95rem;
    }

/* TESTIMONIALS */
.visitors-card {
    padding: 60px 80px;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #b8c6b3;
}

    .visitors-card h2 {
        font-size: 2rem;
        margin-bottom: 48px;
    }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: stretch;
    margin-bottom: 48px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 24px 26px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .testimonial-card p {
        margin-bottom: 12px;
        line-height: 1.6;
    }

.testimonial-name {
    margin-top: auto;
    font-weight: 600;
}

.visitors-card .btn {
    margin-top: 8px;
}

/* =========================
   MOBILE (0–767px)
   ========================= */
@media (max-width: 767px) {

    /* Hero */
    .mission-landing {
        padding: 40px 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

        .mission-landing h1 {
            font-size: 1.9rem;
            margin-bottom: 0.6rem;
        }

        .mission-landing > p {
            max-width: 600px;
            font-size: 0.95rem;
            line-height: 1.5;
        }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 24px;
    }

    .mission-cards,
    .vision-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0;
    }

    .values-card {
        padding: 14px 18px;
        font-size: 0.9rem;
    }

    /* Contact */
    .contact-section {
        padding: 40px 20px;
    }

    .contact-form {
        max-width: 100%;
    }

    .contact-btn {
        width: 100%;
        max-width: 260px;
    }

    /* Team – stacked */
    .team-section {
        padding: 40px 20px;
    }

    .team-intro {
        margin: 0 auto 1.5rem;
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .team-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin: 1.5rem 0 2rem;
        font-size: 0.95rem;
    }

        .team-stats li span {
            font-size: 1rem;
        }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .team-card {
        padding: 16px;
        border-radius: 14px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }

    .team-photo {
        height: 200px;
    }

    .team-card h4 {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }

    .team-card .role {
        margin-bottom: 10px;
        font-size: 0.9rem;
    }

    .team-contact li {
        font-size: 0.9rem;
    }

    /* Testimonials */
    .visitors-card {
        padding: 40px 24px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================
   TABLET (768–1023px)
   ========================= */
@media (min-width: 768px) and (max-width: 1023px) {

    .mission-landing {
        padding: 60px 40px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr; /* mission + vision stacked */
        gap: 40px;
    }

    .mission-cards,
    .vision-cards {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 14px;
    }

    .contact-section {
        padding: 50px 40px;
    }

    /* Team – stacked on tablet too */
    .team-section {
        padding: 60px 40px;
    }

    .team-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin: 1.5rem 0 2.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .team-photo {
        height: 210px;
    }

    .visitors-card {
        padding: 50px 40px;
    }
}
