/*=============== REVIEW HERO ===============*/
.review__hero {
    position: relative;
    padding-top: 18rem;
    min-height: 125vh;


    .review__container {

        .review__content {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            text-align: center;
            gap: 40px;
            z-index: 5;

            .icon {
                width: 107px;
                height: 97px;
                background-color: white;
                border-radius: 13px;
                border: 2.56px solid #ACB3B70A;
                font-size: 45px;
                box-shadow: 0px 10.25px 15.38px -10.25px #0000001A,
                    0px 25.63px 38.45px -7.69px #0000001A;

                i {
                    color: transparent;
                    background: linear-gradient(180deg, #FFC71F 0%, #DDB124 100%);
                    -webkit-background-clip: text;
                    background-clip: text;
                }
            }

            .text {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;


                h1 {
                    font-size: 147px;
                    font-weight: var(--font-regular);
                    color: #ECC442;
                    text-shadow: 0px 8.16px 8.16px #D0A41F;
                    line-height: 0.9;
                }

                p {
                    font-size: 32px;
                    font-weight: var(--font-semi-bold);
                    color: var(--dark);
                    text-shadow: 0px 5.34px 5.34px #0000001F;
                }
            }
        }
    }

    .quote {
        position: absolute;
        top: 261px;
        right: 65px;
        font-size: 70px;
        color: #E7ECEA;
        transform: rotate(-8deg);
        z-index: 2;
    }

    .book {
        position: absolute;
        bottom: 231.5px;
        right: 202px;
        font-size: 80px;
        color: #F9F3E1;
        z-index: 2;
    }

    .round {
        position: absolute;
        left: 180px;
        bottom: 173px;
        width: 78px;
        height: 65px;
        z-index: 2;
    }

    .icon_play {
        position: absolute;
        left: 44px;
        top: 240px;
        width: 82.98497660311688px;
        height: 74.68648428338129px;
        background-color: #F9F3E1;
        border-radius: 12px;
        transform: rotate(15deg);
        z-index: 2;

        i {
            color: white;
            font-size: 35px;
        }

    }

    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        background-image: url(../image/bg3.webp);
        background-size: cover;
        background-position: center;
    }

}

