/* Importación de la fuente desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@100;300;400;500;600;700&display=swap');

/* =============== VARIABLES GLOBALES =============== */
:root {
    --primary: #2c3e50 !important;
    --secondary: #833AB4;
    --accent: #FA1E21;
    --vaccine: #FCB045;
    --accent-dark: #D32D60;
    --light: #ffffff;
    --dark: #000000;
    --navbar-height: 73px;
    --placeholder-color: #000;
    --scroll-offset: calc(var(--navbar-height) + 20px); /* Espacio adicional */
}

/* =============== RESET Y ESTILOS BASE =============== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-offset);
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    background: #fff;
    line-height: 1.6;
    padding-top: var(--navbar-height);
    overflow-x: hidden;
    padding-top: var(--navbar-height);
}


body {
    font-family: 'DM Sans', sans-serif;
    color: #000;
}

.texto2columnas {
    font-size: 18px !important;
    line-height: normal !important;
}

.small {
    font-size: small !important;
    line-height: normal !important;
}


/* Encabezados */
h1 {
    font-size: 32px;
    font-weight: 700; /* Bold */
    color: #000;
}

h2 {
    font-size: 18px;
    font-weight: 700; /* Bold */
    color: #000;
}

h3 {
    font-size: 23px;
    font-weight: 700; /* Bold */
    color: #96359C;
}


/* Parrafo en sección hero */
.hero p {
    font-size: 14px !important;
    font-weight: 400; /* Regular */
    font-family: 'DM Sans', sans-serif;
    line-height: normal !important;
}

/* Titular */
.titular {
    font-size: 26px;
    font-weight: 600; /* Semibold */
    color: #000;
    font-family: 'DM Sans', sans-serif;
}

/* Parrafos generales */
p {
    font-size: 20px;
    font-weight: 400; /* Regular */
    font-family: 'DM Sans', sans-serif;
}
/* =============== MODAL =============== */
.modal-terminos-texto {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400; /* regular */
    font-size: 10px;
    color: #000000;
    line-height: 1.4;
}

.textomain {
    font-size: 20px !important;
    line-height: normal !important;
}

.h26 {
    font-size: 26px !important;
    line-height: normal !important;
}

.btn-option {
    background-color: var(--light) !important;
    border: 1px solid #96359C !important;
    color: var(--dark) !important;
    transition: all 0.3s ease;
}

    /* Estilo para los botones en estado hover */
    .btn-option:hover {
        background-color: #96359C !important;
        border: 1px solid #96359C !important;
        color: var(--light) !important;
    }




/* =============== NAVBAR PRINCIPAL =============== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 997;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

    .navbar .container {
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    height: 100%;
}

    .navbar-brand img {
        height: 73px;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .navbar-brand:hover img {
        transform: scale(1.05);
    }

/* Items del menú */
.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Botón hamburguesa */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.25rem;
    z-index: 999;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

