:root{
    --clr-blue: #31436b;
    --clr-orange: #f85e16;
    --clr-blue_bg: #192d38;
    --clr-white: #eaeaea;


    --main-font: 'Montserrat', sans-serif;
    --fnt-h-size: 20px;
    --fnt-p-size: 15px;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html{
    font-size: 20px;
}

body{
    background-color: var(--clr-white);
}



/* Loading screen */
    .pre_loader{
        background: url(../imgs/loading.gif) no-repeat center center;
        background-size: 200px;
        background-color: var(--clr-black);
        height: 100vh;
        height: 100dvh;
        width: 100%;
        position: fixed;
        z-index: 1000;
    }


/* scroll bar */
    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: var(--clr-orange);
    }

    ::-webkit-scrollbar-track {
        background-color: var(--clr-blue_bg);
    }

    ::-webkit-scrollbar-corner {
        background-color: var(--clr-blue_bg);
    }


/* Navbar */
.navbar {
    background-color: var(--clr-blue_bg);
    position: relative;

    width: 100%;
    top: 0;
    z-index: 3;

    padding-top: 50px;
    padding-bottom: 30px;
    padding-left: 150px;
    padding-right: 150px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

    .navbar img {
        height: 60px;
        width: auto;
    }

    .normal_navbar {
        list-style-type: none;
        display: flex;
        flex-direction: row;
    }

    .normal_navbar li {
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .normal_navbar li:nth-child(1),
    .normal_navbar li:nth-child(2),
    .normal_navbar li:nth-child(3),
    .normal_navbar li:nth-child(4),
    .normal_navbar li:nth-child(5){
        margin-right: 30px;
    }

    .normal_navbar li a {
        text-decoration: none;
        font-family: 'Montserrat', sans-serif;
        font-weight: 500;
        font-size: var(--fnt-h-size);
        color: var(--clr-white);
        position: relative;

        border-bottom: none;
    }

    .normal_navbar li a::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 3px;
        bottom: -3px;
        background-color: var(--clr-white);
        transition: width 0.3s ease, left 0.3s ease;
        transform-origin: 50% 50%;
        transform: translateX(-50%);
    }

    .normal_navbar li a:hover::before {
        width: 50%;
        left: 50%;
    }

    .normal_navbar li a.active_navbar_element {
        font-weight: 500;
    }


/* Burgermenuu */
    .burger_menu{
        display: none;
    }

    .wrapper{
        z-index: 2;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: var(--clr-blue_bg);
        clip-path: circle(0px at calc(100% - 10%) 7%);
        transition: all 0.3s ease-in-out;
    }

    #active:checked ~ .wrapper{
        clip-path: circle(75%);
    }

    .menu-btn{
        position: relative;
        z-index: 3;
        height: 50px;
        width: 50px;
        text-align: center;
        line-height: 50px;
        font-size: 25px;
        color: var(--clr-white);
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        margin-right: 10px;
    }

    #active:checked ~ .menu-btn
    {
        color: #fff;
    }

    #active:checked ~ .menu-btn i:before
    {
        content: "\f00d";
    }

    .wrapper ul {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        list-style: none;
        text-align: center;
        padding: 0;

        display: flex;
        flex-direction: column;
    }

    .wrapper ul li a{
        font-family: 'Montserrat', sans-serif;
        text-decoration: none;
        font-size: 30px;
        color: #fff;
        line-height: 50px;
        padding-bottom: 20px;
        transition: all 0.3s ease;
        /* display: flex;
        justify-content: center; */
        /* width: 100px; */
    }

    .wrapper ul li a:after{
        position: absolute;
        content: "";
        transform: scaleY(0);
        z-index: -1;
        transition: transform 0.3s ease;
    }

    .wrapper ul li a:hover:after{
        transform: scaleY(1);
    }

    .wrapper ul li a:hover{
        cursor: pointer;
        color: #a4a4a4;
        font-weight: bolder;
        font-size: 32px;
    }

    input[type="checkbox"]{
        display: none;
    }






footer{
    width: 100%;
    height: auto;

    display: flex;
    flex-direction: column;
    background-color: var(--clr-blue_bg);
}