/*=============== REVIEW ===============*/
.review {

    .review__container {

        .review__content {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            text-align: center;
            gap: 30px;

            h2 {
                font-size: 42px;
                font-weight: var(--font-semi-bold);
                color: var(--dark);
                max-width: 771px;
                width: 100%;

                span {
                    color: var(--yellow);
                }
            }

            .wrapper {
                width: 100%;
                max-width: 1150px;

                /* Swiper المين (الفيديو الكبير) */
                .main-video-slider {
                    width: 100%;
                    border-radius: 22px;
                    border: 1.4px solid #ACB3B71A;
                    overflow: hidden;

                    .swiper-slide {
                        .video_container {
                            position: relative;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            max-width: 100%;
                            width: 100%;
                            height: 567px;
                            border-radius: 18px;
                            background: #FFFFFF;

							.poster,
							.video-frame {
                                width: 100%;
                                height: 100%;
                                border-radius: 18px;
                                object-fit: cover;
                            }
							
							.poster {
								position: absolute;
								inset: 0;
								cursor: pointer;
							}

							.video-frame {
								display: none;
							}

                            .play-btn {
                                position: absolute;
                                top: 50%;
                                left: 50%;
                                transform: translate(-50%, -50%);
                                width: 64px;
                                height: 64px;
                                background-color: var(--green);
                                color: white;
                                border-radius: 50%;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                font-size: 24px;
                                cursor: pointer;
                                transition: all 0.3s ease-in-out;

                                &:hover {
                                    background-color: var(--green-gray);
                                }
                            }
							
							 .play-btn.hidden {
								opacity: 0;
								visibility: hidden;
								pointer-events: none;
							  }
							
							.fullscreen-btn {
                            position: absolute;
                            bottom: 10px;
                            right: 10px;
                            z-index: 6;

                            width: 40px;
                            height: 40px;
                            border-radius: 50%;
                            border: none;
                            cursor: pointer;

                            background: rgba(0, 0, 0, 0.6);
                            color: #fff;

                            display: flex;
                            align-items: center;
                            justify-content: center;

                            transition: 0.3s;

                            &:hover {
                                background: rgba(0, 0, 0, 0.85);
                            }
                        }

                            span {
                                position: absolute;
                                bottom: 12.5px;
                                left: 19.5px;
                                padding: 6px 12px;
                                background-color: #00000000;
                                color: white;
                                border-radius: 999px;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                font-size: 17px;
                                font-weight: var(--font-medium);
                                backdrop-filter: blur(10px);
                                border: 1px solid #FFFFFF80;
                            }

                            .icon {
                                position: absolute;
                                bottom: 15px;
                                right: 25px;
                                background: var(--yellow-color);
                                width: 32px;
                                height: 32px;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                font-size: 16px;
                                color: white;
                                background-color: var(--yellow);
                                border-radius: 50%;
                            }
                        }
                    }
                }

                /* Swiper المصغرات (اللي تحت) */
                .thumbs-slider {
                    margin-top: 20px;
                    padding: 5px;

                    .swiper-slide {
                        cursor: pointer;
                        border-radius: 22px;
                        overflow: hidden;
                        position: relative;
                        transition: transform 0.3s ease;
                        border: 2px solid #D9D9D9;

                        img {
                            display: flex;
                            width: 100%;
                            height: 223px;
                            object-fit: cover;
                            filter: grayscale(40%);
                        }

                        &.swiper-slide-thumb-active {
                            border-color: var(--yellow);
                            transform: scale(1.05);

                            img {
                                filter: grayscale(0%);
                            }
                        }
                    }
                }

                /* أيقونة الفيديو */
                .video-icon {
                    position: absolute;
                    bottom: 15px;
                    left: 15px;
                    background: var(--yellow-color);
                    width: 40px;
                    height: 40px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 18px;
                    color: white;
                    background-color: var(--yellow);
                    border-radius: 50%;
                    box-shadow: 0px 2.6px 2.6px 0px #00000040;
                }

                .thumbs-pagination {
                    margin-top: 35px;
                    text-align: center;

                    .swiper-pagination-bullet {
                        width: 19.5px;
                        height: 19.5px;
                        background: #ACB3B738;
                        opacity: 1;
                        transition: 0.3s;
                        border-radius: 50%;
                    }

                    .swiper-pagination-bullet-active {
                        background: var(--yellow);
                        transform: scale(1.1);
                        box-shadow: 0px 0px 19.53px 0px #D4AF37FC;
                    }
                }
            }
        }
    }
}

