body.no-scroll {
    overflow: hidden;
}

header {
    position: fixed;
    top: 40px;
    width: 100%;
    z-index: 10;
    transition: transform 0.3s ease;
}

header.hide {
    transform: translateY(-150%);
}

.header-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    color: #FFFFFF;
    font-family: Montserrat;
    border-radius: 20px;
    background: rgba(113, 68, 244, 0.50);
    backdrop-filter: blur(8px);

    .header-wrapper__logo {
        display: inline-block;
        line-height: 0;
        margin: 11px 0;
    }

    .header-wrapper__cta-container {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 600;

        @media screen and (max-width: 967px) {
            display: none;
        }
    }

    .header-wrapper__mobile-toggle {
        display: none;
        width: 18px;
        height: 14px;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;

        span {
            display: block;
            height: 2px;
            background: #fff;
            border-radius: 2px;
            transition: 0.3s ease;
        }

        @media screen and (max-width: 967px) {
            display: flex;
        }
    }

    /*active state*/
    .header-wrapper__mobile-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .header-wrapper__mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .header-wrapper__mobile-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .header-wrapper__mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        border-radius: 20px;
        background: rgba(0, 0, 0, 0.50);
        backdrop-filter: blur(8px);
        padding: 16px;
        z-index: 5;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s ease;

        .header-wrapper__mobile-menu__cta-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 16px;
            font-size: 12px;

            .header-wrapper__mobile-menu__cta-container__phone {
                display: flex;
                align-items: center;
                gap: 10px;
                padding: 12px 20px 12px 16px;
            }
        }
    }

    .header-wrapper__mobile-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* --------hero section--------------- */
.hero-section {
    padding: 180px 0 80px;
    position: relative;
    /*height: 100vh;*/
    overflow: hidden;
    background: linear-gradient(102deg, rgba(0, 0, 0, 0.52) 0%, rgba(30, 43, 162, 0.70) 50%, rgba(0, 0, 0, 0.17) 100%);

    .bg-video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translate(-50%, -50%);
        z-index: -1;
    }

    .container {
        display: flex;
        gap: 64px;
        position: relative;
        z-index: 1;

        .hero-section__form-container {
            flex: 1;
            text-align: center;
            color: var(--text-white);

            h1 {
                margin-bottom: 16px;
            }

            p {
                font-size: 18px;
            }

            .hero-section__form-container__form {
                text-align: left;
                margin-top: 32px;

                #successMessage {
                    text-align: center;

                    h2 {
                        margin-bottom: 24px;
                        color: var(--text-white);
                    }

                    h2::before {
                        background: none;
                    }

                    p {
                        font-family: var(--secondary-font);
                        margin-bottom: 24px;
                    }
                }

                .glass-form {
                    color: #fff;
                    font-weight: 500;
                    background: rgba(255, 255, 255, 0.15);
                    backdrop-filter: blur(15px);
                    border: 2px solid rgba(189, 189, 189, 0.40);
                    border-radius: 16px;
                    padding: 32px;
                }

                .row {
                    display: flex;
                    gap: 16px;
                }

                .field {
                    margin-bottom: 24px;
                    width: 100%;
                }

                label {
                    display: block;
                    margin-bottom: 4px;
                }

                input, textarea {
                    width: 100%;
                    padding: 12px 16px;
                    border-radius: 8px;
                    border: 1px solid rgba(255, 255, 255, 0.50);
                    outline: none;
                    background: rgba(255, 255, 255, 0.50);
                    color: #fff;
                }

                textarea {
                    min-height: 100px;
                    resize: none;
                }

                .input-icon {
                    position: relative;
                }

                .input-icon span {
                    position: absolute;
                    left: 16px;
                    top: 53%;
                    transform: translateY(-50%);
                    opacity: 0.8;
                }

                .input-icon input {
                    padding-left: 52px;
                }

                .checkbox {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    font-size: 16px;
                    font-weight: 400;
                    padding: 24px 0;
                    border-top: 1px solid #E7E7E7;

                    input {
                        width: unset;
                    }

                    a {
                        text-decoration: underline;
                    }
                }

                button {
                    width: 100%;
                    padding: 12px;
                    border: none;
                    border-radius: 8px;
                    background: #7c3aed;
                    color: white;
                    font-size: 16px;
                    cursor: pointer;
                    transition: 0.3s;
                }

                button:hover {
                    color: var(--purple);
                    background: #D8D5FF;
                }

                button:active {
                    color: var(--purple);
                    background: #D8D5FF;
                    border: 2px solid var(--purple);
                }
            }

            .hero-section__form-container__statistic {
                display: flex;
                justify-content: space-between;
                align-items: stretch;
                margin-top: 32px;
                font-family: var(--secondary-font);

                @media screen and (max-width: 767px) {
                    flex-direction: column;
                    gap: 8px;
                }

                p {
                    font-size: 16px;
                }

                span {
                    display: block;
                    width: 1px;
                    background: var(--text-white);

                    @media screen and (max-width: 767px) {
                        display: none;
                    }
                }
            }
        }

        .hero-section__map {
            flex: 1;

            iframe {
                border-radius: 16px;
            }

            @media screen and (max-width: 967px) {
                display: none;
            }
        }
    }
}

