: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-blue_bg);
}



/* 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: transparent;
        position: absolute;

        width: 100%;
        top: 0;
        z-index: 3;

        padding-top: 50px;
        padding-bottom: 15px;
        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;
    }




/* Header */
header{
    position: relative;
    width: 100%;
    overflow: hidden;
}

.header-top{
    position: absolute;
    width: 100%;
    height: 100vh;
    height: 100dvh;

    z-index: 1;
    display: flex;
    flex-direction: row;
}

.sis_logo{
    position: absolute;
    right: 145px;
    bottom: 2%;
    width: 70px;
    height: auto;
}

.iaf_logo{
    position: absolute;
    right: 25px;
    bottom: 2%;
    width: 100px;
    height: auto;
}


.header-top-left{
    margin-left: clamp(20px,10vw,100px);
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
}

.header-top-left p{
    width: 100%;
    font-family: var(--main-font);
    font-weight: 900;
    font-size: 4rem;

    margin-top: 100px;
    color: var(--clr-white);
}

.header-top-left button{
    margin-top: 30px;
    width: 170px;
    background: transparent;
    padding: 12px 17px;
    border: solid 3px var(--clr-white);
    /* clip-path: inset(-1px round 9px); */
    border-radius: 50px;
    line-height: normal;
    display: inline-block;
    text-align: center;
    font-family: var(--main-font);
    font-weight: 600;
    font-size: calc(var(--fnt-p-size) + 2px);
    color: var(--clr-white);
    transition: all 0.3s ease;
}

.header-top-left button:hover {
    cursor: pointer;
    background: var(--clr-white);
    color: var(--clr-blue_bg);
}

.header_img_top{
    position: absolute;
    width: 80vw;
    height: auto;
    z-index: 0;
}

.header-video-container {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-person{
    position: relative;
    z-index: 2;

    width: 100vw;
    height: 100vh;

    background-image: url(../imgs/about-us-pattern.svg);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: right;


    display: flex;
    align-items: center;
}

.header-person-left{
    display: flex;
    flex-direction: column;


    width: clamp(200px,60vw,700px);
    margin-left: clamp(20px,10vw,100px);
}

.header-person-left h3{
    font-family: var(--main-font);
    color: var(--clr-white);
    font-size: 1rem;
    font-weight: 600;
}

.header-person-left h1 {
    font-family: 'Montserrat', sans-serif;
    color: var(--clr-white);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;


    margin-top: 30px;
    margin-bottom: 30px;
}

.header-person-left p{
    font-family: var(--main-font);
    color: var(--clr-white);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;

    margin-bottom: 30px;

}

.header-person-left button {
    width: 170px;
    background: transparent;
    padding: 12px 17px;
    border: solid 3px var(--clr-white);
    /* clip-path: inset(-1px round 9px); */
    border-radius: 50px;
    line-height: normal;
    display: inline-block;
    text-align: center;
    font-family: var(--main-font);
    font-weight: 600;
    font-size: calc(var(--fnt-p-size) + 2px);
    color: var(--clr-white);
    transition: all 0.3s ease;
}

.header-person-left button:hover {
    cursor: pointer;
    background: var(--clr-white);
    color: var(--clr-blue_bg);
}


.header-person-right{
    position: absolute;
    right: 5%;
    bottom: 0px;
    height: 90%;
    width: auto;
}





/* Projects */
.projects_background{
    background-image: url(../imgs/projects_bg.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;

    z-index: -1;
}

.projects_container{
    height: 100vh;
    width: 100%;
    position: relative;
    background-color: var(--clr-white);
    display: flex;
    flex-direction: column;

    z-index: 1;
    overflow: hidden;
}

.slides {
    flex: 1;
    height: 80%;
    width: 100%;
    display: flex;
    flex-direction: column;
}


.slide {
    /* display: flex; */
    opacity: 0;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.left_slide {
    width: 50%;
    overflow: hidden;

}

.project_image_container {
    padding: 30px;
    width: 100%;
    height: 100%;
    overflow: hidden;

}

.left_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    border-radius: 10px;

}

.right_slide {
    width: 50%;
    padding: 30px;

    display: flex;
    flex-direction: column;

    justify-content: space-evenly;
}

.project_client_name{
    font-family: var(--main-font);
    font-weight: 300;
    font-size: 0.75rem;
}

.scope_of_work{
    font-family: var(--main-font);
    font-weight: 800;
    font-size: 2rem;

    color: var(--clr-blue_bg);
}

.project_desription{
    font-family: var(--main-font);
    font-weight: 600;
    font-size: 1.5rem;

    color: var(--clr-blue);
}

.system_detail{
    display: flex;
    flex-direction: row;
}

.system_detail p:last-child{
    font-family: var(--main-font);
    font-weight: 200;
    font-size: 0.75rem;
    padding-left: 10px;

    color: var(--clr-blue);
}

.system_detail p:first-child{
    font-family: var(--main-font);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--clr-blue_bg);

}

.project_covered_area{
    font-family: var(--main-font);
    font-weight: 800;
    font-size: 1.5rem;

    text-align: right;

    color: var(--clr-orange);
}

.project_control {
    display: flex;
    justify-content: space-between;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
}

#prev{
    rotate: -90deg;
    background-color: transparent;
    border: none;
}