/* Menú colapsado (mobile) */
@media (max-width: 991.98px) {
    .navbar {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .navbar-brand img {
        height: 73px;
    }

    .navbar-collapse {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: #fff !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        z-index: 998;
        padding: 1rem;
        max-height: calc(100vh - var(--navbar-height));
        overflow-y: auto;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.4s ease;
    }

        .navbar-collapse.show {
            transform: translateY(0);
            opacity: 1;
        }

    .navbar-nav {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        font-size: 15px;
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        width: 100%;
        color: var(--primary) !important;
        background: transparent;
        border-radius: 0;
        border: none;
    }

        .nav-link.active::after {
            display: none;
        }
}

/* =============== ESTILOS PC (>= 992px) =============== */
@media (min-width: 992px) {
    .navbar {
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
        background-color: #fff !important;
    }

    .navbar-brand {
        display: flex;
        align-items: center;
    }

        .navbar-brand img {
            height: 73px;
        }

    .nav-link {
        font-size: 15px;
        background-color: var(--accent-dark);
        color: var(--light) !important;
        padding: 0.5rem 1.25rem !important;
        border-radius: 30px;
        border: 1px solid transparent;
        transition: all 0.3s ease;
        width: 220px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: normal;
    }

        .nav-link:hover {
            background-color: var(--light);
            color: var(--accent-dark) !important;
            border: 1px solid var(--accent-dark);
        }

        .nav-link.active {
            background-color: var(--accent-dark);
            color: var(--light) !important;
        }

            .nav-link.active::after {
                display: none;
            }
}


/* =============== ESTILOS PC (>= 992px) =============== */
@media (min-width: 992px) {
    .navbar {
        padding: 0.5rem 2rem;
        background-color: #fff !important;
    }

    .nav-link {
        font-size: 15px;
        background-color: var(--accent-dark);
        color: var(--light) !important;
        padding: 0.5rem 1.25rem !important;
        border-radius: 30px;
        border: 1px solid transparent;
        transition: all 0.3s ease;
        width: 220px; /* Ancho más largo para los botones */
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .nav-link:hover {
            background-color: var(--light);
            color: var(--accent-dark) !important;
            border: 1px solid var(--accent-dark);
        }

        .nav-link.active {
            background-color: var(--accent-dark);
            color: var(--light) !important;
        }

            .nav-link.active::after {
                display: none;
            }
}


/* =============== CARDS INICIALES =============== */

.custom-reminder-card {
    border-radius: 40px;
    border: 2px solid #D1D2D4;
    overflow: hidden; /* Para que el header con border-radius no sobresalga */
}

.custom-card-header {
    background-color: #D1D2D4;
    padding: 15px 20px;
    font-size: 24px;
    color: #000;
    width: 100%;
}

    .custom-card-header i {
        font-size: 24px;
        color: #000;
    }

    .custom-card-header .card-title {
        font-size: 28px !important;
        color: #000;
        margin: 0;
        line-height: 28px !important;
    }

.custom-card-text {
    font-size: 16px !important;
    color: #000;
    line-height: normal;
}

.btn .fas {
    font-size: 18px;
}

.btn span {
    font-size: 16px;
}
/* Estilos del botón */
.custom-btn {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    border-radius: 30px;
    font-size: 14px;
    line-height: normal;
    color: var(--light);
    border: 1px solid var(--accent-dark);
    background-color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

    .custom-btn i {
        color: var(--light);
    }

    .custom-btn span {
        color: var(--light);
        text-align: center;
    }

    /* Estado hover */
    .custom-btn:hover {
        background-color: var(--light);
        color: var(--accent-dark);
    }

        .custom-btn:hover i {
            color: var(--accent-dark);
        }

        .custom-btn:hover span {
            color: var(--accent-dark);
        }


/* =============== SECCIÓN INICIAL =============== */

.por-que {
    position: relative;
    background: url('~/assents/img/hero.png') no-repeat center center;
    background-size: cover;
    min-height: 500px;
    padding-bottom: 27px; /* Espacio para el borde inferior */
}

    .por-que p {
        font-size: 16px !important;
        font-weight: 400; /* Regular */
        font-family: 'DM Sans', sans-serif;
        line-height: normal !important;
    }

    .por-que h3 {
        font-size: 24px !important;
        font-weight: bold;
        line-height: normal !important;
        color: #96359C !important;
        text-align: center;
    }

    .por-que::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 27px; /* Altura del borde degradado */
        background: linear-gradient(90deg, #FCA642 0%, #FA1E21 46%, #96359C 100%);
        z-index: 10; /* Asegura que esté por encima de otros elementos si es necesario */
    }

    .por-que .container {
        position: relative;
        z-index: 1;
    }

/* Ajustes para dispositivos con pantalla más pequeña */
@media (max-width: 991.98px) {
    .por-que {
        background: url('assents/img/hero-movil.png') no-repeat center center;
        padding-bottom: 20px;
    }

        .por-que::before {
            opacity: 0.5;
            height: 20px;
        }
}

@media (max-width: 767.98px) {

    /* Estilo base para ocupar todo el alto del viewport sin dejar espacio */
    .flipcard-modified-container {
        height: 100vh; /* O toda la altura del contenedor padre si no se desea usar vh */
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: height 0.3s ease;
    }

        /* Cuando está girado, se puede usar una clase extra para ajustarlo */
        .flipcard-modified-container.flipped {
            height: auto; /* Para dejar espacio si el contenido interno crece */
            padding-bottom: 2rem; /* Espacio debajo del card */
        }

    .card-height {
        margin-bottom: 104px;
    }
    .por-que {
        background: url('assents/img/hero-movil.png') no-repeat center center;
        padding-bottom: 20px;
    }

        .por-que::before {
            opacity: 0.5;
            height: 20px;
        }
}







/* =============== SECCIÓN DE BENEFICIOS =============== */

#beneficios {
    background-color: #fff;
}

    #beneficios h2 {
        color: var(--primary-color);
        font-weight: 700;
    }

.btn-pill {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    white-space: normal;
    text-align: left;
    line-height: 1.4;
}

.btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

    .btn-outline-primary:hover {
        background-color: var(--secondary-color);
        color: white;
    }

/* Espaciado para iconos */
.fa-2x {
    width: 32px;
    margin-right: 12px;
}

/* Ajustes para móviles */
@media (max-width: 767.98px) {
    #beneficios .card {
        margin-bottom: 1.5rem;
    }

    #beneficios .text-left {
        text-align: center !important;
    }

    #beneficios h2 {
        font-size: 1.8rem;
    }

    .btn-pill {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .card {
        min-height: 420px; /* Asegura misma altura en desktop */
    }
}
/* Estilos para las cards especiales */
.gradient-overlay-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.gradient-bar {
    height: 3px;
    width: 90%;
    background: linear-gradient(90deg, #96359C 16%, #FA1E21 37%, #FCB045 58%, #D1D2D4 93%);
    border-radius: 3px;
}

.rounded-left {
    border-top-left-radius: 0.5rem !important;
    border-bottom-left-radius: 0.5rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.card-img {
    min-height: 200px;
}

/* Responsividad */
@media (max-width: 767.98px) {
    .rounded-left {
        border-top-left-radius: 0.5rem !important;
        border-top-right-radius: 0.5rem !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .gradient-overlay-left {
        width: 100%;
        height: 30%;
        top: auto;
        bottom: 0;
        background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    }
}
/* =============== MODAL DE CONFIRMACIÓN =============== */
.confirmation-modal {
    z-index: 9999;
}

/* Contenedor adicional para los bordes */
.confirmation-modal-wrapper {
    position: relative;
    overflow: hidden; /* Evita que el contenido se desborde fuera de los bordes */
}

.confirmation-modal .modal-dialog {
    position: relative;
}

.confirmation-modal .modal-content {
    border-radius: 15px;
    border: none;
}

.confirmation-modal-wrapper::before,
.confirmation-modal-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 39px;
    background: linear-gradient(90deg, #FCA642 0%, #FA1E21 46%, #96359C 100%);
    z-index: 1; /* Asegura que el borde esté encima del contenido del modal */
}

.confirmation-modal-wrapper::before {
    top: 0; /* Coloca el borde superior dentro del contenedor */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.confirmation-modal-wrapper::after {
    bottom: 0; /* Coloca el borde inferior dentro del contenedor */
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.confirmation-modal .modal-body {
    padding: 4rem;
    text-align: center;
}

.confirmation-modal .btn-option {
    padding: 0.5rem 2rem;
    margin: 0 1rem;
    border-radius: 25px;
    font-weight: 600;
}

.confirmation-modal .confirmation-logo {
    max-height: 60px;
    margin-top: 1.5rem;
}

/* =============== BOTONES FLOTANTES =============== */
.floating-buttons {
    position: fixed;
    bottom: 140px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 1000;
}

/* Estilo base para ambos botones - inicialmente ocultos */
.floating-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    color: var(--light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    /* Clase que se añadirá con JavaScript al hacer scroll */
    .floating-button.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Botón de llamada específico */
.call-button {
    width: auto;
    min-width: 150px;
    height: 50px;
    border-radius: 20px;
    padding: 0 20px;
}

/* Botón de subir */
.scroll-top-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* Estilos para los iconos */
.floating-button .iconify {
    font-size: 24px;
    color: var(--light);
    display: inline-block;
}

/* Texto del botón de llamada */
.button-text {
    margin-left: 10px;
    font-size: 14px;
    color: var(--light);
    white-space: nowrap;
}

/* Efecto hover */
.floating-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
    background-color: #6a2d94;
    transform: scale(1.1) !important; /* Efecto de crecimiento al pasar el mouse */
}


/* Responsive: Ocultar texto en móviles pequeños */
/*@media (max-width: 480px) {
    .button-text {
        display: none;
    }

    .call-button {
        width: 50px;
        min-width: 50px;
        padding: 0;
    }
}*/

/* =============== MODAL DE INFORMACIÓN =============== */
.information-modal {
    z-index: 9999;
}

/* Contenedor adicional para los bordes */
.information-modal-wrapper {
    position: relative;
    overflow: hidden; /* Evita que el contenido se desborde fuera de los bordes */
}

.information-modal .modal-dialog {
    position: relative;
}

.information-modal .modal-content {
    border-radius: 15px;
    border: none;
}

.information-modal-wrapper::before,
.information-modal-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 39px;
    background: linear-gradient(90deg, #FCA642 0%, #FA1E21 46%, #96359C 100%);
    z-index: 1; /* Asegura que el borde esté encima del contenido del modal */
}

.information-modal-wrapper::before {
    top: 0; /* Coloca el borde superior dentro del contenedor */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.information-modal-wrapper::after {
    bottom: 0; /* Coloca el borde inferior dentro del contenedor */
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.information-modal .modal-body {
    padding: 4rem;
    text-align: center;
}

.information-modal .btn-option {
    padding: 0.5rem 2rem;
    margin: 0 1rem;
    border-radius: 25px;
    font-weight: 600;
}

.information-modal .confirmation-logo {
    max-height: 60px;
    margin-top: 1.5rem;
}

/* =============== FORMULARIO DE DARSE DE BAJA =============== */

.form-check-input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 30px; /* Tamaño más grande */
    height: 30px; /* Tamaño más grande */
    border: 2px solid #D32D60; /* Borde rojo */
    border-radius: 4px; /* Bordes ligeramente redondeados */
    outline: none;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-top: 0;
}

    /* Estilo cuando el checkbox está marcado */
    .form-check-input[type="checkbox"]:checked {
        background-color: #96359C; /* Fondo morado cuando está marcado */
        border-color: #96359C; /* Borde morado cuando está marcado */
    }

/* Ajuste para alinear mejor el label */
.form-check-label {
    padding-left: 5px;
    line-height: 33px;
}



/* =============== FORMULARIO DE REGISTRO =============== */

/* Sobrescribe estilos de Bootstrap para el select */
select.form-select {
    background-color: white !important;
    background-image: none !important;
    color: #333 !important;
    border: 1px solid #ced4da !important;
}

    /* Cambia el color de fondo de la opción seleccionada en el dropdown */
    select.form-select option:checked,
    select.form-select option[selected] {
        background-color: var(--accent-dark) !important;
        color: white !important;
    }

    /* Cambia el color al hacer hover (solo funciona en algunos navegadores) */
    select.form-select option:hover {
        background-color: var(--accent-dark) !important;
        color: white !important;
    }

    /* Estilo cuando el select está enfocado */
    select.form-select:focus {
        border-color: var(--accent-dark) !important;
        box-shadow: 0 0 0 0.25rem rgba(var(--accent-dark-rgb), 0.25) !important;
    }
/* Estilos para los placeholders del formulario */
#formRecordatorio ::placeholder {
    color: var(--placeholder-color, #999) !important;
    opacity: 1 !important; /* Asegura que el color se muestre correctamente en todos los navegadores */
}

#formRecordatorio :-ms-input-placeholder { /* Para Internet Explorer 10-11 */
    color: var(--placeholder-color, #999) !important;
}

#formRecordatorio ::-ms-input-placeholder { /* Para Microsoft Edge */
    color: var(--placeholder-color, #999) !important;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    color: var(--placeholder-color, #999) !important;
    opacity: 1 !important; /* Asegura que el color se muestre correctamente en todos los navegadores */
}

.form-select {
    color: var(--placeholder-color, #999) !important;
    opacity: 1 !important; /* Asegura que el color se muestre correctamente en todos los navegadores */
}


/* =============== MODAL DE REGISTRO =============== */
.registro-modal {
    z-index: 9999;
}

.registro-modal-wrapper {
    position: relative;
    overflow: hidden;
}

.registro-modal .modal-dialog {
    position: relative;
}

.registro-modal .modal-content {
    border-radius: 15px;
    border: none;
}

.registro-modal-wrapper::before,
.registro-modal-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 39px;
    background: linear-gradient(90deg, #FCA642 0%, #FA1E21 46%, #96359C 100%);
    z-index: 1;
}

.registro-modal-wrapper::before {
    top: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.registro-modal-wrapper::after {
    bottom: 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.registro-modal .modal-body {
    padding: 4rem;
    text-align: center;
}

.registro-modal .registro-logo {
    max-height: 60px;
    margin-top: 1.5rem;
}

/* =============== MODAL DE ACEPTACIÓN =============== */
.aceptacion-modal {
    z-index: 9999;
}

.aceptacion-modal-wrapper {
    position: relative;
    overflow: hidden;
}

.aceptacion-modal .modal-dialog {
    position: relative;
}

.aceptacion-modal .modal-content {
    border-radius: 15px;
    border: none;
}

.aceptacion-modal-wrapper::before,
.aceptacion-modal-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 39px;
    background: linear-gradient(90deg, #FCA642 0%, #FA1E21 46%, #96359C 100%);
    z-index: 1;
}

.aceptacion-modal-wrapper::before {
    top: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.aceptacion-modal-wrapper::after {
    bottom: 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.aceptacion-modal .modal-body {
    padding: 4rem;
    text-align: center;
}

.aceptacion-modal .btn-option {
    padding: 0.5rem 2rem;
    margin: 0 1rem;
    border-radius: 25px;
    font-weight: 600;
}

.aceptacion-modal .aceptacion-logo {
    max-height: 60px;
    margin-top: 1.5rem;
}

/* =============== ESTILOS PARA EL FORMULARIO =============== */

/*Iconos*/
.input-group-text {
    background-color: var(--accent-dark) !important;
    color: var(--light) !important;
    font-size: 24px;
}

/* 1. Bordes color #D32D60 y esquinas redondeadas */
.form-control,
.form-select,
.btn-group .btn,
.btn-group-vertical .btn {
    border-color: #D32D60 !important;
    border-radius: 10px !important;
}

/* 2. Estilo para inputs con iconos (icono al principio) */
.input-group .input-group-text {
    border-right: none;
    background-color: white;
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    border-color: #D32D60;
}

.input-group .form-control {
    border-left: none;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* 3. Botones horizontales con espacio */
.btn-group-vertical {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 8px;
}

    .btn-group-vertical .btn {
        margin-right: 8px;
        margin-bottom: 8px;
    }

/* 4. Estilo para los radio buttons seleccionados */
.btn-check:checked + .btn-outline-primary {
    background-color: #D32D60;
    color: white;
    border-color: #D32D60;
}

/* 5. Estilo para los inputs de fecha */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.5);
}

/* 6. Estilo para el hover de los botones */
.btn-outline-primary:hover {
    background-color: #f8d7da;
    border-color: #D32D60;
    color: #D32D60;
}

/* 7. Ajuste para los grupos de botones Sí/No */
.btn-group {
    gap: 8px;
}
/* Boton de envio */
.btn-envio-form {
    width: 320px;
    border-radius: 20px;
    padding: 15px 30px;
    font-size: 14px;
    background-color: var(--accent-dark);
    color: var(--light);
    text-decoration: none;
    cursor: pointer;
}

    .btn-envio-form:hover {
        background-color: var(--light);
        color: var(--accent-dark);
        border: 1px solid var(--accent-dark);
        transition: all 0.3s ease;
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }

.btn-envio-form2 {
    width: 320px;
    border-radius: 20px;
    padding: 15px 30px;
    font-size: 14px;
    background-color: var(--accent);
    color: var(--light);
    text-decoration: none;
    cursor: pointer;
    border: none;
}

    .btn-envio-form2:hover {
        background-color: var(--secondary);
        color: var(--light);
        transition: all 0.3s ease;
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }



/*Botones de Seleccion*/
.btn-select {
    border-radius: 20px !important;
    padding: 5px 15px !important;
    color: var(--accent-dark);
    border: 1px solid var(--accent-dark);
}

    .btn-select:hover {
        color: var(--light) !important;
        border: 1px solid #96359C !important;
        background-color: #96359C !important;
    }

.btn3opciones {
    border-radius: 20px !important;
    padding: 5px 15px !important;
    color: var(--dark);
    border: 1px solid var(--accent-dark);
}

    .btn3opciones:hover {
        color: var(--light) !important;
        border: 1px solid #96359C !important;
        background-color: #96359C !important;
    }

    .btn3opciones:active {
        color: var(--light) !important;
        border: 1px solid #96359C !important;
        background-color: #96359C !important;
    }


#open-question-4,
#headingFour,
#collapseFour {
    scroll-margin-top: var(--scroll-offset);
}


/* =============== FLIPCARDS STYLES =============== */

.flipcards-row {
    margin-bottom: 20px;
}

.card-text {
    font-size: 16px !important;
    line-height: normal !important;
}

.card-title {
    font-size: 18px !important;
    line-height: normal !important;
}

.flipcard-container {
    perspective: 1000px;
    height: 0;
    padding-bottom: 100%; /* Me aseguro que es cuadrada */
    position: relative;
}

.flipcard-front, .flipcard-back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transition: transform 0.5s;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.flipcard-front {
    background-color: white;
    transform: rotateY(0deg);
    padding: 10px;
}

.flipcard-back {
    background: linear-gradient(to bottom, #FCB045 0%, #FD1D1D 46%, #833AB4 100%);
    transform: rotateY(180deg);
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-hover-effect:hover {
    cursor: pointer;
}

.flipcard-container:hover .flipcard-front {
    transform: rotateY(-180deg);
}

.flipcard-container:hover .flipcard-back {
    transform: rotateY(0deg);
}
/* Estructura del card front para alinear el botón abajo */
.flipcard-front .card-header {
    padding: 10px 15px;
}

.flipcard-front .card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.flipcard-front .card-text {
    font-size: 0.85rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.flipcard-btn-container {
    margin-top: auto; /* Empuja el contenedor del botón hacia abajo */
    padding: 0 15px 15px;
    text-align: center;
}

.flipcard-btn {
    width: 120px;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.85rem;
}

.card-back-content {
    color: white;
    padding: 15px;
}

/* Ajustes para el contenido */
.flipcard-front h4 {
    font-size: 1.1rem;
    margin: 0 5px;
}

.flipcard-back h4 {
    font-size: 1.1rem;
}

.flipcard-front .card-text {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Asegurar altura consistente para las cards */
.col-md-4 {
    padding-left: 10px;
    padding-right: 10px;
}

/* =============== MODIFIED FLIPCARDS STYLES =============== */

.flipcards-modified-row {
    margin-bottom: 20px;
}

.flipcard-modified-container {
    perspective: 1000px;
    position: relative;
    height: 0;
    padding-bottom: 100%; /* Relación 1:1 para cards cuadradas */
    min-height: 300px; /* Altura mínima para móviles */
}

/* Caras de la card */
.flipcard-modified-front,
.flipcard-modified-back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transition: transform 0.5s ease;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

/* Frente de la card */
.flipcard-modified-front {
    background: linear-gradient(to bottom, #FCB045 0%, #FD1D1D 46%, #833AB4 100%);
    transform: rotateY(0deg);
    z-index: 2;
}

/* Cabecera del frente con icono circle */
.card-front-header {
    position: relative;
    width: 100%;
    height: 50px;
    flex-shrink: 0;
}

.circle-icon-top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    z-index: 2;
}

/* Contenido principal del frente */
.card-modified-back-content {
    color: white;
    padding: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
    text-align: center;
}

/* Estilos para el texto */
.flipcard-modified-container h4 {
    font-size: 1.6rem !important;
    margin: 0 5px 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.3;
}

/* Icono específico */
.specific-icon {
    max-width: 70px;
    max-height: 70px;
    margin-top: 10px;
}

/* Parte trasera */
.flipcard-modified-back {
    background-color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
}

/* Efecto hover/flip */
.flipcard-modified-container:hover .flipcard-modified-front {
    transform: rotateY(180deg);
}

.flipcard-modified-container:hover .flipcard-modified-back {
    transform: rotateY(0deg);
}

.card-modified-hover-effect:hover {
    cursor: pointer;
}

/* Contenido de la parte trasera */
.flipcard-modified-back .card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.flipcard-modified-back .card-text {
    font-size: 0.8rem;
    margin-bottom: 10px;
    flex-grow: 1;
    line-height: 1.4;
}

/* Barra superior trasera */
.flipcard-modified-back .d-flex {
    padding: 8px 15px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

    .flipcard-modified-back .d-flex img {
        max-height: 25px;
    }

.flipcard-modified-btn-container {
    margin-top: auto;
    padding: 0 15px 15px;
    text-align: center;
}

.flipcard-modified-btn {
    width: 120px;
    border-radius: 20px;
    padding: 15px 30px;
    font-size: 14px;
    background-color: var(--accent-dark);
    color: var(--light);
    text-decoration: none;
    cursor: pointer;
}

    .flipcard-modified-btn:hover {
        background-color: var(--light);
        color: var(--accent-dark);
        border: 1px solid var(--accent-dark);
        transition: all 0.3s ease;
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }

/* Ajustes responsivos */
@media (max-width: 991.98px) {
    .flipcard-modified-container h4 {
        font-size: 1.2rem !important;
    }

    .specific-icon {
        max-width: 60px;
        max-height: 60px;
    }
}

@media (max-width: 767.98px) {
    /* Modificaciones para móvil */
    .flipcard-modified-container {
        height: auto;
        min-height: 300px;
        padding-bottom: 0;
    }

    .flipcard-modified-front,
    .flipcard-modified-back {
        position: absolute;
        min-height: 300px;
        height: auto;
        overflow: visible;
    }

        .flipcard-modified-back .card-body {
            overflow: visible;
        }

    .flipcard-modified-container h4 {
        font-size: 1.1rem !important;
    }

    .card-modified-back-content {
        padding: 10px;
    }

    .card-body {
        padding: 10px !important;
    }
}

/* Ajustes de grid */
.col-md-4 {
    padding-left: 15px;
    padding-right: 15px;
}
/* =============== IMAGENES CIRCULARES =============== */

.object-fit-cover {
    object-fit: cover;
}

/* ===============   CTA CON BORDES =============== */
.gradient-bordered-row {
    border-top: 27px solid;
    border-bottom: 27px solid;
    border-image: linear-gradient(90deg, #FCB045 0%, #FD1D1D 46%, #833AB4 100%) 1;
    padding: 20px 0;
}

.vaccine-image {
    max-height: 73px;
}

.vaccine-text {
    font-size: 18px;
    font-weight: regular;
}
/* Estilos base del botón */
a.vaccine-btn {
    position: relative;
    white-space: nowrap;
    background-color: var(--light); /* Fondo blanco */
    border-radius: 20px;
    padding: 10px 40px;
    z-index: 1;
    overflow: hidden;
    transition: all 0.5s ease;
    text-decoration: none;
    display: inline-block;
    border: 1px solid var(--vaccine);
    line-height: 1.3rem;
}

    /* Texto gradiente (estado normal) */
    a.vaccine-btn span {
        background: linear-gradient(90deg, #FCB045 0%, #FD1D1D 46%, #833AB4 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    /* Estado hover */
    a.vaccine-btn:hover {
        background-color: var(--accent-dark);
        border: 1px solid var(--accent-dark);
    }

        a.vaccine-btn:hover::before {
            background: var(--accent-dark);
            opacity: 1;
        }

        a.vaccine-btn:hover span {
            color: var(--light); /* Texto blanco en hover */
            background: none; /* Elimina gradiente */
            -webkit-background-clip: initial;
            background-clip: initial;
        }

/* ===============CTA VACUNACION =============== */
.vaccination-cta-section {
    background-image: url('../../Content/assents/img/cta.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 670px;
    width: 100%;
    position: relative;
}

.vaccination-content {
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    margin: 0 auto;
    /* Fondo semitransparente solo en desktop */
    /* background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px); */
}

.vaccination-logo {
    max-height: 100px;
}

.vaccination-text {
    font-size: 34px;
    line-height: normal;
    color: var(--light);
    font-weight: 100 !important;
}

.vaccination-btn {
    background-image: linear-gradient(90deg, #FCB045 0%, #FD1D1D 46%, #833AB4 100%);
    display: inline-block;
    padding: 10px 60px;
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.5px;
    cursor: pointer;
    color: var(--light);
    border-radius: 100px;
    transition: all 0.5s ease;
}

    .vaccination-btn:hover {
        background-image: linear-gradient(90deg, #833AB4 0%, #833AB4 46%, #833AB4 100%);
        border-color: var(--secondary);
    }

/* Responsive para móviles */
@media (max-width: 992px) {
    .vaccination-cta-section {
        height: auto;
        padding: 60px 0;
        background-position: 60% center;
    }

    .vaccination-content {
        padding: 30px 20px;
        margin: 20px auto;
        /* background-color: rgba(0, 0, 0, 0.7); */
    }

    /* Ajustes para elementos en móvil */
    .vaccination-logo {
        max-height: 80px;
    }

    .vaccination-text {
        font-size: 28px;
    }

    .vaccination-btn {
        padding: 10px 40px;
        font-size: 18px;
    }
}
/* ===============CTA CtaColor =============== */
.CtaColor {
    background: linear-gradient(90deg, #FCB045 0%, #FD1D1D 46%, #833AB4 100%);
    color: var(--light);
    padding: 10px;
    font-size: 16px !important;
    font-weight: bold;
}

    .CtaColor a {
        color: #fff;
        text-decoration: underline;
        transition: opacity 0.3s ease;
    }
/* ===============CTA CtaNoColor =============== */
.CtaNoColor {
    background: #fff;
    color: var(--accent);
    padding: 40px 20px;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.4rem !important;
}

/* =============== MEDIA QUERIES ADICIONALES =============== */
@media (min-width: 992px) {
    .navbar {
        padding: 0.5rem 2rem;
    }

    .nav-link {
        padding: 0.5rem 1.25rem !important;
    }
}
/* ==================== FAQ ==================== */
/* Estilos para la sección de preguntas frecuentes */
.faq-section {
    padding: 60px 0;
}

/* Estilos personalizados para el acordeón */

.custom-accordion-item {
    position: relative;
    overflow-anchor: none; /* Previene ajustes automáticos del navegador */
}

.accordion-button {
    padding-top: 1rem;
    padding-bottom: 1rem;
}



.custom-accordion {
    --bs-accordion-border-color: #96359C;
    --bs-accordion-btn-focus-border-color: #96359C;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(150, 53, 156, 0.25);
}

.custom-accordion-item {
    border: 1px solid #96359C !important; /* Fuerza el borde completo */
    border-radius: 0.375rem !important;
    margin-bottom: 15px;
    overflow: hidden;
}

/* Elimina los estilos especiales de Bootstrap para el primer y último elemento */
.custom-accordion > .accordion-item:first-of-type,
.custom-accordion > .accordion-item:last-of-type {
    border: 1px solid #96359C !important;
    border-radius: 0.375rem !important;
}

.custom-accordion-button {
    color: #333;
    font-weight: 600;
    background-color: rgba(150, 53, 156, 0.05);
}

.custom-accordion > .accordion-item:first-of-type .accordion-button {
    border-radius: 0.375rem 0.375rem 0 0 !important;
}

.custom-accordion > .accordion-item:last-of-type .accordion-button.collapsed {
    border-radius: 0.375rem !important;
}

.custom-accordion-button:not(.collapsed) {
    color: #96359C;
    background-color: rgba(150, 53, 156, 0.1);
    box-shadow: inset 0 -1px 0 rgba(150, 53, 156, 0.1);
}

/* Cambiar el color del icono del acordeón */
.custom-accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2396359C'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background-color: #fff;
    padding: 20px;
    border-top: 1px solid rgba(150, 53, 156, 0.2);
}
/* ==================== FOOTER ==================== */
.site-footer {
    background: linear-gradient(90deg, #FCB045 0%, #FD1D1D 46%, #833AB4 100%);
    padding: 2rem 2rem;
}

.footer-text p {
    margin-bottom: 0;
    line-height: 1;
    font-size: 14px;
    font-weight: 500; /* medium */
    line-height: normal;
    color: var(--light)
}

.footer-logo {
    width: auto;
}

.footer-link-list {
    list-style: none;
    padding: 0;
}

    .footer-link-list li {
        margin-bottom: 0.1rem;
        font-size: 12px;
        line-height: normal;
    }

    .footer-link-list a {
        color: #fff;
        text-decoration: none;
        transition: opacity 0.3s ease;
        display: inline-block;
    }
        .footer-link-list a:hover {
            opacity: 0.8;
            text-decoration: underline;
        }

/* Responsividad */
@media (max-width: 767.98px) {
    .footer-text {
        margin-bottom: 2rem;
    }

    .footer-links {
        text-align: center;
    }
}
