/* Cabecera degradada */
.header-section {
    background: linear-gradient(90deg, #007bff, #00c4cc);
    width: 100%;
    padding: 60px 0;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.header-content h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.h1-quienes-somos {
    font-family: 'SugarPieW00-Regular', sans-serif;
    -webkit-text-stroke: 1px #e0e0e0;
}

.header-content h3 {
    font-weight: 500;
}

.header-content .lead {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Sección con imagen de fondo y texto superpuesto */
.background-section {
    position: relative;
    padding: 60px 0;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    border-radius: 10px;
}

.container {
    position: relative;
    display: block; /* Cambiado de flex a block para no forzar centramiento */
}

.overlay-text {
    background: rgba(255, 255, 255, 0.925);
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.overlay-text h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
}

.overlay-text p {
    font-size: 1.4rem;
    line-height: 1.6;
}

/* Iconos con valores diferenciales */
.cards-quienes {
    margin-top: 5%;
    margin-bottom: 5%;
}

.icon-card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: transform 0.3s;
}

.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.icon-card h4 {
    margin: 15px 0 10px;
    color: #333;
}

.icon-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Llamada a la acción */
.cta-section {
    background: linear-gradient(135deg, #007bff, #00c4cc);
    color: #fff;
    width: 100%;
    margin: 0;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-section {
        padding: 40px 0;
    }
    .header-content h1 {
        font-size: 2rem;
    }
    .background-section {
        padding: 40px 0;
    }
    .overlay-text {
        padding: 20px;
    }
    .overlay-text h2 {
        font-size: 1.5rem;
    }
    .cta-title {
        font-size: 1.8rem;
    }
}