.page-header {
    height: 600px;
    display: flex;
    align-items: center;
    border-radius: 0;
    width: 100%;
    position: relative;
}

.page-header .overlay {
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 101%;
    z-index: 0;
    background: linear-gradient(
        to left,
        color(srgb 1 1 1) 22%,
        color(srgb 1 1 1 / 0.5) 60%,
        color(srgb 1 1 1 / 0.25) 80% 80%,
        #00000000 100%
    );
}

img.page-header-icon {
    z-index: 1;
    width: 500px;
    height: auto;
    max-width: 80%;
    margin-right: 5%;
}

.page-content-head {
    background: #ffffff00;
}

.page-content-body {
    margin: 0;
}

.gallery-title-wrapper {
    text-align: center;
}

.gallery-title-container {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: end;
    padding: 20px 0;
}

.gallery-header-svg {
    position: absolute;
    width: 70px;
    height: 70px;
    color: #a3b899;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
    align-items: end;
    display: flex;
}

.gallery-main-title {
    font-size: 34px;
    font-weight: 600;
    color: #212529;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.2;
    margin-bottom: 0px !important;
}

.gallery-title-divider {
    width: 50px;
    height: 3px;
    background-color: #7a9a79;
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.magnificPopup-gallery {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 80px 0;
}

.magnificPopup-gallery .row.slick-initialized-custom {
    display: block;
    margin: 0;
}

.magnificPopup-gallery .slick-list {
    perspective: 500px;
    overflow: visible;
    padding: 0;
}

.magnificPopup-gallery .slick-track {
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.magnificPopup-gallery .slick-slide {
    float: none;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
    opacity: 1;
    filter: none;
    width: 349px;
    cursor: pointer;
}

.magnificPopup-gallery .row.slick-initialized-custom .col-md-4 {
    width: 100%;
    max-width: 100%;
    padding: 0;
    float: none;
    flex: none;
}

.magnificPopup-gallery .slick-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    /* box-shadow: 0 86px 40px rgba(0, 0, 0, 0.2); */
    transition:
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.6s ease;
    /* filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.3)); */
}

.magnificPopup-gallery .slick-arrow {
    display: none;
}

.magnificPopup-gallery .slick-slide.slick-current.slick-center {
    z-index: 99;
}

.magnificPopup-gallery .slick-slide.slick-current.slick-center img {
    transform: translateZ(50px);
}

.magnificPopup-gallery .slick-slide.slick-current.slick-center + .slick-slide {
    transform: rotateY(12deg) translateZ(37px) translateX(-14px);
    z-index: 10;
    /* filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.3)); */
}

.magnificPopup-gallery .slick-slide.slick-current.slick-center + .slick-slide + .slick-slide {
    transform: rotateY(42deg) translateZ(162px) translateX(-100px);
    z-index: 5;
}

.magnificPopup-gallery .slick-slide:has(+ .slick-current.slick-center) {
    transform: rotateY(-12deg) translateZ(37px) translateX(14px);
    z-index: 10;
}

.magnificPopup-gallery .slick-slide:has(+ .slick-slide + .slick-current.slick-center) {
    transform: rotateY(-42deg) translateZ(162px) translateX(100px);
    z-index: 5;
}

@media (max-width: 1199px) {
    .magnificPopup-gallery .slick-slide {
        width: 320px;
        margin: 0 -10px;
    }
}

@media (max-width: 991px) {
    .magnificPopup-gallery {
        padding: 20px 0;
    }
    .magnificPopup-gallery .slick-list {
        perspective: none;
        overflow: hidden;
    }
    .magnificPopup-gallery .slick-slide {
        transform: none;
        width: 80vw;
        margin: 0 10px;
    }
    .magnificPopup-gallery .slick-slide.slick-current.slick-center {
        transform: none;
    }
    .magnificPopup-gallery .slick-slide.slick-current.slick-center img {
        transform: none;
    }
    .magnificPopup-gallery .slick-slide img {
        height: auto;
    }
}
a.btn.btn-primary {
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
}
/*h2*/
.amenities-section, .events-section, .section-ads-clq{
    margin-top: 7rem;
}
.clique-content h2 {
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 3rem;
    font-weight: bold;
}

.clique-content h2::after {
    content: "";
    width: 150px;
    height: 2px;
    background-color: #8ca98c;
    margin-top: 10px;
    border-radius: 2px;
    align-self: flex-start;
}
.clique-content .btn-submit {
    text-align: center;
        margin-top: 3rem;
}
/*events*/
.page-events .more a {
    color: #ffffff;
    background: #7893ae;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    text-decoration: none;
}
/*amenities*/
.workspace-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
}

