/*=============== SINGLE BLOG HERO ===============*/
.single__blog__hero {
    padding-block: 12.875rem 50px;

    .single__blog__hero__container {

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

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

                span {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 8px;
                    padding: 6px 16px;
                    font-size: 14px;
                    font-weight: var(--font-regular);
                    background-color: #F9F3E166;
                    border-radius: 999px;
                    color: var(--yellow);
                }

                h1 {
                    font-size: 32px;
                    font-weight: var(--font-medium);
                    color: var(--dark);
                    max-width: 730px;
                    width: 100%;
                }
            }

            .img {
                position: relative;
                display: flex;
                justify-content: center;
                align-items: center;
                max-width: 100%;
                width: 100%;
                height: 440px;
                border-radius: 4px;

                img {
                    width: 100%;
                    height: 100%;
                    border-radius: 4px;
                    box-shadow: 0px 4px 4px 0px #92B2A780;
                    object-fit: cover;
                }

                .play-video-popup {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 70px;
                    height: 70px;
                    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);
                            }
                        }
            }
        }
    }
}

/*=============== SINGLE BLOG DATA ===============*/
.single__blog__data {
    padding-block: 10px 67px;

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

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

                h2 {
                    font-size: 20px;
                    font-weight: var(--font-medium);
                    color: var(--dark);
                }

                h3 {
                    font-size: 18px;
                    font-weight: var(--font-medium);
                    color: var(--dark);
                }

                p {
                    font-size: 14px;
                    font-weight: var(--font-regular);
                    color: #414944;

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

                ul,
                ol {
                    display: flex;
                    justify-content: center;
                    align-items: start;
                    flex-direction: column;
                    gap: 5px;

                    li {
                        font-size: 14px;
                        color: #414944;
                        font-weight: var(--font-regular);
                        margin-left: 20px;
                    }
                }

                ul {
                    list-style: disc;
                }

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

                .group {
                    display: flex;
                    justify-content: center;
                    align-items: start;
                    gap: 18px;
                    margin-block: 5px;

                    .item {
                        display: flex;
                        justify-content: center;
                        align-items: start;
                        flex-direction: column;
                        gap: 6px;
                        padding: 24px;
                        background-color: #F1EEE6;
                        border-radius: 8px;

                        h4 {
                            font-size: 22px;
                            font-weight: var(--font-medium);
                            color: var(--dark);
                        }

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

            }

            .single__blog__bannar {
                position: relative;
                overflow: hidden;
                display: flex;
                justify-content: center;
                align-items: start;
                flex-direction: column;
                gap: 24px;
                border-radius: 12px;
                padding: 40px;
                background-color: #F9F3E1;

                i {
                    font-size: 35px;
                    color: #FFBF1B;
                }

                p {
                    font-size: 18px;
                    font-weight: var(--font-medium);
                    color: var(--dark);
                    width: 90%;
                }

                span {
                    font-size: 12px;
                    font-weight: var(--font-semi-bold);
                    color: #FFBF1B;
                    font-style: italic;
                }

                &::after {
                    content: "";
                    position: absolute;
                    width: 128px;
                    height: 128px;
                    background-color: #F2E6C1;
                    border-radius: 50%;
                    top: -64px;
                    right: -64px;
                }
            }
        }
    }
}

/*=============== BANNAR SECTION ===============*/
.bannar__section {
    padding-block: 35px;

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

        .bannar__section__content {
            max-width: 945px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            flex-direction: column;
            gap: 16px;
            padding: 32px;
            border-radius: 14px;
            background-color: #B1B1B126;

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

            p {
                max-width: 615px;
                width: 100%;
                font-size: 16px;
                font-weight: var(--font-regular);
                color: #666666;
                margin-bottom: 16px;
            }

            a {
                width: 211px;
                height: 48px;
                background-color: var(--green);
                color: white;
                border-radius: 999px;
                box-shadow: 0px 4px 6px -4px #0000001A,
                    0px 10px 15px -3px #0000001A;
                font-size: 16px;
                font-weight: var(--font-semi-bold);
            }
        }
    }
}

/*=============== RESPONSIVE ===============*/
.form__section {
    .form__section__container {
        display: flex;
        justify-content: center;
        align-items: center;

        .form__section__content {
            max-width: 945px;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;

            .form {
                display: flex;
                justify-content: start;
                align-items: start;
                flex-direction: column;
                box-shadow: 0px 25px 50px -12px #191C1D0D;
                background-color: #FFFFFF01;
                border-radius: 24px;
                padding-block: 24px;
                padding-inline: 32px;
                width: 100%;
                gap: 34px;
                border: 1px solid #C1C8C226;

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

                form {
                    display: flex;
                    justify-content: start;
                    align-items: start;
                    flex-direction: column;
                    gap: 18px;
                    width: 100%;

                    .group__form {
                        display: flex;
                        justify-content: start;
                        align-items: start;
                        flex-direction: column;
                        gap: 8px;
                        width: 100%;

                        label {
                            font-size: 12px;
                            font-weight: var(--font-medium);
                            color: var(--dark);
                            text-transform: uppercase;
                        }

                        .input {
                            display: flex;
                            justify-content: start;
                            align-items: center;
                            background-color: #6666660F;
                            padding: 17px 16px;
                            border-radius: 8px;
                            gap: 16px;
                            width: 100%;

                            i {
                                font-size: 16px;
                                color: #666666;
                            }

                            input {
                                background-color: transparent;
                                width: 100%;
                                height: 100%;
                                color: #666666;
                                font-size: 12px;
                                font-weight: var(--font-regular);
                            }

                        }

                        textarea {
                            width: 100%;
                            background-color: #6666660F;
                            padding: 17px 16px;
                            border-radius: 8px;
                            gap: 16px;
                            border: none;
                            outline: none;
                            resize: none;
                            height: 138px;
                        }

                    }

                    button {
                        width: 100%;
                        height: 48px;
                        border-radius: 8px;
                        background-color: var(--yellow);
                        color: white;
                        font-size: 18px;
                        font-weight: var(--font-medium);
                        cursor: pointer;
                    }
                }
            }
        }
    }


}

