ï»¿body, html {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%; /* Asegura que el contenido use el ancho completo */
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bolder;
}

/* Fondo general */
body {
    background: url('/imagenes/home/redes_cerebrales.jpg') no-repeat center center fixed;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

main {
    margin-top: 150px;
    margin-bottom: 120px;
    animation: fadeInUp 1s ease-out;
    flex: 1;
}

.navbar-toggler.custom-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

    .navbar-toggler.custom-toggler .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

.dropdown-menu {
    background-color: #fff;
}

.dropdown-item {
    color: #000;
}

    .dropdown-item:hover {
        background-color: lightgrey;
        color: #000;
    }

.navbar-nav .nav-link {
    position: relative;
    text-decoration: none; /* Quita subrayado predeterminado */
    transition: color 0.3s ease-in-out;
}

    .navbar-nav .nav-link:hover {
        color: #f3966aff !important; /* Cambia el color al pasar el mouse */
    }

    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 3px;
        background-color: #f3966aff;
        transition: width 0.3s ease-in-out;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

/* Animaciones Inicio */
.imagen-animada {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 1s ease-out forwards 0.5s;
    text-align: start;
}

.titulo-animado {
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 1s ease-out forwards 1s;
    text-align: start;
}

.subtitulo-animado {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 1s ease-out forwards 1.5s;
    text-align: start;
}

.contenido-animado {
    font-size: 1.2rem;
    font-weight: 400;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: start;
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Servicios */
/*.servicio-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 15px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.servicio-texto {
    flex: 1;
    text-align: start;
}

.titulo-naranja {
    color: #ec663b;
    font-weight: bold;
    margin-bottom: 0.5rem;*/
    /* text-transform: lowercase;*/
/*}

.descripcion-gris {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    text-align: start;
}

.imagen-servicio {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;*/
    /*  filter: grayscale(100%);*/
    /*transition: filter 0.5s ease;
}

.servicio-horizontal:hover .imagen-servicio {
    filter: grayscale(0%);
}*/

/* Servicios */
.servicio-card {
    display: flex;
    font-weight: 900;
    align-items: flex-start; /* âœ” Alinea imagen y texto arriba */
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 15px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.servicio-texto {
    font-weight: 100;
    flex: 1;
    text-align: left; /* âœ” TÃ­tulo y descripciÃ³n alineados como en el ejemplo */
}

.imagen-servicio {
    width: 55px;
    height: 55px;
    object-fit: contain; /* âœ” La imagen queda centrada sin recorte */
    display: flex;
    align-items: center;
    justify-content: center;
}

.titulo-naranja {
    font-weight: bold;
    margin-bottom: 0.5rem;
    /* text-transform: lowercase;*/
}


/* Testimonios */
    .testimonio-slide {
    max-width: 760px;
    margin: 80px auto;
    text-align: center;
    padding: 20px 30px;
}

.testimonio-frase {
    font-style: italic;
    font-size: 1.15rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonio-datos {
    text-align: end;
    font-size: 0.95rem;
    color: #444;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1); /* flechas blancas */
}

@media (max-width: 768px) {
    .testimonio-slide {
        margin: 40px auto;
        padding: 20px;
    }
}

/* HOME Y EDITAR HOME */
.dashboard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    justify-content: flex-start;
}

.dashboard-card {
    width: 230px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .dashboard-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }

.dashboard-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* ICONOS SOCIALES */
.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

    .social-icons a {
        text-decoration: none;
        margin: 0 10px;
        color: #333; /* Color inicial de los iconos */
        padding: 5%;
    }

        .social-icons a:hover {
            color: #007bff; /* Color al pasar el mouse por encima (general) */
        }

        /* Cambio de color solo para WhatsApp */
        .social-icons a#whatsapp:hover,
        .social-icons a#whatsapp:hover i {
            color: #63E6BE; /* Color al pasar el mouse sobre el icono de WhatsApp */
        }

        /* Cambio de color solo para Mail */
        .social-icons a#mail:hover,
        .social-icons a#mail:hover i {
            color: #FF6B6B; /* rojo suave tipo Gmail */
        }

    .social-icons i {
        font-size: 75px; /* TamaÃ±o de los iconos */
    }

/* DARLE ESTILO AL NAVEGADOR*/

/* Navbar mÃ¡s grande en pantallas grandes */
@media (min-width: 992px) {
    .navbar {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .navbar-brand span:first-child {
        font-size: 2.5rem !important; /* Marca principal mÃ¡s grande */
    }

    .navbar-brand span:last-child {
        font-size: 1.1rem !important; /* Lema mÃ¡s legible */
    }

    .navbar-nav .nav-link {
        font-size: 1.5rem; /* TamaÃ±o de enlaces mÃ¡s cÃ³modo */
        padding: 0.7rem 1.2rem; /* MÃ¡s espacio alrededor */
    }

    .btn-outline-light {
        font-size: 1.1rem;
        padding: 0.6rem 1.2rem;
        border-width: 2px;
    }
}

/* Asegurarse que los botones tengan buen aspecto en general */
.btn-outline-light {
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .btn-outline-light:hover {
        background-color: white;
        color: #ec663b;
        font-weight: bold;
    }

/* Ajustes visuales en mÃ³vil (opcional, para asegurarte de que se mantenga bien) */
@media (max-width: 576px) {
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .btn-outline-light {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}


footer {
    background-color: #000; /* todo negro */
    color: #fff; /* texto blanco */
    text-align: center;
    padding: 15px 0;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
}


/* CAJA DE AGENDAR LLAMADA*/

/* Caja contenedora */
.cta-box {
    /* border: 1px solid #f36c1f;  mismo tono del botÃ³n */
    flex-direction: column;
    text-align: start;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    background: #fff;
}

/* Texto a la izquierda */
.cta-text {
    flex: 1;
    text-align: start;
}

    .cta-text h5 {
        margin: 0 0 5px 0;
        font-size: 18px;
        color: #000;
    }

    .cta-text p {
        margin: 0;
        font-size: 14px;
        color: #333;
    }

/* BotÃ³n naranja */
.btn-agendar {
    margin-top: 25px;
    display: inline-block;
    background-color: #f36c1f;
    color: #fff;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 14px;
    white-space: nowrap;
}

    .btn-agendar:hover {
        background-color: #d95a13;
        transform: scale(1.05);
    }

/* Responsive: botÃ³n abajo si la pantalla es chica */
@media (max-width: 768px) {
    .cta-box {
        flex-direction: column;
        text-align: start;
    }

    .cta-button {
        margin-top: 15px;
    }
}      font-size: 1.1rem !important; /* Lema más legible */
    }

    .navbar-nav .nav-link {
        font-size: 1.5rem; /* Tamaño de enlaces más cómodo */
        padding: 0.7rem 1.2rem; /* Más espacio alrededor */
    }

    .btn-outline-light {
        font-size: 1.1rem;
        padding: 0.6rem 1.2rem;
        border-width: 2px;
    }
}

/* Asegurarse que los botones tengan buen aspecto en general */
.btn-outline-light {
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .btn-outline-light:hover {
        background-color: white;
        color: #ec663b;
        font-weight: bold;
    }

/* Ajustes visuales en móvil (opcional, para asegurarte de que se mantenga bien) */
@media (max-width: 576px) {
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .btn-outline-light {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}


footer {
    background-color: #000; /* todo negro */
    color: #fff; /* texto blanco */
    text-align: center;
    padding: 15px 0;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
}


/* CAJA DE AGENDAR LLAMADA*/

/* Caja contenedora */
.cta-box {
    /* border: 1px solid #f36c1f;  mismo tono del botón */
    flex-direction: column;
    text-align: start;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    background: #fff;
}

/* Texto a la izquierda */
.cta-text {
    flex: 1;
}

.cta-text h5 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #000;
}

.cta-text p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

/* Botón naranja */
.btn-agendar {
    margin-top: 25px;
    display: inline-block;
    background-color: #f36c1f;
    color: #fff;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 14px;
    white-space: nowrap;
}

.btn-agendar:hover {
    background-color: #d95a13;
    transform: scale(1.05);
}

/* Responsive: botón abajo si la pantalla es chica */
@media (max-width: 768px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
    }
    .cta-button {
        margin-top: 15px;
    }
}
}