#prev svg{
    width: 30px;
    height: 30px;
}

#prev svg path {
    fill: var(--clr-orange);
}

#next{
    rotate: 90deg;
    background-color: transparent;
    border: none;
}

#next svg{
    width: 30px;
    height: 30px;
}

#next svg path {
    fill: var(--clr-orange);
}

#prev:hover, #next:hover {
    cursor: pointer;
}

#prev:hover svg path, #next:hover svg path {
    fill: #ca4d13;
}


.slides_control p{
    font-family: var(--main-font);
    font-weight: 200;
    font-size: 1.5rem;
    color: var(--clr-orange);

    padding-left: 10px;
    padding-right: 10px;
}

.all_projects button{
    width: 170px;
    background: transparent;
    padding: 12px 17px;
    border: solid 3px var(--clr-orange);
    /* clip-path: inset(-1px round 9px); */
    border-radius: 50px;
    line-height: normal;
    display: inline-block;
    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;
}

.all_projects button:hover {
    cursor: pointer;
    background: var(--clr-orange);
    color: var(--clr-blue_bg);
}

.slides_control{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.slide.fade-out {
    opacity: 0;
    transition: opacity 0.5s;
}

.slide.fade-in {
    opacity: 1;
    transition: opacity 0.5s;
}

.p_animation_out{
    transform: translateX(200px);
    opacity: 0;
    transition: all 0.5s;
}

.p_animation_in{
    transform: translateX(0px);
    opacity: 1;
    transition: all 0.5s;
}

.img_animation_out{
    transform: translateX(-200px);
    opacity: 0;
    transition: all 0.5s;
}

.img_animation_in{
    transform: translateX(0px);
    opacity: 1;
    transition: all 1s;
}








/* Satisfaction */
.satisfaction_information {
    display: flex;
    flex-direction: column;
    background-color: var(--clr-orange);
}

.satisfaction_text {
    margin: 30px;
    display: flex;
    flex-direction: row;
    /* align-items: center; */
    justify-content: space-between;
}

.satisfaction_text p {
    font-family: var(--main-font);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--clr-white);
    max-width: 50%;
}

.satisfaction_text button {
    position: relative;
    width: 160px;
    height: 50px;
    font-family: var(--main-font);
    font-size: calc(var(--fnt-p-size));
    font-weight: 400;
    color: var(--clr-white);
    background-color: transparent;
    border: solid 2px var(--clr-white);
    border-radius: 50px;

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding-left: 12px;
}

.arrow-icon {
    display: inline-block;
    margin-left: 5px;

    background-color: var(--clr-white);
    padding-left: 13px;
    padding-right: 13px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 100%;
}

/* Additional styling for the arrow icon */
.arrow-icon i {
    color: var(--clr-orange);
}

.satisfaction_text button:hover {
    cursor: pointer;
    background-color: var(--clr-white);
    color: var(--clr-orange);
}

.satisfaction_text button:hover {
    color: var(--clr-orange); /* Change the color of the arrow on hover */
}

.satisfaction_text button:hover .arrow-icon {
    background-color: var(--clr-orange); /* Change the arrow background on hover */
}

.satisfaction_text button:hover .arrow-icon i {
    color: var(--clr-white); /* Change the color of the arrow on hover */
}



.satisfaction_points {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 30px;

    gap: 20px;
}

