* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


html,
body {
    background-color: #f0c05e;
}

/* load fonts */

@font-face {
    font-family: 'calibri-bold';
    /* Name you will use in CSS */
    src: url('../assets/fonts/calibri-bold.ttf') format('truetype');
    /* src: url('../assets/fonts/magion/magiontrial-regular.otf') format('opentype'); */

    /* Path to your .ttf file */
    font-weight: normal;
    /* optional */
    font-style: normal;
    /* optional */
}

@font-face {
    font-family: 'calibri-regular';
    /* Name you will use in CSS */
    src: url('../assets/fonts/calibri-regular.ttf') format('truetype');
    /* Path to your .ttf file */
    font-weight: normal;
    /* optional */
    font-style: normal;
    /* optional */
}


/* load fonts */
* {
    /* font-family: 'calibri-regular'; */
    font-family: "magion-web", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.m-reg {
    /* font-family: 'calibri-regular'; */
    font-family: "magion-web", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.m-italic {
    /* font-family: 'calibri-bold'; */
    font-family: "magion-web", sans-serif;
    font-weight: 400;
    font-style: italic;
}




:root {
    --primary-text-color: #ffffff;
    --primary-btn-color: #ffffff;


    --secondary-text-color: #ff4100;
    --secondary-bg-color: #ff4100;

    /* --tertiary-text-color: #5f5b5a; */
    --tertiary-text-color: #534340;
    /* --quaternary-text-color: #534e4d; */
    --quaternary-text-color: #583f3a;
}

@keyframes clickEffect {
    0% {
        color: #fff;
        /* text-decoration: underline; */
        transform: scale(1);
    }

    50% {
        color: #e9e4e4;
        /* text-decoration: underline; */
        transform: scale(0.95);
        /* slight shrink for click effect */
    }

    100% {
        color: #fff;
        /* text-decoration: underline; */
        transform: scale(1);
    }
}

@keyframes clickAnimation2 {
    0% {
        color: #fff;
        border-color: var(--primary-btn-color);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(1);
    }

    40% {
        color: #e9e4e4;
        border-color: rgba(255, 255, 255, 0.7);
        box-shadow: 0 0 1.1dvw rgba(255, 255, 255, 0.6);
        transform: scale(0.96);
    }

    100% {
        color: #fff;
        border-color: var(--primary-btn-color);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(1);
    }
}

/* Keyframes: subtle scale + border flash under link */
@keyframes linkClick {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    40% {
        transform: scale(0.95);
        opacity: 0.85;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* Keyframes for the click animation */
@keyframes logoClick {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(0.9) rotate(-3deg);
    }

    70% {
        transform: scale(1.05) rotate(2deg);
    }

    100% {
        transform: scale(1);
    }
}


/* text decoration line to start from center */

a.decoration-center:before,
a.decoration-center:after,
button.decoration-center:before,
button.decoration-center:after {
    -webkit-transition: -webkit-transform .3s;
    transition: transform .3s;
    background: rgba(255, 255, 255, 1);
    content: "";
    position: absolute;
}

a.decoration-center:before {
    /* top: -webkit-calc(110% - .25em);
	top: calc(110% - .25em);
	left: -webkit-calc(50% - .3em);
	left: calc(50% - .3em);
	width: .6em;
	height: .6em;
	border-radius: 1.2em;
	-webkit-transform: scale(0);
	transform: scale(0) */
}

a.decoration-center:after,
button.decoration-center:after {
    top: 88%;
    left: 0;
    width: 100%;
    height: 0.1296dvw;
    -webkit-transform: scaleX(0);
    transform: scaleX(0)
}

a.decoration-center:hover:before {
    /* -webkit-transform: scale(1);
	transform: scale(1) */
}

a.decoration-center:hover:after,
button.decoration-center:hover:after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1)
}


/* text decoration line to start from center  */


.scroll-offset {
    scroll-margin-top: 7dvw;
}

.full-screen-content {
    width: 100%;
    position: relative;

}

.full-screen-content .bg-img-hide {
    z-index: 0;
    visibility: hidden;
    width: 100%;
}

.full-screen-content .bg_img {
    width: 100%;
    /* height: 100%; */
}

.first-content {
    min-height: 100%;
    aspect-ratio: 16 / 9;
}

.full-screen-content .bg-video {
    width: 100%;
    position: relative;
    z-index: 1;
}

.full-screen-content .bg-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.24);
}

