*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none !important;
}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* Style Menu */
.navbar-nav .nav-item .nav-link {
    text-transform: uppercase;
    font-weight: 400;
    color: #333333;
    font-size: 0.75rem;
}

.navbar-nav .nav-item {
    max-width: 145px;
}

.navbar-nav .nav-item .nav-link.active {
    font-weight: 500;
    color: #0F9B00;
}

.img-thumbnail {
    border: 0;
}

.imgLogo {
    max-width: 240px;
}

.eslogan {
    max-width: 240px;
    margin-top: 15px;
    margin-left: -5px;
}

.menuIdioma {
    position: absolute;
    right: 80px;
    top: 10px;
}

/* Style Footer */
.footerBg {
    padding-top: 50px;
    padding-bottom: 40px;
    background: #DBDBDB;
}

.footerColor {
    background: black;
    color: #545454;
    font-weight: 600;
}

.infoLocation {
    font-size: 18px;
    color: #717171;
    font-weight: 700;
}

.infoLocationText {
    font-size: 18px;
    color: rgb(116, 116, 116);
    line-height: 31px;
}

.textFooter {
    text-align: center;
}

/* styles slider */
.carousel-indicators [data-bs-target] {
    width: 20px;
    height: 20px;
    border-radius: 100%;
}

.carousel-item {
    height: 100vh;
    min-height: 300px;
}

.carousel-caption {
    top: 40%;
}

.carousel-caption h5 {
    background: rgba(0, 0, 0, 0.4);
    display: inline-block;
    color: #fff;
    font-size: clamp(1rem, -0.1765rem + 4.7059vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px;
}

.carousel-caption p {
    display: block;
    color: #fff;
    text-transform: uppercase;
    background: rgba(15, 155, 0, 0.4);
    width: 60%;
    margin: auto;
    margin-top: 50px;
    padding: 20px;
    font-size: clamp(0.75rem, 0.5294rem + 0.8824vw, 1.125rem);
    font-weight: 600;
    line-height: 1.9;
}

.textUnderSlider {
    padding: 90px 0px;
    background: #387658;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    color: rgb(255, 255, 255);
    text-align: center;
}

.textUnderSlider span {
    margin: auto;
    text-align: center;
}

/* end style slider */

/* Styles about */
.about {
    padding-top: 12rem;
    padding-bottom: 5rem;
}

.textAbout {
    margin-bottom: 50px;
}

.textAbout h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 42px;
    color: rgb(51, 51, 51);
}

hr {
    height: 3px;
    width: 20%;
    background-color: #0F9B00;
    color: #0F9B00;
}

.textContentAbout {
    padding: 0px 40px 0px 225px;
}

.titleAbout strong {
    font-weight: bold;
    font-size: 20px;
    line-height: 35px;
    color: rgb(116, 116, 116);
}

.textContentAbout p {
    font-weight: 400;
    font-size: 16px;
    line-height: 38px;
    color: rgb(116, 116, 116);
}

/* en styles about */

/* style service */

.services {
    padding-top: 12rem;
    padding-bottom: 5rem;
}

.titleService {
    font-size: 32px;
    font-weight: 400;
    line-height: 42px;
    color: rgb(51, 51, 51);
    padding-top: 25px;
}

.titleService2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 42px;
    color: rgb(51, 51, 51);
}

.subTitleService {
    font-size: 16px;
    font-weight: 400;
    line-height: 36px;
    color: rgb(116, 116, 116);
    margin-top: 35px;
    margin-bottom: 50px;
}

/* end style service */

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: rgba(15, 155, 0, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #0F9B00;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

.imgFooter {
    width: 85%;
}


/* Hafl Circle */
.semiCirculo {
    background-color: #F5F5F5;
    height: 35vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.semiCirculo:after {
    content: "";
    background-color: white;
    border-radius: 50%;
    height: 800px;
    width: 100%;
    position: absolute;
    left: 0px;
    top: -610px;
    transform: scaleX(1.5);
}

/* End half circle */

@media (max-width: 1399.98px) {
    .eslogan {
        max-width: 200px;
    }

    .textContentAbout {
        padding: 0px 40px 0px 100px;
    }
}

@media (max-width: 1199.98px) {
    .imgLogo {
        max-width: 200px;
    }

    .eslogan {
        max-width: 190px;

    }

    .navbar-nav .nav-item .nav-link {
        font-size: 12px;
    }

    .textContentAbout strong {
        font-size: 18px;
    }

    .textContentAbout p {
        font-size: 14px;
        line-height: 30px;
    }
}

@media (max-width: 991.98px) {
    .imgLogo {
        max-width: 200px;
    }

    .eslogan {
        max-width: 270px;
        margin-left: -380px;
        margin-top: 12px;
    }

    .menuIdioma {
        position: absolute;
        right: 100px;
        top: 17px;
    }

    .carousel-item {
        height: auto;
    }

    .carousel-caption {
        top: 30%;
    }

    .textUnderSlider {
        padding: 50px 0px;
    }

    .textUnderSlider span {
        font-size: 20px;
        padding: 0 10px;
        line-height: 30px;
    }

    .textContentAbout {
        padding: 0px;
        padding-left: 5%;
        padding-right: 2%;
    }

    .textContentAbout strong {
        font-size: 16px;
        line-height: 30px;
    }

    .textContentAbout p {
        font-size: 14px;
        line-height: 26px;
    }
}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .eslogan {
        margin-left: -160px;
    }

    .carousel-item {
        height: auto;
    }

    .carousel-caption {
        top: 20%;
    }

    .textUnderSlider span {
        font-size: 20px;
        padding: 0 10px;
        line-height: 30px;
    }

    .textUnderSlider {
        padding: 40px 0px;
    }

    .textContentAbout {
        padding: 0px;
        padding-left: 10%;
        padding-right: 10%;
    }
}

/* BreakPoint */
/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .imgLogo {
        width: 160px;
        margin-left: -25px;
    }

    .eslogan {
        display: none;
    }

    .menuIdioma {
        top: 12px;
    }

    .carousel-item {
        height: auto;
        min-height: 300px;
    }

    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-caption {
        top: 15%;
    }

    .carousel-caption h5 {
        padding: 10px;
    }

    .carousel-caption p {
        width: 100%;
        margin-top: 25px;
        padding: 10px;
    }

    .textUnderSlider span {
        font-size: 16px;
        padding: 0 10px;
        line-height: 30px;
    }

    .textUnderSlider {
        padding: 15px 0px;
    }

    .services {
        padding-top: 17rem;
    }

    .textFooter {
        font-size: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}