.public-header .header-lower .info-btn-two.style-two .icon {
    background-color: var(--theme-color1);
    border-color: var(--theme-color1);
    color: var(--theme-color-light);
}

.public-header .main-box .outer-box .btn-box.style-two .theme-btn {
    background-color: var(--theme-color1);
    border: 1px solid var(--theme-color1);
    color: var(--theme-color-light);
}

.public-header .main-box .outer-box .btn-box.style-two .theme-btn:before {
    background-color: var(--theme-color-light);
}

.public-header .main-box .outer-box .btn-box.style-two .theme-btn:hover,
.public-header .main-box .outer-box .btn-box.style-two .theme-btn:hover .btn-title {
    color: var(--theme-color2);
}

.public-header .main-box .nav-outer .navigation > li:hover > a,
.public-header .main-box .nav-outer .navigation > li.current > a,
.public-header .main-box .nav-outer .navigation > li > a:hover {
    /*color: var(--theme-color2);*/
}

.public-logo-main {
    max-height: 52px;
    width: auto;
}

.public-logo-mobile {
    max-height: 42px;
    width: auto;
}

.public-logo-sticky {
    max-height: 44px;
    width: auto;
}

.public-footer-bg {
    background-image: url(/assets/images/ext/carpento/pattern/shape-1.png);
}

.public-language-image {
    width: 100%;
    height: auto;
}

.tes98-hero {
    overflow: hidden;
}

.tes98-hero-bg {
    background-image: url(/assets/images/ext/carpento/main-slider/6.jpg);
    z-index: 0;
}

.tes98-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.tes98-hero-container {
    position: relative;
    z-index: 3;
}

.tes98-hero-row {
    min-height: 935px;
    padding: 48px 0 88px;
}

.tes98-hero-copy {
    padding-bottom: 240px;
}

.tes98-hero-figure {
    z-index: 3;
    margin-bottom: -24px;
    top: -2rem;
    left: -3rem;
}

.tes98-hero-image {
    width: 98%;
    max-width: none;
}

.tes98-projects-bg {
    background-image: url(/assets/images/ext/carpento/background/15.jpg);
}

.tes98-video-bg {
    background-image: url(/assets/images/ext/carpento/background/16.jpg);
}

.tes98-faq-bg {
    background-image: url(/assets/images/ext/carpento/background/17.jpg);
}

.tes98-page-title {
    background-image: url(/assets/images/ext/carpento/background/page-title.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.tes98-reference-gallery {
    padding: 120px 0 90px;
}

.tes98-gallery-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background-color: #1f1b19;
}

.tes98-gallery-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 300ms ease;
}

.tes98-gallery-card video {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 300ms ease;
}

.tes98-gallery-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(34, 30, 28, 0.08) 0%, rgba(34, 30, 28, 0.68) 100%);
    z-index: 1;
    transition: opacity 300ms ease;
}

.tes98-gallery-card__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    margin-left: -37px;
    margin-top: -37px;
    border-radius: 50%;
    background-color: var(--theme-color1);
    color: var(--theme-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 2;
    transition: all 300ms ease;
}

.tes98-gallery-card__icon i {
    line-height: 1;
    display: block;
}

.tes98-gallery-card:hover img {
    transform: scale(1.06);
}

.tes98-gallery-card:hover video {
    transform: scale(1.06);
}

.tes98-gallery-card:hover::before {
    opacity: 0.88;
}

.tes98-gallery-card:hover .tes98-gallery-card__icon {
    background-color: var(--theme-color-light);
    color: var(--theme-color2);
}

