: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: 1000; /* Increase the z-index value */
        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);
}


.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;
}


/* projects */
.projects_container{
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px 50px;
    padding: 70 50px;
}

.projects_container .card{
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 350px;
    height: 350px;
    background: var(--clr-white);
    border-radius: 10px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
}

.projects_container .card:hover{
    height: 370px;
}

.projects_container .card .card_image{
    position: absolute;
    top: 20px;
    width: 300px;
    height: 220px;
    background: var(--clr-blue_bg);
    border-radius: 8px;
    transition: 0.5s;

    overflow: hidden;

}

.projects_container .card:hover .card_image{
    top: -70px;
    scale: 0.95;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2 );
}


.projects_container .card .card_image img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.projects_container .card .card_content{
    position: relative;
    top: 252;
    width: 100%;
    padding: 0 30px;
    overflow: hidden;
    text-align: center;
    transition: 0.5s;
}

.projects_container .card:hover .card_content
{
    top: 170px;
    height: 250px;

}


.projects_container .card .card_content h2{
    font-family: var(--main-font);
    font-size: 1rem;
    font-weight: 600;
}

.projects_container .card .card_content p{
    display: none;

    font-family: var(--main-font);
    font-size: 0.6rem;
    font-weight: 200;

    margin-top: 10px;
}



.projects_container .card .card_content button{
    display: none;

    margin-top: 10px;
    width: 140px;
    background: transparent;
    padding: 8px 10px;
    border: solid 3px var(--clr-orange);
    border-radius: 50px;
    line-height: normal;
    text-align: center;
    font-family: var(--main-font);
    font-weight: 600;
    font-size: calc(var(--fnt-p-size) - 2px);
    color: var(--clr-orange);
    transition: all 0.3s ease;
}

.projects_container .card .card_content button:hover {
    cursor: pointer;
    background: var(--clr-orange);
    color: var(--clr-blue_bg);
}



.projects_container .card:hover .card_content p{
    display: block;
    animation: fadeup 1s ease;
}

.projects_container .card:hover .card_content button{
    display: inline-block;
    animation: fadeup 1.5s ease ;
}

@keyframes fadeup {
    from{
        transform: translateY(30px);
        opacity: 0;
    }
    to{
        transform: translateY(0px);
        opacity: 1;
    }
}







/* modal */
.modal-container {
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: var(--clr-orange);
    padding: 20px;
    border-radius: 5px;
    text-align: center;

    width: 50%;
}

.close-modal {
    cursor: pointer;
    color: #333;
    font-weight: bold;
}

.close-modal{
    position: absolute;
    right: 15px;
    top: 15px;
}

.model_info{
    margin: 30px;
}


.project_client_name,
.scope_of_work,
.project_description,
.system_detail,
.installed_system_details,
.project_covered_area {
    display: flex;
    flex-direction: column; /* Change to column direction */
    justify-content: flex-start; /* Align content at the start (top) */
    align-items: flex-start; /* Align items at the start (top) */
}

.modal_heading {
    font-family: var(--main-font);
    font-size: calc(var(--fnt-h-size));
    color: var(--clr-white);
    font-weight: 600;
    margin-top: 20px;
}

.modal_info {
    font-family: var(--main-font);
    font-size: calc(var(--fnt-p-size));
    color: var(--clr-white);
    font-weight: 200;
    margin-left: 30px;
    text-align: left;
}















/* 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;
    }

    .projects_container .card .card_content h2{
        font-size: 1.2rem;
    }

    .projects_container .card .card_content p{
        font-size: 0.8rem
    }
}

/* 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;
    }
    .projects_container .card .card_content h2{
        font-size: 1.8rem;
    }

    .projects_container .card .card_content p{
        font-size: 1.2rem
    }
    .modal-content {
        width: 80%;
    }
}

/* 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;
    }
    .projects_container .card .card_content h2{
        font-size: 2rem;
    }

    .projects_container .card .card_content p{
        font-size: 1.2rem
    }

    .projects_container .card .card_content button{
        scale: 0.9;
    }

    .modal-content {
        width: 95%;
        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;
    }

    /* .card{
        scale: 0.9;
    } */
    .projects_container .card .card_content h2{
        font-size: 1.7rem;
    }

    .projects_container .card .card_content button{
        scale: 0.8;
    }

    .model_info{
        margin: 5px;
    }
}

@media only screen and (max-width: 450px){
    .projects_container .card .card_image{
        scale: 0.9;
    }

    .projects_container .card .card_content h2{
        font-size: 1.5rem;
    }
}

