/* Estilos específicos para la sección Institucional */

/* Encabezado de la sección institucional */
.institucional-header {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: url('institucional/page-header.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.institucional-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(79, 41, 135, 0.7); /* Color principal con transparencia */
}

.institucional-header .header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.institucional-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.institucional-header p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Secciones institucionales */
.institucional-section {
    margin-bottom: 80px;
}

.institucional-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

.institucional-content.reverse {
    flex-direction: row-reverse;
}

.institucional-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.institucional-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.institucional-text {
    flex: 1;
}

.institucional-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.institucional-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.institucional-text li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

/* Sección de objetivos */
.objetivos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.objetivo-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.objetivo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.objetivo-icon {
    width: 80px;
    height: 80px;
    background-color: #4F2987;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.objetivo-icon i {
    font-size: 2rem;
}

.objetivo-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #4F2987;
}

.objetivo-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Estilos responsivos */
@media (max-width: 992px) {
    .institucional-header {
        height: 350px;
    }
    
    .institucional-header h1 {
        font-size: 3rem;
    }
    
    .institucional-content {
        flex-direction: column;
    }
    
    .institucional-content.reverse {
        flex-direction: column;
    }
    
    .institucional-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .institucional-header {
        height: 300px;
    }
    
    .institucional-header h1 {
        font-size: 2.5rem;
    }
    
    .institucional-header p {
        font-size: 1rem;
    }
    
    .objetivos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .institucional-header {
        height: 250px;
    }
    
    .institucional-header h1 {
        font-size: 2rem;
    }
    
    .title-box h2.title {
        font-size: 2rem;
    }
    
    .institucional-text p,
    .institucional-text li {
        font-size: 1rem;
    }
    
    .objetivo-card {
        padding: 20px;
    }
    
    .objetivo-icon {
        width: 60px;
        height: 60px;
    }
    
    .objetivo-icon i {
        font-size: 1.5rem;
    }
    
    .objetivo-card h3 {
        font-size: 1.3rem;
    }
}