body {
    color: #2d2d2d;
    font-family: 'Lato', sans-serif;
    /*font-family: 'Quicksand', sans-serif;*/
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', serif;
    /*font-family: 'Playfair Display', serif;*/
}

h2 {
    font-size: 40px;
}

p {
    font-family: 'Lato', sans-serif;
    line-height: 26px;
    font-size: 18px;
    font-weight: 500;
}

h1 {
    font-size: 60px;
    font-weight: 700;
}

.header--area .header__inner::before {
    background-color: #ffffff;
}

.logo__link img {
    margin-top: -30px;
    margin-left: 20px;
    max-width: 260px;
}

.mobile-overlay__logo img {
    max-width: 180px;
}

.footer-block__logo img {
    max-width: 250px;
}

.sticky-logo .logo__link img {
    margin: 8px auto;
    max-width: 150px;
}

.headerTop__social ul li a {
    font-size: 18px;
}

.text-justify{
    text-align: justify;
}

.headerTop__social ul li a {
    padding: 8px 12.5px;
}

.headerBottom__infos ul li {
    padding: 10px 25px 10px 0;
}

.img-about {
    border-radius: 10px;
    max-width: 85%;
    margin-left: 20px;
}

.video-gallery--h3 {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.project--area {
    padding-top: 50px;
}

.project-block__caption {
    background-color: #00b7f945;
    border: 1px solid #333f4d66;
}

.project-block__caption {
    padding: 0;
    min-width: 100%;
}

.project-block::before {
    background-color: transparent;
}

.nice-select {
    line-height: 30px;
    padding-left: 10px;
    padding-right: 25px;
    height: auto;
}

.btns--appointment i {
    font-size: 20px;
    margin-left: 12px;
}

.service-block__image {
    max-height: 410px;
    overflow: hidden;
}

.team-block__thumb img {
    border-radius: 5px;
}

footer {
    margin-top: 50px;
}

.g-40, .gx-40 {
    --bs-gutter-x: 15px;
}

.menu-social {
    list-style: none;
    display: inline-flex;
    margin-left: 1px;
}
  
.menu-social {
    position: fixed;
    z-index: 99999;
    bottom: 60px;
    right: 70px;
    padding-right: 10px;
}
  
.menu-social a {
    background: #007d1e;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    text-align: center;
    font-size: 35px;
    margin: 8px;
    border: 2px solid #007d1e;
    color: #ffffff;
    padding: 0;
    margin-bottom: 10px;
    box-shadow: 0 0 2px 0px #fff;
}

.scrollToTopBtn {
    bottom: 70px;
}

.social-item {
    margin: 2px;
    color: #ffffff;
}

.menu-social span {
    position: absolute;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    min-width: 180px;
    background: #007d1e;
    z-index: -1;
    bottom: 20px;
    padding: 5px;
    border-radius: 20px 0px 0px 20px;
    margin-left: -180px;
    border: 1px solid;
    margin-top: 5px;
}

.socials {
    margin-top: 3px;
}

.socials .fa {
    font-size: 20px;
    margin: auto 10px;
    color: #0a0a0a;
}

.process-block__icon img {
    max-width: 100px;
}

.process-block__text {
    -webkit-line-clamp: 3;
}

.carousel-caption {
    right: 10%;
    left: 10%;
    top: 15%;
    bottom: auto;
}

.youtube-iframe {
    width: 100%;
    height: 360px;
}

.section-title__big-title {
    text-transform: none;
}

.service-block__content {
    padding: 10px 25px 50px 30px;
}

.section-title__small-title {
    font-size: 32px;
}

.btns--primary, .btns--secondary {
    border-radius: 50px;
}

.sidebar-block__nav > .nav-tabs > .nav-item > .nav-link {
    font-size: 16px;
    font-weight: 600;
}

.sidebar-post__image img {
    max-width: 70px;
}

.sidebar-post {
    align-items: center;
}

.blog-block__content {
    padding: 45px 20px 30px 20px;
}

.blog-block__heading {
    font-size: 20px;
    max-width: 100%;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
  
.video-bg {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
  
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Ajustar opacidad según sea necesario */
}

/* ------------- Pagina de servicio -------------------- */ 
#page_service h1 {
    font-size: 40px;
}

#page_service .project-details ul {
    margin: 0 0 20px 30px;
    padding: 0;
}

