*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  border: none;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  font-family: "Be Vietnam Pro", sans-serif;
}
body{
  Font-size: 1rem;
  color: hsl(233, 12%, 13%);
  padding: 0px 20px;
  line-height: 1.6; 
}
header{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-right: 5rem;
  padding-left: 5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
}
header nav{
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 600;
}
header a{
  text-decoration: none;
  color: hsl(233, 12%, 13%)
}
header .menuIcons{
  font-size: 30px;
  cursor: pointer;
  display: none;
}
a:hover{
  cursor: pointer;
}
a{
  text-decoration: none;
}
h1, h2, h3, h4{
  color: hsl(228, 39%, 23%);
}
p{
  color: hsl(227, 12%, 61%);
  font-size: 16px;
}
.btn{
  padding: 10px 20px;
  background-color: hsl(12, 88%, 59%);
  color: hsl(0, 0%, 98%);
  border-radius: 25px;
  box-shadow: 0px 4px 6px hsl(12, 88%, 59%);
  font-weight: 500;
  font-size: 12px;
}
.btn:hover{
  background-color: hsl(13, 57%, 73%);
}
header nav a:hover{
  color:  hsl(227, 12%, 61%);  
}
.hero .container{
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: space-around;
  align-items: center;
  padding: 5rem;
  max-width: auto;
}
.hero-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  width: 100%;
}
.hero-content h1{
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
}
.hero-content p{
  width: 350px;
  margin-bottom: 1rem;
}
.hero-images{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero-images img{
  width: 100%;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.1);
}
.features {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  padding: 5rem;
}
.feature-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  margin-bottom: 40px;
  gap: 0px;
}
.feature-intro h2 {
  font-size: 2rem;
  color: hsl(228, 39%, 23%);
  line-height: 1.3;
  margin-bottom: 30px;
}
.feature-intro p {
  font-size: 1rem;
  color: hsl(227, 12%, 61%);
  width: 80%;
}
.features-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 1300px;
  gap: 20px;
  margin: 0px 30px 30px 30px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.feature-number {
  background-color: #ff7143;
  color: hsl(13, 100%, 96%);
  font-size: 1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  text-align: center;
}
.feature-item h3 {
  line-height: 1.6;
  font-size: 1rem;
  color: hsl(228, 39%, 23%);
  margin-bottom: 15px;
}
.feature-item p {
  font-size: 1rem;
  color: hsl(227, 12%, 61%);
  margin-bottom: 20px;
  line-height: 1.6;
}
.testimonials{
  align-items: center;
  padding: 0;
  margin: 0;
}
.testimonials h1{
  text-align: center;
  font-size: 3rem;
  color: hsl(228, 39%, 23%);
  font-weight: 600;
}
.testimonials .container{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 20px;
  width: auto;
  margin-top: 100px;
  margin-left: 0px;
  margin-right: 0px;
}
.testimonial-item{
  max-width: 600px;
  margin: 10px auto;
  text-align: center;
  border: none;
  background-color: hsl(0, 0%, 98%);
  position: relative;
}
.image-container {
  position: absolute;
  top: -40px; 
  left: 50%;
  transform: translateX(-50%);
}
.testimonial-image{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}
.testimonial-name {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0;
  color: hsl(228, 39%, 23%);
} 
.testimonial-text {
  font-size: 14px;
  line-height: 1.6;
  color: hsl(227, 12%, 61%);
  padding: 20px;
}
.testimonials .btn{
  display: flex;
  width: fit-content;
  margin: 0 auto;
  margin-top: 20px;
  flex-wrap: wrap;
}
.testimonial-item h4{
  color: hsl(233, 12%, 13%);
  font-size: 16px;
  margin-bottom: 20px;
  margin-top: 50px;
}
.last {
  background-color: hsl(12, 88%, 59%);
  padding: 5rem;
  margin-top: 10rem;
}
.last .container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}
.last .container .content{
 width: 400px;
}
.last .container h1{
  color: hsl(0, 0%, 98%);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}