/*=============== OUR BLOGS ===============*/
.our__blogs {
    padding-block: 7rem;

    .our__blogs__container {

        .our__blogs__content {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 56px;

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

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

            .blog__cards {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 24px;
                row-gap: 35px;
                width: 100%;

                .blog__card {
                    display: flex;
                    justify-content: center;
                    align-items: start;
                    flex-direction: column;
                    background-color: #ACB3B71A;
                    box-shadow: 0px 0px 10.14px 0px #00000012;
                    border-radius: 12px;
                    max-width: 384px;
                    width: 100%;

                    .img {
                        position: relative;
                        width: 100%;
                        height: 192.3800048828125px;
                        border-radius: 12px 12px 0 0;
                        overflow: hidden;

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

                        .type {
                            position: absolute;
                            top: 13px;
                            right: 13px;
                            background-color: var(--green);
                            color: white;
                            font-size: 12px;
                            font-weight: var(--font-bold);
                            padding: 3.5px 13.5px;
                            border-radius: 999px;
                            text-transform: uppercase;
                        }

                        .contains__video {
                            position: absolute;
                            bottom: 6px;
                            left: 6px;
                            color: white;
                            font-size: 12px;
                            font-weight: var(--font-regular);
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            gap: 3px;

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

                    .blog__data__card {
                        display: flex;
                        justify-content: center;
                        align-items: start;
                        flex-direction: column;
                        gap: 16px;
                        padding: 32px;
                        width: 100%;

                        span {
                            display: flex;
                            justify-content: center;
                            align-items: start;
                            gap: 8px;
                            font-size: 12px;
                            font-weight: var(--font-regular);
                            color: #666666;
                        }

                        h3 {
                            font-size: 18px;
                            font-weight: var(--font-semi-bold);
                            color: #1c1c17;
                            display: -webkit-box;
                            -webkit-line-clamp: 3;
                            -webkit-box-orient: vertical;
                            overflow: hidden;
                        }

                        p {
                            font-size: 14px;
                            color: #414944;
                            font-weight: var(--font-regular);
                            display: -webkit-box;
                            -webkit-line-clamp: 4;
                            -webkit-box-orient: vertical;
                            overflow: hidden;
                        }

                        a {
                            width: 100%;
                            height: 48px;
                            background-color: #25644F;
                            color: white;
                            font-size: 16px;
                            font-weight: var(--font-semi-bold);
                            border-radius: 999px;
                            box-shadow: 0px 0.84px 1.69px 0px #0000000D;
                        }
                    }
                }
            }
        }
    }
}

/* 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;
        }
    }
}

@media (max-width: 991px) {

    /*=============== SINGLE BLOG HERO ===============*/
    .single__blog__hero {

        .single__blog__hero__container {

            .single__blog__hero__content {


                .img {
                    height: 354px;

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

    /*=============== SINGLE BLOG DATA ===============*/
    .single__blog__data {

        .single__blog__data__container {
            .single__blog__data__content {

                .text {

                    .group {
                        flex-direction: column;
                        width: 100%;

                        .item {
                            width: 100%;
                        }
                    }

                }

            }
        }
    }

    /*=============== OUR BLOGS ===============*/
    .our__blogs {

        .our__blogs__container {

            .our__blogs__content {


                .blog__cards {
                    grid-template-columns: repeat(2, 1fr);

                }
            }
        }
    }
}


@media (max-width: 576px) {

    /*=============== SINGLE BLOG HERO ===============*/
    .single__blog__hero {
        padding-block: 9.5rem 55px;

        .single__blog__hero__container {

            .single__blog__hero__content {
                gap: 55px;

                .single__blog__hero__header {
                    gap: 24px;

                    h1 {
                        font-size: 26px;
                    }
                }

                .img {
                    height: 226px;
                }
            }
        }
    }

    /*=============== SINGLE BLOG DATA ===============*/
    .single__blog__data {
        padding-block: 10px 55px;

        .single__blog__data__container {
            .single__blog__data__content {

                .text {

                    .group {
                        gap: 12px;

                        .item {
                            border-radius: 14px;

                            h4 {
                                font-size: 16px;
                            }

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

                }

                .single__blog__bannar {
                    border-radius: 48px;

                    i {
                        font-size: 30px;
                    }

                    p {
                        width: 100%;
                    }

                }
            }
        }
    }

    /*=============== BANNAR SECTION ===============*/
    .bannar__section {

        .bannar__section__conatiner {

            .bannar__section__content {
                padding: 32px 18px;
                border-radius: 24px;

                h2 {
                    font-size: 22px;
                }


            }
        }
    }

    /*=============== OUR BLOGS ===============*/
    .our__blogs {
        padding-block: 5rem;

        .our__blogs__container {

            .our__blogs__content {
                gap: 50px;

                .our__blogs__header {

                    h2 {
                        font-size: 26px;
                    }
                }

                .blog__cards {
                    grid-template-columns: repeat(1, 1fr);
                }
            }
        }
    }
}