:root {
    --responsive-font-size: 9px;
    --responsive-letter-spacing: 1px;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    transition: all 0.3s ease-in-out;

    img {
        user-select: none;
        user-drag: none;
        user-zoom: none;
    }
}

body * {
    transition: all 0.3s ease-in-out;
}

.base-link {
    color: white;
    font-size: var(--responsive-font-size, 9px);
    text-transform: uppercase;
    letter-spacing: var(--responsive-letter-spacing, 0px);
    text-underline-offset: 0px;
    text-decoration: none;
    user-select: none;
}

.base-link.link-black {
    color: rgba(0, 0, 0, 1);
    padding: 1rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 1);
    transition: all 0.3s ease-in-out;
    letter-spacing: 2px;
    font-weight: 500;
}

.base-link.link-black:hover {
    background-color: rgba(0, 0, 0, 1);
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a.base-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.base-title {
    font-size: 22px;
    font-weight: 500;
    margin-top: 1rem;
    word-break: break-word;
    font-weight: 400;
}

.bg-black {
    background-color: #000000 !important;
}

.btn-back {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
    margin-top: 0.5rem;
}

.btn-back:hover {
    opacity: 1;
}

.menu-overlay-links .menu-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: auto;
    line-height: 50px;
}

.menu-overlay-links .menu-item:hover {
    opacity: 0.7;
    transform: translateX(4px);
}

.max-w-menu {
    max-width: 300px;
}

.chevron-right {
    font-weight: 300;
    opacity: 0.6;
    font-family: sans-serif;
}

.submenu-item {
    color: #fff;
    text-decoration: none;
    font-size: 26px;
    font-weight: 500;
    line-height: 50px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.submenu-item:hover {
    transform: translateX(4px);
}

.menu-item .lucide-chevron-right {
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.menu-item:not(.collapsed) .lucide-chevron-right {
    transform: rotate(90deg);
}

.head-section img {
    object-position: center;
}

.head-section .section-content {
    max-width: 675px;

    .base-title {
        font-size: 26px;
        line-height: 50px;
        font-weight: 500;
        transition: all 0.3s ease;
        margin-bottom: 2.75rem;
        margin-top: 0;
        padding: 0;
    }

    .base-link {
        display: inline-flex;
        font-size: 12px;
        letter-spacing: 1.25px;
        padding: 40px 20px;
        transition: all 0.3s ease;
        backdrop-filter: blur(4px);
        background-color: rgba(255, 255, 255, 0.05);
        min-width: 300px;
        min-height: 75px;
        align-items: center;
        justify-content: center;
    }

    .base-link:hover {
        text-decoration: none;
        backdrop-filter: unset;
        background-color: rgba(255, 255, 255, 1);
        color: rgba(0, 0, 0, 1);
        transition: all 0.3s ease-in-out;
    }

}

.second-section .container-fluid {
    overflow-x: hidden;
}

.section-section .section-content {
    position: absolute;
    top: 0;
    z-index: 1;
}

.second-section .card-wrapper {
    position: relative;
    height: 100%;
}

.second-section .section-content {
    position: absolute;
    top: 2rem;
    z-index: 2;
    width: 100%;
    padding: 0 40px;
}

.second-section .base-link {
    --responsive-font-size: 12px;
    --responsive-letter-spacing: 1.25px;
}

.text-end-lg {
    text-align: right;
}

.third-section .section-image img {
    height: 70vh;
}

.fourth-section .section-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
    padding: 3rem 3rem 2rem 3rem;

    .base-title {
        padding: 0;
        margin: 0;
    }
}

.fourth-section .swiper {
    padding-left: 3rem;
    padding-bottom: 3rem;
}

.fourth-section .swiper-slide {
    display: flex;
    flex-direction: column;

    .base-subtitle {
        padding: 0 !important;
        margin: 0 !important;
        font-size: 12px;
    }
}

.fourth-section .swiper-wrapper {
    transition-timing-function: linear !important;
}

.fourth-section .img-container {
    width: 100%;
    height: 45vh;
    overflow: hidden;
}

.fourth-section .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer.footer a {
    font-size: 12px;
}


.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.30) 0%,
        rgba(0, 0, 0, 0.30) 68.5%,
        rgba(0, 0, 0, 0.45) 68.5%,
        rgba(0, 0, 0, 0.55) 100%
    );
    transition: all 0.3s ease;
}

