
.aae-reviews-area {
    background-color: #1a1a1a;
    border-radius: 30px;
    margin-inline-start: 20px;
    margin-inline-end: 20px;
    position: relative;
}

@media only screen and (max-width: 767px) {
    .aae-reviews-area {
        margin: 0;
    }
}

.aae-reviews-area .section-title-wrapper {
    text-align: start;
    padding-bottom: 120px;
    position: relative;
    z-index: 3;
}

@media only screen and (max-width: 1199px) {
    .aae-reviews-area .section-title-wrapper {
        padding-bottom: 60px;
    }
}

@media only screen and (max-width: 767px) {
    .aae-reviews-area .section-title-wrapper {
        padding-bottom: 40px;
    }
}

.aae-reviews-area .aae-hero-btn {
    margin-bottom: 0;
}

@media only screen and (max-width: 1199px) {
    .aae-reviews-area .review-desc {
        font-size: 16px;
    }
}

.aae-reviews-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 35px;
}

.reviews-count {
    font-size: 18px;
    color: var(--white);
}

.aae-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

@media only screen and (max-width: 991px) {
    .aae-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    .aae-reviews-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.review-bg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.review-bg-left {
    position: absolute;
    top: 0;
    left: -270px;
    z-index: 2;
    mix-blend-mode: multiply;
}

.review-bg-top {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.aae-reviews-item:hover {
    box-shadow:
        rgba(0, 0, 0, 0.25) 0px 54px 55px,
        rgba(0, 0, 0, 0.12) 0px -12px 30px,
        rgba(0, 0, 0, 0.12) 0px 4px 6px,
        rgba(0, 0, 0, 0.17) 0px 12px 13px,
        rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.aae-reviews-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #555;
    position: relative;
    align-self: flex-start;
}

@media only screen and (max-width: 1500px) {
    .aae-reviews-item {
        padding: 15px;
    }
}

@media only screen and (max-width: 1199px) {
    .aae-reviews-item {
        padding: 20px;
    }
}

.aae-reviews-item .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.aae-reviews-item .content {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
}

@media only screen and (max-width: 1500px) {
    .aae-reviews-item .content {
        gap: 10px;
    }
}

.aae-reviews-item .content img {
    width: 100%;
    border-radius: 10px;
}

.aae-reviews-item .footer {
    display: flex;
    gap: 20px;
}

@media only screen and (max-width: 1199px) {
    .aae-reviews-item .footer {
        gap: 10px;
    }
}

.aae-reviews-item .name {
    font-size: 20px;
    font-weight: 300;
    color: var(--white);
    padding-bottom: 3px;
    position: relative;
}

@media only screen and (max-width: 1500px) {
    .aae-reviews-item .name {
        font-size: 17px;
    }
}

@media only screen and (max-width: 1199px) {
    .aae-reviews-item .name {
        font-size: 16px;
    }
}

.aae-reviews-item .name::before {
    content: "";
    position: absolute;
    right: -10px;
    bottom: 9px;
    height: 20px;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

@media only screen and (max-width: 1500px) {
    .aae-reviews-item .review-desc {
        font-size: 16px;
    }
}

.aae-reviews-item .post {
    font-size: 18px;
    font-weight: 300;
    color: #999;
}

.aae-reviews-item .icon {
    display: flex;
    gap: 5px;
}

.aae-reviews-item .play-video-btn {
    position: absolute;
    background: var(--white);
    height: 70px;
    width: 70px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #121212;
    text-transform: capitalize;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.reviews-marquee-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex-wrap: nowrap;
    height: auto;
    align-items: flex-start;
}

.reviews-marquee-container .aae-reviews-item {
    width: 100%;
}

.aae-reviews-grid-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    position: relative;
    max-height: 1580px;
    overflow: hidden;
}

@media only screen and (max-width: 991px) {
    .aae-reviews-grid-inner {
        max-height: 100vh;
    }
}

@media only screen and (max-width: 767px) {
    .aae-reviews-grid-inner {
        grid-template-columns: 1fr;
    }

    .reviews-marquee-container {
        gap: 15px;
    }
}

.aae-reviews-grid-inner-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

@media only screen and (max-width: 1199px) {
    .aae-reviews-grid-inner-right {
        grid-template-columns: 1fr;
    }
}

.aae-review-left-marque-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    overflow: hidden;
}

@media only screen and (max-width: 1199px) {
    .aae-review-left-marque-wrap {
        grid-template-columns: 1fr;
    }
}

.marquee-backward {
    max-height: 1020px;
    justify-content: flex-end;
}

.marquee-backward2 {
    max-height: 1580px;
    justify-content: flex-end;
}

.video-card-thumb {
    cursor: pointer;
    position: relative;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 32, 32, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    box-shadow: 0px 5px 80px 30px #171717;
    max-height: 80%;
    width: 75%;
    padding: 40px;
    z-index: 101;
    visibility: hidden;
    box-sizing: border-box;
    display: flex;
    background:
        linear-gradient(#202020, #202020) padding-box,
        linear-gradient(to right,
            rgba(255, 255, 255, 0.2),
            rgba(85, 85, 85, 0.2)) border-box;
    border: 1px solid rgba(0, 0, 0, 0);
}

@media only screen and (max-width: 1199px) {
    .popup-container {
        padding: 30px;
        width: 90%;
    }
}

.popup-container.active {
    visibility: visible;
}

.popup-content {
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    max-height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.popup-video {
    width: 100%;
    height: 100%;
    max-height: 70vh;
    background: #000;
    -o-object-fit: contain;
    object-fit: contain;
}

.close-button {
    position: absolute;
    top: -20px;
    height: 56px;
    width: 56px;
    border-radius: 40px;
    right: -20px;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    background:
        linear-gradient(#202020, #202020) padding-box,
        linear-gradient(to right,
            rgba(255, 255, 255, 0.2),
            rgba(85, 85, 85, 0.2)) border-box;
    border: 1px solid rgba(0, 0, 0, 0);
}

.aae-reviews-area .aae-reviews-inner .section-title {
    margin: unset;
}