
/*CLASES DE INTERACCION*/

/*fuentes de texto*/
    .font-fraunces {
        font-family: 'Fraunces', serif;
        font-weight: 600; /* Semibold */
    }
    .font-family{
        font-family: Arial, Helvetica, sans-serif;
    }
    /*fuentes para texto*/
    /* Aplicar Poppins SemiBold */
    .poppins-semi {
        font-family: 'Poppins', sans-serif;
        font-weight: 600; /* SemiBold */
    }
    .font-blue{
        color: #061440;
    }
    
    .font-white{
        color: #f8f8f8;
    }

    /* Aplicar Lato Light */
    .lato-light {
        font-family: 'Lato', sans-serif;
        font-weight: 300; /* Light */
    }
    .lato-light p {
        font-family: 'Lato', sans-serif;
        font-weight: 300; /* Light */
    }
/*colores predeterminados*/
    .fondorojo{
        background-color: #A60512;
    }
    .fondoblanco{
        background-color: #ffffff;
    }
    .fondoazul{
        background-color: #021E73;
    }
    

/* ==========================================================================
   🚀 NAVBAR VANGUARDISTA Y PROFESIONAL (CSS LIMPIO Y ESPECÍFICO)
   ========================================================================== */

/* Navbar Flotante con Efecto Cristal */
.custom-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    padding: 12px 0;
}

/* Marca y Logotipo */
.custom-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: #021B3B !important; /* Override al color de marca de Bootstrap */
    font-size: 1.15rem;
    letter-spacing: -0.3px;
    text-decoration: none !important;
}

