﻿
/* Estilos para el contenido principal */
.hero-section {
    position: relative;
    padding: 5rem 0;
    text-align: center;
    color: white;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

/* Pseudo-elemento para el fondo */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/fondo-SASA.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.6);
    transform: scale(1);
    transition: transform 5s ease;
    z-index: -1;
}

.hero-section:hover::before {
    transform: scale(1.1);
}

/* Hero titles */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-section {
    padding: 5rem 0;
}

    .service-section:nth-child(odd) {
        background-color: #f8f9fa;
    }

.service-section2 {
    padding-top: 5rem;
}

    .service-section2:nth-child(odd) {
        background-color: #f8f9fa;
    }

.section-title {
    font-weight: 400;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.service-image {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 90%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem !important;
    margin-bottom: 0.5rem;
    text-align: left;
}

    .accordion-button:not(.collapsed) {
        background-color: #d90100;
        color: white;
        border-color: #d90100;
    }

    .accordion-button:focus {
        box-shadow: 0 0 0 0.25rem rgba(217, 1, 0, 0.25);
    }

.accordion-body {
    padding: 1.5rem;
    background-color: white;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
}

.leadership-badge {
    background-color: #d90100;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.icon-list {
    list-style: none;
    padding-left: 0;
}

.icon-list-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

    .icon-list-item:last-child {
        border-bottom: none;
    }

.icon-list-icon {
    color: #d90100;
    margin-right: 1rem;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.subtitle {
    color: #4e4e4e;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        min-height: 300px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .service-section, .service-section2 {
        padding: 3rem 0;
    }

    .subtitle {
        font-size: 1.25rem;
        text-align: center;
    }

    .service-image {
        width: 100%;
        margin-bottom: 2rem;
        max-width: 500px;
    }

    .leadership-badge {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
    /* Centrar texto en móviles */
    .text-center-mobile {
        text-align: center !important;
    }

    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .accordion-body {
        padding: 1rem;
    }

    .icon-list-item {
        padding: 0.5rem 0;
    }

        .icon-list-item span {
            text-align: left;
        }
    /* Asegurar que las imágenes no se desborden */
    .container img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .service-image {
        width: 100%;
    }
}