.position-absolute {
    z-index: 2;
}

@media (min-width: 992px) {
    .btn-back {
        margin-top: 0.5rem;
    }

    nav.navbar .base-link {
        font-size: 12px;
    }

    .second-section .h-lg-custom {
        height: 475px !important;
        overflow: hidden;
    }

    .third-section .h-lg-custom {
        height: 675px !important;
        overflow: hidden;
    }

    .h-lg-custom img {
        object-position: auto 60%;
    }
}

@media (max-width: 991px) {
    .section-image img {
        object-position: 75% !important;
    }

    .second-section .text-end-lg {
        text-align: unset;
    }

    .second-section .card-wrapper {
        height: 50vh;
    }

    .second-section .base-link {
        padding: 15px 30px;
        border: 1px solid rgba(255, 255, 255, 1);
        backdrop-filter: blur(4px);
        background-color: rgba(255, 255, 255, 0.2);
    }

    .second-section .base-link:hover {
        background-color: rgba(255, 255, 255, 1);
        color: rgba(0, 0, 0, 1);
        text-decoration: none;
    }

    .third-section .h-lg-custom {
        height: auto !important;
    }

    .third-section .row>div:first-child {
        aspect-ratio: 1 / 1;
        max-height: 50vh;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        position: relative;
        padding: 0 !important;

        img {
            height: 50vh;
            object-fit: cover;
            object-position: center !important;
        }
    }

    .fourth-section {
        background-color: whitesmoke;

        .section-content {
            padding: 2rem;
            gap: 20px
        }

        .swiper {
            padding-inline-start: unset;
            padding-left: unset;
            padding-bottom: 1rem;

            .swiper-slide {
                min-width: 100vw;

                .img-container {
                    aspect-ratio: 1 / 1;
                    max-height: 50vh;
                    max-width: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    overflow: hidden;
                    position: relative;
                    padding: 0;

                    img {
                        height: 50vh;
                        object-fit: cover;
                        object-position: center !important;
                    }
                }

                a {
                    padding-left: 2rem;
                    padding-right: 2rem;
                }
            }
        }
    }

    .overlay-dark {
        background-image: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.20) 0%,
            rgba(0, 0, 0, 0.25) 68.5%,
            rgba(0, 0, 0, 0.30) 68.5%,
            rgba(0, 0, 0, 0.40) 100%
        );
        transition: all 0.3s ease;
    }

    .second-section .overlay-dark {
        background-image: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.20) 0%,
            rgba(0, 0, 0, 0.25) 68.5%,
            rgba(0, 0, 0, 0.30) 68.5%,
            rgba(0, 0, 0, 0.40) 100%
        );
        transition: all 0.3s ease;
    }
}
/* 
   enquire page start
*/
.enquire-section .image-section {
    height: 100%;
    aspect-ratio: 1 / 1;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease-in-out;

    .overlay-dark {
        background-image: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.30) 25%,
            rgba(0, 0, 0, 0.45) 75%,
            rgba(0, 0, 0, 0.60) 100%
        );
        transition: background-image 0.3s ease-in-out;
    }
}

.enquire-section .image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.enquire-section > .row > div:last-child {
    padding-top: 2rem;
}

.enquire-section > .row > div:last-child .base-subtitle {
    font-size: 14px;
}