.tes98-gallery-card--with-title .tes98-gallery-card__title {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 2;
    color: var(--theme-color-light);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.fancybox-slide--video {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 24px;
    overflow: hidden;
}

.fancybox-slide--video:before {
    display: none;
}

.fancybox-slide--video > *,
.fancybox-slide--video .fancybox-content {
    width: auto !important;
    height: auto !important;
    max-width: min(1280px, calc(100vw - 48px));
    max-height: calc(100vh - 88px);
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: transparent;
}

.fancybox-slide--video video,
.fancybox-slide--video .fancybox-content video {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: min(1280px, calc(100vw - 48px));
    max-height: calc(100vh - 88px);
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .fancybox-slide--video {
        padding: 32px 12px;
    }

    .fancybox-slide--video > *,
    .fancybox-slide--video .fancybox-content,
    .fancybox-slide--video video,
    .fancybox-slide--video .fancybox-content video {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 64px);
    }
}

.tes98-contact-map-wrap {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    border-radius: 10px;
}

.tes98-contact-map {
    width: 100%;
    height: 620px;
    border: 0;
}

.contact-details__info li .icon {
    flex: 0 0 80px;
    min-width: 80px;
}

@media (max-width: 991.98px) {
    .tes98-contact-map-wrap {
        min-height: 520px;
        margin-bottom: 40px;
    }

    .tes98-contact-map {
        height: 520px;
    }
}

.services-section-six .carousel-outer:before {
    z-index: 1;
}

.services-section-six .service-block-six .inner-box .image {
    aspect-ratio: 4 / 5;
}

.services-section-six .service-block-six .inner-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-block-six .inner-box .content-box .title {
    min-height: 60px;
}

.services-section-six .service-block-six .inner-box .content-box .text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.projects-section-six .project-block-six .inner-box .image {
    aspect-ratio: 4 / 5;
    background-color: #1f1b19;
    overflow: hidden;
}

.projects-section-six .project-block-six .inner-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tes98-home-carousel-nav {
    position: relative;
}

.tes98-home-carousel-nav .owl-nav {
    position: absolute;
    top: 50%;
    left: -78px;
    right: -78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 4;
}

