/* nosotros.css */
/* ESTILOS ESPECÍFICOS PARA NOSOTROS */
.nosotros-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.current-menu-item a {
    color: #007bff !important;
}

h1 {
    color: #004f64;
    text-align: center;
    margin: 40px 0;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Sección principal modificada */
.content-section {
    display: flex;
    gap: 60px;
    align-items: center;
    margin: 80px 0;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Contenedor de imagen */
.image-container {
    flex: 1;
    min-width: 400px;
    max-width: 500px;
}

.image-container img {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Bloque de texto */
.text-block {
    flex: 1;
    padding: 20px;
    text-align: left;
}

.text-block h2 {
    color: #1a3e6f;
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-family: 'Alegreya Sans SC', sans-serif;
    position: relative;
    padding-bottom: 15px;
}

.text-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #007bff;
}

.subheading {
    color: #555;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Alternar posiciones */
.image-left {
    flex-direction: row;
}

.image-right {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 992px) {
    .content-section {
        gap: 40px;
        padding: 30px;
    }

    .image-container {
        min-width: 300px;
    }

    .image-container img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .content-section {
        flex-direction: column !important;
        gap: 30px;
        padding: 25px;
        margin: 50px 0;
    }

    .image-container {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .image-container img {
        height: 250px;
    }

    .text-block {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .text-block h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .text-block h2 {
        font-size: 1.8rem;
    }

    .subheading {
        font-size: 1rem;
    }
}