/*=============== TESTIMONIALS ===============*/
.testimonials {
    padding-block: 6.8125rem 3rem;
    background-color: var(--background);

    .testimonial__container {

        .testimonial__content {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 40px;

            .header_testimonial {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 29px;
                flex-direction: column;

                h2 {
                    font-size: 32px;
                    color: var(--dark);
                    font-weight: var(--font-semi-bold);
                    text-align: center;
                    width: 540px;

                    span {
                        color: var(--yellow);
                    }
                }
            }

            .testimonials_swiper {
                width: 478px;
                height: 527px;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                gap: 49px;

                .swiper-slide {
                    display: flex;
                    justify-content: center;
                    align-items: center;
					
					.img{
						position: relative;
						.fullscreen-btn {
                            position: absolute;
							bottom: 20px;
                            right: 20px;
                            z-index: 6;
                            width: 30px;
                            height: 30px;
                            border-radius: 50%;
                            border: none;
                            cursor: pointer;

                            background: rgba(0, 0, 0, 0.6);
                            color: #fff;

                            display: flex;
                            align-items: center;
                            justify-content: center;

                        }
						
					}

                    img {
                        width: 238.78953552246094px;
                        height: 483.0308837890625px;
                        border-radius: 35px;
						border: 2px solid var(--green-gray);
                    }

                }
            }


            .swiper-pagination {
                position: relative;
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 11px;

                .swiper-pagination-bullet {
                    width: 17px;
                    height: 17px;
                    background-color: #ACB3B738;
                    border-radius: 50%;
                    opacity: 1;
                    transition: all 0.3s ease-in-out;

                    &.swiper-pagination-bullet-active {
                        background-color: var(--yellow);
                        box-shadow: 0px 0px 17.2px 0px #D4AF37FC;
                        transform: scale(1.2);
                        border: 1px solid #F9F3E1;
                    }
                }
            }
			
			.btns_swiper {
                position: absolute;
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 115%;
				z-index: 10;

                .my-prev-testimonials,
                .my-next-testimonials {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 60px;
                    height: 60px;
                    background: white;
                    border: 1px solid var(--yellow);
                    border-radius: 50%;
                    font-size: 25px;
                    color: var(--yellow);
                    cursor: pointer;
                    transition: all 0.3s ease-in-out;

                    &:hover {
                        background-color: var(--yellow);
                        color: white;
                        box-shadow: 0px 30.77px 61.54px -14.77px #191C1D0D;
                    }
                }
            }
			
			.image-popup {
				position: fixed;
				inset: 0;
				width: 100%;
				height: 100%;
				background: rgba(0, 0, 0, 0.92);
				display: flex;
				justify-content: center;
				align-items: center;
				opacity: 0;
				visibility: hidden;
				transition: 0.3s ease;
				z-index: 9999;
				padding: 20px;
			}

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

			.image-popup img {
				max-width: 90%;
				max-height: 90%;
				object-fit: contain;
				border-radius: 20px;
			}

			.close-popup-image {
				position: absolute;
				top: 25px;
				right: 30px;
				width: 50px;
				height: 50px;
				border: none;
				outline: none;
				background: rgba(255, 255, 255, 0.1);
				backdrop-filter: blur(10px);
				border-radius: 50%;
				color: #fff;
				font-size: 24px;
				cursor: pointer;
				display: flex;
				justify-content: center;
				align-items: center;
				transition: 0.3s ease;
			}

			.close-popup-image:hover {
				background: rgba(255, 255, 255, 0.2);
				transform: scale(1.05);
			}

			.swiper-slide img {
				cursor: pointer;
			}

            .btn {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 8px;
                max-width: 363px;
                width: 100%;
                height: 48px;
                background-color: var(--yellow);
                color: white;
                font-size: 18px;
                font-weight: var(--font-semi-bold);
                border-radius: 8px;
                transition: all 0.3s ease-in-out;

                .icon {
                    width: 28px;
                    height: 28px;
                    border-radius: 50%;

                    i {
                        font-size: 20px;
                    }
                }
            }

        }
    }
}


/*=============== RESPONSIVE ===============*/
@media (max-width: 1200px) {



    /*=============== TESTIMONIALS ===============*/
    .testimonials {
        .testimonial__container {
            .testimonial__content {
                .header_testimonial {
                    h2 {
                        width: 100%;
                        max-width: 500px;
                        font-size: 28px;
                    }
                }

                .testimonials_swiper {
                    width: 100%;
                    max-width: 430px;
                    height: auto;

                    .swiper-slide {
                        img {
                            width: 210px;
                            height: auto;
                            max-height: 430px;
                        }

                    }
                }
            }
        }
    }
}