.last .btn{
  background-color: hsl(0, 0%, 98%);
  color: hsl(12, 88%, 59%);
  font-weight: 600;
}
.last .btn:hover{
  color: hsl(11, 77%, 83%);
}
footer{
  background-color: hsl(233, 12%, 13%);
  color: hsl(227, 12%, 61%);
  padding-right: 5rem;
  padding-left: 5rem;
  padding-top: 2rem;
  padding-bottom: 0;
}
footer .container{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0 auto;
  margin-bottom: 20px;
  font-size: 14px;
}
.first, .second, .updates{
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 220px;
}
footer .Copyright{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-start;
  position: relative;
  top: -60px; 
}
footer .Copyright p{
  font-size: 12px;
  align-items: flex-start;
}
footer .container .second ul{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1.2rem;
  flex-flow: column wrap;
  height: 70px;
  width: 400px;
}
footer ul{
  list-style: none;
}
footer .first{
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: space-around;
  justify-content: space-around;
  max-width: 200px;
}
footer .icon{
  display: flex;
  gap: 10px;
  font-size: 1.2rem;
  color: hsl(0, 0%, 98%);
  align-items: flex-end;
  margin-top: 25px;
}
footer ion-icon{
  color: hsl(0, 0%, 98%);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
footer ion-icon:hover{
  color: hsl(12, 88%, 59%);
}
footer a{
  text-decoration: none;
  color: hsl(227, 12%, 61%);
  cursor: pointer;
}
footer a:hover{
  color: hsl(12, 88%, 59%);
}
footer p{
  color:  hsl(227, 12%, 61%);
  font-size: 1rem;
  line-height: 1.6;
}
footer input{
  box-sizing: border-box;
  border-radius: 25px;
  width: 200px;
  padding: 10px;
  border: none;
}
footer input:hover{
  border: 2px solid hsl(12, 70%, 64%);
}
footer .btn{
  width: fit-content;
  border: none;
  box-shadow: none;
}
footer::placeholder{
  font-size: 1rem;
  color: hsl(232, 6%, 52%);
}
footer .updates{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: space-between;
}
.updates .form{
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 10px;
}

/* Responsive media queries */
@media screen and (max-width: 1200px){
  .updates{
    display: block;
    align-items: center;
    margin: 0 auto;
    margin-top:20px;
  } 
}

@media screen and (max-width: 910px){
  .hero-images img{
    width: 100%;
  }
  .hero-content h1, .feature-intro h2, .testimonials h1{
    font-size: 2rem;
    gap: 5px;
    margin-bottom: 5px;
  }
  .last > .container > .content > h1{
    font-size: 2rem;  
  }
  .last .container {
    padding: 5px;
  }
  .hero-content, .features, .feature-intro, .feature-item,
  .feature-number, .features-list{
    gap: 10px;
  }
  footer .container {
    gap: 5px;
  }
  footer .updates{
    margin-top: 30px;
  }
  .last{
    margin-top: 4rem;
  }
}

@media screen and (max-width: 890px){
  nav{
  flex-direction: column;
  background-color: #fff;
  position: absolute;
  top: 65px;
  left: 0;
  width: 100%;
  display: none;
  }
  nav a {
    padding: 5px 30px;
  }
  header .btn, nav a{
    display: none;   
  }
  header .menuIcons {
    display: block;
  }
  header .menuIcons ion-icon:nth-child(2) {
    display: none;
  }
  header{
    padding-top: 10px;
    padding-bottom: 5px;
  }
  .hero .container{
    flex-direction: column-reverse;
    margin-bottom: 0;
    padding-bottom: 0; 
  }
  .hero .container .hero-content{
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
  }
  .hero .container .hero-images img{
    width: 100%;
  }
  .hero .container .hero-images img{
    width: 100%;
  }
  .features-section, .features{
    display: block;
    width: auto;
    margin-bottom: 0;
    margin-top: 0; 
  }
  .features .feature-intro, .features .features-list{
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    display: block;
    line-height: 1.6;
    width: 100%;
  }
  .features .feature-intro h2{
    text-align: center;
  }
  .feature-intro p{
    text-align: center;
    width: 100%;
  }
  .features-list{
    text-align: justify;
    margin-right: 5px;
    margin-left: 0;
  }
  footer .container {
    gap: 10px;
  }
  .last .container .content h1{
    font-size: 2rem;
    gap: 10px;
  }
  footer .Copyright{
    position: relative;
    top: 0;
    justify-content: center;
    margin-top: 30px;
  }
}

@media screen and (max-width: 830px){
  .testimonials .container{
    display: flex;
    flex-direction: column;
  }
  .hero-content h1{
    font-size: 2.5rem;
  }
  .hero-content p{
    font-size: 1rem;
  }
  .testimonial-text{
    margin-left: 0px;
    font-size: 14px;
  }
  .last .container{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 3rem;
    flex-wrap: nowrap;
    width: 100%;
  }
  .last .container .content{
    flex-direction: column;
    text-align: center; 
  }
  footer .container{
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
    justify-content: center;
    align-items: center;
  }
  footer ion-icon{
    font-size: 3rem;
  }
  footer .first{
    flex-direction: column-reverse;
    justify-content: center;
  }
  footer .first .image img{
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-left: 20px;
  }
  footer .second ul li{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: justify;
    margin-top: 0;
    margin-bottom: 0;
  }

  footer .container .first, footer .container .second{
    gap: 10px; 
  }
  footer .container .icon{
    gap: 10px;
    max-width: 100%;
    font-size: 3rem;
    padding: 0;
    margin: 0;
  }
  footer .container{
    gap: 30px;
    margin-bottom: 0px;
  }
  footer .Copyright{
    margin-top: 10px;
  }
  .testimonial-item{
    margin-top: 20px;
}
}
  
@media screen and (max-width: 576px){
  header, .hero, .features-section, .testimonials, footer{
    padding: 0;
    margin: 0;
  }
  .hero-content h1{
    font-size: 2.3rem;
  }
  .hero-content p{
    font-size: 1rem;
  }
  .feature-item {
    padding: 0;
    margin: 0;
  }
  .last{
    padding: 2rem;
  }
  .features-section .features{
    padding: 0.5rem;
    font-size: 12px;
  }
 .feature-item h3{
  background-color: hsl(13, 100%, 96%);
  padding: 5px;  
 }
 .feature-item p, .feature-intro p{
  font-size: 14px;
 }
 .feature-intro p{
  text-align: center;
 }

 .last .container .content h1{
  font-size: 2.5rem;
  width: 100%;
  padding: 20px;
 }
}

@media screen and (max-width: 481px){
  body{
    padding: 0;
    margin: 0;
  }
  .hero .hero-images img{
    width: 100%;
  }
  .hero .hero-content h1, .features .feature-intro h2, .testimonials h1{
    font-size: 2rem;
    width: 100%;
  }
  .testimonials h1{
    margin-bottom: 0;
  }
  .testimonials .container{
    margin-top: 50px;
  }
  .hero .container{
    margin-top: 0px;
    padding: 1rem;
  }
  header {
    padding: 1rem;
  }
  .hero .hero-content  p{
    padding: 1rem;
  }
 .feature-item h3{
  background-color: hsl(13, 100%, 96%);
  padding: 5px;  
 }
 .feature-item p, .feature-intro p{
  font-size: 14px;
 }
 .feature-intro p{
  text-align: center;
 }
 .testimonial-item{
  margin-top: 20px;
 }
  footer .first .icon{
    gap: 10px;
    font-size: 3rem;
 }
  footer .first .image img{
    justify-content: center;
    align-items: center;
 } 
 .features-section .features-list .feature-item .feature h3, .features-section .features-list .feature-item span, .features-section .features-list .feature-item .feature h3, .features-section .features-list .feature-item .feature p{
  font-size: 12px;
}
}

@media screen and (max-width: 350px){
   h3{
    font-size: 12px;
  }
  .last .container .content h1{
    font-size: 2rem;
  }
  footer .container{
    position: relative;
    left: -40px;
  }
  .features-section .features-list .feature-item .feature h3, .features-section .features-list .feature-item span, .features-section .features-list .feature-item .feature h3, .features-section .features-list .feature-item .feature p{
    font-size: 12px;
  }
}