.nosotros-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #f5f5f5;
    margin-bottom: 3rem;
    border-radius: 8px;
}

.hero-section h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .mission-vision {
        grid-template-columns: 1fr;
    }
}

.mission, .vision {
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mission h2, .vision h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.mission p, .vision p {
    color: #666;
    line-height: 1.6;
}

.valores {
    padding: 3rem 0;
}

.valores h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.valor {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.valor:hover {
    transform: translateY(-5px);
}

.valor h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.valor p {
    color: #666;
    line-height: 1.5;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 2rem;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nosotros-main {
        padding: 1rem;
        margin-top: 4.5rem;
    }

    .hero-section {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .valores-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-vision {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission, .vision {
        padding: 1.5rem;
    }
}