/* Minimalist & Consistent About Page Styles (Refined Structure) */

/* 1. Standard Hero */
.about-hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    /* background-image: url('../img/Sacsayhuaman.jpg'); Moved to HTML inline */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 74px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    max-width: 800px;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.about-hero p {
    font-size: 1.2rem;
    font-weight: 400;
}

/* 2. Mission Section (New Position: Top) */
.mission-section {
    padding: 3rem 0;
    /* Reduced padding for compact view */
    background-color: var(--white);
    text-align: center;
}

.mission-container {
    max-width: 800px;
    margin: 0 auto;
}

.mission-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.mission-container h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.mission-container p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* 3. History/Intro Section (Text + Image) */
.about-intro-section {
    padding: 5rem 0;
    background-color: #fcfcfc;
    /* Subtle contrast */
}

.intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.intro-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.intro-text p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1rem;
}

.intro-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 4. Values Grid */
.values-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.section-header-about {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header-about h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

/* 5. Team Section (New) */
.team-section {
    padding: 5rem 0;
    background-color: #fcfcfc;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}

.team-member {
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.team-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    background-color: #f0f0f0;
    /* Gray background */
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-icon-placeholder {
    font-size: 3rem;
    color: #999;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.team-member span {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 968px) {
    .intro-container {
        grid-template-columns: 1fr;
    }

    .intro-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 40vh;
        min-height: 250px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }
}