@font-face {
    font-family: 'organetto';
    src: url('assets/fonts/organetto-ultrabold.ttf') format('truetype');
}

.carousel-caption>h5 {
    font-family: organetto, sans-serif;
}

.font-title {
    font-family: organetto, sans-serif;
    font-weight: 700;
}


.nav-style {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px;
    background-color: transparent;
    transition: padding 0.5s ease-in-out, background-color 0.5s ease-in-out;
    /* agrega una transición de animación al cambiar el padding y el color de fondo */
}

.nav-style.navbar-scroll {
    background-color: #003E85;
}

.nav-link {
    color: white;
}

.nav-item>.nav-link.active>span {
    padding-bottom: 5px;
    border-bottom: 2px solid;

}


.navbar-toggler-button {
    /* display: none; */
    border: none !important;
    outline: none !important;
    background-color: transparent;
}

@media (min-width:991px) {
    .navbar-toggler-button {
        display: none;
    }
}

.icon-dropdown-navbar {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 20px;
}

.logo-navbar {
    width: 230px;
}

.navbar-collapse {
    justify-content: flex-end;
    padding-right: 20px;
}

.font-lato {
    font-family: 'Lato', sans-serif;
    font-weight: 500;
}

/* CONTENIDO 1 */
#carouselHeader .carousel-caption {
    left: 0% !important;
}

#carouselHeader .carousel-caption h5 {
    font-size: 4rem;
    width: 90%;
    margin: auto;
}

#carouselHeader .carousel-caption img {
    width: 40%;
    margin-top: 15px;
}

.cont-1 {
    min-height: 600px;
    /* padding-bottom: 100px;
    background-image: url('assets/backgrounds/fondo.png');
    background-size: cover;
    background-position: bottom;
    position: relative; */
}

/* .cont-1::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #003E85;
    opacity: 0.8;
} */


.header {
    height: 100vh;
    padding-top: 150px;
    min-height: 550px;

    display: grid;
    place-content: center;
    /* background-color: blue; */
}

.background.image {
    position: absolute;
    z-index: -1;
}

.background-image {
    height: 100%;
    min-height: 670px;
    position: absolute;
    width: 100%;
    z-index: -1;
}

.background-image img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 120%;
}

.background-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    /* background-color: rgb(0 5 31 / 30%); */


}


.content-inicio {
    width: 50%;
    margin-left: 100px;
    /* padding-top: 50px     */
    /* font-size: ; */
}

.content-inicio .title {
    font-family: organetto, sans-serif;
    color: white;
    font-size: 4em;
    /* font-size: 5vw; */
    margin-left: 30px;
    line-height: 1.2em;
}

.content-inicio img {
    width: 80%;
    min-width: 300px;
}


#carouselHeader {
    height: 100%;
}

.carousel-inner {
    height: 100%;

    /* display: grid !important;
    place-content: center !important; */
}

.carousel-item {
    display: none;
}

.carousel-item.active {
    display: grid !important;
    place-content: center !important;
    place-items: center !important;
    height: 100%;
}

.carousel-caption {
    position: relative !important;
}

.indicator {
    display: block;
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin-left: 20px;
    transition: 0.3s;
    cursor: pointer;
}

li.active>.indicator {
    width: 13px;
    height: 13px;
    transition: 0.3s;
    background-color: #fff;
}

/* CONTENIDO 2 */
.cont-2 {
    /* height: 100vh; */
    padding-top: 100px;
    margin-top: -2%;
    padding-bottom: 60px;
    position: relative;

    background-image: url("./assets/backgrounds/1-min.png");
    background-size: cover;
    background-position: top;
}

.title-cont-2 {
    text-align: center;
    margin-top: 50px;
}

.title-cont-2>h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #003E85;
}

.cont-boxs {
    width: 80%;
    display: block;
    margin: auto;
}

.boxs-1 {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 270px);
    gap: 3em;
    place-items: center;
    place-content: center;
}

.box {
    height: 400px;
    width: 100%;
    position: relative;
    background-color: black;
    padding: 0.9em;
    border-radius: 15px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 40px;

    max-width: 270px;
    min-width: 270px;
}

