*
{
    margin: 0;
    padding: 0;
}

a
{
    text-decoration: none;
    color: white;
    padding-left: 20px;
}
body {
    background-color: #0a192f;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23162a4a' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        font-family: sans-serif;
        /*color: white;*/
        min-height: 100vh;
    }

header
{
   width: 100%;
   max-width: 1280px;
   margin: 0 auto;
   display: flex;
   justify-content: space-between;
   align-items: center;
   height: 70px;
   background-color: #242424;
}

nav a{
    font-weight: 600;
    padding-right: 20px;
}

nav a:hover
{
    color: antiquewhite;
}

.imagenServices img
{
width: 100px;
height: 130px;
}

.logo img{
    width: 40px;
    margin-right: 10px;
}
.logo{
    display: flex;
    align-items: center;
    color: antiquewhite;
}
.contenedor-nuestros-servicios p {
    color: aliceblue;
    font-size: small;
}
/* .contenedor{
    position: relative;
    width: 1366px;
    height: 1500px;
    margin: 0 auto;
        /* Ajusta este valor al porcentaje que desees */
        
        /* Centra el contenedor horizontalmente */
     
        /* Centra el texto dentro del contenedor */
     
       /* background-color: rgb(16, 16, 156);*/
        
/*} */

/*CONTENEDOR PRINCIPAL QUE TIENE A LOS TRES MAS*/
.contenedor2{
    position: relative;
    width: 100%;
    max-width: 1280px;
    height: auto;
    background-color: #242424;
    margin: 0 auto;

}
/* CONTIENE EL BANNER PRINCIPAL Y DEMAS DIV DE COTIZA AQUI */
.banner-servicios{
    width: 100%;
    max-width: 1280px;
    height: auto;
    min-height: 473px;
    background-image: url(imagenes/img-banner/banner0.png);
    background-size: cover;
    background-position: center;
    display: flex;
    
    justify-content: center;
    align-items: center;
    color: #ffffff;
    
}

.btn-cotiza-aqui
{
    background: #4d5ac0;
        border-radius: 10px;
        width: 178px;
        height: 55px;
        margin-right: 20px;
       
       
}

.btn-cotiza-aqui p{
    padding: 15px 45px  ;
}
/*------------------------------------------------------------------*/
.experiencia-garantizas{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 450px;
    height: 120px;
    background-color: #ffffff;
    position: absolute;
    top: 400px;
    left: 20px;
    border-radius: 0px;
    z-index: 100;
}
.experiencia-garantizas img{
    width: 100px;
    height: 80px;
}
.experiencia-garantizas p{
    margin-left: 20px;
    text-align: left;
}

.contenedor-nuestros-servicios
{
    background-color: #242424;
    width: 100%;
    max-width: 1280px;
    height: auto;
    margin: 0 auto;
    padding-top: 100px;
}

.nuestros-serviciosdx
{
    padding: 80px;
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.nuestros-servicios-listado
{  
    width: 100%;
    max-width: 1280px;
    height: auto;
    background-color: #242424;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    box-sizing: border-box;
}

.imagenServices
{
   text-align: center;
   height: auto;
   display: block;
   margin: 0 auto;
} 

@media(max-width:700px)
{
    header {
        flex-direction: column;
        padding: 10px;
    }
    nav {
        padding: 10px 0px;
        width: 100%;
        text-align: center;
    }
    .experiencia-garantizas {
        width: 90%;
        left: 5%;
        top: auto;
        margin-top: -60px;
    }
    .btn-cotiza-aqui {
        width: 150px;
        margin: 10px auto;
    }
    .imagenServices img {
        width: 80px;
        height: auto;
    }
    .contenedor2 {
        width: 95%;
        padding: 10px;
    }
    
    .banner-servicios {
        min-height: 300px;
    }
    
    .nuestros-serviciosdx {
        padding: 40px 20px;
    }
    
    .nuestros-servicios-listado {
        padding: 10px;
    }
}

@media(max-width:1024px) {
    header {
        width: 95%;
    }
    
    .banner-servicios {
        width: 95%;
    }
    
    .nuestros-servicios-listado {
        width: 95%;
    }
}

@media(max-width:480px) {
    nav a {
        padding: 5px 10px;
        display: block;
    }
    
    .btn-cotiza-aqui {
        width: 140px;
        height: 45px;
    }
    
    .btn-cotiza-aqui p {
        padding: 10px 20px;
    }
}

.galeria {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    box-sizing: border-box;
    background-color: #242424;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1/1;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.galeria-overlay h3 {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 10px;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

@media (max-width: 900px) {
    .galeria {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .galeria {
        grid-template-columns: 1fr;
    }
}