/* Estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #003366;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Header con imagen */
.hero {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color:  #003366;
    padding: 0 1.5rem;
    margin-bottom: 1x; /* Espacio entre header y contenido */
    margin: 30px 0 20px 0; 
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    color: #000; 
}

/* Contenedor principal */
.main-container {
    max-width: 1400px; /* Más ancho para tarjetas más grandes */
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Título centrado con línea */
.section-title {
    text-align: center;
    margin-bottom: 1rem; /* Reducido el espacio bajo el título */
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #003366;
    border-radius: 2px;
}

/* Tarjetas más anchas y con menos espacio arriba */
.comites-container {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Espacio entre tarjetas */
    margin-bottom: 4rem;
    margin-top: 0; /* Eliminamos margen superior */
}

.comite-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%; /* Ocupa todo el ancho disponible */
    
}

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

.card-image {
    height: 280px; /* Más grande */
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-content {
    padding: 2.5rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 51, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #003366;
    flex-shrink: 0;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #003366;
}

.card-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-top: 0.3rem;
}

.card-body {
    margin-bottom: 2rem;
}

.card-description {  
    color: #000; 
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #003366;
    flex: 1;
    min-width: 250px;
}

.detail-icon {
    color: #003366;
    font-size: 1.5rem;
    margin-top: 3px;
}

.detail-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.detail-content p {
    color: #555;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1200px) {
    .main-container {
        max-width: 100%;
        padding: 0 2rem;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .card-content {
        padding: 2rem;
    }
    
    .card-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 250px;
        margin-bottom: 30px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .comites-container {
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 220px;
        margin-bottom: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .card-image {
        height: 200px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .detail-item {
        min-width: 100%;
    }
    
    .main-container {
        padding: 0 1rem;
    }
}