.small_footer{
    display: none;
}

.footer_top{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 20px;
    padding: 30px;
}



.footer_left
{
    display: flex;
    flex-direction: column;

    max-width: 30%;
}


.footer_left img{
    height: 60px;
    width: auto;
}

.footer_left p{
    margin-top: 20px;
    font-family: var(--main-font);
    color: var(--clr-white);
    font-size: 1rem;
    font-weight: 200;
}

.footer_middle,.footer_middle_copy{
    max-width: 30%;
    display: flex;
    flex-direction: column;
}

.footer_middle h1,.footer_middle_copy h1{
    font-family: var(--main-font);
    color: var(--clr-white);
    font-size: 1.5rem;
    font-weight: 600;

    margin-bottom: 20px;
}

.footer_middle ul,.footer_middle_copy ul{
    list-style: none;
}

.footer_middle ul li a,.footer_middle_copy ul li a{
    margin-top: 5px;
    text-decoration: none;
    font-family: var(--main-font);
    color: var(--clr-white);
    font-size: 1rem;
    font-weight: 200;
}


.footer_right,.footer_right_copy{
    max-width: 30%;
    display: flex;
    flex-direction: column;
}

.footer_right h1,.footer_right_copy h1{
    font-family: var(--main-font);
    color: var(--clr-white);
    font-size: 1.5rem;
    font-weight: 600;

    margin-bottom: 20px;
}

.footer_right img,.footer_right_copy img{
    width: 40px;
    height: auto;
    margin: 5px;
}


.footer_bottom{
    /* margin: 10px; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_bottom p{
    font-family: var(--main-font);
    font-size: 0.75rem;
    font-weight: 300;

    color: var(--clr-white);

    margin-bottom: 20px;
}




.line,.line2 {
    width: calc(100% - 60px); /* Subtract the sum of left and right margins from the total width */
    height: 1px;
    margin-left: 30px; /* Left margin */
    margin-right: 30px; /* Right margin */
    margin-bottom: 30px;
    background-color: var(--clr-white);
}




.slider_heading{
    position: absolute;
    top: 2%;
    left: 1%;
}

.small_line{
    width: 150px; /* Subtract the sum of left and right margins from the total width */
    height: 3px;
    margin-left: 30px;
    margin-top: 60px;
    background-color: var(--clr-orange);
}

.project_heading{
    display: flex;
    margin: 30px;
    margin-bottom: 0px;
    margin-top: 10px;
    flex-direction: row;

    justify-content: space-between;
    align-items: flex-start;
}


.project_heading h1{
    font-family: var(--main-font);
    font-size: 3rem;
    font-weight: 600;

    margin-top: -10px;
}



/* css slider */
.slider {
    height: 100vh;
    position: relative;

    /* Check if the path to the image is correct */
    background-image: url(../imgs/about-us-pattern.svg);

    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
}
.slider .list .item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}
.slider .list .item img {
    position: absolute;
    width: auto;
    height: calc(40% + 20vw);
    object-fit: cover;
    bottom: 0;
    right: 0; /* Set the image to the right side */
}
.slider .list .item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    /* background-image: linear-gradient(to top, #00000093 3%, transparent); */
}
.slider .list .item .content{
    position: absolute;
    left: 15%;
    top: 25%;
    width: 40%;
    max-width: 80%;
    /* z-index: 1; */
}
.slider .list .item .content p:nth-child(1){
    font-family: var(--main-font);
    font-weight: 100;
    font-size: 0.75rem;

    text-transform: uppercase;
    letter-spacing: 10px;
}
.slider .list .item .content h2{
    font-family: var(--main-font);

    color: var(--clr-orange);
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    margin-top: 15px;
    margin-bottom: 15px;
}

.slider .list .item p:nth-child(3){
    font-family: var(--main-font);
    font-weight: 100;
    font-size: 0.8rem;
}
.slider .list .item.active{
    opacity: 1;
    /* z-index: 10; */
}
@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
    animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}