.tes98-home-carousel-nav .owl-nav .owl-prev,
.tes98-home-carousel-nav .owl-nav .owl-next {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(198, 148, 83, 0.45);
    border-radius: 50%;
    background-color: rgba(36, 32, 31, 0.92);
    color: var(--theme-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    pointer-events: auto;
    transition: all 300ms ease;
}

.tes98-home-carousel-nav .owl-nav .owl-prev:hover,
.tes98-home-carousel-nav .owl-nav .owl-next:hover {
    background-color: var(--theme-color1);
    border-color: var(--theme-color1);
    color: var(--theme-color2);
}

@media (max-width: 1399.98px) {
    .tes98-home-carousel-nav .owl-nav {
        left: -26px;
        right: -26px;
    }
}

@media (max-width: 991.98px) {
    .tes98-home-carousel-nav .owl-nav {
        left: 10px;
        right: 10px;
    }

    .tes98-home-carousel-nav .owl-nav .owl-prev,
    .tes98-home-carousel-nav .owl-nav .owl-next {
        width: 46px;
        height: 46px;
        font-size: 16px;
    }
}

.main-slider-six .theme-btn {
    margin-top: 36px;
}

.services-section-home2 .service-block-two .inner-box .image-box .image {
    height: 320px;
    overflow: hidden;
}

.services-section-home2 .row {
    align-items: stretch;
}

.services-section-home2 .service-block-two,
.services-section-home2 .service-block-two .inner-box,
.services-section-home2 .service-block-two .inner-box .content-box {
    height: 100%;
}

.services-section-home2 .service-block-two .inner-box {
    display: flex;
    flex-direction: column;
}

.services-section-home2 .service-block-two .inner-box .image-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-section-home2 .service-block-two .inner-box .content-box .inner {
    display: block;
    width: 100%;
    flex: 1 1 auto;
    padding-bottom: 0;
}

.services-section-home2 .service-block-two .inner-box .content-box {
    display: flex;
    flex-direction: column;
}

.services-section-home2 .service-block-two .inner-box .content-box .theme-btn {
    margin-top: auto;
}

@media (max-width: 767.98px) {
    .services-section-home2 .service-block-two .inner-box .image-box .image {
        height: 260px;
    }
}

.services-details .sidebar-service-list li a {
    min-height: 72px;
    padding-right: 72px;
    white-space: normal;
}

.services-details .sidebar-service-list li a span {
    display: block;
    min-width: 0;
    line-height: 1.45;
}

.services-details .sidebar-service-list li a i {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    margin-top: 0;
}

.services-details .sidebar-service-list li a:hover i {
    transform: translateY(-50%);
}

.services-details .services-details__content > img {
    width: 100%;
    display: block;
}

.project-details .project-details__img img {
    width: 100%;
    max-height: 720px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.news-section .row {
    align-items: stretch;
}

.news-section .news-block {
    display: flex;
}

.news-section .news-block .inner-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.news-section .news-block .content-box {
    flex: 1 1 auto;
}

.news-section .news-block .content-box .title {
    min-height: 2.4em;
}

.news-section .news-block .bottom-box {
    margin-top: auto;
}

.project-section .row {
    align-items: stretch;
}

.project-section .project-block-six {
    width: 100%;
    height: 100%;
}

.project-section .col-xl-3.col-sm-6 {
    display: flex;
}

.project-section .project-block-six .inner-box {
    height: 100%;
}

.project-section .project-block-six .inner-box .image {
    height: 460px;
    background-color: #1f1b19;
    margin-bottom: 0;
}

.project-section .project-block-six .inner-box .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-section .project-block-six .inner-box .content-box {
    bottom: 82px;
    left: 24px;
    right: 0px;
    width: auto;
    min-height: 126px;
    max-width: 336px;
}

.project-section .project-block-six .inner-box .content-box .inner {
    min-height: 126px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 60px;
}

.project-section .project-block-six .inner-box .content-box .cat {
    max-width: calc(100% - 10px);
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
}

.tes98-public-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.tes98-public-pagination__info {
    color: #6f6a66;
    font-size: 15px;
}

.tes98-public-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tes98-public-pagination .page-item {
    margin: 0;
}

.tes98-public-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(212, 162, 91, .35);
    border-radius: 999px;
    background: #fff;
    color: #211c1a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: all .25s ease;
}

.tes98-public-pagination .page-item:first-child .page-link,
.tes98-public-pagination .page-item:last-child .page-link,
.tes98-public-pagination .page-item:first-child .page-link:focus,
.tes98-public-pagination .page-item:last-child .page-link:focus {
    border-radius: 999px;
}

.tes98-public-pagination .page-link:hover,
.tes98-public-pagination .page-item.active .page-link {
    background: var(--theme-color1);
    border-color: var(--theme-color1);
    color: #fff;
}

.tes98-public-pagination .page-link:has(i) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-width: 0;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #211c1a;
    line-height: 1;
    vertical-align: middle;
}

.tes98-public-pagination .page-link:has(i):hover,
.tes98-public-pagination .page-item.active .page-link:has(i) {
    background: transparent;
    border-color: transparent;
    color: var(--theme-color1);
}

.news-block .bottom-box .read-more i {
    line-height: 30px;
}

.main-slider-six h1 {
    font-size: 80px;
}

.about-section-six .image-column .inner-column .image-box .image img {
    object-fit: cover;
    object-position: center;
    width: 435px;
    height: 668px;
}

.about-section-six .image-column .inner-column .image-box .image-2 img {
    object-fit: cover;
    object-position: 54%;
    width: 270px;
    height: 313px;
}

@media (max-width: 1199.98px) {
    .project-section .project-block-six .inner-box .image {
        height: 420px;
    }
}

@media (max-width: 767.98px) {
    .project-details .project-details__img img {
        max-height: 360px;
    }

    .project-section .project-block-six .inner-box .image {
        height: 360px;
    }

    .project-section .project-block-six .inner-box .content-box {
        left: 18px;
        right: 18px;
        bottom: 58px;
        min-height: 118px;
        max-width: calc(100% - 36px);
    }

    .project-section .project-block-six .inner-box .content-box .inner {
        min-height: 118px;
        padding-right: 84px;
    }
}
