:root {

    /* Variables */

    --fi-primary: #B94700;
    --fi-secondary: #FE5000;
    --fi-light: #FFBE9F;

    --ipade-primary: #0A2240;
    --ipade-secondary: #002D74;
    --ipade-light: #ABC8E7;

    --white: #fff;
    --black: #000;
    --gray: #393939;
    --gray-light: #F2F2F2;

    --font-dm: "DM Sans", "Verdana", Arial, Helvetica, sans-serif;
    --font-signika: "Signika", "DM Sans", Arial, Helvetica, sans-serif;

    --p: clamp(0.8rem, 0.657rem + 0.381vw, 1rem);
}

/* General */

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--font-signika);
    font-size: 16px;
    font-weight: 400;
    color: var(--gray);
    background-color: var(--white);
    overflow-x: hidden;

}

.content {
    flex: 1;
    /* Expands to push footer down */
}

body {
    display: flex;
    flex-direction: column;
}

.rounded {
    border-radius: 20px !important;
}

label {
    font-size: .8rem;
}


/* Backgrounds */

.bg-ipade-primary {
    background-color: var(--ipade-primary);
}

.bg-ipade-secondary {
    background-color: var(--ipade-secondary);
}

.bg-ipade-light {
    background-color: var(--ipade-light);
}

.bg-fi-primary {
    background-color: var(--fi-primary);
}

.bg-fi-secondary {
    background-color: var(--fi-secondary);
}

.bg-fi-light {
    background-color: var(--fi-light);
}

.bg-gray {
    background-color: var(--gray);
}

.bg-graylight {
    background-color: var(--gray-light);
}

/* Colors */

.color-ipade-primary {
    color: var(--ipade-primary);
}

.color-ipade-secondary {
    color: var(--ipade-secondary);
}

.color-ipade-light {
    color: var(--ipade-light);
}

.color-fi-primary {
    color: var(--fi-primary);
}

.color-fi-secondary {
    color: var(--fi-secondary);
}

.color-fi-light {
    color: var(--fi-light);
}

.color-white {
    color: var(--white);
}

.color-black {
    color: var(--black);
}

.color-gray {
    color: var(--gray);
}

.color-lightgray {
    color: var(--gray-light);
}

/* Buttons */

a {
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}

.btn {
    font-size: clamp(0.8rem, 0.657rem + 0.381vw, 1rem);
    font-weight: bold;
    padding: 10px 24px;
    border: none;
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
}

.btn:hover {
        background-color: #9c3e08;
    color: var(--white);
}

.btn-close {
    position: absolute;
    top: 0;
    right: 0;
    margin: -1rem -.5rem 0 0;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    background-color: var(--mede-secondary);
    opacity: 1;
}

/* NAVBAR */

/* FIXED */
.navbar {
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
}

.logo {
    height: 82px;
    transition: all 0.3s ease;
}

.logo.scrolled {
    height: 50px;
}

.btn-primary {
    background-color: #28d467;
    background-image: url(https://image.edu.ipade.mx/lib/fe2b11747364057e741d77/m/1/fb5f0f68-99c4-486b-b806-eae8aed09629.png);
    background-position: left center;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 10px 24px;
}

.btn-primary.scrolled {
    /* Estilo diferente para el primer botón al hacer scroll */
    background-color: #28d467;
    border-color: #28d467;
    background-position: center;
    height: 2.7rem;
    padding: 10px;
}

.btn-whats {
    background-color: #28d467;
    background-image: url(https://image.edu.ipade.mx/lib/fe2b11747364057e741d77/m/1/fb5f0f68-99c4-486b-b806-eae8aed09629.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 10px;
    height: 2.4rem;
    aspect-ratio: 1/1;
}

/* Footer */

.footer {
    padding: clamp(2.3125rem, 1.7791rem + 0.8611vw, 2.8125rem) 0;
}

footer ul li {
    background-color: transparent;
}

footer ul li a:hover {
    color: var(--ipade-light) !important;
}

footer .p {
    font-size: var(--p);
}

footer .p a {
    text-decoration: none;
}

/* Header */

.header-main {
    position: relative;
    aspect-ratio: 1920/727;
    background-size: cover;
    background-position: center;
}

.pitch {
    background-color: hsla(0, 0%, 100%, .87);
}

/* Section - Menú */

.menu .nav-link {
    color: var(--white);
    font-size: .8rem;
}

.menu .nav-link:hover {
    color: var(--fi-light);

}

.quotes {
    font-size: clamp(0.8rem, 0.657rem + 0.381vw, 1rem);
}

.tabla {
    border-bottom: solid 1px #bababa;
}

.redondito {
    border-radius: 0 20px 20px 0;
}

.sobres {
    position: relative;
    z-index: 2;
}

.razones {
    background-color: var(--fi-primary);
    background-image: url(https://image.edu.ipade.mx/lib/fe2b11747364057e741d77/m/1/bdfb2aed-ef86-44c7-a8ed-80fdc84caaf8.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.queso {
    background-color: #B94700;
}

/* Estilos para las flechas */

/* Acordeón */
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'%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-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%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");
}

/* Tabs */
.nav-tabs .nav-link::after {
    border-top: 0.3em solid #FFF;
}

.nav-tabs .nav-link.active::after {
    border-top-color: #000;
}

/* Dropdowns */
.dropdown-toggle::after {
    border-top-color: #FFF;
}

.show>.dropdown-toggle::after {
    border-top-color: #000;
    border-bottom-color: #000;
}

/* LISTAS */
.custom-list {
    list-style-type: none;
    /* Elimina los bullets por defecto */
    padding-left: 1rem;
    /* Ajusta el espacio si es necesario */
}

.custom-list li::before {
    content: "•";
    /* Usa un carácter de bullet */
    color: var(--fi-secondary);
    /* Cambia este valor al color que desees */
    font-weight: bold;
    /* Opcional: hace el bullet más grueso */
    display: inline-block;
    width: 1em;
    /* Espacio entre el bullet y el texto */
    margin-left: -1em;
    /* Alinea correctamente con el texto */
}


.experiencia img {
    position: relative;
    z-index: 0;
}

#sobres {
    margin-left: -50px;
    /* Ajusta este valor según cuánto quieras que se sobreponga */
}

.header-main {
    margin-top: 7rem;
    position: relative;
    /* Necesario para el fondo */
    background-size: cover;
    background-position: top center;
    /* No definas height aquí para no modificar el contenedor padre */
}

.container.h-100,
.row.h-100 {
    height: 100% !important;
    /* Forza la altura heredada */
}

/* Estilos para las pestañas activas */
.nav-tabs .nav-link.active {
    background-color: #FFBE9F !important;
    color: #000 !important;
    font-weight: bold;
}

/* Transición suave para el cambio de color */
.nav-link {
    transition: all 0.3s ease;
}

/* Asegurar que las pestañas ocupen todo el ancho */
.nav-tabs {
    border-bottom: none;
}

/* Estilo para el acordeón activo en móvil */
.accordion-button:not(.collapsed) {
    background-color: #FFBE9F !important;
    color: #000 !important;
}

/* Responsive */

@media only screen and (max-width:991px) {

    .logo {
        height: 40px;
    }

    .logo.scrolled {
        height: 40px;
    }

    .btn {
        padding: 10px 10px;
    }


    .redondito {
        position: relative;
        border-radius: 0 0 20px 20px;
        width: 100%;
        padding-top: 120px;
        top: -25px;
        z-index: 1;
    }

    .folleto {
        max-height: 250px;
    }

    #sobres {
        margin-left: 0 !important;
    }

    .header-main {
        margin-top: 0;
    }

}