@media (max-width: 991px) {
    .enquire-section .image-section {
        aspect-ratio: 1 / 1; 
        height: auto;
    }
    
    .enquire-section .content-section {
        height: auto;
        overflow-y: visible;
        padding-right: 0;
    }
    
    .enquire-section > .row > div:last-child {
        padding-right: 3rem;
        padding-left: 3rem;
        padding-top: 3rem;
    }

    .enquire-section > .row > div:last-child .base-title {
        line-height: 24px;
        font-size: 18px;
    }

    .enquire-section > .row > div:last-child .base-link {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media (min-width: 992px) {
    .enquire-section > .row {
        height: 90vh;
        max-height: 90vh;
        overflow: hidden;
    }

    .enquire-section > .row > div:first-child {
        padding-right: 3rem;
    }
    
    .enquire-section > .row > div:last-child {
        padding-top: unset;
        padding-bottom: 5rem;
    }

    .enquire-section > .row > div:last-child .base-link {
        padding-bottom: 1rem;
        padding-top: 3rem;
    }

    .enquire-section > .row > div:last-child hr {
        margin-top: 15rem;
        padding-bottom: 5rem;
    }
}
/* 
   enquire page end
*/
/* 
   properties page end
*/
.properties-section {
    padding: 2rem 3rem;
}

.properties-section .content-section a {
    color: rgba(0, 0, 0, 1);
    text-decoration: none;
    display: block;
    line-height: 24px;
    font-size: 12px;
}

.properties-section .content-section > a:first-child {
    font-size: 14;
    text-transform: uppercase;
    font-weight: 600;
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
    transition: all 1.3s ease-in;
}

.properties-section .content-section > a:first-child:hover {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
    transition: all 1.3s ease-out;
}

.properties-section .items-section .properties-item {
    padding-bottom: 3rem;
    position: relative;
}

.properties-section .items-section .properties-item .image-section {
    position: relative;

    .overlay-dark {
        background-image: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.025) 0%,
            rgba(0, 0, 0, 0.050) 25%,
            rgba(0, 0, 0, 0.075) 50%,
            rgba(0, 0, 0, 0.100) 100%
        );
        transition: all 1.3s ease-out;
    }

    .overlay-dark:hover {
        background-image: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.025) 0%,
            rgba(255, 255, 255, 0.050) 25%,
            rgba(255, 255, 255, 0.075) 50%,
            rgba(255, 255, 255, 0.100) 100%
        );  
        transition: all 1.3s ease-in;                  
    }

    img {
        max-height: 350px;
        min-height: 350px;
    }
}

@media only screen and (max-width: 600px) {
    #mainContent {
        overflow: hidden;
    }
    .properties-section .base-title {
        font-size: 18px;
    }

    .properties-section {
        padding: 0rem;
    }

    .properties-section .header-section {
        padding: 0rem 3rem;
    }

    .properties-section .content-section {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}
/* 
    properties page end
*/
/*
    propert page start
*/
.property-section {
    position: relative;

    .object-fit-cover {
        object-position: 80% 0;
    }

    >div {
        position: relative;
        height: 100vh;
        width: 100vw;

        img {
            width: 100%;
            height: 100%;
        }

        .overlay-dark {
            background-image: unset;
            background-color: rgba(0, 0, 0, 0.400);
        }
    }

    .content-section {
        text-align: justify;
        position: absolute;
        z-index: 2;
        top: 0;
        display: flex;
        align-items: end;
        justify-content: start;
        color: rgba(255, 255, 255, 1);
        padding: 3rem;

        .base-title {
            font-weight: 500;
            letter-spacing: 0.5px;
        }

        .base-link {
            padding-top: 2rem;
            font-weight: 500;
            letter-spacing: 1px;
        }

        hr {
            margin: 2rem auto;
            width: 100%;
            opacity: 10%;
        }
    }
}

.property-overview-section,
.property-location-section {
    padding: 3rem;
    background-color: rgba(26, 26, 26, 1);
    color: rgba(255, 255, 255, 1);
    text-align: justify;
}

