/* main content */
.about-us-page {
    color: var(--black_white50);
    padding: 100px 0 150px;
    overflow: hidden;
    position: relative;
}

.about-us-page .display-5xl {
    opacity: 0;
    transform: scale(0.94);
    animation: heroReveal 1s ease-out forwards;
    animation-delay: 0.6s;
}

.about-us-page .bussinesses-btn {
    opacity: 0;
    transform: scale(0.94);
    animation: heroReveal 1s ease-out forwards;
    animation-delay: 0.6s;
}

/* About us upper */
.about-us-upper {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin: 64px 0;
    opacity: 0;
    transform: scale(0.94);
    visibility: hidden;
    animation: heroReveal 1s ease-out forwards;
    animation-delay: 0.6s;
    will-change: opacity, transform;
    animation-fill-mode: both;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: scale(1);
        visibility: visible;
    }
}

.about-us-upper-item {
    max-width: 800px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 16px;
}

.about-us-upper-item .body-sm-regular {
    color: var(--neutral300);
}

/* Stats */
.about-us-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 100px 0;
    position: relative;
    z-index: 5;
}

.about-us-stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.about-text {
    color: var(--neutral500);
    text-align: center;
}

/* gallery */
.about-us-gallery {
    padding: 0 0 150px;
}

.about-gallery-swiper {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    z-index: 5;
}

.about-us-gallery .swiper-slide {
    max-width: 600px;
}

.about-gallery-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* Reviews section */
.about-us-page .reviews-section-content-wrapper {
    padding-top: unset;
}

/* Circles */
.left-side-ellipsis {
    position: absolute;
    width: 326px;
    height: 326px;
    left: -198px;
    top: 1079px;
    background: #3C4AC1;
    filter: blur(150px);
    flex: none;
    order: 4;
    flex-grow: 0;
    z-index: 4;
}

.right-side-ellipsis {
    position: absolute;
    width: 326px;
    height: 326px;
    /* left: 1394px; */
    right: -397px;
    top: 1421px;
    background: #7BFEDD;
    filter: blur(150px);
    flex: none;
    order: 0;
    flex-grow: 0;
    z-index: 0;
}

/* Responsive */
@media (max-width: 800px) {
    .about-us-page .services-and-reviews-wrapper {
        padding: 0;
    }

    .about-us-page .review-btn-wrapper button {
        width: max-content;
    }
}

@media (max-width: 768px) {
    .about-us-page {
        padding: 70px 0 100px;
    }

    /* About us upper */
    .about-us-upper {
        gap: 32px;
        margin: 32px 0;
    }

    .about-us-upper-item {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .about-us-stats {
        grid-template-columns: 1fr;
        gap: 32px;
        margin: 70px 0;
    }

    .about-us-stat-item {
        gap: 12px;
    }

    /* gallery */
    .about-us-gallery {
        padding: 0 0 70px;
    }

    .about-us-gallery .swiper-slide {
        max-width: 290px;
        width: 100%;
        height: 290px;
    }

    .about-us-gallery .swiper-slide img,
    .about-us-gallery .swiper-slide picture {
        height: auto;
    }

    /* Circles */
    .left-side-ellipsis {
        top: 879px;
    }

    .right-side-ellipsis {
        display: none;
    }
}

@media (max-width: 600px) {

    /* Circles */
    .left-side-ellipsis {
        top: 979px;
    }
}

@media (max-width: 450px) {

    /* Circles */
    .left-side-ellipsis {
        top: 1079px;
    }
}