/* E-SQUARE VENTURES - ABOUT US PAGE STYLESHEET */

/* ------------------- */
/* About Hero Section  */
/* ------------------- */
.about-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?q=80&w=1596&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    color: var(--secondary-color);
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* ------------------- */
/* Our Story Section   */
/* ------------------- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.story-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.story-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

/* ------------------- */
/* Mission/Vision      */
/* ------------------- */
.mission-vision-section {
    background-color: var(--light-gray-color);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-card {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
}

.mission-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.mission-card p {
    line-height: 1.7;
    color: #555;
}

/* ------------------- */
/* Team Section        */
/* ------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover img {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.team-member h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-member span {
    color: var(--primary-color);
    font-weight: 500;
}


/* -------------------------- */
/* Responsive Adjustments     */
/* -------------------------- */
@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    .story-content .section-title {
        text-align: center;
    }
    .story-image {
        order: -1; /* Image appears first */
        margin-bottom: 40px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    .mission-grid, .team-grid {
        grid-template-columns: 1fr;
    }
}