.custom-navbar .navbar-brand img {
    height: 42px !important; /* Evita que Bootstrap responsive comprima la imagen */
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.custom-navbar .navbar-brand:hover img {
    transform: scale(1.05);
}

/* Enlaces Principales de Navegación */
.custom-navbar .navbar-nav .nav-link {
    color: #334155 !important; /* Override al azul/gris por defecto de Bootstrap */
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link.active {
    color: #0284c7 !important;
    background-color: rgba(2, 132, 199, 0.08);
}

/* Menús Desplegables (Dropdowns Flotantes) */
.custom-navbar .dropdown-menu {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(2, 27, 59, 0.12);
    padding: 8px;
    margin-top: 12px;
    background: #ffffff;
}

.custom-navbar .dropdown-item {
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.custom-navbar .dropdown-item:hover {
    background-color: #f1f5f9;
    color: #0284c7;
    transform: translateX(4px);
}

/* Botón Selector de Idioma */
.btn-language {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #021B3B;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.btn-language:hover {
    background-color: rgba(2, 132, 199, 0.1);
    border-color: #0284c7;
    color: #0284c7;
}

/* Botón Login / Usuario */
.btn-nav-auth {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important; /* Override al estilo global de hipervínculos */
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none !important; /* Quita el subrayado de enlace */
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-nav-auth:hover {
    background: linear-gradient(135deg, #021B3B 0%, #032b69 100%);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 27, 59, 0.3);
}

/* Toggler Hamburguesa para Móviles */
.custom-navbar .navbar-toggler {
    border: none;
    padding: 6px 12px;
    border-radius: 10px;
    background-color: #f8fafc;
}

.custom-navbar .navbar-toggler:focus {
    box-shadow: none;
}

/*Estilos para el encabezado y pie de pagina*/

    .footer {
    /* Degradado en tonos azul rey luminosos */
        background: linear-gradient(180deg, #002b55 0%, #001833 100%);
        color: #ffffff;
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
        padding: 40px 0 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.15); /* Línea brillante para separar */
    }

    .footer-title {
        color: #ffffff;
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 15px;
        text-align: left;
        position: relative;
        padding-bottom: 8px;
    }

    

    /* Estilo para iconos o textos del footer */
    .footer a, .footer p {
        color: #e2e8f0;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer a:hover {
        color: #38bdf8;
    }
    .footer-divider {
        border: none;
        height: 1px;
        background-color: #ffffff;
        margin: 20px auto;
        width: 80%;
    }

    .footer-buttons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 20px;
    }

    .circle-button {
        display: inline-block;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid #ffffff;
        margin: 20px;
    }

    .circle-button img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* Media Query para pantallas de hasta 600px de ancho */
    @media (max-width: 600px) {
        .footer-buttons {
            justify-content: space-around;
        }
        .circle-button {
            /*flex: 0 0 calc(50% - 20px); /* Dos botones por fila */
            width: 100px;
                height: 100px;
            flex: 0 0 auto; /* Evita que el tamaño del botón cambie en diseños flexibles */
        }
        
    }
    
    
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 10px;
    }

    .social-icon {
        color: #ffffff;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #ffffff;
        text-decoration: none;
    }

    .footer-domain {
        margin-top: 10px;
        font-size: 14px;
    }
        /*Estilos para la seccion de proximos eventos*/
    /* Sección Próximos Eventos */
    .proximos-eventos {
        background-color: #f8fafc; /* Fondo claro neutro elegante */
        position: relative;
    }

    

    /* Grilla de Tarjetas */
    .cards-1 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .card-1 {
        background: #ffffff;
        color: #0f172a;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
        max-width: 320px;
        flex: 1 1 calc(33.333% - 25px);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card-1:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 25px rgba(2, 132, 199, 0.15);
    }

    /* Contenedor e Imagen de Tarjeta */
    .card-img-container {
        position: relative;
        width: 100%;
        height: 220px;
        overflow: hidden;
        cursor: pointer;
        background-color: #e2e8f0;
    }

    .card-img-container .img-event {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .card-1:hover .img-event {
        transform: scale(1.05);
    }

    /* Efecto hover sobre la imagen */
    .overlay-hover {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-weight: 600;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .card-img-container:hover .overlay-hover {
        opacity: 1;
    }

    .card-1 h3 {
        margin: 18px 15px;
        font-size: 1.15rem;
        font-weight: 700;
        color: #0f172a;
    }

    /* Encabezado del Modal */
    .bg-dark-slate {
        background-color: #0f172a !important;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .card-1 {
            flex: 1 1 calc(50% - 25px);
        }
    }

    @media (max-width: 768px) {
        .card-1 {
            flex: 1 1 100%;
        }
        .titulo-eventos {
            font-size: 1.75rem;
        }
    }
    /* Estilos para el botón "Volver arriba" */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #007bff; /* Color de fondo azul */
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    font-size: 40px;
}

/* Mostrar el botón cuando se hace scroll */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Efecto hover */
.back-to-top:hover {
    background-color: #0056b3; /* Color de fondo azul más oscuro */
}


/*********Seccion de welcome general para interaccion**************************************************************************/
/* Fondo degradado de la sección */
/* ==========================================================================
   🤡 SECCIÓN WELCOME DOCTORES ALEGRIDOSIS
   ========================================================================== */

/* Fondo suave con los colores del logo (Azul y Amarillo) + Luces ambientales */
.welcome-doctores {
    background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(250, 204, 21, 0.18) 0%, transparent 40%),
                linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #fffde7 100%);
    padding: 35px 0 50px 0;
    position: relative;
    overflow: hidden;
}

/* Burbujas de color difuminadas para dar ambiente dinámico */
.welcome-doctores::before,
.welcome-doctores::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.welcome-doctores::before {
    width: 140px;
    height: 140px;
    background: #38bdf8;
    filter: blur(50px);
    opacity: 0.4;
    top: 5%;
    left: 3%;
}

.welcome-doctores::after {
    width: 160px;
    height: 160px;
    background: #facc15;
    filter: blur(55px);
    opacity: 0.4;
    bottom: 5%;
    right: 3%;
}

/* Contenedor centrado */
.contenedor {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Tarjeta de Encabezado Unificada */
.encabezado {
    background-color: #ffffff;
    padding: 24px 30px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(2, 27, 59, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 25px;
    text-align: center;
}

.encabezado-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Logotipo con micro-animación al pasar el cursor */
.logotipo {
    max-height: 55px;
    width: auto;
    border-radius: 12px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logotipo:hover {
    transform: scale(1.1) rotate(-5deg);
}

/* Título legible y elegante */
.titulo {
    font-size: clamp(1.8rem, 3.8vw, 2.6rem);
    color: #021B3B;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Etiqueta / Badge para el proyecto de interacción social */
.subtitulo-badge {
    display: inline-block;
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
}

/* Estilo del Carrusel */
.carousel-bienvenida {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(2, 27, 59, 0.12);
    border: 4px solid #ffffff;
}

.carousel-img-bienvenida {
    width: 100%;
    height: 420px;
    background-color: #000000;
}

.carousel-img-bienvenida img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsividad */
@media (max-width: 768px) {
    .encabezado {
        padding: 20px 15px;
    }
    
    .encabezado-header {
        flex-direction: column;
        gap: 8px;
    }

    .carousel-img-bienvenida {
        height: 280px;
    }
}
/************** Sección Presentación / Acerca De **************/

.acerca-de {
    background-color: #ffffff;
    padding: 60px 20px;
    position: relative;
}

/* Contenedor principal que limita el ancho */
.contenedor-acerca {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Contenedor de texto */
.texto {
    flex: 1.2;
    min-width: 280px;
    text-align: left;
}

/* Badge amigable superior */
.badge-acerca {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

/* Título de la sección */
.titulo-acerca {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    color: #021B3B;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.25;
}

/* Descripción */
.descripcion-acerca {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* Contenedor de la imagen */
.imagen-acerca-de {
    flex: 1;
    min-width: 300px; /* Aumentado para dar cabida al marco más grande */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Tarjeta flotante redonda */
.imagen-frame {
    background: #ffffff;
    width: 280px;  /* Dimensiones fijas e iguales para formar un círculo perfecto */
    height: 280px;
    padding: 25px;
    border-radius: 50%; /* Convierte el contenedor en un círculo */
    box-shadow: 0 12px 30px rgba(2, 27, 59, 0.07);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.imagen-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(2, 27, 59, 0.12);
}

/* Imagen dentro del marco */
.imagen-acerca-de img {
    max-width: 230px; /* Aumentado (antes 200px) */
    width: 100%;
    height: 100%;
    object-fit: contain; /* Cambia a 'cover' si es la foto de una persona para que llene el círculo */
    border-radius: 50%;
}

/* Responsive para tablets y celulares */
@media (max-width: 768px) {
    .acerca-de {
        padding: 40px 20px;
    }

    .contenedor-acerca {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .texto {
        text-align: center;
    }

    .imagen-acerca-de img {
        max-width: 160px;
    }
}
/*************SECCION MISION VISION PERO SIN FONDO******************************************/
/*los fondos se encuentran en su respectiva pagina*/


.mision-vision {
    position: relative;
    z-index: 2;
    padding: 50px;
}

.cuadro {
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.1); /* Fondo transparente */
    padding: 50px;
    text-align: center;
}
.borde-blue{
    border: 3px solid blue;
}
.borde-white{
    border: 3px solid rgb(255, 255, 255);
}
.borde-yellow{
    border: 3px solid rgb(255, 187, 0);
}
.cuadro h3,
.cuadro p {
    color: white;
    text-align: justify;
}