#page_service .project-details ul li {
    list-style: disc;
}

#page_service .project-details h2 {
    font-size: 30px;
}

#page_service .project-details {
    padding-right: 15px;
}

#page_service .project-details p, #page_post #content_post p{
    text-align: justify;
}

/* --------------- Pagina de blog ---------------------- */
#page_post .blog-details__image  {
    background-repeat: no-repeat;
    background-size: cover;
}

#page_post h1 {
    font-size: 35px;
}

.sidebar-post__title > a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}

.blog-block--style4 .blog-block__heading {
    font-size: 22px;
}

#home-blog .blog-block__image  {
    height: 300px;
    overflow: hidden;
}

.blog-block__footer {
    margin-top: 10px;
}

#content_post h3 {
    margin-top: 25px;
}

.blog-block__image img {
    width: 100%;
}

.main-menu > nav > ul > li > ul {
    min-width: 260px;
}

.hero-content__small-title {
    color: #021a42;
}

.btns--primary, .btns--secondary {
    background-color: #021a42;
}

.carousel-inner, .carousel-item {
    height: 90vh;
}

.carousel-item p{
    color: #000;
}

.carousel-caption {
    background: #ffffff42;
    top: auto;
    bottom: 20px;
    max-height: max-content;
}

.service-block__more {
    position: absolute;
    right: 0;
    top: auto;
    bottom: 0;
    min-width: 55px;
    min-height: 50px;
}

.service-block__more i {
    font-size: 18px;
}

.service-block__more span {
    font-size: 14px;
    font-weight: 500;
}

.select-lang img {
    max-width: 22px;
}

.headerTop ul {
    display: masonry;
}

.h-container {
    display: flex;
    justify-content: space-between;
}

.section-title__small-title {
    text-transform: none;
}

@media (max-width: 768px) {
    .headerTop__social ul li a {
        font-size: 14px;
        padding: 7px 5px;
    }

    .main-slider__single {
        padding-bottom: 0;
        min-height: 700px;
    }

    .main-slider__shape.s1 {
        top: 0;
    }

    .headerTop--h1 {
        padding: 5px 0;
    }

    h2 {
        font-size: 26px;
    }

    .carousel-caption {
        right: 2%;
        left: 2%;
    }

    #page_service .project-details p, #page_post #content_post p {
        text-align: left;
    }

    .page {
        min-height: 20px;
    }

    .logo--area {
        position: absolute;
    }

    .logo__link img {
        margin-top: -16px;
        max-width: 200px;
    }

    .headerBottom--area {
        padding: 17px 0;
    }

    .carousel-inner, .carousel-item {
        height: 100vh;
    }

    .hero-content {
        padding: 20px 10px;
        border-radius: 8px;
        top: 8%;
        position: absolute;
    }

    .youtube-iframe {
        width: 100%;
        height: 200px;
    }

    .hero-content__big-title {
        font-size: 26px;
    }

    .hero-content__text {
        font-size: 18px;
        line-height: 20px;
    }

    .carousel-caption {
        background: #ffffff78;
        top: auto;
        bottom: 30px;
        max-height: max-content;
    }

    /* ------------- Pagina de servicio -------------------- */ 
    .services--area {
        padding-top: 0;
    }

    #page_service .project {
        padding-top: 30px;
    }

    #page_service .project-details {
        padding-right: 0;
    }

    /* ------------- Pagina de blog ------------------------*/
    #page_post h1, #page_service h1, .services--area {
        padding-top: 30px;
        font-size: 22px;
    }

    .blog-block--style4 .blog-block__heading {
        font-size: 20px;
    }

    #page_blog .blog, #page_post .blog {
        padding-top: 40px;
    }

    /*------------------------- Footer --------------------------------*/

    .footer-bottom {
        padding-bottom: 100px;
    }

    .menu-social {
        bottom: 10px;
    }

    .scrollToTopBtn {
        bottom: 25px;
    }

    /*------------------------- About --------------------------------*/
    #about-us-page .section-about {
        padding-bottom: 0;
    }
    
    #about-us-page .about-content__text {
        text-align: center;
    }

    #about-us-page .section-title__big-title, #about-us-page .section-title__small-title {
        text-align: center;
    }

    #about-us-page .section-title__small-title > span {
        display: none;
    }
}