/*=============== GOAL HERO ===============*/
.goal__hero {
    padding: 178px 25px 111px 25px;

    .goal__hero__container {
        position: relative;
        padding-block: 73px 66px;
        padding-inline: 2rem;
        border-radius: 14px;
        background-color: var(--green-gray);
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;

        .goal__hero__content {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 48px;
            text-align: center;
            z-index: 1;

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

                span {
                    font-size: 14px;
                    font-weight: var(--font-regular);
                    color: #BCEED3;
                    border-radius: 9999px;
                    background-color: #1C5744;
                    padding: 6px 16px;
                }

                h1 {
                    font-size: 36px;
                    font-weight: var(--font-bold);
                    color: white;
                }

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

                a {
                    max-width: 334px;
                    width: 100%;
                    background-color: var(--yellow);
                    border-radius: 8px;
                    gap: 12px;
                    height: 52px;
                    color: white;
                    font-size: 18px;
                    font-weight: var(--font-semi-bold);

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

            .img {
                position: relative;
                display: flex;
                justify-content: center;
                align-items: center;
                max-width: 831.9915694932306px;
                width: 100%;
                border-radius: 24px;
                box-shadow: 0px 25px 50px -12px #00000040;
                transform: rotate(2deg);

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

               .play-video-popup {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 93px;
                    height: 93px;
                    color: var(--yellow);
                    background-color: white;
                    border-radius: 50%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 34px;
                    cursor: pointer;
                    transition: all 0.3s ease-in-out;
                    box-shadow: 0px 36.87px 73.75px -17.7px #191C1D0D;
                }
            }
        }

        &::after {
            content: "";
            position: absolute;
            top: -13%;
            right: -8%;
            width: 256px;
            height: 256px;
            background-color: var(--green);
            opacity: 0.3;
            z-index: 0;
            border-radius: 50%;
        }
    }
}

/*=============== MISSION VALUE ===============*/
.mission__value {
    position: relative;
    padding-block: 117px;
    background-color: var(--background);

    .mission__value__container {

        .mission__value__content {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 68px;
            z-index: 5;

            .mission,
            .value {
                display: flex;
                justify-content: center;
                align-items: center;
                text-align: center;
                flex-direction: column;
                gap: 16px;
                background-color: white;
                box-shadow: 0px 25px 50px -12px #191C1D0D;
                padding: 48px 24px;
                border-radius: 14px;
                max-width: 512px;
                width: 100%;

                .icon {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 56px;
                    height: 56px;
                    border-radius: 50%;
                    font-size: 30px;
                }

                h2 {
                    font-size: 24px;
                    font-weight: var(--font-bold);
                }

                p {
                    font-size: 14px;
                    font-weight: var(--font-regular);
                    color: #666666;
                    max-width: 397px;
                }
            }

            .mission {

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

                h2 {
                    color: var(--green);
                }
            }

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

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

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

/*=============== WHY US ===============*/
.why__us {
    padding-block: 110px;

    .why__us__container {
        display: flex;
        justify-content: center;
        align-items: center;

        .why__us__content {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 40px;
            max-width: 1008px;
            width: 100%;

            .banar {
                position: relative;
                overflow: hidden;
                display: flex;
                justify-content: start;
                align-items: start;
                flex-direction: column;
                gap: 12px;
                border-radius: 14px;
                box-shadow: 0px 2px 2px 0px #0000001C;
                background-color: var(--green-gray);
                max-width: 100%;
                width: 100%;
                padding: 26px 32px 46px 32px;
                color: white;

                i {
                    font-size: 35px;
                }

                h2 {
                    font-size: 32px;
                    font-weight: var(--font-semi-bold);
                }

                p {
                    font-size: 18px;
                    font-weight: var(--font-regular);
                    width: 60%;
                    color: #FFFFFFCC;
                }

                .circle {
                    content: "";
                    position: absolute;
                    right: -5%;
                    bottom: -30%;
                    width: 195px;
                    height: 195px;
                    background-color: #3D826C80;
                    opacity: 0.3;
                    z-index: 0;
                    border-radius: 50%;
                }

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

                &::before {
                    content: "إقرأ";
                    position: absolute;
                    font-size: 64px;
                    font-weight: var(--font-regular);
                    color: white;
                    right: 2.5%;
                    bottom: 0%;
                    z-index: 0;
                    text-shadow: 0px 4px 4px #2C8064;
                }
            }

            .group {
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 40px;
                max-width: 100%;
                width: 100%;

                .over,
                .find {
                    position: relative;
                    display: flex;
                    justify-content: center;
                    align-items: start;
                    flex-direction: column;
                    gap: 12px;
                    box-shadow: 0px 2px 2px 0px #0000001C;
                    padding: 41.5px 32px 51.5px 32px;
                    border-radius: 14px;
                    max-width: 484px;
                    width: 100%;

                    h3 {
                        font-size: 24px;
                        font-weight: var(--font-semi-bold);
                    }

                    p {
                        font-size: 16px;
                        font-weight: var(--font-medium);
                    }

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

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

                .find {
                    background-color: var(--background);

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

                    p {
                        color: #666666;
                    }
                }
            }
        }
    }
}

/*=============== OUR CORE ===============*/
.our__core {
    padding-block: 117.5px;

    .our__core__container {

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

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

                &::after {
                    content: "";
                    position: absolute;
                    bottom: -7px;
                    left: 50%;
                    transform: translateX(-50%);
                    width: 212px;
                    height: 6px;
                    background-color: #F2E6C1;
                }
            }

            .core__items {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 40px;
                row-gap: 86px;
                max-width: 1023px;
                width: 100%;

                .item {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    flex-direction: column;
                    text-align: center;
                    gap: 10.5px;
                    max-width: 511.5px;
                    width: 100%;


                    .icon {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        border-radius: 50%;
                        width: 92px;
                        height: 92px;
                        background-color: #F9F3E1;
                        color: var(--yellow);
                        font-size: 35px;
                    }

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

                    p {
                        font-size: 18px;
                        font-weight: var(--font-regular);
                        color: #666666;
                        max-width: 375px;
                        width: 100%;
                    }
                }
            }
        }
    }
}

/* 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) {

    /*===============GOAL HERO===============*/
    .goal__hero {
        padding: 178px 27px 104px;

        .goal__hero__container {
            padding-block: 45px 47px;
            padding-inline: 2rem;

            .goal__hero__content {
                gap: 26px;

                .goal__header {


                    p {
                        width: 80%;
                    }

                }

                .img {
                    max-width: 618.2812723947338px;

                    .play-video-popup {
                        width: 70px;
                        height: 70px;
                        font-size: 26px;
                    }
                }
            }

            &::after {
                top: -18%;
                right: -13%;
            }
        }
    }

    /*===============MISSION VALUE===============*/
    .mission__value {
        padding-block: 102px;

        .mission__value__container {
            .mission__value__content {
                gap: 28px;

                .mission,
                .value {
                    max-width: 100%;
                    padding: 40px 22.5px 49px 22.5px;


                    p {
                        max-width: 100%;
                    }
                }
            }
        }
    }

    /*===============WHY US===============*/
    .why__us {
        padding-block: 80px 120px;

        .why__us__container {
            .why__us__content {
                .banar {
                    h2 {
                        font-size: 20px;
                    }
                }

                .group {

                    .over,
                    .find {
                        max-width: 100%;

                        h3 {
                            font-size: 20px;
                        }

                        p {
                            font-size: 14px;
                        }
                    }

                }
            }
        }
    }

    /*=============== OUR CORE ===============*/
    .our__core {
        padding-block: 81.5px 151.5px;

        .our__core__container {

            .our__core__content {

                h2 {
                    font-size: 30px;

                    &::after {
                        width: 127px;
                        height: 4px;
                    }
                }

                .core__items {

                    .item {

                        p {
                            max-width: 335px;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 768px) {

    /*===============GOAL HERO===============*/
    .goal__hero {
        padding-bottom: 69px;

        .goal__hero__container {
            padding-block: 66px 60px;
            padding-inline: 55px;

            .goal__hero__content {

                .goal__header {

                    h1 {
                        font-size: 32px;
                    }


                    p {
                        width: 90%;
                    }

                    a {
                        .icon {
                            font-size: 15px;
                        }
                    }
                }

                .img {
                    max-width: 480.4428340676033px;
                }
            }
        }
    }

    /*===============MISSION VALUE===============*/
    .mission__value {
        padding-block: 108px;

        .mission__value__container {
            .mission__value__content {
                gap: 48px;
                flex-direction: column;

                .mission,
                .value {
                    padding: 40px 23px 50px 23px;

                    p {
                        width: 75%;
                    }
                }
            }
        }
    }

    /*===============WHY US===============*/
    .why__us {
        padding-block: 101px;

        .why__us__container {
            .why__us__content {

                .banar {
                    padding: 26px 32px 62px;

                    &::before {
                        font-size: 48px;
                        right: 5%;
                    }

                    .circle {
                        width: 160px;
                        height: 160px;
                        right: -3%;
                        bottom: -25%;
                    }
                }

                .group {

                    .over,
                    .find {
                        padding: 32.5px 32px 39.5px 32px;
                    }
                }
            }
        }
    }

    /*=============== OUR CORE ===============*/
    .our__core {

        .our__core__container {

            .our__core__content {

                .core__items {

                    .item {
                        gap: 8px;

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

                        span {
                            font-size: 20px;
                        }

                        p {
                            font-size: 12px;
                            max-width: 255px;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 576px) {

    /*===============GOAL HERO===============*/
    .goal__hero {
        padding: 125px 115px;
        padding-inline: 16px;

        .goal__hero__container {
            padding-block: 32px 25px;
            padding-inline: 30px;

            .goal__hero__content {

                .goal__header {

                    p {
                        font-size: 14px;
                    }

                    a {
                        max-width: 262px;
                        height: 42px;
                        font-size: 16px;

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

                .img {
                    max-width: 292.1679382324219px;
                    height: 292.1679382324219px;

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

                    .play-video-popup {
                        width: 50px;
                        height: 50px;
                        font-size: 18px;
                    }
                }
            }

            &::after {
                top: -24%;
                right: -45%;
            }
        }
    }

    /*=============== MISSION VALUE ===============*/
    .mission__value {
        padding-block: 95px;

        .mission__value__container {
            .mission__value__content {
                gap: 28px;

                .mission,
                .value {
                    padding: 40px 10px 26px 10px;
                    gap: 16px;


                    p {
                        width: 100%;
                    }
                }
            }
        }
    }

    /*=============== WHY US ===============*/
    .why__us {
        padding-block: 50px 70px;

        .why__us__container {
            .why__us__content {
                gap: 40px;

                .banar {
                    padding: 32px 32px 75px;

                    i {
                        font-size: 24px;
                    }

                    p {
                        width: 100%;
                    }

                    &::before {
                        right: 13.5%;
                    }
                }

                .group {
                    flex-direction: column;
                    gap: 40px;

                    .over,
                    .find {
                        padding: 36px 32px;
                    }
                }
            }
        }
    }

    /*=============== OUR CORE ===============*/
    .our__core {
        padding-block: 58px 130px;

        .our__core__container {

            .our__core__content {

                .core__items {
                    grid-template-columns: 1fr;
                    row-gap: 32px;

                    .item {
                        max-width: 100%;

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

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