.property-guide-section {
    text-align: justify;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 1);
    color: rgba(26, 26, 26, 1);

    .row {
        align-items: stretch;
    }

    .content-section {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: flex-start;
        color: rgba(26, 26, 26, 1);
        ;

        .base-link {
            color: rgb(162, 161, 159);
            -webkit-text-fill-color: rgb(162, 161, 159);
        }

        .base-subtitle {
            font-size: 14px;
            color: inherit;

            ul {
                font-size: inherit;
                padding-left: 1rem;
                color: inherit;

                li {
                    font-size: inherit;
                    color: inherit;
                }
            }

        }

        .details-block {
            color: inherit;
            display: flex;
            flex-direction: column;
            text-align: left;
            align-items: flex-start;
            margin-top: auto;
            padding-top: 2rem;
        }
    }

    .image-section {
        height: 100%;

        img {
            height: 100%;
            object-fit: cover;
        }
    }
}
.property-gallary-section {

    .gallary-images {
        display: grid;
        width: 100%;
    }

    .image-section {
        position: relative; 
        width: 100%;
        overflow: hidden;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        .overlay-dark {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            background-image: linear-gradient(
                45deg, 
                rgba(255, 215, 0, 0.05) 0%, 
                rgba(255, 179, 71, 0.1) 100%
                );
            transition: all 1.3s ease-in;       
            
            &:hover {
                background-image: linear-gradient(
                    45deg, 
                    rgba(255, 215, 0, 0.025) 0%, 
                    rgba(255, 179, 71, 0.05) 100%
                );
            }
        }
    }
}

.property-location-section {
    .base-link {
        font-size: 9px;
        color: gray;
        letter-spacing: 1.25px;
        font-weight: 600;
    }
    .base-subtitle {
        font-size: 13px;
        padding-bottom: 2rem;
    }
}


#modalGallary {
    .modal-content {
        background: unset;

        .modal-header,
        .modal-body {
            border: unset;
            background: inherit;

            justify-content: end;
            
            svg {
                fill: aliceblue;
            }
        }

        .image-section {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
        }
    }
}

#modalGallary {
    .modal-content {
        padding-left: 3rem;
        padding-right: 3rem;
        height: 100vh; /* Фиксируем контент на высоту экрана */
        display: flex;
        flex-direction: column;
    }

    .modal-body {
        flex: 1; /* Занимает всё оставшееся пространство под шапкой */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden; /* Полностью убираем появление скролла */
        padding: 0; /* Сбрасываем лишние паддинги */
    }

    .image-section {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    img {
        max-width: 100% !important;  /* Не дает стать шире экрана */
        max-height: 100% !important; /* Не дает стать выше экрана */
        width: auto !important;       /* Сохраняет пропорции */
        height: auto !important;      /* Сохраняет пропорции */
        object-fit: contain;          /* Картинка полностью видна, не обрезается */
    }
}

.continent-overview-section {
    padding: 3rem;
}

.continent-properties-section {
    padding: 3rem;

    .base-title {
        font-size: 22px;
    }

    .properties-item {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);

        a {
            color: rgba(0, 0, 0, 1);
            line-height: 20px;
            font-size: 14px;
            letter-spacing: 0px;
            display: flex;
            flex-direction: row;
            align-items: stretch;
            gap: 30px;

            span {
                display: flex;
                flex-grow: 1;

                &:last-child {
                    justify-content: end;
                    text-align: right
                }
            }
        }
    }
}


@media (min-width: 992px) {
    .property-gallary-section {

        .gallary-images {
            grid-template-columns: repeat(2, 1fr); 
            row-gap: 0px; 
            column-gap: 0px; 
        }
        
        .gallary-image .image-section {
            height: 475px;
        }

        .gallary-image:nth-child(3n) {
            grid-column: span 2;
            
            .image-section {
                height: 725px;
            }
        }
    }
    

    .property-location-section {

        iframe {
            min-height: 70vh;
            width: 100%;
        }
    }

    #modalGallary {
        .modal-content {
            padding-left: 3rem;
            padding-right: 3rem;

            img {
                object-fit: cover;
            }
        }
    }

    
    .continent-overview-section {
        .base-title {
            min-width: 30vw;
            width: fit-content;
            max-width: 625px;
        }
    }
}
@media (max-width: 991px) {
    .property-section {

        > div {
            -height: 70vh;
        }
    }

    .property-overview-section,
    .property-location-section {

        .base-title {
            font-size: 15px;
        }
        .base-subtitle {
            font-size: 12px;
        }
    }

    .property-guide-section {

        .content-section {
            height: auto;
            gap: 1rem;

            .details-block {
                margin-top: 0;
                padding-top: 0;
                font-size: 15px;

                ul {
                    li {
                        font-size: 12px;
                    }
                }
            }
        }
    }
    .property-gallary-section {

        .gallary-images {
            grid-template-columns: 1fr;
        }
        
        .image-section {
            height: 30vh;
        }
    }

    .property-location-section {
        > .row {
            > :last-child {
                margin-left: -3rem;
                margin-right: -3rem;
            }
        }
        iframe {
            height: 40vh;
            width: calc(100% + 6rem);
        }
    }

    #modalGallary {

        .modal-content {
            padding-right: 1rem;
            padding-left: 1rem;
        }
    }

    .continent-section.property-section {
        & > div {
            max-height: 50vh;
        }
        img {
            object-position: 10% 0;
            height: 100%;
        }
    }

}