.section-header {
    /* position: absolute; */
    position: fixed;
    z-index: 4;
    width: 100%;
    transition: all 0.3s ease;
    background-color: transparent;


    display: flex;
    justify-content: space-between;
    padding-left: 3%;
    padding-right: 3%;

    a {
        img {
            height: 18dvw;
            transition: height 0.3s ease, padding 0.3s ease;
        }

        &.logo {
            transition: transform 0.3s ease;
            cursor: pointer;
        }

        &.logo.active img {
            animation: logoClick 0.4s ease;
        }
    }


    &.scroll-header a img {
        height: 6dvw;
    }

    &.scroll-header {
        padding-top: 0.5dvw;
        padding-bottom: 0.5dvw;
        background-color: #f0c05e;
        z-index: 6;
    }

    .header-link-container {
        display: flex;
        height: fit-content;
        margin-top: 2.2dvw;

        a {
            text-decoration: none;
            /* font-size: 0.875rem 14px; */
            /* font-size: 1.36dvw; */
            /* font-size: 1.76dvw; */
            font-size: 1.52dvw;


            /* line-height: 1.25rem; */
            color: var(--primary-text-color);
            /* padding-left: 1dvw; */
            /* padding-right: 1.2dvw; */
            margin-right: 1.2dvw;
            transition: all 0.2s ease;
            position: relative;




            /* &::after {
                content: "";
                position: absolute;
                left: 50%;
                bottom: 0;
                transform: translateX(-50%) scaleX(0);
                transform-origin: center;
                width: 100%;
                height: 4px;
                background-color: var(--primary-text-color);
                transition: transform 0.3s ease;
            } */

            &:hover {
                /* text-decoration: underline; */
                text-underline-offset: 0.28dvw;
            }

            /* &:hover::after {
                transform: translate(-65%, 0.3dvw) scaleX(1);
            } */

            &.active {
                animation: linkClick 0.3s ease;
            }
        }

        div {
            color: var(--primary-text-color);
        }
    }


}


