*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
.navbar{
    display: flex;
    align-items: center;
    padding: 20px;
}

nav{
    flex: 1;
    text-align: right;
    cursor: pointer;
}
nav ul{
    display: inline-block;
    list-style-type: none;
}

nav ul li{
    display: inline-block;
    margin-right: 20px;
}
a{
    text-decoration: none;
    color: #555;
}
p{
    color: #555;
}
.container{
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}
.row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}
.col1{
    flex-basis: 50%;
    min-width: 300px;
}
.col1 img{
    max-width: 100%;
    padding: 50px 0px;
}
.col2 h1{
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0px;
}
.col2 p{
    font-size: 14px;
}
.btn{
    display: inline-block;
    background:  #e4cecb;
    color: #fff;
    padding: 8px 30px;
    margin: 30px 0px;
    border-radius: 30px;
    transition: 0.5s;
}
.btn:hover{
    background: #563434;
}
.header{
    background: radial-gradient(#fff,#ffd6d6);
}
.header .row{
    margin-top: 70px;
}
.future{
    margin: 70px 0px;
}
.col2{
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}
.col2 img{
    width: 100%;
}
.small-container{
    max-width: 1080px;
    margin: auto;
    padding-left:25px ;
    padding-right:25px ;
}
.title{
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 60px;
    color: #555;
}
.title::after{
    content: '';
    background: #e4cecb;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}
.menu-icon{
    width: 28px;
    margin-left:30px;
    display: none;
}

/*---------driving future-------*/
.future{
    margin: 100px auto;
}
.col3{
    width: 160px;
}
.col3 img{
    width: 300px;
    cursor: pointer;
    filter: grayscale(100%);
}
.col3 img:hover{
    filter: grayscale(0);
}

.menuiteam{
    width: 28px;
    margin-left:30px;
    display: none;
    cursor: pointer;
    
}


/*------- media query for menu--------*/

@media only screen and (max-width:800px){
    nav ul{
        position: absolute;
        top: 70px;
        left: 0;
        background: #333;
        width: 100%;
        overflow: hidden;
        transition: max-height 0.5s;
    
    }
    nav ul li{
        display: block;
        margin-top: 10px;
        margin-right: 50px;
        margin-bottom: 10px;
        cursor: pointer;
    }
     nav ul li a{
        color: #fff;
     }
   .menuiteam{
        display: block;
        cursor: pointer;
     }
}
.offer{
    background: radial-gradient(#fff,#ffd6d6);
    margin-top: 80px;
    padding: 30px 0;
}
.col-2 .offer-img{
    padding: 50px;
}
small{
    color:#555 ;
}
.footer{
    background: #000;
    color: #8a8a8a;
    font-size: 14px;
    padding: 60px 0 20px;
}

.footer p{
    color: #8a8a8a;
}
.footer h3{
    color: #fff;
    margin-bottom: 20px;
}

.footer-col-2, .footer-col-3, .footer-col-4{
          min-width: 250px;
          margin-bottom: 20px;
}


.footer-col-2{
    flex: 1;
    text-align: center;
}
.footer-col-2 img{
    width: 180px;
    margin-bottom: 20px;
}
 .footer-col-2,.footer-col-3, .footer-col-4{
        flex-basis: 12%;
        text-align: center;
} 
ul{
    list-style-type: none;
}

.footer hr{
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin: 20px 0;
}

.copyright{
    text-align: center;
}

* Reset & Base */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}
.container {
  max-width: 400px;
  margin: auto;
  padding: 20px;
}

/* Header & Nav */
header {
  background: white;
  color: rgb(16, 2, 40);
  padding: 20px 0;
  text-align: center;
}
nav {
  margin-top: 10px;
}
nav a {
  margin: 0 15px;
  color: rgb(41, 149, 215);
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}

/* Section titles */
h2 {
  margin-bottom: 20px;
}

/* Form */
form label {
  display: block;
  margin-top: 15px;
}
form input, form select, form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #1c1b1b;
}
form button {
  margin-top: 20px;
  padding: 12px 20px;
  background: #27ae60;
  color: rgb(30, 29, 29);
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
form button:hover {
  background: #219150;
}

/* Footer */
footer {
  background: whitesmoke;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}

/* Images */
img.responsive {
  width: 100%;
  height: auto;
  border-radius: 10px;
}


/* media query less than 600 screen size */

@media only screen and (max-width:800px){
    .row{
        text-align: center;
    }
    .col-1, .col-2{
        flex-basis: 100%;
    }
}
