/*=============== SINGLE COURSE HERO ===============*/
.single__cousrs__hero {
    position: relative;
    padding-block: 14.375rem 48px;

    .single__course__hero__container {

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

            .span {
                font-size: 12px;
                font-weight: var(--font-medium);
                color: var(--yellow);
                background-color: white;
                padding: 4px 12px;
                border-radius: 999px;
                text-transform: uppercase;
            }

            h1 {
                font-size: 34px;
                font-weight: var(--font-bold);
                color: white;
                text-shadow: 0 4px 4px #00000040;
            }

            p {
                font-size: 14px;
                font-weight: var(--font-medium);
                color: white;
                max-width: 635px;
                width: 100%;

            }

            .teacher {
                display: flex;
                justify-content: start;
                align-items: center;
                gap: 16px;
                padding: 7px 21px 7px 5px;
                background-color: #FFFFFF1A;
                border: 1px solid #FFFFFF0F;
                border-radius: 999px;
                backdrop-filter: blur(12px);
                text-align: start;
                margin-block: 14px;

                .img {
                    width: 48px;
                    height: 48px;
                    border-radius: 50%;
                    border: 1px solid #F9F3E1;

                    img {
                        width: 100%;
                        border-radius: 50%;
                        height: 100%;
                        object-fit: cover;
                    }
                }

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

                    span {
                        font-size: 14px;
                        font-weight: var(--font-semi-bold);
                        color: white;
                    }

                    p {
                        font-size: 12px;
                        font-weight: var(--font-medium);
                        color: #EFC335;
                    }
                }
            }

            .img {
                position: relative;
                display: flex;
                justify-content: center;
                align-items: center;
                max-width: 758px;
                width: 100%;
                border-radius: 12px;
                box-shadow: 0px 2px 12px 0px #00000036;
                border: 2px solid #25644F;

                img {
                    width: 100%;
                    height: auto;
                    border-radius: 12px;
                }

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

            a {
                max-width: 758px;
                width: 100%;
                height: 48px;
                border-radius: 8px;
                gap: 8px;
                background-color: white;
                color: var(--dark);
                font-size: 18px;
                font-weight: var(--font-semi-bold);

                .icon {
                    width: 24px;
                    height: 24px;
                    font-size: 14px;
                    background-color: var(--green);
                    color: white;
                    border-radius: 50%;
                }
            }
        }
    }

    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, #25644F 0%, rgba(37, 100, 79, 0.5) 50%, rgba(37, 100, 79, 0.7) 100%);
        z-index: 1;
    }

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(../image/bg\ single\ course.webp);
        background-size: cover;
        background-position: center;
        z-index: -1;
    }
}

