*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: arial, sans-serif;
}

body{
    overflow-x: hidden;
}
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 20px;
}
.nav ul{
    display: flex;
    list-style: none;
    gap: 20px;
}
.nav a{
    text-decoration: none;
    color: black;
}
button .btn{
    /* padding: 10px; */
    margin: 20px;
    /* background:white; */
    text-decoration:none;
    color: black;
    border-radius: 8px ;
    
}

.hero{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: darkslateblue;
    color: white;
}
.hero-text h1{
    font-size: 50px;
    margin-top: 20px;
}
.hero-text p{
    margin-top: 20px;
    margin-right: 200px;
}
.hero-image{
    max-height: 400px;
}

.features{
    padding-top: 300px;
    padding-left:50px ;
    padding-right: 50px;
    padding-bottom: 100px;
    text-align: left;
}
.features h2{
font-size: 50px;
margin-bottom: 30px;
}
.feature-grid{
    display: flex;
}


.cta{
    /* display: flex;
    justify-content: space-between; */
    background: darkslateblue;
    color: white;
    /* padding: 20px; */
    text-align: center;
    padding-top: 50px;
    padding-bottom: 30px;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 30px;
    font-size: 30px;
    width: 90%;
}
.cta h4{
    margin-left: 35%;
    margin-bottom: 20px;
    font-size: 30px;
    width: 35%;
    justify-content: left;
}
.cta a{
    text-align: right;
    font-size: 25px;

}


.footer{
    padding: 20px 30px ;
}
.footer-links{
    display: flex;
    justify-content: space-between;
}
.footer-img{
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}
.footer-img a{
    
}
.footer-links h4{
    margin-bottom: 20px;
    margin-top: 30px;
}
.footer-links ul{
    list-style: none;
}
.footer-links a{
    text-decoration: none;
    color: black;
}


@media only screen and (max-width:850px){
    .nav ul li{
     display: none; 
    }
    section{
        flex-direction: column-reverse;
   }
   section img{
        width: 100%;
   }
   .hero-text{
    margin-top: 150px;
    text-align: center;
    font-size: 15px;
   }
   .hero-text p{
    padding-top: 10px;
    margin: 30px;
    /* width: 30px;? */
    /* text-align: center; */
    /* justify-content: center; */
   }
   .features{
    padding: 80px;
   }
   .features h2{
    font-size: 40px;
   }
   .feature-grid{
    flex-direction: column;
    text-align: center;
    /* justify-content: center; */
   }
   .feature-grid img{
    display: flex;
    /* justify-content: center; */
    margin-left: 90px;
    margin-top: 20px;
    width: 70px;
    height: 70px;
   }
   .cta {
        /* display: flex; */
        text-align: center;
        width: 80%;
        padding: 30px;
   }
   .cta h4{
        /* width: 20px; */
        font-size: 20px;

         
   }
   .cta a{
        display: flex;
        margin: 30px;
        /* justify-content: end; */
   }

   .btn{
        padding: 10px;
        /* margin-right: 500px; */
        background-color: darkslateblue;
        /* color: white; */ 
        border-radius: 20px;
        
    }


   .footer-img{
    flex-direction: column;
    width: 150px;
    height: 150px;
    margin-left: 100px;
    justify-content: center;
    text-align: center;
    /* margin-bottom: 0px; */
    /* text-align: center; */
   }

   .footer-links{
    flex-direction: column;
    text-align: center;
    /* padding-left: 70px; */
   }
   .footer-links div h4{
    margin-top: 20px;
   }
}