/* -----advantages-section------------ */
.advantages-section {
    .container {
        display: flex;
        gap: 64px;

        @media screen and (max-width: 1024px) {
            flex-direction: column-reverse;
        }

        .advantages-section__img-wrapper {
            flex: 1;
            border-radius: 16px;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                display: block;
            }
        }

        .advantages-section__texts {
            flex: 1;

            h2 {
                @media screen and (max-width: 1024px) {
                    text-align: center;
                    /*max-width: 75%;*/
                    /*margin: 0 auto;*/
                }
            }

            .advantages-section__accordion {
                .accordion-item {
                    padding: 24px 0;
                }

                .accordion-item:not(:last-child) {
                    border-bottom: 2px solid rgba(0, 0, 0, 0.10);
                }

                .accordion-header {
                    width: 100%;
                    background: transparent;
                    padding-bottom: 12px;
                    color: #D8D5FF;
                    cursor: pointer;
                    display: flex;
                    gap: 12px;
                    align-items: center;
                    font-size: 18px;

                    .icon {
                        position: relative;
                        width: 32px;
                        height: 32px;
                        border-radius: 5px;
                        background-color: #D8D5FF;
                    }
                }

                .icon::before,
                .icon::after {
                    content: '';
                    position: absolute;
                    background: white;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    transition: 0.3s;
                }

                /* — */
                .icon::before {
                    width: 12px;
                    height: 2px;
                    border-radius: 1px;
                }

                /* | */
                .icon::after {
                    width: 2px;
                    height: 12px;
                    border-radius: 1px;
                }

                /* active */
                .accordion-item.active .icon::after {
                    opacity: 0;
                    transform: translate(-50%, -50%) rotate(90deg);
                }

                .accordion-content {
                    max-height: 0;
                    overflow: hidden;
                    transition: max-height 0.3s ease;
                    color: rgba(0, 0, 0, 0.60);
                    font-size: 18px;
                    font-style: normal;
                    font-weight: 400;
                }

                .accordion-content p {
                    line-height: 1.5;
                }

                .accordion-item.active .accordion-content {
                    max-height: 200px;
                }

                .accordion-item.active .accordion-header{
                    color: var(--purple);

                    .icon {
                        background-color: var(--purple);
                    }
                }
            }
        }
    }
}