/*
    propert page end
*/
@media only screen and (min-width: 768px) {
    
}     

@media (max-width: 991px) {

}

@media (min-width: 992px) {
    #modalGallary {
        .modal-body {
            padding: 0rem 3rem 3rem 3rem;
        }
    }
}

/* 
===================================
        PRELOADER & ANIMATIONS
=================================== 
*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
}

.preloader-content {
    text-align: center;
    width: 350px;
}

.preloader-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 20px;
    color: #000000;
    margin-bottom: 15px;
}

.preloader-line {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.preloader-line::after {
    content: '';
    position: absolute;
    left: -50%;
    top: 0;
    height: 100%;
    width: 50%;
    background-color: #000000;
    animation: loadingBar 1.5s infinite ease-in-out;
}

@keyframes loadingBar {
    0% { left: -50%; width: 30%; }
    50% { width: 40%; }
    100% { left: 100%; width: 30%; }
}

.content-hidden {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-visible {
    opacity: 1;
    transform: translateY(0);
    overflow-x: hidden;
}


.about-us-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: rgba(0, 0, 0, 1);

    > .row {
        overflow: hidden;
    }

    .content-block {
        padding: 3rem;
        color: inherit;

        .base-link,
        .base-title,
        .base-subtitle,
        > * {
            color: inherit;
        }

        .base-title {
            line-height: 50px;
            font-size: 26px;
            font-weight: 500;
        }
    }

    .image-section {
        img {
            max-height: 600px;
            width: 100%;
        }
    }
}

.grid-section {
    & * {
        color: rgba(0, 0, 0, 1);
        text-align: center;
    }

    .content-block {
        padding: 3rem;
    }

    .base-title {
        line-height: 50px;
        font-size: 26px;
        font-weight: 500;
    }

    .grids-block {
        display: flex;
        flex-direction: row;
        padding-bottom: 3rem;

        .grid-item {
            display: flex;
            align-items: center;
            justify-content: top;
            flex-direction: column;
            flex: 1;
            gap: 1rem;
            padding-left: 3rem;
            padding-right: 3rem;
            border-right: 1px solid rgba(0, 0, 0, 0.1);

            &:last-child {
                border-color: rgba(255, 255, 255, 1);
            }

            .item-icon {
                display: flex;
                text-align: center;
                svg {
                    height: 40px;
                }
            }
            
            .base-title {
                font-family: "Montserrat:Bold", sans-serif;
                font-size: 14px;
                line-height: 20px;
                padding: 0;
                margin: 0;
                font-weight: 700;
            }

            .base-subtitle {
                font-size: 14px;
                max-width: 200px;
            }
        }
    }
}

.image-grid-1-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 300px;
    gap: 0 15px;
}

.image-grid-1-2 img:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-grid-1-2 img:nth-child(2),
.image-grid-1-2 img:nth-child(3) {
    grid-column: 2 / 3;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-grid-1-2 img:nth-child(2) {
    border-bottom: 7.5px solid white;
}

.image-grid-1-2 img:nth-child(3) {
    border-top: 7.5px solid white;
}

.image-animated {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.image-animated img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out; 
}

.image-animated img.active {
    opacity: 1;
}

.team-section {
    display: flex;
    gap: 2rem;
    padding: 3rem 0rem 3rem 3rem;

    .content-block {
        flex: 0 0 300px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-bottom: 3rem;

        .base-link {
            font-weight: 500;
            padding-bottom: 1rem;
        }

        .base-title {
            font-size: 26px;
            line-height: 50px;
            font-family: "Montserrat:Bold", sans-serif;
            letter-spacing: 1px;
            font-size: 700;
        }
    }

    .team-items-wrapper {
        flex-grow: 1;
        overflow-x: auto; 
        white-space: nowrap;
    }

    .team-items-scroll {
        display: flex;
        gap: 1rem;
        padding: 1rem;
    }

    .team-item {
        flex: 0 0 315px;
        position: relative;

        &:last-child {
            flex: 0 0 calc(315px + 3rem);
            padding-right: 3rem;
        }

        .image-block {
            position: relative;
            margin-bottom: 1rem;
            height: 475px;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%
            }

            .overlay-dark {
                background: rgba(250, 235, 215, 0.15);

                &:hover {
                    background: rgba(255, 255, 255, 0.25);
                }
            }
        }

        .content-block {
            padding-bottom: 1rem;

            .base-subtitle {
                margin: unset;
                padding: unset;
                font-size: 13px;
                line-height: 20px;
            }
        }
    }
}


.stats-section {
    padding: 3rem 0;

    .grid-items {
        display: flex;

        .grid-item {
            display: flex;
            flex: 1;
            padding-left: 3rem;
            padding-right: 3rem;
            flex-direction: row;
            border-right: 1px solid rgba(0, 0, 0, 0.1);
            justify-content: center;

            &:last-child {
                border-color: white;
            }

            > div {
                align-content: center;
            }

            .icon-block {

                svg {
                    max-height: 40px;
                    width: auto;
                }
            }

            .content-block {
                padding-left: 1rem;

                .base-title,
                .base-subtitle {
                    font-size: 14px;
                    line-height: 20px;
                    margin: 0;
                    padding: 0;
                    text-transform: uppercase;
                }
                
                .base-title {
                    font-weight: 700;
                    padding-bottom: 0.5rem;
                }
            }
            
        }
    }
}

@media (max-width: 991px) {
    .image-grid-1-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 10px;
        height: 60vh;
    }

    .image-grid-1-2 img:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .image-grid-1-2 img:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: unset;
    }

    .image-grid-1-2 img:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: unset;
    }

    .about-us-section {
        padding: 0;

        .content-block {

            .base-title {
                line-height: unset;
                font-size: 20px;
                font-weight: 500;
            }

            .base-subtitle {
                font-size: 12px;
                text-align: justify;
            }
        }

        .image-animated {
            max-width: 100%;
            width: 100%;
            height: 35vh;

            img {
                max-height: 100%;
                max-height: 35vh;
            }
        }
    }

    .grid-section {
        .content-block {
            padding-bottom: 0rem;
        }

        .base-title {
            line-height: unset;
            font-size: 20px;
            font-weight: 500;
        }

        .grids-block {
            display: flex;
            flex-direction: column;
            padding-bottom: unset;
            padding-left: 3rem;
            padding-right: 3rem;

            .grid-item {
                border-right: unset;
                border-bottom: 1px solid rgba(0, 0, 0, 0.1);
                padding-top: 2rem;
                padding-bottom: 1.5rem;
                padding-left: unset;
                padding-right: unset;
                margin: unset;

                .base-subtitle {
                    max-width: 100%;
                }
            }
        }
    }

    .team-section {
        flex-direction: column; /* Контент и команда в два ряда */
        overflow: hidden;
        position: relative;

        .content-block {
            flex: 1;
            padding-right: 3rem;
            padding-bottom: 0;

            .base-title {
                line-height: unset;
                font-size: 20px;
                font-weight: 500;
            }
        }

        .team-items-wrapper {
            margin-left: -3rem;
            width: calc(100% + 3rem);

            .team-items-scroll {
                width: 100%;
                padding-left: 3rem;
                padding-right: 3rem;
            }
        }
    }

    .stats-section {
            
        .grid-items {
            display: flex;
            flex-direction: column;
            padding: 0 3rem;

            .grid-item {
                padding: 1rem 0;
                justify-content: start;
                border-right: unset;
                border-bottom: 1px solid rgba(0, 0, 0, 0.1);

                .icon-block {

                    svg {
                        max-width: 40px;
                        height: auto;
                    }
                }
            }
        }
    }
}