@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Cal Sans';
    src: url('/fonts/calsans-semibold.ttf');
}

:root{
    --primary-font: 'Cal Sans';
    --secondary-font: "Sora", sans-serif;
    --tertiary-font: "Outfit", sans-serif;
    --primary-bg-color: #ffffff; 
    --secondary-bg-color: #0D041A;
    --choose-us-icon-bg-color: linear-gradient(to left top, #13012D, #34185D);
    --contact-bg-color: linear-gradient(to bottom, #110324, #201336);
    --footer-bg-color: #1F1035;
    --service-card-bg-color: linear-gradient(to bottom, #14042A, #0D041A);
    --customer-card-bg-color: linear-gradient(to top, #070027, #0B0621);
    --light-purple-color: #9D8CB6;
    --dark-purple-color: #7439C7;
}

body{
    background: #ffffff;
    min-height: 100vh;
    color: #000000;
    overflow-x: hidden;
}

.button{
    font-family: var(--tertiary-font);
    background-color: #0088FF;
    color: white;
    outline: none;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    z-index: 20;
    font-size: 16px;
    transition: all 0.3s linear 0.1s;
}

.button:hover{
    box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
    transform: scale(1.05);
    transition: all 0.3s linear 0.1s;
}

/* Navigation Bar */

nav{
    font-family: var(--secondary-font);
    padding: 20px 0px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.3s linear 0.1s;
}

.navbar-container.scroll{
    background-color: #E8F8FF;
    transition: all 0.3s linear 0.1s;
}

.menu-icon, .close-icon{
    display: none;
}

.logo{
    width: 150px;
}

ul{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
}

ul li{
    position: relative;
}

ul li a{
    text-decoration: none;
    color: black;
}

.button a{
    text-decoration: none;
    color: white;
}

ul li a:hover{
    color: #0088FF;
    transform: scale(1.001);
    transition: color 0.5s ease-in-out 0.1s;
}

.active::before{
    content: '';
    position: absolute;
    top: 22px;
    left: 0px;
    width: 30px;
    height: 5px;
    background-color: #0088FF;
    border-radius: 20px;
    transition: all 0.5s linear 0.1s;
}

/* Home Section */

.home{
    font-family: var(--primary-font);
    background-image: url('../assets/hero-background.svg');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    padding: 100px 0px 300px;
    border-bottom-left-radius: 100px;
}

#home{
    position: relative;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: white;
    border-radius: 50%;
    animation: moveStar 20s infinite linear;
}

@keyframes moveStar {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(var(--x-move), var(--y-move));
    }
}

.home h1{
    font-size: 4rem;
    line-height: 1.2;
    z-index: 15;
    margin-top: 130px;
}

.home p{
    font-size: 16px;
    color: black;
    width: 50%;
    margin-bottom: 20px;
    line-height: 2;
    z-index: 15;
    font-size: 100;
}

/* About us Section */

.about-us{
    padding: 120px 40px 140px;
    margin: 20px 0px 0px;
    text-align: center;
    font-family: var(--primary-font);
}

.about-us .heading{
    color: #0088FF;
}

.heading{
    font-size: 3rem;
    margin-bottom: 30px;
}

.paragraph{
    width: 70%;
    margin: 0px auto;
    line-height: 1.5;
    font-weight: 300;
    font-size: 20px;
}

.paragraph, .semi-paragraph{
    font-family: var(--secondary-font);
    color: black;
}

.about-us-feature{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 60px 0px 0px;
}

.feature-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.about-us-icon{
    width: 85px;
    height: 85px;
}

.about-us-icon:hover{
    transition: all 0.4s ease-in-out;
    transform: scale(1.0125);
    /* box-shadow: rgba(159, 114, 231, 0.582) 1px 5px 10px -2px, rgba(130, 74, 202, 0.3) 1px 2px 6px -3px; */
    border-radius: 75px;
}

.line{
    width: 2px;
    height: 200px;
    background-image: linear-gradient(to bottom, #0045FF, #0088FF); 
}

.semi-heading{
    font-family: var(--secondary-font);
    font-weight: 500;
    font-size: 20px;
}

.semi-paragraph{
    font-weight: 300;
    font-size: 12px;
    width: 70%;
    line-height: 1.5;
    color: black;
}

.about-us .semi-paragraph{
    font-size: 14px;
}

/* Choose us Section */

.choose-us{
    font-family: var(--secondary-font);
    text-align: center;
    margin: 20px 0px;
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #E8F8FF;
}

.choose-us .heading{
    color: #0088FF;
}

.choose-us-container{
    display: flex;
    margin: 30px auto;
    width: 90%;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 50px;
    column-gap: 35px;
    padding: 30px 5%;
    position: relative;
}

.container{
    position: relative;
}

.rectangle .semi-paragraph{
    width: 80%;
}

.rectangle{
    width: 300px;
    height: 200px;
    border: 2px dashed #0088FF;
    display: flex;
    padding: 20px 0px 20px 20px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0% 0%, 100% 0%, 100% 71%, 77% 100%, 0% 100%);
    border-radius: 5px;
}

.square{
    width: 100px;
    height: 100px;
    transform: rotate(50deg);
    position: absolute;
    bottom: -54.5px;
    right: -54.5px;
    z-index: 1;
    background-color: #E8F8FF;
    border-left: 2px dashed #0088FF;
}

.rectangle:hover{
    transform: scale(1.025);
    transition: all 0.4s ease-in-out;
}

.icon{
    position: absolute;
    top: -20px;
    left: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    background-image: linear-gradient(to bottom, #0045FF, #0088FF);
    z-index: 2;
}

.icon img{
    width: 35px;
    height: 35px;
}

/* Service Section */

.service{
    font-family: var(--tertiary-font);
    text-align: center;
    margin: 30px 0px;
    padding: 100px 0px;
}

.service .heading{
    color: #0088FF;
}

.service-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 35px;
    column-gap: 40px;
    margin-top: 20px;
}

.service-container .semi-heading{
    font-weight: 300;
    line-height: 1.5;
    width: 50%;
    text-align: left;
}

.service-box{
    width: 330px;
    height: 190px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    background-image: linear-gradient(to bottom, #C1E2FF, #FFFFFF);
    text-align: left;
    gap: 20px;
    padding: 20px 0px 20px 20px;
    border-radius: 10px;
}

.service-box:hover{
    transition: all 0.4s ease-in-out;
    transform: scale(1.005);
    outline: 1px solid #67BBFF;
}

/* Service Section */


/* Contact Section */

.contact{
    background: #EAF8FF;
    font-family: var(--tertiary-font);
    width: fit-content;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    margin: 50px auto 150px;
    padding: 45px;
    border-radius: 15px;
    box-shadow: #67bbffb7 0px 1.5px 3px, #67bbffb7 0px 1.5px 3px;
}

.contact h1{
    font-size: 30px;
    font-weight: 500;
}

.contact p{
    font-weight: 200;
}

/* Footer Section */

.footer{
    font-family: var(--secondary-font);
    background: #EAF8FF;
    padding: 40px 50px;
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    margin-top: 40px;
}

.info-container{
    width: 50%;
}

.company-info{
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 14px;
}

.location-container{
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
}

.footer h4{
    position: relative;
    margin-bottom: 20px;
}

.menu-list-1{
    list-style: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.copyright{
    font-family: var(--secondary-font);
    color: #0088FF;
    text-align: center;
    padding: 10px 0px;
    background-color: #0032B9;
}

.copyright span{
    font-size: 14px;
}

@media screen and (max-width: 400px){

    .choose-us-container{
        width: 100%;
        row-gap: 50px;
        padding: 30px 10px 30px 5px;
    }

    .rectangle{
        width: 100%;
    }

    .home{
        gap: 15px;
    }

    .about-us{
        padding-left: 10px;
        padding-right: 10px;
    }
    
}

@media screen and (max-width: 780px){

    html, body{
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .logo{
        width: 120px;
    }

    nav{
        flex-direction: column;
        height: fit-content;
        align-items: start;
        padding: 20px;
        z-index: 150;
        background-color: #E8F8FF;
        transition: height 5s linear, opacity 5s linear;
    }

    .menu-icon{
        display: block;
        width: 30px;
        height: 30px;
        position: absolute;
        top: 30px;
        right: 30px;
        cursor: pointer;
    }

    .close-icon{
        display: none;
        width: 30px;
        height: 30px;
        position: absolute;
        top: 30px;
        right: 30px;
        cursor: pointer;
    }

    ul{
        display: none;
        flex-direction: column;
        height: 90vh;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 30px;
        font-size: 20px;
        z-index: 150;
    }

    .shades{
        width: 100%;
    }

    .home{
        background-position: center;
    }

    .home h1{
        margin-top: 120px;
        font-size: 2.5rem;
        padding: 0px 10px;
    }
    
    .home p{
        width: 85%;
        font-weight: 100;
    }
    
    .about-us .paragraph{
        padding: 0px 10px;
    }

    .footer{
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .info-container{
        width: 100%;
    }

    .menu-list-1{
        display: flex;
        height: fit-content;
        font-size: 12px;
    }

    .paragraph{
        line-height: 1.5;
        width: 100%;
    }

    .about-us-feature{
        flex-direction: column-reverse;
        gap: 30px;
    }

    .line{
        display: none;
    }

    .service-container{
        margin-top: 30px;
        padding-top: 30px;
    }

    .service .paragraph{
        padding-left: 15px;
        padding-right: 15px;
    }

    .service-container .semi-heading{
        width: 90%;
        text-align: center;
        margin-bottom: 20px;
        font-size: 16px;
        padding: 0px 10px;
    }

    .service-box{
        width: 350px;
        height: 160px;
    }

    .rectangle{
        width: 330px;
        height: 200px;
        clip-path: polygon(0% 0%, 100% 0%, 100% 77%, 77% 100%, 0% 100%);
    }

    .square{
        transform: rotate(58.5deg);
        position: absolute;
        bottom: -67px;
        right: -44px;
        z-index: 1;
        background-color: #E8F8FF;
        border-left: 2px dashed #0088FF;
    }

    .semi-paragraph{
        font-weight: 300;
        font-size: 13px;
        width: 80%;
        line-height: 1.5;
        color: gray;
    }

    .contact{
        margin: 20px 30px 100px;
        gap: 30px;
    }
    
}

@media screen and (min-width: 781px) {

    html, body{
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .about-us .paragraph{
        font-weight: 400;
        font-size: 16px;
        width: 80%;
        line-height: 1.5;
    }

    .shades{
        width: 100%;
    }

    .home{
        background-position: center;
    }

    .service-container{
        margin-top: 40px;
        padding: 10px 40px;
    }

    .service-container .semi-heading{
        width: 90%;
        text-align: center;
        margin-bottom: 20px;
        font-size: 16px;
        padding: 0px 10px;
    }

    .service-container .semi-paragraph{
        font-size: 14px;
    }

    .copyright{
        font-size: 10px;
    }
}

@media screen and (min-width: 1100px) {

    .home{
        padding: 50px 0px 150px;
    }

    .choose-us-container{
        width: 100%;
        margin-top: 100px;
    }

    .service-container{
        margin-top: 100px;
    }
}