/* General */
body {
    font-family: 'Hero', sans-serif !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Previene el scroll horizontal */
    background: rgb(234,240,255);
background: linear-gradient(49deg, rgba(234,240,255,1) 0%, rgba(248,242,255,1) 100%);
}

.creditos{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 6px;
}

/* Revisa los contenedores */
.container {
    max-width: 100%; /* Asegúrate de que no exceda el ancho */
    overflow: hidden; /* Evita que los hijos sobresalgan */
}

/* Header (Navbar) */
.custom-navbar {
    background: linear-gradient(90deg, #8D7ED4 0%, #2273CC 100%);
    padding: 48px 120px;
    height: 136px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-navbar a {
    color: white;
    font-family: 'Hero', sans-serif;
    font-size: 20px;
    margin-right: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-navbar a:hover {
    font-weight: bold;
    color: white;
}

.navbar-logo {
    height: 40px;
}

/* Dropdown */
.dropdown-menu {
    background-color: white;
}

.dropdown-menu a {
    color: #2273CC;
    font-size: 16px;
}
.dropdown-menu :hover {
    color: #2273CC;
    font-size: 16px;
}

/* Mobile menu */
.navbar-toggler {
    color: white;
    border-color: white;
}
.dropdown-item{
    color: #2273CC;
}
.dropdown-item:hover{
    background-color: #CE382B;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
color: white;
font-weight: bold;
}

/* Footer */
.footer {
    background-color: #263D89;
    padding: 58px 120px;
    color: white;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Ajuste responsivo */
}

.footer-logo {
    display: block;
    margin-bottom: 12px;
    
}

.footer-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
}

.footer-link {
    font-size: 20px;
    text-decoration: none;
    color: white !important; /* Aseguramos que los links sean blancos */
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-social-icons {
    display: flex;
    gap: 24px; /* Separación entre los íconos */
    margin-top: 12px;
}

.footer-social-icons a {
    font-size: 40px;
    color: white !important; /* Aseguramos que los íconos sean blancos */
    text-decoration: none;
}


i {
    font-size: 24px;
    color: white !important; /* Aseguramos que los íconos sean blancos */
    text-decoration: none;
    display: flex;
}

/* Información de contacto: Alinear íconos con el texto */
.footer .contact-info p {
    display: flex;
    align-items: center; /* Alinea verticalmente el texto al centro del ícono */
    gap: 10px; /* Espacio entre el ícono y el texto */
    margin-bottom: 16px; /* Espacio entre líneas de contacto */
}

.footer .contact-info i {
    font-size: 24px;
    color: white !important;
}

/* Responsivo */
@media (max-width: 991px) {
    .footer {
        padding: 40px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social-icons {
        margin-bottom: 16px;
    }
    .footer .row > div {
        margin-bottom: 24px; /* Añade más espacio entre las secciones */
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 48px; /* Aumenta el padding en dispositivos móviles */
    }

    .footer .row > div {
        margin-bottom: 32px; /* Añade más espacio entre las secciones en móviles */
    }
}

/* Header de Contenido */
.content-header {
    background-color: #263D89;
    padding: 82px;
    text-align: center;
    color: white;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.content-header h1 {
    font-family: 'Hero', sans-serif;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 24px;
}

.content-header .description {
    font-family: 'Helvetica', sans-serif;
    font-size: 20px;
    max-width: 830px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsivo */
@media (max-width: 991px) {
    .custom-navbar {
        padding: 24px;
        height: auto;
    }

    .navbar-toggler {
        color: white;
    }

    /* Aumentar padding del header en tabletas y móviles */
    .content-header {
        padding: 64px 5%;
    }

    .content-header .description {
        max-width: 100%;
    }

    .footer {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social-icons {
        margin-bottom: 16px;
    }
}

.sticky-tabs {
    background-color: #ffffff04; /* Fondo blanco para los tabs */
    position: sticky;
    top: 0;
    z-index: 1000; /* Para asegurarte que esté por encima del contenido */
}
@media (max-width: 1185px) { /* A partir de tablet */
    .sticky-tabs {
        position: relative; /* Cambiar a relative en pantallas de tablet y menores */
    }
    
}

.tab {
    width: 25%; /* Ancho fijo para los tabs */
    height: 100px;
    line-height: 100px; /* Para centrar verticalmente el texto */
    font-family: 'Hero', sans-serif; /* Asegúrate de que la fuente esté cargada */
    font-size: 20px;
    font-weight: bold;
    color: #263D89 !important; /* Color del texto */
    cursor: pointer;
    transition: background-color 0.3s ease; /* Para el efecto hover */
    text-align: center; /* Centrar el texto horizontalmente */
    background-color: #D7E0FF; /* Fondo blanco para el tab */ 
}

.tab a{
    color: #263D89; /* Color del texto */
}

.tab:hover{
    background-color: #cdd7fd; /* Color al pasar el mouse sobre el tab */
    font-weight: bold;
}

/* Estilos específicos para los bordes redondeados */
.tab:first-child {
    border-top-left-radius: 20px; /* Borde superior izquierdo redondeado */
    border-bottom-left-radius: 20px; /* Borde inferior izquierdo redondeado */
}

.tab:last-child {
    border-top-right-radius: 20px; /* Borde superior derecho redondeado */
    border-bottom-right-radius: 20px; /* Borde inferior derecho redondeado */
}
.tab.active {
    background-color: #cdd7fd; /* Color al pasar el mouse sobre el tab */
    font-weight: bold;
}

@media (max-width: 1185px) { /* A partir de tablet */
    .tab {
        border-radius: 20px; /* Cambia este valor según tus preferencias */
        width: 90%;
        margin: 2px;
    }
}

.row {
    display: flex;
    justify-content: center; /* Centra los elementos en la fila */
}
.custom-section {
    background-color: #F0F7FF;
    border-radius: 20px;
    padding: 5% 5%; /* 100px en los lados, 48px arriba y abajo */
    margin: 0 auto; /* Para centrar la sección */
    margin-top: 2%; /* Un poco de margen superior si es necesario */
    max-width: 85%; /* Controlar el ancho máximo de la sección */
}

/* Estilo del título principal (h2) */
.custom-section h2 {
    font-size: 40px;
    font-weight: bold;
    color: #263D89;
    margin-bottom: 24px; /* Espaciado entre el h2 y el texto */
    text-align: left;
}

/* Estilo del texto */
.custom-section p {
    font-family: 'Helvetica', sans-serif;
    font-size: 20px;
    color: #263D89;
    margin-bottom: 24px; /* Espaciado entre el texto y el frame */
    text-align: left;
}

/* Estilo del subtítulo (h3) */
.custom-section h3 {
    font-size: 36px;
    font-family: 'Hero', sans-serif;
    color: #2273CC;
    margin-top: 10%;
    margin-bottom: 2%; /* Espaciado entre el h3 y el siguiente frame */
    text-align: left;
}


a{
    color: white;
    text-decoration: none;
}

/* Botón para volver arriba */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #579AE3;
    border: none;
    border-radius: 20px;
    display: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease, visibility 0.5s ease; /* Transición de fade in */
    opacity: 0; /* Inicia invisible */
    visibility: hidden; /* Evita que sea clickeable cuando no está visible */
}

.scroll-top-btn.show {
    display: flex;
    opacity: 1; /* Aparece al mostrar */
    visibility: visible; /* Ahora es clickeable */
}

.scroll-top-btn i {
    color: white;
    font-size: 24px;
}

.scroll-top-btn:hover {
    background-color: #CE382B;
    transition: all 0.3s ease;
}

/* Asegúrate de que cada iframe esté dentro de su contenedor */
.custom-section {
    margin-bottom: 5%; /* Espaciado entre secciones */
}

.slider {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 85%; /* Ajustar el ancho total del slider */
    overflow: hidden;
    margin: 48px;
}


/* Scrollbar para Webkit (Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px; /* Ancho de la barra de desplazamiento */
}

::-webkit-scrollbar-track {
    background: #D7E0FF; /* Color del fondo de la barra de desplazamiento */
}

::-webkit-scrollbar-thumb {
    background: #2273CC; /* Color azul de la barra de desplazamiento */
    border-radius: 10px; /* Bordes redondeados */
}

::-webkit-scrollbar-thumb:hover {
    background: #CE382B !important; /* Color rojo al pasar el mouse */
}

/* Scrollbar para Firefox */
* {
    scrollbar-width: thin; /* Hace que la barra sea delgada */
    scrollbar-color: #2273CC #D7E0FF; /* Color del pulgar y del fondo */
}

*::-webkit-scrollbar-thumb:hover {
    scrollbar-color: #CE382B #D7E0FF; /* Color rojo al pasar el mouse */
}
.accordion-section {
    background-color: #dbe4ff;
    padding: 5% 15%;
}

button{
    padding-left: 2%;
    padding-right: 2%;    
    height: 54px;
    background-color: #D7E0FF;
    border: none;
    border-radius: 10px;
    font-family: 'Hero', sans-serif;
    font-size: 20px;
    color: #263D89;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 2%;
    margin-right: 4px;
}

button:hover{
    background-color: #2273CC;
    color: #fff;
}

button.active{
    background-color: #CE382B;
    color: #fff;
}



.circles-container {
    display: flex;
    transition: transform 0.5s ease;
}

.circles {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    margin: 0 10px;
}

.arrow {
    background-color: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #ffffff;
    z-index: 10;
    text-shadow: 2px 2px 4px #263d8977;
}

.left {
    position: absolute;
    left: 10px;
    margin-top: 0;

}

.right {
    position: absolute;
    right: 10px;
    margin-top: 0;
}
.left:hover {
    background-color: #ffffff00;
}

.right:hover {
    background-color: #ffffff00;

}

.content {
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    padding: 5% 15%; /* Ajustar padding lateral */
    box-sizing: border-box; /* Incluye el padding en el cálculo del ancho */
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en desktop */
    gap: 24px; /* Espaciado entre los círculos */
}

/* Animación para el encabezado */
.header-animate {
    opacity: 0;
    animation: fadeInUp 1s forwards; /* Cambia 0.5s por la duración deseada */
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


ul{
    list-style-type: none; /* Remove bullets */
    color: white;
}



/* Modal base */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #121f4bac;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Contenido del modal */
.modal-content {
    background: #fff;
    padding: 8%;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 85%;
}
.modal-content button {
    background: #CE382B;
    color: white;
}

.modal-content p {
    padding-top: 2%;
    font-size: 1rem;
    margin-bottom: 20px;
}



/* Mostrar el modal en mobile */
@media (max-width: 720px) {
    .modal {
        display: flex; /* Mostrar modal */
    }
}

/* Estilo para el spinner */
.spinner {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(7, 5, 51, 0.8);
    z-index: 9999; /* Asegúrate de que esté por encima del contenido */
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 8px;
    height: 40px;
    border-radius: 4px;
    display: block;
    margin: 20px auto;
    position: relative;
    background: currentColor;
    color: #FFF;
    box-sizing: border-box;
    animation: animloader 0.3s 0.3s linear infinite alternate;
  }
  
  .loader::after, .loader::before {
    content: '';
    width: 8px;
    height: 40px;
    border-radius: 4px;
    background: currentColor;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    box-sizing: border-box;
    animation: animloader 0.3s  0.45s  linear infinite alternate;
  }
  .loader::before {
    left: -20px;
    animation-delay: 0s;
  }
  
  @keyframes animloader {
    0%   { height: 48px} 
    100% { height: 4px}
  }
  



  .circulo-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Estilo de los círculos */
.circulo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 24px;

}

/* Estilo específico para el círculo celeste */
.carde-blue {
    
    background-color: #2273CC;
}

/* Estilo específico para el círculo rojo claro */
.carde-red {
    background-color: #D7E0FF;
}

/* Efectos al pasar el cursor */
.circulo:hover {
    transform: scale(1.03);
}

/* Responsividad */
@media (max-width: 768px) {
    .circulo {
        width: 300px;
        height: 300px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .circulo {
        width: 250px;
        height: 250px;
        font-size: 14px;
    }
}