.box .content-img {
    width: 100%;
    height: 100%;
}

.box .content-img img {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    height: 85%;
}

.box .content-img .image-overlay {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 100%;
    height: 30%;
    /* Ajusta la altura del viñete según tus necesidades */
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.border-interno {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: #000;
    width: 55.5px;
    height: 50px;
    border-radius: 50%;
}

.cont-boxs .content-text {
    position: absolute;
    bottom: 0;
    right: -15px;
    height: 150px;
    padding: 1em;
    width: 85%;
    background-color: #003E85;
    color: white;
    border-radius: 8px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 40px;

    display: grid;
    place-content: center;
}

.cont-boxs .content-text::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: -29px;
    bottom: 0px;
    width: 30px;
    background: #003E85;
    height: 30px;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 20px;
}
.cont-boxs .content-text .font-title{
    font-size: 1.7em;
    line-height: 28px;
}
.cont-boxs .content-text .font-lato{
    font-size: 1.05em;
    line-height: 1.2em;
}
.cont-2 .card-body {
    display: grid;
    place-content: center;
    /* place-items: center; */
}

.boxs-2 {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 270px);
    gap: 1em;
    place-items: center;
    place-content: center;
}

.card {
    width: 100%;
}

.card-img-top {
    height: 188px;
    width: 100%;
    object-fit: cover;
}

.card-body {
    background-color: #003E85;
    color: white;
    height: 160px;
}

.card-body>h5 {
    font-size: 1.8rem;
    font-weight: bold;
}

.button-cont-2 {
    width: 100%;
    display: grid;
    place-content: center;
    margin-top: 30px;
}

.button-cont-2>button {
    background-color: #003E85;
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 12px;
    border: none;
    outline: none;
}

.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 40px;
    z-index: 1000;
}

.whatsapp img {
    width: 80px;
    height: 80px;
}

/* CONTENIDO 3 */
.cont-3 {
    display: grid;
    grid-template-columns: 50% 50%;
    background-color: #003E85;
}

.img-cont-3 {
    object-fit: cover;
}

.img-cont-3>img {
    width: 80%;
}

.content-cont-3 {
    padding: 30px;
    display: grid;
    place-content: center;
}

.content-cont-3>.cont>h2 {
    font-size: 3rem;
    color: white;
    font-weight: bold;
    margin-bottom: 25px;
}

.content-cont-3>.cont>p {
    font-size: 1.3rem;
    width: 70%;
    color: white;
}

.content-cont-3>.cont>.btn button {
    color: #003E85;
    padding: 15px 30px;
    border: none;
    outline: none;
    border-radius: 12px;
    font-weight: 600;
}


/* CONTENIDO 4 */
.cont-4 {
    height: 42em;
    position: relative;
    background-color: #003E85;
}

.cont-4>.title {
    background-image: url('assets/backgrounds/backfround-title.png');
    /* height: 300px; */
    height: 50%;
    background-color: #003E85;
    background-size: cover;
    background-position: bottom;
}

.cont-4>.title>h2 {
    font-size: 3rem;
    color: #003E85;
    padding-left: 100px;
    padding-top: 80px;
    width: 50%;
}

/* carousel team */
.clients {
    background-color: #003E85;
    height: 410px;
}

.cont-clients {
    padding-top: 5%;
    display: flex;
}

.client {
    width: 200px;
    margin-right: 20px;
}

.client>img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.client>p {
    font-size: 1rem;
    font-weight: 600;
}

.carousel-item.clients-carousel.active {
    display: grid;
    place-content: center;
    place-items: center;
}

.carousel-item.clients-carousel.active>.carousel-caption {
    left: 1% !important;
}

.carousel-inner.cont-4 {
    height: 200px;
    margin-top: -30px;
}

