﻿body {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    margin-top: 60px;
    background-color: #F8F9FA;
}

/*NAVBAR*/
.navbar {
    display: flex;
    justify-content: space-between;
}

.nav-link {
    transition: 0.3s;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #fff;
    transition: 0.3s;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    width: 0px;
    height: 4px;
    left: 0;
    bottom: 0px;
    border-radius: 3px;
    background-color: #0D6EFD;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover::before {
    width: 100%;
    transition: all 0.3s
}

.boton-contacto:hover {
    background-color: white;
    border: 1px solid #fff;
    color: #0D6EFD;
}


/*SCROLLBAR*/
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #212529;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }


/*INICIO*/
.overlay {
    background: rgb(37,37,37);
    background: linear-gradient(180deg, rgba(37,37,37,.5) 0%, rgba(37,37,37,0.8) 50%, rgba(37,37,37,.8) 100%);
    ;
}

.link-cotizar-movil {
    background: rgb(13,110,253);
    background: linear-gradient(180deg, rgba(13,110,253,1) 35%, rgba(0,77,191,1) 100%);
}

.texto-principal-italic {
    display: inline-block;
    font-size: 1.5em;
}

.boton-rastreo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid;
    border-color: transparent;
    font-size: 16px;
    background-color: inherit;
    border-radius: 10px;
    font-weight: 400;
    color: #fff;
    box-shadow: 0 0 0 2px #0D6EFD;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

    .boton-rastreo svg {
        position: absolute;
        width: 30px;
        fill: #0D6EFD;
        z-index: 9;
        transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .boton-rastreo .arr-1 {
        right: 16px;
    }

    .boton-rastreo .arr-2 {
        left: -25%;
    }

    .boton-rastreo .circle {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200px;
        height: 200px;
        background-color: #0D6EFD;
        border-radius: 50%;
        opacity: 0;
        transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .boton-rastreo .text {
        position: relative;
        z-index: 1;
        transform: translateX(-12px);
        transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .boton-rastreo:hover {
        box-shadow: 0 0 0 12px transparent;
    }

        .boton-rastreo:hover .arr-1 {
            right: -25%;
        }

        .boton-rastreo:hover .arr-2 {
            left: 16px;
        }

        .boton-rastreo:hover .text {
            transform: translateX(12px);
        }

        .boton-rastreo:hover svg {
            fill: #fff;
        }

    .boton-rastreo:active {
        scale: 0.95;
        box-shadow: 0 0 0 4px #0D6EFD;
    }

    .boton-rastreo:hover .circle {
        width: 500px;
        height: 500px;
        opacity: 1;
    }

/*SOCIOS*/
/*CAROUSEL*/
.socio-ticker {
    font-size: 15px;
    padding-block: 8px;
    overflow: hidden;
    user-select: none;
    --gap: 10px;
    display: flex;
    gap: var(--gap);
}

    .socio-ticker ul {
        list-style: none;
        flex-shrink: 0;
        min-width: 100%;
        padding-top: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
        animation: scroll 20s linear infinite;
    }

    .socio-ticker:hover ul {
        animation-play-state: paused;
    }

@keyframes scroll {
    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

.socio-item {
    border-radius: 10px;
    transition: all 0.3s ease;
    img

{
    max-width: 150px;
    height: auto;
    object-fit: contain;
    filter: saturate(200%) grayscale(1);
}

}

.socio-item:hover {
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
    img

{
    filter: none;
}

}

/*SERVICIOS*/
/*media query para el borde*/
@media (min-width: 1200px) {
    #servicios {
        border-radius: 30px;
    }
}

.servicio-card {
    padding: 60px 40px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    height: 100%;
    border-radius: 10px;
    cursor: default;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1d2024;
}

    .servicio-card:hover {
        background-color: #181b1f;
        transform: translateY(-4px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

@media (max-width: 900px) {
    .servicio-card {
        padding: 25px 10px;
    }
}

.servicio-card-icon {
    background-color: #0D6EFD;
    padding: 1.3rem;
    max-width: fit-content;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    svg

{
    width: 50px;
    height: 50px;
    fill: #fff;
}

}

.servicio-card-title {
    margin-bottom: 10px;
    font-weight: 500;
}

.servicio-card-description {
    font-size: 1rem;
    text-wrap: balance;
}

.servicios-descripcion {
    max-width: 600px;
}

@media (max-width: 900px) {
    .servicios-title {
        max-width: 300px;
    }

    .servicios-descripcion {
        max-width: 400px;
    }
}


/*VALORES*/
.under-curve {
    text-decoration: underline wavy;
}

.valor-card {
    transition: transform 0.3s ease;
    overflow: hidden;
}

    .valor-card:hover {
        transform: translateY(-3px);
    }

        .valor-card:hover .value-icon {
            background-color: #0D6EFD;
        }

.value-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    svg

{
    width: 40px;
    height: 40px;
}

}

@media (min-width: 1200px) {
    .contenedor-valores {
        border-radius: 20px;
    }
}

/*COBERTURA*/
.map-container {
    text-align: center;
}

    .map-container img {
        height: auto;
    }

.nombre-distrito li {
    border: 1px solid #f5f5f5;
    padding: 7px;
    border-radius: 15px;
    margin-top: 4px;
}




/*FOOTER*/
.footer-logo {
    max-width: 200px;
}

.redes-sociales svg {
    width: 35px;
    height: 35px;
}

    .redes-sociales svg:hover {
        color: #fff;
    }