/* ----------floors-section----------- */
.floors-section {
    .floors-section__buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        border-radius: 16px;
        background-color: #F4F3FF;
        width: fit-content;
        padding: 8px;
        margin: 0 auto 42px;

        button {
            padding: 12px;
            border-radius: 8px;
            background-color: transparent;
            color: var(--text-black);
            transition: 0.3s;
        }

        button:hover {
            background-color: #D8D5FF;
        }

        .active-button {
            color: var(--text-white);
            background-color: var(--purple);
        }
    }

    .floors-section__flex-wrapper {
        display: flex;
        gap: 64px;

        .floors-section__flex-wrapper__image-wrapper {
            flex: 1;

            @media screen and (max-width: 1024px) {
                display: none;
            }

            img {
                width: 100%;
            }
        }

        .floor-info {
            flex: 1;
            color: var(--text-black);
            font-family: var(--secondary-font);
            font-weight: 500;

            h2 {
                @media screen and (max-width: 1024px) {
                    text-align: center;
                    width: 100%;
                }
            }

            >p {
                margin: 32px 0;
            }

            #roomsList .room {
                display: flex;
                align-items: center;
                gap: 24px;
                margin-bottom: 16px;
                padding-left: 16px;
                font-weight: 700;

                .room-number {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    height: 48px;
                    width: 48px;
                    border-radius: 8px;
                    color: var(--text-white);
                    background-color: var(--purple);
                }
            }

            .gallery-wrapper {
                display: flex;
                gap: 16px;
                padding: 24px 16px 16px;

                @media screen and (max-width: 1024px) {
                    padding: 16px 0;
                }

                .images, .walk-3d {
                    flex: 1;
                    padding: 50px 0;
                    border-radius: 8px;
                    background-size: cover;
                    background-repeat: no-repeat;

                    @media screen and (max-width: 767px) {
                        font-size: 12px;
                    }

                    button, a {
                        display: flex;
                        gap: 4px;
                        align-items: center;
                        justify-content: center;
                        width: fit-content;
                        margin: 0 auto;
                        background-color: transparent;
                        color: var(--text-white);
                        font-family: var(--secondary-font);
                        padding: 8px;
                        border-radius: 8px;
                        border: 2px solid var(--text-white);
                        transition: 0.3s;
                    }

                    button:hover, a:hover, a:focus {
                        border: 2px solid var(--text-purple);
                        background-color: var(--purple);
                    }
                }

                .images {
                    background: linear-gradient(0deg, rgba(10, 10, 10, 0.40) 0%, rgba(10, 10, 10, 0.40) 100%),
                    url("../../assets/images/gallery-button-bg.jpg") lightgray 50% / cover no-repeat;
                }

                .walk-3d {
                    background: linear-gradient(0deg, rgba(10, 10, 10, 0.40) 0%, rgba(10, 10, 10, 0.40) 100%),
                    url("../../assets/images/3d-button-bg.png") lightgray 50% / cover no-repeat;
                }
            }

            .floor-info__image-wrapper {
                display: none;

                @media screen and (max-width: 1024px) {
                    display: block;
                }

                img {
                    width: 100%;
                }
            }
        }

        @media screen and (max-width: 1024px) {
            flex-direction: column;
        }
    }

/*    --------Mobile dropdown ---------------*/

    .floor-dropdown {
        display: none;
    }

    @media (max-width: 767px) {

        .floors-section__buttons {
            display: none;
        }

        .floor-dropdown {
            display: block;
            position: relative;
            width: 100%;
            margin-bottom: 42px;
        }

        .floors-section__dropdown-toggle {
            width: 100%;
            background-color: var(--purple);
            color: var(--text-white);
            border: none;
            border-radius: 16px;
            padding: 12px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
        }

        .arrow {
            transition: transform .3s ease;
        }

        .floor-dropdown.open .arrow {
            transform: rotate(180deg);
        }

        .floors-section__dropdown__buttons {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            display: none;
            flex-direction: column;
            background: #F4F3FF;
            box-shadow: 0 2px 12px 0 rgba(195, 195, 195, 0.15);
            border-radius: 0 0 18px 18px;
            overflow: hidden;
            z-index: 100;
        }

        .floor-dropdown.open .floors-section__dropdown__buttons {
            display: flex;
        }

        .floors-section__dropdown__buttons button {
            background: transparent;
            border: none;
            padding: 12px;
            font-size: 18px;
            color: #7A7A7A;
        }

        .floors-section__dropdown__buttons button.active-button {
            display: none;
        }
    }
}

