/* Ajustes de estilo */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.top-bar {
    font-size: 14px;
}

/* Ajuste para pantallas grandes */
.location-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar verticalmente */
}

.logo {
    max-width: 150px;
}

.location-title {
    margin-bottom: 10px;
}

.location {
    text-align: right;
}

.hero {
    padding: 100px 0;
}

.nav-link {
    padding: 15px;
    color: #333 !important;
}

.nav-link:hover {
    color: #d12b2e !important;
}

/* Estilos para la sección de Asesorías Académicas - Inicio */
.services h2 {
    font-size: 36px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;
}

.services p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}

.service-card {
    border: 1px solid #ddd;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.service-card img {
    border-radius: 10px;
}

.text-muted {
    font-size: 16px;
    color: #666;
}


/* Estilo para sección Aserorías - ASESORÍAS */
.asesorias{
    background-color: rgba(148, 188, 233, 0.185);
    padding: 30px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(110, 111, 165, 0.1);
    position: relative;
    z-index: 1;
}

.asesorias h2{
    color: #050505;
}

.asesorias p{
    font-size: 18px;
    text-align: justify; /* Alinea el texto justificado */
}

.asesorias img{
    max-width: 40%; /* Ajusta el tamaño máximo de las imágenes al 100% */
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}

/* Estilo para sección Servicios */
.servicios{
    background-color: rgba(148, 188, 233, 0.185);
    padding: 30px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(110, 111, 165, 0.1);
    position: relative;
    z-index: 1;
}

.servicios h2{
    color: #050505;
}

.servicios p{
    font-size: 18px;
    text-align: justify; /* Alinea el texto justificado */
}

.servicios img{
    max-width: 70%; /* Ajusta el tamaño máximo de las imágenes al 100% */
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}

/* Efecto fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(20px); /* Mueve el elemento un poco hacia abajo para el efecto */
    transition: opacity 1s ease-out, transform 1s ease-out; /* Animación */
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0); /* Vuelve a la posición original */
}

/* Estilo general */
h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.sede-info h4 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.sede-list p {
    margin: 0;
    font-size: 18px;
    color: #f1c40f; /* Color amarillo */
}

.map-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.counter {
    font-size: 48px;
    font-weight: bold;
    color: #d12b2e;
    text-align: center; /* Centrar los números */
}

p {
    font-size: 18px;
    color: #333;
    text-align: center; /* Centrar el texto bajo los números */
}

i.fa-check-circle, i.fa-dollar-sign {
    display: block;
    text-align: center;
    margin: 0 auto; /* Centrar los íconos */
    font-size: 48px;
    margin-bottom: 10px;
}

i.fa-check-circle {
    color: #28a745;
}

i.fa-dollar-sign {
    color: #d12b2e;
}

/* Estilos para el formulario */
 /* Estilos adicionales para el formulario */
 #formulario {
    background-color: #f8f9fac7; /* Color de fondo */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;  
    line-height: 60px;
    bottom: 20px;
    left: 20px;
    background: #25d366;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.3);
    z-index: 1001; /* Asegúrate de que esté por encima de otros elementos */
}

.whatsapp-float a {
    display: block;
    color: #fff;
    text-decoration: none;
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 60px; /* Asegura que el ícono esté centrado verticalmente */
}

.whatsapp-float i {
    font-size: 28px; /* Tamaño del ícono */
    color: #fff; /* Color del ícono */
}

.whatsapp-float a span {
    display: none; /* Oculta el texto por defecto */
    position: absolute;
    background-color: #4CAF50;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
    left: calc(100% + 10px); /* Coloca el texto al lado del ícono */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-size: 14px;
}

.whatsapp-float:hover a span {
    display: inline-block; /* Muestra el texto cuando se pasa el ratón */
    opacity: 1;
}

/* Footer */
.footer {
    background-color: #000000; /* Fondo negro puro */
    color: #fff;
    padding: 40px 0;
}

.footer h5 {
    font-weight: bold;
    color: #ffc107; /* Color de letras amarillo */
    margin-bottom: 20px;
    font-size: 18px;
}