.arrows{
    position: absolute;
    bottom: 20px;
    /* z-index: 100; */

    display: flex;
    gap: 5px;
    width: 100%;
    justify-content: center;
}
.arrows button{
    background-color: transparent;
    border: solid 3px var(--clr-orange);
    font-family: var(--main-font);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--clr-orange);
    transition: all 1s;

    display: flex;
    justify-content: center;
    align-items: center;
}
.arrows button:hover{
    background-color: var(--clr-orange);
    color: var(--clr-white);
    scale: 1.05;
    cursor: pointer;
}
.thumbnail{
    position: absolute;
    bottom: 50px;
    /* z-index: 11; */
    display: flex;
    gap: 20px;
    width: 100%;
    height: 150px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;

    padding-top: 15px;
}
.thumbnail::-webkit-scrollbar{
    width: 0;
}
.thumbnail .item{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    filter: brightness(.5);
    transition: all 0.5s;
    flex-shrink: 0;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border-radius: 10px; */
}
.thumbnail .item.active{
    filter: brightness(1.2);
    scale: 1.05;

    background-color: lightblue;
    outline: 3px solid var(--clr-orange);
    outline-offset: 5px;

}
.thumbnail .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;
}




/* Achievements */
.achievements{
    height: 20vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: var(--clr-blue_bg);
    align-items: center;
}

.achievement_line{
    height: 50px;
    background-color: var(--clr-white);
    width: 3px;
}

.achievement{
    width: 300px;
    text-align: center;
}

.achievement:hover{
    cursor: pointer;
    scale: 1.1;
}



.achievement p:nth-child(1){
    font-family: var(--main-font);
    font-size: var(--fnt-h-size);
    font-weight: 600;
    color: var(--clr-white);
}


.achievement p:nth-child(2){
    font-family: var(--main-font);
    font-size: var(--fnt-p-size);
    font-weight: 200;
    color: var(--clr-white);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);

    z-index: 3;

    justify-content: center;
    align-items: center;
}

.modal img {
    width: auto;
    height: 90%;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 25px;
    color: #fff;
    cursor: pointer;
}










/* About us */
.about_container {
    height: 100vh;
    /* width: 100vw; */
    /* margin: 20px; */
    overflow: hidden;
    /* margin-bottom: 50px; */

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
}

.about_top {
    /* height: 100%;     */
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* gap: 30px; */

    z-index: 2;
}



.about_paragraph {
    font-family: var(--main-font);
    font-size: 0.75rem;
    font-weight: 200;
    text-align: center;

    width: 60%;



    color: var(--clr-blue_bg);
}



.about {
    height: 105%;
    width: 100%;
    position: relative;
    /* background-color: #063f5c; */
    user-select: none;
    z-index: 1;
}

.word {
    position: absolute;
    cursor: grab;
    font-size: 30px;
    padding: 10px 15px;
    border-radius: 50px;
    font-family: var(--main-font);
    font-weight: 300;
    font-size: 0.75rem;
}

.color1 {
    color: var(--clr-white);
    background-color: var(--clr-blue_bg);
}

.color2 {
    color: var(--clr-white);
    background-color: var(--clr-orange);
}
























/* normal screen */
@media only screen and (min-width: 1200px) {
}

/* small screen */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    html{
        font-size: 15px;
    }
    .normal_navbar{
        display: none;
    }
    .burger_menu{
        display: block;
    }
    .project_heading h1{
        font-size: 3rem;
    }

    .slider .list .item .content p:nth-child(1){
        font-size: 0.75rem;
    }
    .slider .list .item .content h2{
        font-size: 2.5rem;
    }

    .slider .list .item p:nth-child(3){
        font-size: 0.8rem;
    }

    /* .slider .list .item img {
        height: 90%;
    } */
    .word {
        font-size: 1rem;
    }

    .achievement:hover{
        scale: none;
    }
}