@media (max-width: 992px) {

    /*=============== REVIEW HERO ===============*/
    .review__hero {
        min-height: 115vh;

        .review__container {

            .review__content {
                gap: 26px;

                .icon {
                    width: 70px;
                    height: 63px;
                    font-size: 30px;
                }

                .text {


                    h1 {
                        font-size: 96px;
                    }

                    p {
                        font-size: 24px;
                    }
                }
            }
        }

        .quote {
            right: 43px;
            font-size: 50px;
        }

        .book {
            bottom: 200px;
            right: 100px;
            font-size: 50px;
        }

        .round {
            position: absolute;
            left: 130px;
            bottom: 130px;
            width: 51px;
            height: 42.5px;
        }

        .icon_play {
            position: absolute;
            left: 47px;
            top: 200px;
            width: 54px;
            height: 56px;
            border-radius: 11px;

            i {
                font-size: 25px;
            }

        }

    }

    /*=============== REVIEW ===============*/
    .review {

        .review__container {

            .review__content {
                gap: 32px;

                h2 {
                    font-size: 28px;
                    max-width: 520px;
                }

                .wrapper {
                    max-width: 827px;

                    .main-video-slider {

                        .swiper-slide {
                            .video_container {
                                height: 406px;

                                span {
                                    font-size: 12px;
                                }
                            }
                        }
                    }

                    /* Swiper المصغرات (اللي تحت) */
                    .thumbs-slider {

                        .swiper-slide {

                            img {
                                height: 160px;
                            }
                        }
                    }

                    /* أيقونة الفيديو */
                    .video-icon {
                        bottom: 12px;
                        left: 12px;
                        width: 28px;
                        height: 28px;
                        font-size: 13px;
                    }

                    .thumbs-pagination {
                        margin-top: 35px;
                        text-align: center;

                        .swiper-pagination-bullet {
                            width: 14px;
                            height: 14px;
                        }
                    }
                }
            }
        }
    }

    /*=============== TESTIMONIALS ===============*/
    .testimonials {
        padding-block: 4rem;

        .testimonial__container {
            .testimonial__content {
                gap: 34px;

                .header_testimonial {
                    gap: 25px;

                    h2 {
                        font-size: 24px;
                        max-width: 422px;
                    }

                }

                .testimonials_swiper {
                    max-width: 403px;
                    gap: 38px;

                    .swiper-slide {
                        img {
                            width: 220px;
                            max-height: 444px;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 768px) {

    /*=============== REVIEW ===============*/
    .review {

        .review__container {

            .review__content {

                h2 {
                    font-size: 24px;
                    max-width: 437px;
                }

                .wrapper {
                    max-width: 681px;

                    .main-video-slider {

                        .swiper-slide {
                            .video_container {
                                height: 406px;

                            }
                        }
                    }
                }
            }
        }
    }

    /*=============== TESTIMONIALS ===============*/
    .testimonials {
        padding-block: 4.5rem;

        .testimonial__container {
            .testimonial__content {
                gap: 53px;

                .header_testimonial {

                    .buttons {

                        .btn {
                            width: auto;
                            min-width: 90px;
                            padding-inline: 23px;
                            height: 38px;
                        }
                    }
                }

                .testimonials_swiper {
                    max-width: 350px;

                    .swiper-slide {
                        img {
                            width: 205.7844696044922px;
                            max-height: 418.4860534667969px;
                            border-radius: 28px;
                        }

                    }
                }

                .swiper-pagination {
                    .swiper-pagination-bullet {
                        width: 14px;
                        height: 14px;
                    }
                }
            }
        }
    }
}

@media (max-width: 576px) {

    /*=============== REVIEW HERO ===============*/
    .review__hero {
        padding-top: 12rem;
        min-height: 65vh;

        .review__container {

            .review__content {
                gap: 13px;

                .icon {
                    width: 42px;
                    height: 38px;
                    font-size: 20px;
                }

                .text {


                    h1 {
                        font-size: 48px;
                    }

                    p {
                        font-size: 12px;
                    }
                }
            }
        }

        .quote {
            right: 30px;
            font-size: 30px;
            top: 150px;
        }

        .book {
            bottom: 70px;
            right: 36px;
            font-size: 30px;
        }

        .round {
            left: 42px;
            bottom: 50px;
            width: 24px;
            height: 20px;
        }

        .icon_play {
            position: absolute;
            left: 28px;
            top: 200px;
            width: 25px;
            height: 22.5px;
            border-radius: 4px;

            i {
                font-size: 15px;
            }

        }

    }

    /*=============== REVIEW ===============*/
    .review {

        .review__container {

            .review__content {
                gap: 24px;

                h2 {
                    font-size: 22px;
                    max-width: 329px;
                }

                .wrapper {
                    max-width: 327px;

                    .main-video-slider {

                        .swiper-slide {
                            .video_container {
                                height: 406px;
                            }
                        }
                    }

                    /* Swiper المصغرات (اللي تحت) */
                    .thumbs-slider {

                        .swiper-slide {

                            img {
                                height: 156px;
                            }
                        }
                    }
                }
            }
        }
    }

    /*=============== TESTIMONIALS ===============*/
    .testimonials {
        padding-block: 35px 63px;

        .testimonial__container {
            .testimonial__content {
                gap: 46px;

                .header_testimonial {
                    gap: 18px;
                }

                .testimonials_swiper {
                    width: 100%;
                    max-width: 100%;

                    .swiper-slide {
                        img {
                            width: 150px;
                            max-height: 320px;
                            border-radius: 24px;
                        }


                    }
                }

                .swiper-pagination {
                    gap: 7px;

                    .swiper-pagination-bullet {
                        width: 15px;
                        height: 15px;
                    }
                }
				
				.btns_swiper {
					width: 95%;

					.my-prev-testimonials,
					.my-next-testimonials {
						width: 45px;
						height: 45px;
					}
				}
            }
        }
    }
}