.satisfaction_points .point {
    flex: 1;
    background-color: var(--clr-white);
    color: var(--clr-blue_bg);
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center; /* Center text horizontally */
    border-radius: 100px;

    transition: all 0.3s;
}


.point p:first-child{
    font-family: var(--main-font);
    font-size: calc(var(--fnt-h-size) + 40px);
    font-weight: 600;
}

.point p:last-child{
    font-family: var(--main-font);
    font-size: calc(var(--fnt-p-size));
    font-weight: 300;
}


.point:hover{
    scale: 1.03;
    cursor: pointer;
    background-color: var(--clr-blue_bg);
    color: var(--clr-white);
}

.satisfaction_points .point.active {
    transform: scale(1.03);
    background-color: var(--clr-blue_bg);
    color: var(--clr-white);
}


/* Services */
.services{
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
}


.services_top{
    display: flex;
    flex-direction: row;

    gap: 20px;
    padding: 30px;
}

.services_heading{
    width: 50%;
    margin-top: -10px;

    font-family: var(--main-font);
    font-size: 3rem;
    color: var(--clr-white);
}

.services_top_right{
    width: 50%;
}

.services_top_right p{
    font-family: var(--main-font);
    font-size: 0.75rem;
    color: var(--clr-white);

    margin-bottom: 20px;
}

.services_top_right button{
    width: 170px;
    background: var(--clr-white);
    padding: 12px 17px;
    border: solid 3px var(--clr-white);
    /* clip-path: inset(-1px round 9px); */
    border-radius: 50px;
    line-height: normal;
    display: inline-block;
    text-align: center;
    font-family: var(--main-font);
    font-weight: 600;
    font-size: calc(var(--fnt-p-size) + 2px);
    color: var(--clr-blue_bg);
    transition: all 0.3s ease;
}

.services_top_right button:hover {
    cursor: pointer;
    background: var(--clr-blue);
    color: var(--clr-white);
    border-color: var(--clr-blue);
}

.services_bottom{
    display: flex;
    flex-direction: row;

    width: 100%;
    height: 500px;
    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-white);
    padding: 20px;
    height: 35%;
}

.card_top p:first-child{
    font-family: var(--main-font);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card_top p:last-child{
    font-family: var(--main-font);
    font-size: 0.75rem;
    font-weight: 300;
}


.service_card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.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);
}

.benefits{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
}


.one_benefit{
    display: flex;
    flex-direction: row;
}

.benefit{
    font-family: var(--main-font);
    font-size: var(--fnt-p-size);
    font-weight: 300;
    text-align: center;
    color: var(--clr-white);
    width: 100px;
}

.divider{
    width: 1px;
    height: 50px;
    background-color: var(--clr-white);
    margin-left: 70px;
    margin-right: 70px;
}




/* Testimonials */
.testimonial_container
{
    width: 100%;
    /* min-height: 80vh; */
    padding-top: 30px;
    padding-bottom: 30px;
    background: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial{
    width: 90%;
    max-width: 800px;
    margin: auto;
}

.testimonial-text{
    border-radius: 10px;
    background: var(--clr-orange);
    color: var(--clr-white);
    width: 100%;
    height: 350px;
    position: relative;
    box-shadow: 0 15px 20px rgba(0,0,0,0.2);
}

.user-text{
    width: 80%;
    text-align: center;
    line-height: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
}

.user-text p{
    font-family: var(--main-font);
    font-size: 0.75rem;
    font-weight: 300;
}

.user-text span{
    display: block;
    font-family: var(--main-font);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 70px;
    text-transform: uppercase;
}

.user-text .fas{
    font-size: 30px;
    margin-bottom: 50px;
    margin-top: 20px;
}

.testimonial-pic{
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-pic{
    width: 65px;
    padding: 5px;
    border-radius: 50%;
    margin: 10px;
    cursor: pointer;
}

.user-text.active-text{
    display: block;
    animation: moveup 0.5s linear forwards;
}


@keyframes moveup{
    0%{
        margin-top: 25px;
    }

    100%{
        margin-top: 0px;
    }
}


.user-pic.active-pic{
    width: 100px;
    border: 3px solid var(--clr-orange);
}


/* Infinite scroll carousel */
@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}


.infinite_carousel_strip{
    overflow: hidden;
    background-color: var(--clr-white);

    white-space: nowrap;
    display: flex;
}

.strip_slide{
    display: flex;
    animation: 20s slide infinite linear;
}

.strip_slide p{
    border-top: solid 2px var(--clr-orange);
    border-bottom: solid 2px var(--clr-orange);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--clr-orange);
}



