: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);
}



.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);
}

.services_top{
    display: flex;
    margin: 30px;
    margin-top: 10px;
    flex-direction: row;

    justify-content: space-between;
    align-items: flex-start;
}

.services_top h1{
    font-family: var(--main-font);
    font-size: 3rem;
    font-weight: 600;

    margin-top: -10px;
}

.services_top p{
    font-family: var(--main-font);
    font-size: calc(var(--fnt-p-size));
    font-weight: 300;

    max-width: 30%;
    text-align: right;
}



.services_bottom{
    display: flex;
    flex-direction: row;

    width: 100%;
    height: 600px;
    gap: 30px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;

}

.service_card {
    display: flex;
    flex-direction: column;
    width: 50%; /* Each card takes 50% of the available space */

    overflow: hidden;
    border-radius: 10px;
}

.card_top{
    background-color: var(--clr-blue_bg);
    padding: 20px;
    height: auto;
}

.card_top p:first-child{
    font-family: var(--main-font);
    font-size: var(--fnt-h-size);
    font-weight: 600;
    margin-bottom: 10px;

    color: var(--clr-white);
}

.card_top p:last-child{
    font-family: var(--main-font);
    font-size: var(--fnt-p-size);
    font-weight: 300;

    color: var(--clr-white);

}


.service_card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.scope_title{
    font-family: var(--main-font);
    color: #f85e16;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

section{
    /* min-height: 100vh; */
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
}


.faq{
    width: 70%;
    margin-top: 2rem;
    padding-bottom: 1rem;
    border-bottom: solid 2px var(--clr-blue_bg);
    cursor: pointer;
}

.question{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question i{
    color: var(--clr-orange);
}

.question h3{
    font-family: var(--main-font);
    font-weight: 600;
    font-size: 1rem;
}

.answer{
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.4s ease;
}


.answer p, .answer ul li{
    padding-top: 1rem;
    line-height: 1.6;
    font-family: var(--main-font);
    font-weight: 200;
    font-size: 0.75rem;
}

.answer ul li{
    padding: 0;
}

.faq.active .answer{
    max-height: 500px;
    animation: fade 1s ease;

}

.faq i{
    transition: transform 0.5s ease-in;
}

.faq.active i{
    transform: rotate(180deg);
}

@keyframes fade{
    from{
        opacity: 0;
        transform: translateY(-10px);
    }
    to{
        opacity: 1;
        transform: translateY(0px);
    }
}























/* 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;
    }


    .services_heading{
        font-size: 3rem;
    }

    .services_top_right p{
        font-size: 1rem;
    }
    .card_top p:first-child{
        font-size: 1.1rem;
    }
    .card_top p:last-child{
        font-size: 1rem;
    }

    .services_top h1{
        font-size: 3rem;
    }

    .question h3{
        font-size: 1.3rem;
    }
    .answer p, .answer ul li{
        font-size: 1.2rem;
    }

    .faq{
        width: 80%;
    }
}

/* 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;
    }

    .services_heading{
        font-size: 4rem;
    }

    .services_top  p{
        max-width: 50%;
    }


    .card_top p:first-child{
        font-size: 1.5rem;
    }
    .card_top p:last-child{
        font-size: 1.2rem;
    }


    .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;
    }

    .services_top h1{
        font-size: 4rem;
    }

    .scope_title{
        font-size: 3rem;
    }

    .question h3{
        font-size: 1.5rem;
    }
    .answer p, .answer ul li{
        font-size: 1.2rem;
    }
}

/* 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;
    }
    .services_heading{
        font-size: 4rem;
        width: 100%;
    }


    .services_top  p{
        max-width: 50%;
    }

    .card_top p:first-child{
        font-size: 1.5rem;
    }

    .card_top p:last-child{
        font-size: 1.4rem;
    }

    .services_bottom{
        flex-direction: column;
        height: 800px;

    }
    .service_card{
        width: 100%;
    }

    .card_top{
        height: 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;
    }


    .services_bottom{
        height: 950px;
    }

    .services_top h1{
        font-size: 4rem;
    }

    .scope_title{
        font-size: 3rem;
    }
    .question h3{
        font-size: 1.5rem;
    }
    .answer p, .answer ul li{
        font-size: 1.2rem;
    }

    .faq{
        width: 90%;
    }
}

/* 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;
    }
    .services_heading{
        font-size: 4rem;
        width: 100%;
    }
    .services_top  p{
        font-size: 1.5rem;
        max-width: 100%;
        text-align: left;
    }
    .services_top{
        flex-direction: column;
    }

    .card_top p:first-child{
        font-size: 1.5rem;
    }
    .card_top p:last-child{
        font-size: 1.4rem;
    }

    .services_bottom{
        flex-direction: column;
        height: 800px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .service_card{
        width: 100%;
    }

    .card_top{
        height: auto;
    }

    .services_bottom{
        height: 950px;
    }

    .services_top h1{
        margin-bottom: 10px;
    }

    .faq{
        width: 95%;
    }
}