/* ----------spaces-section----------- */
.spaces-section {
    text-align: center;
    color: var(--text-black);

    .gallery-large-flex-wrapper {
        display: flex;
        gap: 16px;
        align-items: stretch;
        margin-top: 42px;

        @media screen and (max-width: 1024px) {
            flex-direction: column;
        }

        .gallery-large-button-wrapper,
        .gallery-medium-flex-wrapper {
            flex: 1;
            display: flex;
            min-height: 452px;

            @media screen and (max-width: 1024px) {
                min-height: 278px;
            }

            @media screen and (max-width: 767px) {
                min-height: 204px;
            }
        }

        .gallery-large-button-wrapper {
            button {
                background: linear-gradient(136deg, rgba(203, 53, 235, 0.50) 6.66%, rgba(34, 224, 178, 0.50) 93.7%),
                url("../../assets/images/spaces-images/people-working-tech-brand-together 1.png") center / cover no-repeat;
            }

            button:hover {
                background: linear-gradient(121deg, rgba(203, 53, 235, 0.08) 62.69%, rgba(34, 224, 178, 0.50) 93.58%),
                url("../../assets/images/spaces-images/people-working-tech-brand-together 1.png") center / cover no-repeat;

                svg {
                    display: block;
                    opacity: 1;
                    visibility: visible;
                }
            }
        }

        .gallery-medium-flex-wrapper {
            display: flex;
            flex-direction: column;
            gap: 16px;

            > button {
                flex: 1;
                background: linear-gradient(136deg, rgba(203, 53, 235, 0.50) 6.66%, rgba(34, 224, 178, 0.50) 93.7%),
                url("../../assets/images/spaces-images/business-people-working-modern-office-space 1.png") center / cover no-repeat;

                @media screen and (max-width: 767px) {
                    min-height: 95px;
                }
            }

            > button:hover {
                background: linear-gradient(121deg, rgba(203, 53, 235, 0.08) 62.69%, rgba(34, 224, 178, 0.50) 93.58%),
                url("../../assets/images/spaces-images/business-people-working-modern-office-space 1.png") center / cover no-repeat;

                svg {
                    display: block;
                    opacity: 1;
                    visibility: visible;
                }
            }
        }

        .gallery-small-flex-wrapper {
            display: flex;
            gap: 16px;
            flex: 1;

            @media screen and (max-width: 767px) {
                flex-direction: column;
            }

            button, a {
                flex: 1;

                @media screen and (max-width: 767px) {
                    min-height: 95px;
                }
            }

            .left-button {
                background: linear-gradient(136deg, rgba(203, 53, 235, 0.50) 6.66%, rgba(34, 224, 178, 0.50) 93.7%),
                url("../../assets/images/spaces-images/young-happy-businesswoman-relaxing-with-hands-head-day-dreaming-work-there-are-people-background 1.png") center / cover no-repeat;
            }

            .left-button:hover {
                background: linear-gradient(121deg, rgba(203, 53, 235, 0.08) 62.69%, rgba(34, 224, 178, 0.50) 93.58%),
                url("../../assets/images/spaces-images/young-happy-businesswoman-relaxing-with-hands-head-day-dreaming-work-there-are-people-background 1.png") center / cover no-repeat;

                svg {
                    display: block;
                    opacity: 1;
                    visibility: visible;
                }
            }

            .right-button {
                background: linear-gradient(136deg, rgba(203, 53, 235, 0.50) 6.66%, rgba(34, 224, 178, 0.50) 93.7%),
                url("../../assets/images/spaces-images/young-caucasian-women-working-laptops-drinking-coffee 1.png") center / cover no-repeat;
            }

            .right-button:hover {
                background: linear-gradient(121deg, rgba(203, 53, 235, 0.08) 62.69%, rgba(34, 224, 178, 0.50) 93.58%),
                url("../../assets/images/spaces-images/young-caucasian-women-working-laptops-drinking-coffee 1.png") center / cover no-repeat;

                svg {
                    display: block;
                    opacity: 1;
                    visibility: visible;
                }
            }
        }

        button, a {
            width: 100%;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            padding: 24px;
            border-radius: 16px;
            border: 2px solid #CB35EB;
            color: var(--text-white);
            font-size: 20px;
            transition: padding 0.3s ease, background 0.3s ease;

            svg {
                opacity: 0;
                visibility: hidden;
                width: 40px;
                height: 40px;
                padding: 8px;
                border-radius: 999px;
                background: rgba(255, 255, 255, 0.30);
                transition:
                        opacity 0.3s ease,
                        visibility 0.3s ease;
            }
        }

        button:hover, a:hover {
            padding: 24px 24px 28px 24px;
        }
    }
}