.companies{
    padding:40px 0;
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    background:var(--clr-white);
}

.companies p{
    width:60%;
    margin-bottom:40px;
    font-family:var(--main-font);
    font-size:3rem;
    color:var(--clr-orange);
    text-align:center;
}


/* GRID */

.company{
    width:70%;
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(140px,1fr));
    gap:12px;
}


/* PARENT BOX */

.company-box{
    aspect-ratio:1/1;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:8px;
    overflow:hidden;
    transition:background .25s ease;
}


/* alternating backgrounds */

.company-box:nth-child(odd){
    background:#d7d7d7;
}

.company-box:nth-child(even){
    background:#e0e0e0;
}


/* darker on hover */

.company-box:hover{
    background:#c2c2c2;
}


/* LOGOS */

.company-box img{
    width:80%;
    height:80%;
    object-fit:contain;

    mix-blend-mode:multiply;   /* helps remove white backgrounds */
    filter:grayscale(100%);
    opacity:.9;

    transition:all .25s ease;
}


/* hover logo */

.company-box:hover img{
    filter:grayscale(0%);
    transform:scale(1.05);
    opacity:1;
}



.testimoial_and_companies{
    position: relative;
}

/* .testimoial_and_companies_background
{
    background-image: url(../imgs/about-us-pattern.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;

    z-index: 0;
    transform: scaleX(-1);

    opacity: 0.3;
} */




/* email */
.email_subscription{
    width: 100%;
    height: 30vh;

    background-color: var(--clr-orange);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.subscription_heading{
    width: 50%;
    margin-bottom: 30px;
    line-height: 1;
    font-family: var(--main-font);
    font-size: 3rem;
    color: var(--clr-white);
    text-align: center;
}

#emailForm{
    width: 400px;
    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: center;
}

#emailForm input{
    width: 250px;
    height: 40px;

    padding: 10px;
    font-family: var(--main-font);

    border-bottom-left-radius: 50px;
    border-top-left-radius: 50px;
    border: none;
    background-color: var(--clr-white);
}

#emailForm input::placeholder{
    color: var(--clr-orange);
}


#emailForm input:focus {
    outline: none;
    border: none;
}

#emailForm button{
    height: 40px;
    width: 40px;

    background-color: var(--clr-white);
    color: var(--clr-orange);
    border: none;
    border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;
}

#emailForm button:hover{
    cursor: pointer;
    color: var(--clr-blue_bg);
}

#submissionMessage{
    font-family: var(--main-font);
    font-size: 0.75rem;
    margin-top: 10px;
}



footer{
    width: 100%;
    height: auto;

    display: flex;
    flex-direction: column;
}

.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;
}