.footer p, .footer-description {
    font-size: 14px;
    color: #fff;
}

.footer a {
    text-decoration: none;
    color: #ffc107; /* Color de los enlaces */
}

.footer a:hover {
    text-decoration: underline;
}

.footer .social-icons a {
    margin-right: 15px;
    color: #fff;
}

.footer .social-icons a:hover {
    color: #ffc107;
}

/* Viñetas personalizadas */
.custom-list li {
    list-style-type: none;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.custom-list img {
    width: 15px;
    margin-right: 10px;
}

.footer .list-unstyled li {
    margin-bottom: 10px;
}

.footer-logo-wrapper {
    display: inline-block;
    border-radius: 50%;
    padding: 5px;
    background-color: #fff; /* Fondo blanco para resaltar el logo */
}

.footer-logo {
    border-radius: 50%;
    max-width: 100px;
    max-height: 100px;
}

.footer-legal-title {
    font-size: 18px;
    color: #ffc107;
}

@media (max-width: 768px) {
    .location-wrapper {
        align-items: center; /* Centra todo en pantallas pequeñas */
        text-align: center;
    }

    .location-title {
        text-align: center;
    }

    .location {
        text-align: center;
    }

    .navbar-brand img {
        margin-bottom: 20px; /* Espacio debajo del logo en móviles */
    }

    .navbar-collapse {
        text-align: center;
    }

    .navbar-toggler {
        margin-left: 0;
    }

    .sede-info {
        text-align: center;
    }

    /* Ajusta el tamaño de las imágenes en los servicios */
    .service-card img {
        height: 150px;  /* Ajusta el tamaño de las imágenes en móviles */
    }

    /* Ajusta el tamaño del texto en los servicios */
    .service-card p {
        font-size: 14px;  /* Reduce el tamaño de la fuente del texto descriptivo */
    }

    /* Ajusta el espaciado de las tarjetas de servicios */
    .service-card {
        padding: 20px;  /* Reduce el padding en móviles */
        margin-bottom: 20px;  /* Agrega margen inferior para más espacio entre tarjetas */
    }

    /* Ajustes para la sección Asesorías */
    .asesorias img {
        max-width: 60%;  /* Reduce el tamaño de las imágenes en móviles */
        height: auto;
    }

    .asesorias .col-lg-6 {
        text-align: center;  /* Centra los textos e imágenes en móviles */
    }

    .asesorias h2 {
        font-size: 24px;  /* Reduce el tamaño del título */
        margin-bottom: 20px;
    }

    .asesorias p {
        font-size: 14px;  /* Fuente más pequeña para los párrafos */
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .asesorias {
        margin-bottom: 30px;
    }

    /* Ajustes para la sección Servicios */
    .servicios img {
        max-width: 60%;  /* Reduce el tamaño de las imágenes en móviles */
        height: auto;
    }

    .servicios .col-lg-6 {
        text-align: center;  /* Centra los textos e imágenes en móviles */
    }

    .servicios h2 {
        font-size: 24px;  /* Reduce el tamaño del título */
        margin-bottom: 20px;
    }

    .servicios p {
        font-size: 14px;  /* Fuente más pequeña para los párrafos */
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .servicios {
        margin-bottom: 30px;
    }

    .services h2 {
        font-size: 28px;  /* Reduce el tamaño del título en móviles */
    }

    .services p {
        font-size: 16px;  /* Reduce el tamaño del texto del párrafo en móviles */
    }

    .map-section .row {
        flex-direction: column-reverse;
    }

    .counter {
        font-size: 36px;
    }

    .text-center {
        text-align: center !important;
    }

    .map-section .row {
        flex-direction: column-reverse;
    }

    /* Centrar la sección de estadísticas en móviles */
    .stats-section .col-md-4, 
    .stats-section .col-md-6 {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-logo {
        max-width: 80px;
        max-height: 80px;
    }

    .footer-legal-title {
        font-size: 16px;
    }

    .footer p, .footer a {
        font-size: 12px;
    }

    .footer-logo-wrapper {
        margin-bottom: 20px;
    }
}