/*
 * Corrección de estilos para la sección FAQ
 * Este CSS soluciona los problemas de visualización en la sección de preguntas frecuentes
 */

/* Estilo para los acordeones de preguntas frecuentes */
.faq-section .accordion-card {
    padding: 0 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.faq-section .accordion-card .card-header {
    border: none;
    background: transparent;
    padding: 0;
}

.faq-section .accordion-card .btn-link {
    display: block;
    text-align: left;
    width: 100%;
    padding: 15px 50px 15px 0;
    position: relative;
    font-weight: 500;
    color: #042237;
    text-decoration: none;
}

/* Estilizar los botones de expandir/colapsar */
.faq-section .accordion-card .btn-link:before {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-image: linear-gradient(to right, #042237 0%, #2be0f7 100%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.faq-section .accordion-card .collapsed:before {
    content: "+";
}

.faq-section .accordion-card .btn-link:not(.collapsed):before {
    content: "−";
    background-image: linear-gradient(to right, #2be0f7 0%, #042237 100%);
}

/* Estilo para el contenido desplegado */
.faq-section .accordian-inner .card-body {
    padding: 0 50px 20px 0;
    border-top: none;
}

.faq-section h4 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: #042237;
}

/* Estilizar el botón de contacto */
.faq-section .btn-contactanos {
    background-image: linear-gradient(to right, #042237 0%, #2be0f7 100%);
    border: none;
    color: white;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-decoration: none;
}

.faq-section .btn-contactanos:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-section .btn-contactanos .icon-circle {
    width: 25px;
    height: 25px;
    min-width: 25px;
    background-color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.faq-section .btn-contactanos .icon-circle i {
    color: #042237;
    font-size: 14px;
}

/* Ajustes responsive */
@media (max-width: 991px) {
    .faq-section .accordion-card {
        margin-bottom: 15px;
    }

    .faq-section .accordion-card .btn-link {
        padding: 12px 45px 12px 0;
    }

    .faq-section h4 {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .faq-section .accordion-card .btn-link:before {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 16px;
    }

    .faq-section .accordion-card .btn-link {
        padding: 10px 40px 10px 0;
    }

    .faq-section .accordian-inner .card-body {
        padding: 0 40px 15px 0;
    }
}/*
 * Corrección de estilos para la sección FAQ
 * Este CSS soluciona los problemas de visualización en la sección de preguntas frecuentes
 */

/* Estilo para los acordeones de preguntas frecuentes */
.faq-section .accordion-card {
    padding: 0 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.faq-section .accordion-card .card-header {
    border: none;
    background: transparent;
    padding: 0;
}

.faq-section .accordion-card .btn-link {
    display: block;
    text-align: left;
    width: 100%;
    padding: 15px 50px 15px 0;
    position: relative;
    font-weight: 500;
    color: #042237;
    text-decoration: none;
}

/* Estilizar los botones de expandir/colapsar */
.faq-section .accordion-card .btn-link:before {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-image: linear-gradient(to right, #042237 0%, #2be0f7 100%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.faq-section .accordion-card .collapsed:before {
    content: "+";
}

.faq-section .accordion-card .btn-link:not(.collapsed):before {
    content: "−";
    background-image: linear-gradient(to right, #2be0f7 0%, #042237 100%);
}

/* Estilo para el contenido desplegado */
.faq-section .accordian-inner .card-body {
    padding: 0 50px 20px 0;
    border-top: none;
}

.faq-section h4 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: #042237;
}

/* Estilizar el botón de contacto */
.faq-section .btn-contactanos {
    background-image: linear-gradient(to right, #042237 0%, #2be0f7 100%);
    border: none;
    color: white;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-decoration: none;
}

.faq-section .btn-contactanos:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-section .btn-contactanos .icon-circle {
    width: 25px;
    height: 25px;
    min-width: 25px;
    background-color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.faq-section .btn-contactanos .icon-circle i {
    color: #042237;
    font-size: 14px;
}

/* Ajustes responsive */
@media (max-width: 991px) {
    .faq-section .accordion-card {
        margin-bottom: 15px;
    }

    .faq-section .accordion-card .btn-link {
        padding: 12px 45px 12px 0;
    }

    .faq-section h4 {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .faq-section .accordion-card .btn-link:before {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 16px;
    }

    .faq-section .accordion-card .btn-link {
        padding: 10px 40px 10px 0;
    }

    .faq-section .accordian-inner .card-body {
        padding: 0 40px 15px 0;
    }
}