/* 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;
    }
    .header_img_top{
        width: 90vw;
        height: auto;
    }
    .header-person-right{
        height: 80%;
    }
    .header-person-left{
        width: 50%;
    }
    .project_client_name,.system_detail p:last-child,.system_detail p:first-child{
        font-size: 1.1rem;
    }
    .scope_of_work{
        font-size: 2rem;
    }
    .project_desription{
        font-size: 1.5rem;
    }
    .project_covered_area{
        font-size: 1.5rem;
    }
    .slides_control p{
        font-size: 2rem;
    }
    .satisfaction_text p {
        font-size: 2rem;
        max-width: 70%;
    }

    .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;
    }
    .user-text p{
        font-size: 1rem;
    }

    .user-text span{
        font-size: 1.25rem;
    }

    .companies p{
        font-size: 3.5rem;
    }

    .subscription_heading{
        font-size: 3.5rem;
    }

    .company{
        width: 50%;
    }
}

/* 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;
    }
    .header-top-left button{
        scale: 0.9;
    }
    .header_img_top{
        width: 90vw;
        height: auto;
    }
    .header-person-right{
        height: 70%;
    }

    .header-person-left{
        position: absolute;
        top: 10%;
        left: 10%;
        margin-left: 0px;
        width: 50%;
        scale: 1.2;
    }
    .header-person-left button{
        scale: 0.9;
        margin-left: -8.5px;
    }
    .header-person-left h1 {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .header-person-left p {
        margin-bottom: 15px;
    }
    .project_client_name,.system_detail p:last-child,.system_detail p:first-child{
        font-size: 1.4rem;
    }
    .projects_background{
        width: auto;
    }
    .scope_of_work{
        font-size: 3rem;
    }
    .project_desription{
        font-size: 2rem;
    }
    .project_covered_area{
        font-size: 2rem;
    }
    .slides_control p{
        font-size: 3rem;
    }

    .all_projects button
    {
        scale: 0.9;
        margin-right: -8.5px;
    }
    .satisfaction_text p {
        font-size: 3rem;
        max-width: 70%;
    }

    .satisfaction_text button{
        scale: 0.9;
        margin-right: -8.5px;
    }

    .services_heading{
        font-size: 4rem;
    }

    .services_top_right p{
        font-size: 1.2rem;
    }

    .services_top_right button{
        scale: 0.9;
        margin-left: -8.5px;
    }
    .card_top p:first-child{
        font-size: 1.5rem;
    }
    .card_top p:last-child{
        font-size: 1.2rem;
    }


    .line{
        display: none;
    }

    .benefits {
        display: grid;
        grid-template-rows: repeat(2, auto);
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        align-items: center;
        place-items: center; /* Add this line to center both horizontally and vertically */
        padding-left: 50px;
        padding-right: 50px;
        margin-top: 20px;
    }
    .one_benefit{
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    .one_benefit:nth-child(1) {
        border-right: solid 2px var(--clr-white);
        padding-bottom: 20px;
    }
    .one_benefit:nth-child(1) {
        border-bottom: solid 2px var(--clr-white);
    }
    .one_benefit:nth-child(3) {
        border-right: solid 2px var(--clr-white);
        padding-top: 20px;
    }
    .one_benefit:nth-child(2) {
        border-bottom: solid 2px var(--clr-white);
        padding-bottom: 20px;
    }

    .one_benefit:nth-child(4) {
        padding-top: 20px;
    }


    .one_benefit .divider {
        display: none;
    }

    .user-text p{
        font-size: 1.5rem;
    }

    .user-text span{
        margin-top: 50px;
        font-size: 1.7rem;
    }

    .strip_slide p{
        font-size: 1.7rem;
    }
    .companies p{
        font-size: 3.5rem;
        margin-bottom: 60px;
    }
    .subscription_heading{
        font-size: 3.5rem;
    }

    .company{
        width: 60%;
    }

    .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;
    }
}

/* 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;
    }
    /* .header-top-left p{
        font-size: 2rem;
    } */
    .header-top-left button{
        scale: 0.9;
    }
    .header_img_top{
        width: 90vw;
        height: auto;
    }
    .header-person-right{
        height: 70%;
    }
    .header-person-left{
        position: absolute;
        top: 5%;
        left: 10%;
        margin-left: 0px;
        width: 60%;
    }
    .header-person-left button{
        scale: 0.9;
        margin-left: -8.5px;
    }
    .header-person-left h1 {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .header-person-left p {
        margin-bottom: 15px;
    }
    .project_client_name,.system_detail p:last-child,.system_detail p:first-child{
        font-size: 1.4rem;
    }
    .slide{
        flex-direction: column;
    }
    .project_image_container{
        padding: 10px;
        padding-bottom: 0px;
    }

    .left_slide{
        width: 100%;
        height: 40%;
    }

    .right_slide{
        width: 100%;
        height: 60%;
        padding: 20px;
        padding-bottom: 10px;
    }
    .projects_background{
        width: auto;
    }
    .scope_of_work{
        font-size: 2.5rem;
    }
    .project_desription{
        font-size: 1.5rem;
    }

    .project_covered_area{
        font-size: 2.5rem;
    }

    .project_control{
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
    }
    .slides_control p{
        font-size: 2.5rem;
    }

    .all_projects button
    {
        scale: 0.9;
        margin-right: -8.5px;
    }
    .satisfaction_text{
        margin: 20px;
    }

    .satisfaction_points{
        flex-direction: column;
    }
    .satisfaction_text p {
        font-size: 2.5rem;
        max-width: 70%;
    }
    .satisfaction_text button{
        scale: 0.9;
        margin-right: -8.5px;
    }
    .services_heading{
        font-size: 4rem;
        width: 100%;
    }

    .services_top_right{
        width: 100%;
    }

    .services_top_right p{
        font-size: 1.5rem;
    }

    .services_top{
        flex-direction: column;
    }
    .services_top_right button{
        scale: 0.9;
        margin-left: -8.5px;
    }
    .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: 45%;
    }


    .line{
        display: none;
    }

    .benefits {
        display: grid;
        grid-template-rows: repeat(2, auto);
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        align-items: center;
        place-items: center; /* Add this line to center both horizontally and vertically */
        padding-left: 50px;
        padding-right: 50px;
        margin-top: 20px;
    }
    .one_benefit{
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    .one_benefit:nth-child(1) {
        border-right: solid 2px var(--clr-white);
        padding-bottom: 20px;
    }
    .one_benefit:nth-child(1) {
        border-bottom: solid 2px var(--clr-white);
    }
    .one_benefit:nth-child(3) {
        border-right: solid 2px var(--clr-white);
        padding-top: 20px;
    }
    .one_benefit:nth-child(2) {
        border-bottom: solid 2px var(--clr-white);
        padding-bottom: 20px;
    }

    .one_benefit:nth-child(4) {
        padding-top: 20px;
    }


    .one_benefit .divider {
        display: none;
    }

    .user-text p{
        margin-top: -20px;
        font-size: 1.5rem;
    }

    .user-text span{
        margin-top: 20px;
        font-size: 1.7rem;
    }

    .testimonial-pic{
        scale: 0.6;
        margin-top: 0;
    }
    .strip_slide p{
        font-size: 1.6rem;
    }

    .companies p,.subscription_heading{
        font-size: 3rem;
        margin-bottom: 60px;
    }

    .subscription_heading{
        font-size: 3rem;
        margin-bottom: 50px;
    }

    .company{
        width: 70%;
    }

    .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;
    }
}

