/* Hero Section */
.about-hero {
    background: #2a8a98;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-hero p {
    font-size: 1.2rem;
}

/* Mission Statement */
.about-mission {
    text-align: center;
    padding: 3rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-mission h2 {
    font-size: 2rem;
    color: #2a8a98;
}

.about-mission p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Team Section */
.about-team {
    background: white;
    text-align: center;
    padding: 3rem 1rem;
}

.about-team h2 {
    font-size: 2rem;
    color: #2a8a98;
    margin-bottom: 2rem;
}

.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.team-member {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 280px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-member h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 0;
}

.team-member p {
    font-size: 1rem;
    color: #777;
}

/* Call to Action */
.about-cta {
    text-align: center;
    padding: 3rem 1rem;
    background: #2a8a98;
    color: white;
}

.about-cta h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.about-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.about-cta-button {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1rem;
    background: #ffd700;
    color: #2a8a98;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.3s ease-in-out;
}

.about-cta-button:hover {
    background: #ffc107;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-container {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Responsive Tweaks for About Us Page --- */

/* Tablets (768px and below) */
@media (max-width: 768px) {
    .about-hero {
        padding: 2rem 1rem;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1rem;
    }

    .about-mission {
        padding: 2rem 1rem;
    }

    .about-mission h2,
    .about-team h2,
    .about-cta h2 {
        font-size: 1.8rem;
    }

    .about-mission p,
    .about-cta p {
        font-size: 1rem;
    }

    .team-container {
        flex-direction: column;
        align-items: center;
    }

    .team-member {
        width: 90%;
        max-width: 320px;
    }

    .about-cta {
        padding: 2rem 1rem;
    }

    .about-cta-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobiles (480px and below) */
@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 1.7rem;
    }

    .about-hero p {
        font-size: 0.95rem;
    }

    .about-mission h2,
    .about-team h2,
    .about-cta h2 {
        font-size: 1.6rem;
    }

    .team-member {
        padding: 1.2rem;
    }

    .team-member img {
        width: 100px;
        height: 100px;
    }

    .about-cta-button {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    .about-hero h1 {
        font-size: 1.5rem;
    }

    .about-hero p,
    .about-mission p,
    .about-cta p {
        font-size: 0.85rem;
    }

    .about-cta-button {
        font-size: 0.9rem;
    }
}