/* tab horizontal */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    html{
        font-size: 10px;
    }
    .navbar{
        padding-left: 50px;
        padding-right: 50px;
    }
    .normal_navbar{
        display: none;
    }
    .burger_menu{
        display: block;
    }

    .footer_right,.footer_middle{
        display: none;
    }

    .footer_left{
        max-width: 50%;
        padding-right: 10px;
    }

    .small_footer{
        width: 50%;
        display: flex;
        flex-direction: column;
    }

    .footer_middle_copy{
        max-width: 100%;
    }

    .footer_right_copy{
        max-width: 100%;
    }

    .footer_middle_copy ul {
        list-style: none;
        display: flex;
        gap: 30px;
        flex-wrap: wrap;

        margin-bottom: 40px;
        line-height: 5px;
    }
    .footer_left p{
        font-size: 1.5rem;
    }
    .footer_middle h1,.footer_middle_copy h1{
        font-size: 2rem;
    }
    .footer_middle ul li a,.footer_middle_copy ul li a{
        font-size: 1.5rem;
    }
    .footer_right h1,.footer_right_copy h1{
        font-size: 2rem;
    }
    .footer_bottom p{
        font-size: 1.5rem;
    }

    .project_heading h1{
        font-size: 4rem;
    }
    .slider .list .item .content p:nth-child(1){
        font-size: 1rem;
    }
    .slider .list .item .content h2{
        font-size: 3rem;
    }

    .slider .list .item p:nth-child(3){
        font-size: 1.2rem;
    }

    /* .slider .list .item img {
        height: 80%;
    } */
    .word {
        font-size: 1rem;
    }

    .about_paragraph {
        font-size: 1.2rem;
    }
    .achievement:hover{
        scale: none;
    }
}

/* tab vertical */
@media only screen and (max-width: 767px) {
    html{
        font-size: 10px;
    }
    .navbar{
        padding-left: 50px;
        padding-right: 50px;
    }
    .normal_navbar{
        display: none;
    }
    .burger_menu{
        display: block;
    }
    .navbar img {
        height: 50px;
        width: auto;
    }

    .footer_top{
        flex-direction: column;
        margin: 20px;
    }

    .footer_left,.footer_middle,.footer_right{
        max-width: 100%;
        margin-top: 20px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .footer_middle ul {
        list-style: none;
        display: flex;
        gap: 30px;
        flex-wrap: wrap;

        justify-content: center;
        align-items: center;
        text-align: center;

        margin-bottom: 40px;
        line-height: 5px;
    }

    .footer_left p{
        font-size: 1.5rem;
    }
    .footer_middle h1,.footer_middle_copy h1{
        font-size: 2rem;
    }
    .footer_middle ul li a,.footer_middle_copy ul li a{
        font-size: 1.5rem;
    }
    .footer_right h1,.footer_right_copy h1{
        font-size: 2rem;
    }
    .footer_bottom p{
        font-size: 1.5rem;
    }
    .project_heading h1{
        font-size: 4rem;
    }
    .slider .list .item .content p:nth-child(1){
        font-size: 1rem;
    }
    .slider .list .item .content h2{
        font-size: 2.5rem;
    }

    .slider .list .item p:nth-child(3){
        font-size: 1.2rem;
    }

    .slider .list .item .content{
        left: 1%;
        top: 20%;
        margin: 30px;
        width: 100%;
    }

    /* .slider .list .item img {
        height: 60%;
    } */
    .thumbnail{
        justify-content: start;
        padding: 20px;
        margin-left: -30px;
        width: auto;
        scale: 0.8;
    }

    .arrows{
        justify-content: start;
        padding-left: 20px;
    }
    .word {
        font-size: 1rem;
    }
    .about_paragraph {
        font-size: 1.2rem;
    }
    .about_paragraph{
        width: 80%;
    }
    .achievement:hover{
        scale: none;
    }
    .modal img {
        width: 80%;
        height: auto;
    }
}

/* mobile */
@media only screen and (max-width: 550px){
    html{
        font-size: 10px;
    }
    .navbar{
        padding-left: 40px;
        padding-right: 40px;
        padding-top: 40px;
    }
    .normal_navbar{
        display: none;
    }
    .burger_menu{
        display: block;
    }
    .navbar img {
        height: 50px;
        width: auto;
    }

    .about_paragraph{
        width: 80%;
    }
    .achievement:hover{
        scale: none;
    }
}