/* 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;
    }
    /* .header-top-left p{
        font-size: 2rem;
    } */
    .header-top-left button{
        scale: 0.8;
    }
    .header_img_top{
        width: 120vw;
        height: auto;
    }
    .header-person-right{
        height: 50%;
    }
    .header-person-left{
        position: absolute;
        top: 5%;
        left: 10%;
        margin-left: 0px;
        width: 80%;
    }
    .header-person-left button{
        scale: 0.8;
        margin-left: -16px;
    }
    .project_client_name,.system_detail p:last-child,.system_detail p:first-child{
        font-size: 1.4rem;
    }
    .slide{
        flex-direction: column;
    }

    .project_image_container{
        padding: 10px;
        padding-bottom: 0px;
    }

    .left_slide{
        width: 100%;
        height: 40%;
    }

    .right_slide{
        width: 100%;
        height: 60%;
        padding: 20px;
        padding-bottom: 10px;

    }
    .projects_background{
        width: auto;
    }
    .scope_of_work{
        font-size: 2.5rem;
    }
    .project_desription{
        font-size: 1.5rem;
    }
    .project_covered_area{
        font-size: 2rem;
    }
    .project_control{
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
    }

    .slides_control p{
        font-size: 2.5rem;
    }

    .all_projects button
    {
        scale: 0.8;
        margin-right: -16px;
    }
    .satisfaction_text{
        margin: 20px;
    }

    .satisfaction_text{
        flex-direction: column;
        margin-bottom: 0px;
        /* align-items: flex-end; */
    }

    .satisfaction_points{
        margin: 20px;
    }

    .satisfaction_text p {
        font-size: 2.5rem;
        max-width: 100%;
    }

    .satisfaction_text button{
        margin-top: 20px;
        scale: 0.8;
        margin-left: -16px;
    }
    .services_heading{
        font-size: 4rem;
        width: 100%;
    }
    .services_top_right p{
        font-size: 1.5rem;
    }
    .services_top{
        flex-direction: column;
        padding: 20px;
    }
    .services_top_right button{
        scale: 0.8;
        margin-left: -16px;
    }
    .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: 45%;
    }

    .user-text p{
        margin-top: -20px;
        font-size: 1.4rem;
    }

    .user-text span{
        margin-top: 20px;
        font-size: 1.5rem;
    }
    .testimonial-text{
        height: 400px;
    }

    .strip_slide p{
        font-size: 1.5rem;
    }

    .company{
        width: 90%;
    }
}


@media only screen and (max-width: 370px){
    .services_bottom{
        flex-direction: column;
        height: 1000px;
        padding-left: 20px;
        padding-right: 20px;
    }
}