.project-carousel {

    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;

& .swiper-slide {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-size: cover;
    background-position: center center;
    padding: 10px 20px;
    border-radius: 10px;
    box-sizing: border-box;
    cursor: pointer;
}
& .swiper-button-next, & .swiper-button-prev {
    position: absolute;
    left: 0;
    height: 30px;
    width: 80px;
    background-color: #fff;
    border-radius: 50px;
    padding: 20px;
    bottom: -60px;
    top: unset !important;
    right: unset !important;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
}
& .swiper-button-next {
    left: 90px;
}
& .swiper-button-next::after, & .swiper-button-prev::after {
    font-size: 20px;
    color: #000;
}
& .swiper-slide h3 {
    margin-top: 0.5em;
    color: #000;
    font-size: 24px;
}
& .card-info {
    background-color: #fff;
    color: #000;
    padding: 10px;
    border-radius: 10px;

    & h3 {
        color: #000;
        margin-bottom: 10px !important;
        font-family: 'Titillium Web', sans-serif;
    }
}
& p {
    font-family: 'Titillium Web', sans-serif;
    font-size: 18px;
}
}

@media screen and (max-width: 991px){
        .project-carousel-block .swiper-slide {
            width: 100% !important;
        }
    .project-modal .modal-content {
        width: 90% !important;
    }
    .project-modal .modal-content img {
        height: 300px !important;
    }
}

html:has(.project-modal.open) {
    overflow: hidden;
}

html:has(.project-modal.open) .navigation-wrapper {
    display: none;
}

.project-modal {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(9, 32, 53, 0.95);
    overflow-y: scroll;
    opacity: 0;
    transition: opacity 0.3s linear;
    z-index: 9;
    pointer-events: none;
}
.kb-row-layout-wrap:has(.project-modal.open) {
    z-index: 999999;
}
.project-modal.open {
    opacity: 1;
    z-index: 999999;
    pointer-events: all;
}

.project-modal .modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0px 0px 40px 0px;
    width: 80%;
    max-width: 1240px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 110px;
    border: 1px solid #a78152;
    color: #a78157;
    padding: 6px 20px;
    z-index: 999;
}

.project-modal .modal-content img {
    border-radius: 10px 10px 0px 0px;
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: -120px;
}

.project-modal .modal-content .card-info {
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 20px 100px 0px rgba(0, 0, 0, 0.45);
    width: 90%;
    margin: 0px auto 40px auto;
    position: relative;
    overflow: hidden;
    top: 40px;
}

.project-modal .modal-content h2 {
    color: #000;
    font-family: 'Titillium Web';
    font-weight: 700;
}

.project-modal .modal-content p {
    font-family: 'Titillium Web', sans-serif;
    font-size: 18px;
    color: #000;
}

.project-modal .modal-content button {
    background-color: #a78157;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
}

.project-modal .modal-content button a {
    font-size: 18px;
    font-family: 'Titillium Web', sans-serif;
    color: #fff;
    text-decoration: none;
}

.project-modal .image-slider {
    margin-bottom: -120px;
    z-index: 0;
}

.project-modal .swiper-button-next::after, .project-modal .swiper-button-prev::after {
    color: rgba(0, 0, 0, 0.6);
}