/* CONTENIDO 5 */
.cont-5 {
    display: grid;
    grid-template-columns: 80%;
    place-content: center;
    place-items: center;
    /* margin-top: 50px; */
    padding-bottom: 50px;

    margin-top: -150px;
    padding-top: 170px;
    background-image: url('assets/backgrounds/background_cont5.png');
    background-position: top;
    background-size: cover;
    position: relative;
    z-index: 5;
    background-color: #003E85;
}



.container-cont-5 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    /* place-content: center;
    place-items: center; */
}

.conts-cont-5 {
    padding: 20px;
}

.conts-cont-5>.img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
}

.img_cont_5 {
    /* width: 60%; */
    max-height: 100%;
   
}
.img_cont_5.mal-50{
    margin-right: -50px;
}
.conts-cont-5>.title {
    font-size: 8rem;
    line-height: 8rem;
    font-weight: 700;
    color: #003E85;
    font-family: organetto;
}

.conts-cont-5>.text {
    font-size: 1.6rem;
    line-height: 1.6rem;
    font-weight: 600;
    color: #003E85;
    text-align: center;
}

.button-cont-5 button {
    background-color: #003E85;
    color: white;
    border: none;
    outline: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 30px;
}


/* CONTENIDO 6 */
.cont-6 {
    padding-bottom: 40px;
    background-image: url('assets/backgrounds/background_before_footer.png');
    background-position: bottom;
    background-size: cover;

    height: 750px;
    position: relative;
    z-index: 2;
}

.bd-example {
    /* background-color: #003E85; */
    background-image: url('assets/background_work_home.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 30px;
    /* border-radius: 24px; */
    width: 100%;

    height: 450px;
    display: grid;
    /* place-content: center; */
    align-items: center;

    overflow-x: scroll;
}

/* Ocultar la barra de desplazamiento por defecto */
 .bd-example::-webkit-scrollbar {
    width: 0px;
    background: transparent;
  }

.carousel-inner.-cont-6 {
    height: 300px;
}

.carousel-inner.-cont-6 .carousel-caption {
    left: 1% !important;
}

.cont-box-6 {
    margin-top: 3.5%;
    

    width: max-content;
    padding: 0px 1em 1em 1em;
    display: flex;
}

.box-cont-6 {
    height: 250px;
    width: 300px;
    background-color: #ccc;
    display: block;
    border-radius: 12px;
    margin-right: 15px;
    cursor: pointer;
}
.-cont-6{
    display: flex;
}

.box-cont-6>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.image_fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: 0.5s;
}

.image_fullscreen img {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    border-radius: 8px;
    transition: 0.5s;
}

.cursor-pointer {
    cursor: pointer;
}

.image_fullscreen .cerrar {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.ul-footer .active {
    border-bottom: 2px solid white;
    padding-bottom: 0px;
}

.no-scroll {
    overflow-y: hidden;
}


/* Footer */
.footer {
    /* height: 300px; */
    height: 430px;
    position: relative;
    z-index: 1;
    margin-top: -240px;
    /* margin-top: -180px; */
    /* margin-top: -200px; */
    padding-top: 130px;
    background-color: #003E85;
    background-image: url('assets/backgrounds/background_footer.png');
}

.content-footer {
    display: grid;
    height: 100%;
    grid-template-columns: 40% 25% 24%;

}

.content-footer>.img {
    width: 100%;
    display: grid;
    place-items: center;
    place-content: center;
}

.content-footer>.img>img {
    width: 60%;
}


.title-footer {
    font-size: 2rem;
    color: white;
    font-weight: 900;
}

.navegacion {
    margin-top: 60px;
}

.encuentranos {
    margin-top: 60px;
    color: white;
    font-size: 1.5rem;
}

.icons-socials {
    font-size: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 60px);
    width: fit-content;
    margin: auto;

}

.icons-socials a {
    color: #fff;
    text-decoration: none;
}

.ul-footer {
    color: #fff;
    list-style: none;
    font-size: 1.5rem;
}

.ul-footer>li>a {
    text-decoration: none;
    cursor: pointer;
    color: #fff;
}

.swal-button {
    background-color: #003E85 !important;
    color: #fff !important;
    font-family: 'Lato', sans-serif !important;
}

