/* ======================================= */
/* ---        About Us Page Styles     --- */
/* ======================================= */

/* --- Page Header Section --- */
.page-header {
    position: relative; /* Needed for pseudo-element positioning */
    padding: 6rem 0; /* Increased padding for better visual space */
    text-align: center;
    margin-top: var(--header-height);
    color: var(--white); /* Text color changed to white for contrast */

    /* Background Image */
    background-image: url('https://images.unsplash.com/photo-1448630360428-65456885c650?q=80&w=1167&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
}

/* Overlay to make text readable */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 1;
}

/* Ensure text is above the overlay */
.page-header h1,
.page-header p {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--white);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--white);
}

/* --- Our Story Section --- */
.our-story {
    padding: 5rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.story-content h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.story-content p {
    color: var(--light-text);
    margin-bottom: 2rem;
}

/* --- Meet the Team Section --- */
.team-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.team-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: top;
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.team-info p {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.team-socials a {
    color: var(--dark-text);
    font-size: 1.2rem;
    margin: 0 0.5rem;
}

.team-socials a:hover {
    color: var(--primary-green);
}


/* --- Responsive Adjustments for About Page --- */
@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr; /* Stack story columns on mobile */
    }
}