/* --------------faq-section------------ */
.faq-section {
    .faq-section__flex-wrapper {
        display: flex;
        gap: 48px;

        @media screen and (max-width: 968px) {
            flex-direction: column;
        }

        .faq-section__flex-wrapper__heading-video {
            flex: 1;

            h2 {
                @media screen and (max-width: 1024px) {
                    text-align: center;
                    width: 100%;
                }
            }

            >p {
                margin-top: 24px;
            }

            .video-wrapper {
                width: 100%;
                aspect-ratio: 16 / 9;
                margin-bottom: 24px;
            }

            .video-wrapper iframe {
                width: 100%;
                height: 100%;
                border: 0;
                border-radius: 24px;
            }

            .faq-section__flex-wrapper__heading-video__faq-contact-us {
                padding: 24px;
                margin-top: 12px;
                border-radius: 24px;
                background: var(--bg-white);
                box-shadow: 0 4px 16px 0 rgba(210, 210, 210, 0.15);

                @media screen and (max-width: 968px) {
                    display: none;
                }

                p {
                    margin: 16px 0 24px;
                }

                a {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 8px;
                    width: fit-content;
                    color: #9D958B;
                    font-weight: 500;
                    padding: 8px 16px;
                    border-radius: 8px;
                    border: 2px solid #DAD7D3;
                    background: var(--bg-white);
                    transition: color 0.3s ease, border-color 0.3s ease;
                }

                a:hover {
                    color: var(--purple);
                    border: 2px solid var(--purple);
                }
            }
        }

        .faq-section__flex-wrapper-right-wrapper {
            flex: 1;

            .faq-section__flex-wrapper__faq-accordion {
                display: flex;
                flex-direction: column;
                gap: 24px;
                margin-bottom: 24px;

                .faq-accordion-item {
                    display: flex;
                    padding: 24px;
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 16px;
                    align-self: stretch;
                    border-radius: 24px;
                    background: var(--bg-white);
                    box-shadow: 0 4px 16px 0 rgba(210, 210, 210, 0.15);

                    .faq-accordion-item__heading {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        cursor: pointer;
                        background: var(--bg-white);
                        font-size: 18px;
                        font-weight: 600;
                        color: var(--text-black);
                        width: 100%;
                    }

                    .faq-accordion-item__heading::after {
                        content: "";
                        width: 24px;
                        height: 24px;
                        flex-shrink: 0;
                        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M18 15L12 9L6 15' stroke='%231F1000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");                    background-repeat: no-repeat;
                        background-size: contain;
                        transition: transform 0.3s ease;
                        transform: rotate(180deg);
                    }
                }

                .faq-accordion-item.is-open .faq-accordion-item__heading::after {
                    transform: rotate(0deg);
                }

                .faq-accordion-item__content {
                    display: none;
                    margin: 0;
                    padding: 5px 0 10px;
                }

                .faq-accordion-item.is-open .faq-accordion-item__content {
                    display: block;
                }
            }

            .faq-section__flex-wrapper__faq-accordion__faq-contact-us {
                display: none;
                padding: 24px;
                border-radius: 24px;
                background: var(--bg-white);
                box-shadow: 0 4px 16px 0 rgba(210, 210, 210, 0.15);

                @media screen and (max-width: 968px) {
                    display: block;
                }

                p {
                    margin: 16px 0 24px;
                }

                a {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 8px;
                    width: fit-content;
                    color: #9D958B;
                    padding: 8px 16px;
                    border-radius: 8px;
                    border: 2px solid #DAD7D3;
                    background: var(--bg-white);
                }
            }
        }
    }
}

