@font-face{
    font-family:"Pacifico";
    src:url(../fonts/Pacifico-Regular.ttf);
}
@font-face{
    font-family:"Montserrat";
    src:url(../fonts/Montserrat-Regular.ttf);
}
@font-face{
    font-family:"Montserrat";
    font-weight:bold;
    src:url(../fonts/Montserrat-Bold.ttf);
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    /* overflow: hidden; */
}
/* ============ BANNER================== */
.banner{
    position: relative;
}
    
.banner__img{
    width: 100%;
    height: 100vh;
    object-fit: cover;
}
.banner::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    top: 0;
}
.banner__content {
    width: 70%;
    color: #fff;
    text-align: left;
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 1.3em;
    font-weight: bold;
    opacity: 0; /* Inicialmente invisible */
    animation: fadeInUp 1.5s ease-out forwards; /* Animación al cargar */
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(5%);
    }
}

.scroll-down {
    position: absolute;
    bottom: 110px; /* Ajusta la distancia del borde inferior */
    left: 50%;
    transform: translateX(-50%);
    font-size: 2em; /* Tamaño de la flecha */
    color: white; /* Color de la flecha */
    animation: bounce 1.5s infinite; /* Animación para que rebote */
    cursor: pointer; /* Cambia el cursor para indicar que es clickeable */
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0); /* Posición inicial */
    }
    50% {
        transform: translate(-50%, 10px); /* Rebote hacia abajo */
    }
}
/*======= FIN BANNER ========= */


/* DESCRRIPCION */
.descripcion{
    background: #0037af;
    width: 100%;
    border: 1px solid #0037af;
}
.texttitleService{
    color: #fff;
    font-size: 1.6em;
    padding-top: 2%;
    width: 80%;
    margin: 0 auto;
}
.textService{
    width: 80%;
    margin: 50px auto;
    color: #fff;
    font-size: 1.2em;
}
  /* ------FIN DESCRIPCION------ */


  /* Para ver el contenedor */
  /* .carousel {
    border: 2px dashed red; 
} */


/* Para ver cada tarjeta */
/* .card {
    border: 2px solid blue; 
}
     */

/* service */
.SeccService {
    margin: 1px auto;
    width: 80%;
}
.seccservice_title{
    font-size: 1.6em;
    font-weight: bold;
    color: #183650;
    text-decoration: underline;
    text-decoration-color: #F95319;
    text-decoration-thickness: 5px; 

    padding-top: 7%;
    padding-left: 5%;
    padding-bottom: 2%;
}
.secservice_container_card {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 10px;
    justify-items: center; 
    align-items: center;
    padding: 0;
}
.secservice_card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: #EDEDED;
    transition: background-color 0.3s;
}
.secservice_card:hover {
    background-color: #F95319;
    color: #fff;
}
.seccion_icon_img img{
    width: 50px;
    color: #F95319;
}
.seccion_icon  {
    font-size: 60px;
    color: #F95319;
    margin: 5% auto;
    padding: 15px;
}
.seccion_text{
    margin: 0% auto;
    text-align: center;
    padding: 0% 0px 10%;

    font-size: 1.1em;
    
}
.secservice_card:hover .seccion_icon{
    color: #fff;
}





/* ========CARRUSEL======= */
.wrapper {
    margin: 1px auto;
    /* max-width: 1100px; */
    width: 80%;
    position: relative;
    padding-bottom: 8%;
}

.wrapper i {
    top: 80%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;
}

.wrapper i:active{
    transform: translateY(-50%) scale(0.85);
}
.wrapper i:first-child{
    left: -22px;
}
.wrapper i:last-child{
    right: -22px;
}
.wrapper .carousel{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 4) - 9px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
    display: none;
}
.carousel.no-transition {
    scroll-behavior: auto;
}
.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}
.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}
.carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel .card {
    scroll-snap-align: start;
    height: 280px;
    width: 97%;
    list-style: none;
    background: #fff;
    cursor: pointer;
    padding-bottom: 15px;
    flex-direction: column;
    border-radius: 8px;
}

.card .img img {
    width: 100%;
    height: 100%;
    /* border-radius: 50%; */
    object-fit: cover;
    
}
.carousel .card h2 {
    font-weight: 500;
    font-size: 1.56rem;
    margin: 30px 0 5px;
}
.carousel .card span {
    color: #6A6D78;
    font-size: 1.31rem;
}


@media screen and (max-width: 900px) {
    .wrapper .carousel {
        grid-auto-columns: calc((100% / 2) - 9px);
    }
}
@media screen and (max-width: 600px) {
    .wrapper .carousel {
        grid-auto-columns: 100%;
    }
}

@media screen and (min-width: 1024px) {
    .secservice_container_card {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1450px) {
    .texttitleService{
        width: 70%;
    }
    .wrapper, .SeccService, .textService {
        width: 70%;
    }
}