#banner {
    width: 100%;
    overflow: hidden;
    position: relative;
    scroll-snap-type:x mandatory;
}

.btn-left, .btn-right{
    position: absolute;
    z-index: 10;
    display: flex;
    bottom: 10%;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    font-size: 30px;
    border-radius: 100%;
    padding: 5px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.btn-left {
    right: calc(10% + 100px);
}

.btn-right {
    right: calc(10% - 20px);
}

.cont{
    position: absolute;
    bottom: 10%;
    right: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    width: 100px;
    padding: 0 20px;
    height: auto;
}

.btn-left:hover, .btn-right:hover{
    background-color: #fe6a0043;
}

.slider-banner {
    background-color: #afc2cd81;
    height: 100dvh;
    display: flex;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.banner-section {
    position: relative;
    background-size: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #004a8a40;
    z-index: 1;
    pointer-events: none;
    transition: background 0.3s;
}

header.sticky ~ #banner .banner-overlay,
header:not(.transparent) ~ #banner .banner-overlay {
    background: #004a8a40; /* azul cuando header es sticky */
}

.banner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    margin: 0;
    padding: 0;
}

.banner h1, .banner p, .banner a {
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.35);
}

.slider-banner #one{
    background-image: url(/static/Img/baner2_home_crop.jpg);  
}
.slider-banner #two{
    background-image: url(/static/Img/banner1_home_crop.jpg);  
}

@media (width < 600px){
    .slider-banner #one{
        background-image: url(/static/Img/baner2_home.jpg);  
    }
    .slider-banner #two{
        background-image: url(/static/Img/banner1_home.jpg);  
    }

}

.slider-banner section{
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.banner h1{
    font-size: 60px;
    font-weight: 700;
    color: #fe6800;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.35);
}

.banner p{
    font-size: 20px;
    font-weight: 300;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.banner a{
    border:1px solid #fe6800;
    color: #fff;
    background-color: rgba(254, 104, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
    transition: all 0.3s ease-in-out;
}

.banner a:hover{
    background-color: #fe6800;
    color: #fff;
}

.content-banner {
    transform: translateX(-100%);
    width: 100%;
    height: 100vh;
    display: flex;
}

.about-us{
    /*  margin-top: 70vh;*/ 
    height: 100%;
    width: 100%;
    margin: auto;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: 50px 0;
}

.about-us-text, .about-us-img{
    width: 40%;
    height: 100%;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.about-us-text h2{
    font-size: 40px;
    width: 100%;
    font-weight: 700;
    color: #fe6800;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.about-us-text p{
    font-size: 20px;
    font-weight: 300;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
}

.about-us-text a{
    border:1px solid #fe6800;
    color: #fe6800;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
    transition: all 0.3s ease-in-out;
    display: none;
}

.about-us-text a:hover{
    background-color: #fe6800;
    color: #fff;
}

.about-us-img article{
    position: relative;    
    transition: all 0.3s ease-in-out;
}

.about-us-img article img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
   /* filter: drop-shadow(5px 5px 10px #000);  */
}

.about-us-img article a {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;

    border:1px solid #fe6800;
    background-color: #fe6800;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
    transition: all 0.3s ease-in-out;
    width: 150px;
    height: 50px;
    margin: auto;
    transform: translateY(25%);
    opacity: 0;
}

.about-us-img article:hover {
    transform: perspective(250px) rotateX(10deg) translateZ(0);
    
}

.about-us-img article:hover img {
    opacity: 0.35;
}
  
.about-us-img  article:hover a {
    opacity: 1;
    transform: translateY(10%);
  }

#services{
    background-color: #fff;
}

.services{
    background-color: #afc2cd81;
    display: flex;
    height: auto;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
    position: relative;
}

.services h1{
    font-size: 50px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 20px;

    border-bottom: #fe6800 5px solid;
}

.services-gallery{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.image-gallery {
    width: 46%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.image-gallery article{
    transition: all 0.3s ease-in-out;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.hover {
    position: absolute;
    background-color: #afc2cd2d;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease-in-out;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #000;
    text-align: justify;
    font-size: 15px;
    font-weight: 300;
    box-sizing: border-box;
}

.hover > * {
    padding: 0 20px;
}

.hover h2{
    font-size: 25px;
    font-weight: 700;
    color: #fe6800;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
    padding: 0 20px;
}

.hover a{
    margin-top: 10px;
    border:1px solid #fe6800;
    color: #fe6800;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
    transition: all 0.3s ease-in-out;
    padding: 5px 20px;
}

.hover a:hover{
    background-color: #fe6800;
    color: #fff;
}

.image-gallery article:hover .hover{
    transform: translateX(0%);
    border-bottom: #fe6800 5px solid;
    opacity: 1;
}

.image-gallery article img{
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-bottom: #fe6800 5px solid;
    
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.image-gallery article:hover img{
    transform: scale(1.1);
    filter: blur(1px);
    opacity: 0.5;
    border-bottom: none;
    box-shadow: none;
}

.image-gallery h3{
    margin-top: 5px;
    font-size: 20px;
    font-weight: 10;
    color: #000;
}

#map {
    background-color: #fff;
}

.map {
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.text {
    width: 25%;
    height: 100%;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.text h2, .text h3{
    font-size: 40px;
    font-weight: 300;
    width: 100%;
    text-align: center;
    color: #000;
    padding: 0 10px;
}

.text h3 {
    font-size: 30px;
}

.map-frame {
    width: 65%;
    height: 500px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.map-frame iframe {
    width: 90%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

#contact {
    padding: 50px;
    background-color: #fff;
}

.contact {
    display: flex;
    width: 100%;
    height: auto;
    max-width: 1200px;
    margin: auto;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
}

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.contact h2 {
    font-size: 50px;
    font-weight: 700;
    color: #fe6800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-card {
    width: 300px;
    height: 150px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #fe6a006b;
    border-bottom: 5px solid #fe6800;
}

.contact-card .icon {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fe6800;
}

@media(width < 1000px ){

    .banner h1{
        font-size: 35px;
    }

    .banner p{
        font-size: 15px;
    }

    .banner a{
        color: #fff;
        background-color: #fe6800;
        font-size: 15px;
    }

    .about-us-text{
        width: 100%;
    }
    
    .about-us-text a{
        display: flex;
        text-align: justify;
    }

    .about-us-img{
        display:none;
    }

    .services h1{
        font-size: 35px;
    }

    .services-gallery{
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
    }

    .image-gallery {
        width: 90%;
        max-width: 900px;
        height: 100%;
    }

    .image-gallery .hover{
        font-size: 15spx;
    }

    .image-gallery article img{
        aspect-ratio: 1/1;
    }

    .image-gallery article{
        order: 2;
    }

    .image-gallery h3{
        font-size: 25px;
    }

    .hover a {
        background-color: #fe6800;
        color: #fff;
    }

    .map {
        flex-direction: column;
    }

    .map .text{
        width: 100%;
        padding: 20px;
    }

    .map .map-frame{
        width: 100%;
        height: 300px;
    }
}

@media (width < 800px) {

    .contact h2 {
        font-size: 35px;
    }
}