/*=============== EXPERIENCE ===============*/
.experience {
    padding-block: 80px 105px;

    .experience__container {

        .experience__content {
            display: flex;
            justify-content: start;
            align-items: start;
            flex-direction: column;
            gap: 48px;

            .header__experience {
                display: flex;
                justify-content: center;
                align-items: start;
                flex-direction: column;
                gap: 12px;

                h2 {
                    font-size: 38px;
                    font-weight: var(--font-semi-bold);
                    color: var(--dark);
                }

                p {
                    font-size: 16px;
                    font-weight: var(--font-regular);
                    color: #666666;
                }
            }

            .experience__grid {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 36px;

                .experience__item {
                    position: relative;
                    display: flex;
                    justify-content: center;
                    align-items: start;
                    flex-direction: column;
                    gap: 12px;
                    padding: 32px;
                    background-color: #F4F3F2;
                    border-radius: 24px;

                    .header__item {
                        position: relative;
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        width: 100%;
                        margin-bottom: 10px;
                        z-index: 5;

                        .icon {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            width: 64px;
                            height: 64px;
                            border-radius: 50%;
                            color: white;
                            font-size: 28px;
                            background-color: var(--green);
                        }

                        span {
                            font-size: 64px;
                            font-weight: 800;
                            color: #0035271A;
                        }
                    }

                    h3 {
                        position: relative;
                        font-size: 28px;
                        font-weight: var(--font-bold);
                        color: var(--green);
                        z-index: 5;
                    }

                    p {
                        position: relative;
                        font-size: 16px;
                        font-weight: var(--font-regular);
                        color: #404944;
                        width: 95%;
                        z-index: 5;
                    }

                    &:nth-child(2) {
                        .header__item {
                            flex-direction: row-reverse;

                            .icon {
                                background-color: var(--yellow);
                            }

                        }

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

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

                .spical__item {
                    position: relative;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    text-align: center;
                    flex-direction: column;
                    gap: 21px;
                    padding-block: 32px 22.5px;
                    padding-inline: 1.5rem;
                    background-color: #064E3B;
                    border-radius: 24px;
                    grid-column: 1/-1;

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


                    span {
                        z-index: 5;
                        font-size: 64px;
                        font-weight: 800;
                        color: #74C0A74D;
                    }


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

                        h3 {
                            font-size: 28px;
                            font-weight: var(--font-bold);
                            color: white;
                        }

                        p {
                            font-size: 16px;
                            font-weight: var(--font-regular);
                            color: #FFFFFFB2;
                            width: 80%;
                        }
                    }

                    .img {
                        z-index: 5;
                        max-width: 238.4769px;
                        width: 100%;
                        height: 93.79305267333984px;

                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }
                }
            }
        }
    }
}

/*=============== SYLLABUS ===============*/
.syllabus {
    padding-block: 95px 150px;
    background-color: #F4F3F2;
    position: relative;

    .syllabus__container {

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

            h2 {
                position: relative;
                font-size: 28px;
                font-weight: var(--font-bold);
                color: var(--dark);

                &::after {
                    content: "";
                    position: absolute;
                    bottom: -11px;
                    left: 50%;
                    transform: translateX(-50%);
                    width: 146px;
                    border-radius: 999px;
                    height: 4px;
                    background-color: #ACB3B733;
                }
            }

            .group__levels {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                gap: 23px;
                width: 100%;

                .levels__grid {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    width: 100%;
                    gap: 28px;

                    .level {
                        display: flex;
                        justify-content: center;
                        align-items: start;
                        flex-direction: column;
                        background-color: white;
                        gap: 20px;
                        border-radius: 14px;
                        padding: 24px 24px 26px 24px;
                        max-width: 622px;
                        width: 100%;

                        .level__header {
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            width: 100%;

                            .num {
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                width: 34px;
                                height: 34px;
                                border-radius: 50%;
                                background-color: #EEEEED;
                                color: #666666;
                                font-size: 18px;
                                font-weight: var(--font-semi-bold);
                            }

                            .nested {
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                padding: 5px 12px;
                                background-color: #EEEEED;
                                color: var(--dark);
                                font-size: 12px;
                                font-weight: var(--font-semi-bold);
                                border-radius: 999px;
                            }

                        }

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

                            h3 {
                                font-size: 22px;
                                font-weight: var(--font-semi-bold);
                                color: var(--dark);
                            }

                            p {
                                font-size: 14x;
                                font-weight: var(--font-regular);
                                color: #666666;
                            }
                        }
                    }
                }

                .slogan {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    text-align: center;
                    width: 100%;
                    padding: 22.5px 9px;
                    background-color: var(--yellow);
                    border: 1px solid #BFC9C333;
                    border-radius: 8px;

                    img {
                        width: 71px;
                        height: 44.5px;

                    }

                    .scale {
                        transform: scaleX(-1);
                    }

                    p {
                        font-size: 23px;
                        font-weight: var(--font-bold);
                        color: white;
                        text-transform: uppercase;
                    }
                }
            }

            a {
                width: 331px;
                height: 52px;
                gap: 8px;
                background-color: var(--green);
                border-radius: 8px;
                color: white;
                font-size: 18px;
                font-weight: var(--font-regular);

                i {
                    color: #E7ECEA;
                }
            }
        }
    }

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