.full-screen-content {
    .text-panel {
        position: absolute;
        z-index: 4;
        /* background: green; */
        width: 40%;
        top: 0;
        left: 56%;
        transform: translate(-50%, 0%);
        margin-top: 15.46dvw;
        z-index: 2;

        .title {
            font-size: 1.86dvw;
            color: var(--primary-text-color);
            text-shadow: 0 0em 0.04em rgba(0, 0, 0, 0.75);

        }

        .inner-text {
            font-size: 1.2dvw;
            margin-top: 0.44dvw;
            margin-bottom: 1.11dvw;
            color: var(--primary-text-color);
            text-shadow: 0 0em 0.04em rgba(0, 0, 0, 0.75);
        }

        .setup-btn {
            position: relative;
            display: inline-block;
            overflow: hidden;

            /* padding: 0.5rem 0.85rem; */
            font-size: 1.386dvw;
            display: block;

            background: transparent;
            border: 0.16dvw solid var(--primary-btn-color);
            color: var(--primary-text-color);
            text-shadow: 0 0em 0.04em rgba(0, 0, 0, 0.75);
            /* margin-top: 1rem; */
            padding: 0.56dvw 0.94dvw;
            margin-top: 1.11dvw;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        /* Create animated fill layer */
        .setup-btn::before {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            background-color: #f0c05e;
            /* gold fill color */
            transform: translateY(100%);
            transition: transform 0.3s ease;
            z-index: -1;
        }

        /* On hover: fill slides up */
        .setup-btn:hover::before {
            transform: translateY(0);
        }

        /* Text turns white when background fills */
        .setup-btn:hover {
            color: #fff;
            border-color: #f0c05e;
            transform: scale(1.04);
        }

        /* Click animation trigger class */
        /* Active (click animation trigger) */
        .setup-btn.active {
            animation: clickAnimation2 0.4s ease forwards;
        }

    }
}


/* learbing room content */
.learning-room-content {
    .left-side-img {
        /* width: 65%; */
        position: relative;
        left: -10%;
        width: 80%;
    }

    .box-container {
        position: absolute;
        z-index: 4;
        /* background: rgba(0, 255, 0, 0.25); */
        /* width: 46%; */
        width: 42.98%;
        height: 100%;
        top: 0;
        right: 0;

        .inner-box {
            width: 78%;
            /* width: 70%; */
            /* margin-top: 1.2dvw; */
            margin-top: 4dvw;
            display: flex;
            flex-direction: column;



            .box-title {
                color: var(--primary-text-color);
                font-size: 3.56dvw;
                /* font-size: 3.4dvw; */
                text-align: end;
            }

            .project-title {
                color: var(--secondary-text-color);
                text-align: end;
                font-size: 2.36dvw;
                line-height: 1.15;
            }

            .b-img,
            .bg-video {
                width: 100%;
                /* margin-top: 0.5rem;
                margin-bottom: 0.5rem; */
                margin-top: 0.44dvw;
                margin-bottom: 0.54dvw;
            }

            .project-title2 {
                color: var(--primary-text-color);
                font-size: 1.2dvw;
                /* margin-bottom: 0.75rem; */
                margin-bottom: 0.66dvw;
                /* margin-left: 1rem; */
                margin-left: 0.88dvw;


            }

            .project-description {
                color: var(--primary-text-color);
                font-size: 1.2dvw;
                /* margin-left: 1rem; */
                /* margin-bottom: 1rem; */
                margin-left: 0.88dvw;
                margin-bottom: 0.88dvw;



            }


            .talk_to_team {
                position: relative;
                width: fit-content;
                color: var(--primary-text-color);

                font-size: 1.74dvw;
                /* margin-left: 1.26rem; */
                margin-left: 0.86dvw;
                text-decoration: none;
                transition: all 0.2s ease;

                &.decoration-center:after {
                    height: 0.1356dvw;
                }


            }

            /* Hover effect */
            .talk_to_team:hover {
                color: #fff;
                /* text-decoration: underline; */
            }

            /* Click animation triggered via .active class */
            .talk_to_team.active {
                animation: clickEffect 0.3s forwards;

            }

        }
    }
}



/* measured progress container  */
.measured-progress-content {
    .measured-progress-container {
        width: 80%;
        left: 50%;
        position: relative;
        transform: translate(-50%, 0);
        margin-top: 4dvw;
        /* background: rgba(0, 255, 0, 0.25); */
        background: rgba(0, 0, 0, 0.225);
        border-radius: 5dvw;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-bottom: 0.2dvw;
        color: var(--primary-text-color);

        overflow: hidden;

        /* padding: 6.66dvw 7.8dvw 3.8dvw 7.8dvw; */
        padding: 6.66dvw 7.8dvw 0.1dvw 7.8dvw;



        .inner-measured-box {
            /* padding: 6.66dvw 7.8dvw 3.8dvw 7.8dvw; */
            /* background: rgba(0, 255, 25, 0.25); */
            height: 100%;
            min-height: 90px;

            .text-title {
                font-size: 3.32dvw;
                margin-bottom: 1.75dvw;
            }

            .text-desc {
                font-size: 1.56dvw;
                padding-left: 0.66dvw;
                margin-bottom: 1.1dvw;
            }

            .download_synopsisBtn {
                position: relative;
                display: block;
                padding: 0;
                font-size: 1.86dvw;
                background-color: transparent;
                outline: none;
                border: none;
                color: var(--primary-text-color);
                cursor: pointer;
                transition: all 0.2s ease;

                &.decoration-center:after {
                    height: 0.15dvw;
                }

            }

            /* Hover effect */
            .download_synopsisBtn:hover {
                color: #fff;
                /* text-decoration: underline; */
            }

            /* Click animation triggered via .active class */
            .download_synopsisBtn.active {
                animation: clickEffect 0.3s forwards;

            }





            .recognitions-content {
                margin-top: 5.48dvw;

                .recognition-title {
                    font-size: 2.366dvw;
                }

                .recognition-image-container {
                    display: flex;
                    justify-content: space-around;
                    margin: 4.2dvw 0;

                    img {
                        /* width: 12dvw; */
                        transform: scale(1.05);
                        max-width: 100%;
                        height: 7.14dvw;
                        &.invert_color{
                                filter: contrast(0) brightness(2.5);
                        }
                    }
                }
            }


            /* inner partners block */
            .measured-partners-about-container {
                margin-top: 8.2dvw;

                .measured-partners-about-content {
                    display: flex;
                    width: 106%;
                    align-items: flex-start;
                    margin-left: 1.8dvw;
                    margin-bottom: 4.28dvw;
                    position: relative;

                    a {
                        width: 25.2%;
                        height: auto;

                        .cImg {
                            width: 100%;
                        }
                    }

                    .cImg {
                        width: 25.2%;
                        /* width: 100%; */
                        height: auto;
                        object-fit: contain;
                        /* background-color: green; */
                        /* or cover, depending on design */
                        /* height: max-content; */
                    }

                    .cText {
                        width: calc(100% - 25% - 0dvw - 0dvw);
                        padding-left: 2.7dvw;
                        font-size: 1.526dvw;
                    }
                }
            }


        }



    }
}


/* footer container */
footer {
    color: var(--primary-text-color);


    /* footer container */
    .footer-text-container {
        width: 80%;
        left: 50%;
        position: relative;
        transform: translate(-50%, 0);
        padding-top: 1.6dvw;
        text-shadow: 0 0em 0.0298em rgba(0, 0, 0, 0.35);

        .title {
            font-size: 6.22dvw;
            margin-bottom: 1dvw;
        }

        .text-1 {
            font-size: 1.586dvw;
            margin-bottom: 0.88dvw;

        }

        .text-2 {
            font-size: 1.2746dvw;
            margin-bottom: 1.58dvw;
            margin-bottom: 0;
        }

        .text-3 {
            font-size: 1.2746dvw;
            margin-bottom: 0.72dvw;

            a {
                text-decoration: none;
                color: var(--primary-text-color);
                /* color: var(--tertiary-text-color); */


                &:hover {
                    text-decoration: underline;
                }
            }

        }
    }

    /* bottom footer image */
    .footer_img {
        width: 100%;
    }
}


.diclaim_a {
    color: var(--secondary-text-color);
    /* color: var(--tertiary-text-color); */

}

.desktop-note {
    text-align: center;
    padding: 0.64dvw 0.6dvw;
    font-size: 1dvw;

    color: var(--primary-text-color);
    /* background-color: var(--secondary-bg-color); */
    background-color: rgba(0, 0, 0, 0.05);
    display: none;


    p {
        width: 80%;
        /* width: fit-content; */
        /* text-align: start; */
        text-align: center;
        line-height: 1.2;
        margin: 0;
    }

    /* subtle background for separation */
    /* border-top: 1px solid rgba(0, 0, 0, 0.1); */
}

@media (max-width: 1060px) {
    .desktop-note {
        display: flex;
        justify-content: center;
        /* font-size: 1.26rem; */
        font-size: 2.3dvw;
        padding: 0.6rem 0.8rem;
    }
}



@media (max-width:560px) {
    .desktop-note {
        /* font-size: 1.26rem; */
        font-size: 2.38dvw;
        padding: 0.6rem 0.8dvw;
    }
}

@media (max-width: 768px) {
    /* .desktop-note {
        font-size: 0.8rem;
        font-size: 5dvw;
        padding: 0.6rem 0;
    } */
}