.workspace-image {
    flex: 1;
}

.workspace-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 15px 15px 0;
    box-shadow: 0 4px 15px rgb(0 0 0 / 45%);
    border: #ffffff 26px solid;
    border-left: 0;
}

.workspace-content {
    flex: 1;
    background-color: #76967e;
    color: #ffffff;
    padding: 50px;
    padding-right: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 80px 0;
    font-size: 1.3rem;
}

.content-title {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}


.amenities-section .btn-primary {
    display: inline-block;
    background-color: #ffffff;
    color: #76967e;
    text-decoration: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.amenities-section .btn-primary:hover {
    background-color: #edebeb;
}

@media (max-width: 768px) {
    .workspace-container {
        flex-direction: column; 
    }
    
    .workspace-image, .workspace-content {
        flex: none;
        width: 100%;
    }
    
    .workspace-content {
        padding: 25px;
    }
}
/*ads*/
.banners-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    width: 100%;
    margin: 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
    direction: rtl;
}

.banners-wrapper .custom-banner {
    width: 100%;
    display: block;
    float: none;
}

.banners-wrapper .custom-banner a {
    text-decoration: none;
    display: block;
    width: 100%;
}

.banners-wrapper .banner-content {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 28px;
    overflow: hidden;
    background-color: #789a78;
    border: 13px solid #ffffff;
    box-shadow: 0 15px 30px rgb(0 0 0 / 40%), 0 5px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.banners-wrapper .custom-banner a:hover .banner-content {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35), 0 8px 15px rgba(0, 0, 0, 0.2);
}

.banners-wrapper .banner-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: none;
    transition: none;
}

.banners-wrapper .banner-overlay {
    position: absolute;
    inset: 0;
   /* background: linear-gradient(to left, rgb(120 154 120) 0%, rgb(120 154 120 / 80%) 60%, rgb(120 154 120 / 20%) 100%);*/
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px;
    box-sizing: border-box;
    z-index: 2;
}

.banners-wrapper .text-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 80%;
    text-align: right;
}

.banners-wrapper .banner-label {
    display: none;
}

.banners-wrapper .banner-title {
    color: #ffffff;
    font-size: 1.95rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.02em;
}

.banners-wrapper .banner-more {
    color: #ffffff;
    font-size: 1.2rem;
    display: inline-block;
    margin-top: 6px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.banners-wrapper .custom-banner a:hover .banner-more {
    opacity: 1;
    transform: translateX(-4px);
}

@media (max-width: 991px) {
    .banners-wrapper {
        gap: 25px;
    }
    .banners-wrapper .banner-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .banners-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 25px;
    }
    
    .banners-wrapper .banner-content {
        height: 180px;
        border-radius: 20px;
        border-width: 4px;
    }
    
    .banners-wrapper .banner-overlay {
        padding: 25px;
        background: linear-gradient(to left, rgb(119 154 119) 0%, rgb(119 154 119) 60%, rgba(43, 84, 55, 0.3) 100%);
    }
    
    .banners-wrapper .banner-title {
        font-size: 1.4rem;
    }
}
/*text*/
.clique-description {
    text-align: center;
    max-width: 850px;
    margin: 40px auto;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #212529;
    font-weight: 400;
    padding: 0 20px;
    direction: rtl;
    margin-top: 7rem;
}

@media (max-width: 768px) {
    .clique-description {
        font-size: 1.05rem;
        line-height: 1.5;
        margin: 25px auto;
        padding: 0 15px;
    }
}