/* ---banner-------- */
.overlay-banner::after {
    content: "";
    background-image: linear-gradient(rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.31));
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bg-banner {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.phone-banner {
    font-size: 16px;
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    box-shadow: -2px 2px 2px #000;
    width: max-content;
    color: #0f3d3e;
    align-items: center;
    transition: .3s ease-in-out;
}

.phone-banner:hover {
    box-shadow: unset;
}

.btn-req-order {
    display: flex;
    justify-content: start;
    width: max-content;
    background: #d4af5d;
    box-shadow: -3px 3px 0 0 #fff;
    color: #ffffff;
    padding: 4px 19px;
    font-size: 22px;
    align-items: center;
    transition: .3s ease-in-out;
}

.btn-req-order:hover {
    box-shadow: unset;
}

/* -----------articles------------------ */
.articles-section {
    /* background-color: #111111 !important; */
}

.article-card img {
    transition: 0.5s ease-in-out;
}

.article-card .article-title {
    color: black;
    font-weight: 500;
    transition: 0.5s ease-in-out;
}

.article-image-wrapper {
    border-bottom-left-radius: 0px !important;
}

.article-card:hover .article-title {
    color: #d4af5d;
}

.article-card:hover img {
    scale: 1.15;
}

.article-date-badge {
    z-index: 2;
}

.fs-7 {
    font-size: 0.85rem;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 12px;
}


.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.transition-hover {
    transition: all 0.3s ease;
}

.articles-section span.text-secondary {
    color: #53585f !important;
    letter-spacing: 2px;
}

.article-date-badge {
    position: relative;
    border-top-right-radius: 12px;
}

.article-date-badge::after {
    content: '';
    position: absolute;
    left: 0;
    top: -15px;
    width: 20px;
    height: 16px;
    background-image: url('../src/images/triangle.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.article-date-badge::before {
    content: '';
    position: absolute;
    right: -17.5px;
    top: 15px;
    width: 18px;
    height: 18px;
    background-image: url('../src/images/triangle.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* ---------------services------------------  */
.custom-services-row {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
    width: 100%;
    justify-content: center;
}

.service-box {
    position: relative;
}


.services-section .service-cat-title {
    font-size: 18px;
    word-spacing: 2px;
}

.wide-box {
    width: calc(62.5% - 12px);
}

.service-box .service-card {
    height: 195px;
}

.narrow-box {
    width: calc(37.5% - 12px);
}

.custom-nav-btn {
    width: 33px;
    height: 33px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}
@media (max-width:992px) {
    .custom-nav-btn {
        top: 45%;
        position: absolute;
        z-index: 1000;
    }
    .custom-nav-btn.swiper-button-prev-custom {
        right: 0;
    }
    .custom-nav-btn.swiper-button-next-custom {
        left: 0;
    }
}
.services-section>img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 576px) {
    .banner-title {
        font-size: 2.25rem;
        text-shadow: -2px 3px 2px #0f3d3e;
    }



    .swiper-button-next-custom {
        border-radius: 0% 50% 50% 0%;
        padding-right: 6px;
    }

    .swiper-button-prev-custom {
        border-radius: 50% 0% 0% 50%;
        padding-left: 6px;
    }

    .articles-section .container {
        padding-right: 0px;
        padding-left: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }

    .projects-section .container {
        padding-right: 0px;
        padding-left: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }

    .customers-section .container {
        padding-right: 0px;
        padding-left: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }

}

@media (min-width:576px) and (max-width: 768px) {
    .services-section {
        height: 97vh;
    }

    .custom-nav-btn {
        border-radius: 50% 0% 0 50%;
    }

    .swiper-button-next-custom {
        border-radius: 0% 50% 50% 0%;
        padding-right: 6px;
    }

}

@media (min-width:768px) and (max-width: 992px) {
    .services-section {
        height: 90vh;
    }

    .custom-nav-btn {
        border-radius: 50% 0% 0 50%;
    }

    .swiper-button-next-custom {
        border-radius: 0% 50% 50% 0%;
        padding-right: 6px;
    }
}

@media (max-width: 992px) {

    .wide-box,
    .narrow-box {
        width: 100%;
    }
}
.hero-title {
    text-shadow: -3px 3px 0px #0f3d3e;
    line-height: 1.2;
    font-size: 3.6rem !important;
}
@media (max-width: 992px) {
    .hero-section {
        margin-top: -70px;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-section {
        height: 100vh;
    }

    .hero-swiper,
    .hero-swiper .swiper-wrapper,
    .hero-swiper .swiper-slide,
    .slide-image-wrapper {
        height: 100%;
    }

    .slide-image-wrapper img {
        height: 100%;
        object-fit: cover;
    }

}

@media(min-width:992px) {

    .hero-section,
    .hero-swiper,
    .hero-swiper .swiper-wrapper,
    .hero-swiper .swiper-slide {
        height: 100vh;
    }

    .phone-banner {
        font-size: 21px;
        padding: 8px 29px;

    }

    .hero-title-fs {
        font-size: 4rem;
    }

    .bg-banner {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .hero-section {
        height: 100vh;
        width: 100%;
        margin-top: -120px;
    }

    .custom-nav-btn {
        border-radius: 50%;
    }

    .banner-title {
        font-size: 3.25rem;
        text-shadow: -2px 3px 2px #0f3d3e;
    }
}



.service-card {
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-overlay {
    position: absolute;
    padding: 2rem;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.49) 100%);
}

.service-overlay-bottom {
    position: absolute;
    padding: 2rem;
    inset: 0;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.8) 100%);
}

.btn-artiman-green {
    background-color: #0f3d3e !important;
    box-shadow: -2px 2px 0 0 rgb(255, 255, 255);
    transition: all 0.3s ease !important;
    font-size: 12px !important;
    font-weight: bold !important;
    padding: 9px 12px !important;
}

.btn-artiman-green:hover {
    background-color: #0f3d3e;
    transform: scale(1.05);
    color: #fff;
    box-shadow: none;
}

.text-dark-green {
    color: #0f3d3e;
}

.service-icon-bg {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-bg {
    transform: rotate(15deg) scale(1.1);
}


/* ------------------CUSTOMERS------------------  */
.customers-section {
    /* background-color: #000000; */
    min-height: 400px;
    display: flex;
    align-items: center;
}

.customer-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.customer-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* .customer-card:hover .grayscale-hover {
                    filter: grayscale(0%);
                } */

.customer-watermark img {
    filter: brightness(0) invert(17%);
}




/* ---------hero---------------- */
.z-999 {
    z-index: 999;
}




.hero-swiper {
    width: 100%;
    height: 100%;
}

/* Show hero overlay content only on active slide */
.hero-swiper .swiper-slide .hero-slide-content {
    display: none;
}

.hero-swiper .swiper-slide.swiper-slide-active .hero-slide-content {
    display: block;
}

.slide-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.btn-glass-light {
    box-shadow: -4px 4px 2px #000;
    font-size: 14px;
    background: #f1f1f1;
    backdrop-filter: blur(5px);
    color: #333;
    padding: 10px 23px;
    transition: .3s ease-in-out;
}

.btn-glass-light:hover {
    box-shadow: unset;

}


.hero-swiper-pagination.autoplay-progress {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
}

.custom-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: #000;
    border-color: #fff;
}

.customers-section .bg-cat-light-mode {
    filter: invert(28%);
}

.hero-swiper-pagination .swiper-pagination-bullet.hero-autoplay-bullet {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    color: #fff !important;
    opacity: 1 !important;
    font-weight: 200 !important;
    width: 31px !important;
    height: 31px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-family: 'font-Num' !important;
    font-size: 18px !important;
    margin: 0 0px !important;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.hero-swiper-pagination .hero-bullet-progress {
    position: absolute;
    inset: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    transform: rotate(-90deg);
    pointer-events: none;
}

.hero-swiper-pagination .hero-bullet-progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 2;
}

.hero-swiper-pagination .hero-bullet-progress-fill {
    fill: none;
    stroke: #d4af5d;
    stroke-width: 2;
    stroke-linecap: round;
    transition: none;
}

.hero-swiper-pagination .hero-bullet-number {
    position: relative;
    z-index: 1;
    line-height: 1;
}

.hero-swiper-pagination .swiper-pagination-bullet-active.hero-autoplay-bullet {
    background: #fff !important;
    color: #000 !important;
    font-weight: 200 !important;
    border-color: #fff !important;
    transform: scale(1.1);
}

.hero-swiper-pagination .swiper-pagination-bullet-active .hero-bullet-progress-fill {
    stroke: #d4af5d;
}

.hero-swiper-pagination .swiper-pagination-bullet:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -42px;
    width: 34px;
    height: 1px;
    background: rgb(255, 255, 255);
    transform: translateY(-50%);
    pointer-events: none;
    margin-right: 1px;
    margin-left: 1px;
}

.bg-overlay::after {
    position: absolute;
    content: "";
    right: 0px;
    left: 0px;
    top: 0px;
    bottom: 0px;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.295) 23%, rgba(255, 255, 255, 0) 40%, rgb(0 0 0 / 50%) 100%);
}