/* Popup */
.video-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;

    &.active {
        opacity: 1;
        visibility: visible;
    }

	.video-popup-content {
        position: relative;
        max-width: 800px;
        width: 90%;
		height: 500px;
        border-radius: 18px;
    }
		
	.popup-video{
		height: 100%;
	}
	
    iframe {
        width: 100%;
        border-radius: 12px;
		height: 100%;
    }

    .close-popup {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        border: none;
        background: red;
        color: #fff;
        font-size: 18px;
        cursor: pointer;

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

        i {
            pointer-events: none;
        }
    }
}

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

    /*=============== SINGLE COURSE HERO ===============*/
    .single__cousrs__hero {

        .single__course__hero__container {

            .single__course__hero__content {


                .img {
                    max-width: 621px;

                    img {
                        width: 100%;
                        height: auto;
                        border-radius: 12px;
                    }

                    .play-video-popup {
                        width: 53.5px;
                        height: 53.5px;
                        font-size: 22px;
                    }
                }

                a {
                    max-width: 617px;
                }
            }
        }

    }

    /*=============== EXPERIENCE ===============*/
    .experience {

        .experience__container {

            .experience__content {

                .header__experience {
                    gap: 6px;

                    h2 {
                        font-size: 32px;
                    }

                    p {
                        font-size: 14px;
                    }
                }

                .experience__grid {

                    .experience__item {

                        .header__item {

                            span {
                                font-size: 48px;
                            }
                        }

                        h3 {
                            font-size: 24px;
                        }

                        p {
                            font-size: 14px;
                        }

                    }

                    .spical__item {


                        span {
                            font-size: 48px;
                        }


                        .text {

                            h3 {
                                font-size: 24px;
                            }

                            p {
                                font-size: 14px;
                            }
                        }

                    }
                }
            }
        }
    }

    /*=============== SYLLABUS ===============*/
    .syllabus {

        .syllabus__container {

            .syllabus__content {


                .group__levels {

                    .levels__grid {
                        justify-items: center;
                        grid-template-columns: repeat(1, 1fr);

                        .level {
                            max-width: 665px;


                            .text {

                                h3 {
                                    font-size: 18px;
                                }

                                p {
                                    font-size: 13x;
                                }
                            }
                        }
                    }

                    .slogan {
                        position: relative;
                        justify-content: center;
                        max-width: 665px;
                        padding-block: 38px;

                        img {
                            position: absolute;
                            width: 36px;
                            height: 23px;

                        }

                        .scale {
                            bottom: 10px;
                            right: 5px;
                        }

                        .move {
                            top: 10px;
                            left: 5px;
                        }

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

                a {
                    width: 292px;
                    height: 48px;
                    font-size: 16px;
                }
            }
        }
    }
}

@media (max-width: 768px) {

    /*=============== SINGLE COURSE HERO ===============*/
    .single__cousrs__hero {

        .single__course__hero__container {

            .single__course__hero__content {


                h1 {
                    font-size: 32px;
                }

                p {
                    max-width: 563px;

                }

                .teacher {
                    margin-block: 0;
                }

                .img {
                    max-width: 500px;

                    img {
                        width: 100%;
                        height: auto;
                        border-radius: 12px;
                    }

                    .play-video-popup {
                        width: 46px;
                        height: 46px;
                        font-size: 20px;
                    }
                }

                a {
                    max-width: 500px;
                }
            }
        }

    }

    /*=============== EXPERIENCE ===============*/
    .experience {

        .experience__container {

            .experience__content {


                .experience__grid {
                    grid-template-columns: 1fr;

                }
            }
        }
    }

    /*=============== SYLLABUS ===============*/
    .syllabus {

        .syllabus__container {

            .syllabus__content {


                .group__levels {

                    .levels__grid {
                        justify-items: center;
                        grid-template-columns: repeat(1, 1fr);

                        .level {
                            max-width: 665px;


                            .text {

                                h3 {
                                    font-size: 18px;
                                }

                                p {
                                    font-size: 13x;
                                }
                            }
                        }
                    }

                    .slogan {
                        position: relative;
                        justify-content: center;
                        max-width: 665px;
                        padding-block: 38px;

                        img {
                            position: absolute;
                            width: 36px;
                            height: 23px;

                        }

                        .scale {
                            bottom: 10px;
                            right: 5px;
                        }

                        .move {
                            top: 10px;
                            left: 5px;
                        }

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

                a {
                    width: 292px;
                    height: 48px;
                    font-size: 16px;
                }
            }
        }
    }
}

@media (max-width: 576px) {

    /*=============== SINGLE COURSE HERO ===============*/
    .single__cousrs__hero {
        padding-block: 11.375rem 48px;

        .single__course__hero__container {

            .single__course__hero__content {
                gap: 18px;

                h1 {
                    font-size: 28px;
                }

                p {
                    font-size: 12px;

                }

                .teacher {

                    .img {
                        width: 40px;
                        height: 40px;
                    }

                    .teacher__info {

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

                .img {
                    max-width: 312px;


                    .play-video-popup {
                        width: 44px;
                        height: 44px;
                    }
                }

                a {
                    max-width: 301px;

                    .icon {
                        width: 24px;
                        height: 24px;
                        font-size: 12px;
                    }
                }
            }
        }

    }

    /*=============== EXPERIENCE ===============*/
    .experience {
        padding-block: 80px 75px;

        .experience__container {

            .experience__content {

                .header__experience {
                    gap: 16px;
                }

                .experience__grid {
                    gap: 32px;
                }
            }
        }
    }

    /*=============== SYLLABUS ===============*/
    .syllabus {
        padding-block: 95px;

        .syllabus__container {

            .syllabus__content {


                .group__levels {


                    .slogan {


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

            }
        }
    }
}