.carousel-control-prev.our_work {
    display: none;
}

.carousel-control-next.our_work {
    display: none;
}

@media (max-width: 1200px) {
    .img-cont-3>img {
        width: 90%;
    }

    .content-cont-3>.cont>p {
        margin: auto;
        margin-bottom: 15px;
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .boxs-1 {
        grid-template-columns: repeat(2, 50%);
    }

    .boxs-2 {
        grid-template-columns: repeat(2, 42%);
    }

    .container-cont-5 {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 1129px) {
    .carousel-control-prev.our_work {
        display: flex;
    }

    .carousel-control-next.our_work {
        display: flex;
    }
}

@media (max-width: 920px) {
    .nav-link {
        color: white !important;
    }

    .navbar-nav .nav-link {
        text-align: center;
    }

    .content-footer {
        grid-template-columns: 0% 50% 50%;
        place-content: center;
        place-items: center;
    }

    .img-cont-3 {
        display: none;
    }

    .cont-3 {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .bd-example{
        background-size: auto 100%;
    }
    .content-inicio {
        margin-left: 10px;
        padding-top: 0px;
    }

    .content-inicio .title {
        font-size: 3em;
    }

    .cont-2 {
        margin-top: -10%;
    }

    .title-cont-2>h2 {
        margin-top: 90px;
    }

    .header {
        height: 90vh;
    }

    .conts-cont-5>.title {
        font-size: 6rem;
        line-height: 6rem;
    }

    .conts-cont-5>.img {
        /* height: 200px; */
    }

    .conts-cont-5>.img img {
        /* width: 60%; */
    }

    #carouselHeader .carousel-caption img {
        width: 70%;
    }

    .carousel-inner.-cont-6 .carousel-caption {
        left: 5% !important;
        top: 0px;
    }

    #carouselHeader .carousel-caption h5 {
        font-size: 2em;
    }

    .whatsapp img {
        width: 70px;
    }

    .cont-4>.title>h2 {
        width: 100%;
        padding-left: 0px;
        padding-top: 50px;
        text-align: center;
        font-size: 2.5em;
    }
}

@media (max-height: 365px) {
    .cont-2 {
        margin-top: -20%;
    }
}

@media (max-width: 700px) {
    .content-inicio .title {
        font-size: 2.4em;
    }

    .footer {
        height: auto;
        padding-bottom: 30px;
        text-align: center;
    }

    .ul-footer {
        padding: 0px;
    }

    .content-footer {
        padding-top: 50px;
        grid-template-columns: 100%;
        place-content: center;
        place-items: center;
    }

    .boxs-1 {
        grid-template-columns: 300px;
    }

    .boxs-2 {
        grid-template-columns: 300px;
    }
}

@media (max-width: 520px) {
    .content-inicio .title {
        font-size: 2em;
    }

}

@media (min-width: 1400px) {
    .cont-5 {
        padding-top: 250px;
        padding-bottom: 100px;
    }

    .conts-cont-5>.title {
        text-align: center;
    }

    .conts-cont-5>.img {
        height: 170px;
    }

    .footer {
        /* margin-top: -200px; */
    }
}


.clients {
    display: flex;
    overflow-x: scroll;
    /* width: calc(100% - 100px); */
    width: 95%;
    margin: auto;
    position: relative;
    z-index: 1;
    /* padding-left: 10px; */
    /* padding-right: 40px; */
    /* height: 300px; */
}


.cont-clients {
    display: flex;
    flex-wrap: nowrap;
}

.client {
    margin-right: 10px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client p {
    margin-top: 10px;
    text-align: center;
    white-space: break-spaces;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scroll_client_next,
.scroll_client_back {
    color: white;
    font-size: 2rem;
    position: absolute;
    top: 60%;
    z-index: 9;
}

.scroll_client_back {

    left: 5px;
    background-color: transparent;
    border: none;
    outline: none;
}

.scroll_client_next {

    right: 5px;
    background-color: transparent;
    border: none;
    outline: none;
}

#button_back_scroll_client {
    display: none;
}