/* ------appointment-section----------- */
.appointment-section {
    .appointment-section__content-wrapper {
        color: var(--text-white);
        text-align: center;
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid #CB35EB;
        background: linear-gradient(136deg, rgba(203, 53, 235, 0.50) 6.66%, rgba(34, 224, 178, 0.50) 93.7%), linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%),
        url("../../assets/images/appointment-bg.jpg") lightgray 50% / cover no-repeat;
        padding: 116px 0;

        @media screen and (max-width: 1024px) {
            padding: 116px 40px;
            border-radius: 8px;
        }

        @media screen and (max-width: 767px) {
            padding: 86px 16px;
        }

        h2 {
            color: var(--text-white);
            max-width: 628px;
            margin: 0 auto;

            @media screen and (max-width: 1024px) {
                max-width: 100%;
            }
        }

        p {
            margin: 20px 0 32px;
        }
    }
}

/* ----------footer----------- */
footer {
    .footer-flex-wrapper {
        display: flex;
        justify-content: space-between;
        padding: 64px 0;

        @media screen and (max-width: 1200px) {
            flex-direction: column;
            row-gap: 64px;
        }

        .footer-flex-wrapper__cta {
            display: flex;
            flex-direction: column;
            gap: 48px;

            @media screen and (max-width: 1200px) {
                flex-direction: row;
                justify-content: space-between;
            }

            @media screen and (max-width: 767px) {
                flex-direction: column;
                align-items: center;
            }

            .footer-flex-wrapper__cta__logo-wrapper {

                p {
                    margin-top: 16px;
                }
            }

            .footer-flex-wrapper__cta__subscribe-wrapper {

                .footer-flex-wrapper__cta__subscribe-wrapper__newsletter-block {
                    width: 377px;
                    background-color: var(--purple);
                    padding: 16px;
                    border-radius: 16px;

                    @media screen and (max-width: 767px) {
                        max-width: 327px;
                    }

                    p {
                        color: rgba(255, 255, 255, 0.60);
                        font-family: var(--secondary-font);
                        font-size: 16px;
                        font-style: normal;
                        font-weight: 500;
                        line-height: 24px; /* 150% */
                    }

                    .newsletter-block__form {
                        display: flex;
                        justify-content: space-between;
                        padding: 8px 8px 8px 12px;
                        margin-top: 16px;
                        background-color: var(--bg-white);
                        border: 1.5px solid #B0B0B0;
                        border-radius: 8px;

                        input {
                            @media screen and (max-width: 767px) {
                                max-width: 200px;
                            }
                        }

                        button {
                            color: var(--Brand-500);
                            padding: 8px 12px;
                            border-radius: 8px;
                            background: var(--Brand-100);
                            box-shadow: 0 2px 12px 0 rgba(151, 151, 151, 0.15);
                        }
                    }
                }

                .footer-flex-wrapper__cta__subscribe-wrapper__footer-socials {
                    display: flex;
                    justify-content: space-between;
                    padding: 48px 20.5px 0;
                }
            }
        }

        .footer-flex-wrapper__menus {
            max-width: 952px;
            display: flex;
            justify-content: space-between;
            gap: 120px;

            @media screen and (max-width: 767px) {
                flex-direction: column;
                gap: 32px;
            }

            h6 {
                margin-bottom: 16px;
            }

            li {
                margin-bottom: 12px;
                font-weight: 500;
                transition: all 0.3s ease;
            }

            li:hover {
                transform: scale(1.02);
            }

            .footer-flex-wrapper__menus__projects ul li {
                position: relative;
                padding-right: 32px;
                width: fit-content;
            }

            .footer-flex-wrapper__menus__projects ul li::after {
                content: "";
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 24px;
                height: 24px;
                background-image: url("../images/arrow-up-right.png");
                background-size: contain;
            }
        }
    }

    .footer-copyright {
        display: flex;
        justify-content: space-between;
        padding: 32px 0;
        border-top: 1.5px solid rgba(50, 50, 50, 0.10);

        @media screen and (max-width: 1024px) {
            flex-direction: column;
            align-items: center;
            gap: 16px;
        }

        .footer-copyright__doc-wrapper {
            display: flex;
            gap: 16px;

            @media screen and (max-width: 767px) {
                flex-direction: column;
                align-items: center;
                gap: 16px;
            }
        }
    }
}