.hero-swiper-pagination .swiper-pagination-bullet-active::after {

    background: rgba(255, 255, 255, 0.5);
}



/* -------------------projects------------------- */


.project-thumb {
    width: 80px;
    height: 120px;
}

.project-active-title {
    font-size: 22px;
}

.project-active-desc {
    font-size: 16px;
}

.projects-list-container {
    max-height: 500px;
}

.project-list-item {
    transition: all 0.3s ease;
    cursor: pointer;
    height: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.7;
}

.project-list-item.active {
    opacity: 1;
}

.project-list-address {
    width: max-content;
    padding-bottom: 0.75rem;
}

.project-list-item span {
    color: #fff;
    font-weight: normal;
}

.project-list-item.swiper-slide-thumb-active {
    opacity: 1;
    position: relative;
}

.project-list-item.swiper-slide-thumb-active h5 {
    font-weight: bold !important;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.projects-list-swiper {
    height: 500px;
}

.mini-thumb {
    border: 1px solid transparent;
    transition: 0.3s;
}

.swiper-slide-thumb-active .mini-thumb {
    border-color: #d4af5d;
}

.project-thumbs-swiper .swiper-slide {
    width: auto;
}

.project-thumb {
    cursor: pointer;
    transition: border 0.3s;
}

.project-thumbs-swiper .swiper-slide-thumb-active .project-thumb {
    border: 2px solid #ffc107;
}

.nav-ring-progress {
    stroke-dasharray: 201;
    stroke-dashoffset: 201;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    /* transition: stroke-dashoffset 5s linear; */
}

.project-main-image-placeholder {
    height: 500px;
}

.projects-list-container .project-list-item:last-child .project-list-address {
    border-bottom: none !important;
}

.gallery-pagination {
    direction: ltr;
}



.mySwiper-customer .swiper-slide .hover-red .brand-img,
.brand-img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65px;
}

.mySwiper-customer .hover-img {
    width: 36px;
    height: 36px;
}

.supplier-includer {
    height: 9rem;
}

.rounded-custom-header {
    border-radius: 3rem;
}


/* ---------------------------------------list of projects--------------------------------- */
.bg-projects-list {
    background-image: url("../src/images/bg-projects-list");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}