/* ------------------------gallery-------------------------*/
/* ========= OPEN BUTTONS ========= */

.buttons {
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.buttons button {
    border: none;
    border-radius: 10px;
    background: #6c3cf0;
    color: white;
    padding: 14px 18px;
    font-size: 15px;
}

/* ========= POPUP ========= */

.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.popup.active {
    display: flex;
}

.popup-content {
    width: calc(100% - 24px);
    height: calc(100dvh - 24px);
    background: #555;
    border-radius: 18px;
    padding: 18px;
    position: relative;
    overflow: hidden;
}

/* ========= CLOSE ========= */

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: white;
    font-size: 26px;
    z-index: 20;
}

/* ========= LAYOUT ========= */

.gallery-layout {
    display: flex;
    gap: 18px;
    height: 100%;
}

/* ========= MAIN IMAGE ========= */

.main-gallery {
    position: relative;
    flex: 1;
    min-width: 0;
    border-radius: 14px;
    overflow: hidden;
}

.main-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========= NAVIGATION ========= */

.nav {
    position: absolute;
    bottom: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.5);
    background: rgba(0,0,0,.35);
    color: white;
    font-size: 22px;
    backdrop-filter: blur(6px);
}

.prev {
    left: 18px;
}

.next {
    right: 18px;
}

/* ========= SIDEBAR ========= */

.sidebar {
    width: 260px;

    display: flex;
    flex-direction: column;

    flex-shrink: 0;
}

/* ========= TABS ========= */

.tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-btn {
    border: none;
    border-radius: 10px;

    background: #6c3cf0;
    color: white;

    padding: 14px 12px;

    font-size: 14px;

    transition: .2s;
}

.tab-btn.active {
    background: #8f67ff;
}

/* ========= THUMBNAILS ========= */

.thumbnails {
    margin-top: 16px;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;

    overflow-y: auto;
    padding-right: 4px;
}

.thumbnail {
    cursor: pointer;
}

.thumbnail img {
    width: 100%;
    aspect-ratio: 1/1;

    object-fit: cover;

    border-radius: 12px;

    opacity: .55;
    transition: .2s;
}

.thumbnail.active img {
    opacity: 1;
    border: 2px solid white;
}

/* ========= TABLET ========= */

@media (max-width: 992px) {

    .gallery-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .tabs {
        flex-direction: row;
    }

    .tab-btn {
        flex: 1;
        font-size: 13px;
        padding: 12px 10px;
    }

    .main-gallery {
        height: 55vh;
    }

    .thumbnails {
        grid-template-columns: repeat(4, 1fr);
        max-height: 180px;
    }
}

/* ========= MOBILE ========= */

@media (max-width: 768px) {

    .popup-content {
        width: 100%;
        height: 100dvh;

        border-radius: 0;
        padding: 12px;
    }

    .gallery-layout {
        gap: 12px;
    }

    .main-gallery {
        height: 42vh;
        border-radius: 12px;
    }

    .main-gallery img {
        border-radius: 12px;
    }

    .tabs {
        gap: 8px;
    }

    .tab-btn {
        border-radius: 8px;

        font-size: 12px;
        padding: 10px 8px;

        white-space: nowrap;
    }

    .thumbnails {
        margin-top: 12px;

        grid-template-columns: repeat(4, 1fr);
        gap: 8px;

        overflow-y: auto;
        max-height: unset;
    }

    .thumbnail img {
        border-radius: 10px;
    }

    .nav {
        width: 38px;
        height: 38px;
        font-size: 20px;
        bottom: 12px;
    }

    .prev {
        left: 12px;
    }

    .next {
        right: 12px;
    }

    .close-btn {
        top: 8px;
        right: 8px;
    }
}

/* ========= SMALL MOBILE ========= */

@media (max-width: 480px) {

    .buttons {
        padding: 16px;
    }

    .buttons button {
        width: 100%;
    }

    .main-gallery {
        height: 36vh;
    }

    .tabs {
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .tabs::-webkit-scrollbar {
        height: 4px;
    }

    .tab-btn {
        flex: unset;
        min-width: max-content;
        padding-inline: 14px;
    }
}