/* style.css */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, sans-serif;
}

body{
  line-height:1.6;
}

/* Navbar */

header{
  background:#0f172a;
  color:white;
  padding:20px;
}

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

.logo{
  font-size:28px;
}

.nav-links{
  display:flex;
  list-style:none;
  gap:20px;
}

.nav-links a{
  color:white;
  text-decoration:none;
  font-size:18px;
}

/* Hero Section */

.hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  padding:60px 20px;
  flex-wrap:wrap;
}

.hero-text{
  flex:1;
}

.hero-text h2{
  font-size:42px;
  margin-bottom:15px;
}

.hero-text p{
  margin-bottom:20px;
  font-size:18px;
}

.hero-text button{
  padding:12px 25px;
  border:none;
  background:#38bdf8;
  color:white;
  font-size:16px;
  border-radius:5px;
  cursor:pointer;
}

.hero-image{
  flex:1;
  text-align:center;
}

.hero-image img{
  width:100%;
  max-width:500px;
  border-radius:10px;
}

/* Features */

.features{
  padding:60px 20px;
  text-align:center;
}

.features h2{
  margin-bottom:40px;
  font-size:36px;
}

.feature-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.feature-box{
  background:#f1f5f9;
  padding:30px;
  border-radius:10px;
}

.feature-box h3{
  margin-bottom:10px;
}

/* Testimonials */

.testimonials{
  background:#e2e8f0;
  padding:60px 20px;
  text-align:center;
}

.testimonials h2{
  margin-bottom:40px;
  font-size:36px;
}

.testimonial-container{
  display:flex;
  gap:20px;
  justify-content:center;
  flex-wrap:wrap;
}

.testimonial-box{
  background:white;
  padding:25px;
  border-radius:10px;
  max-width:350px;
}

/* Footer */

footer{
  background:#0f172a;
  color:white;
  text-align:center;
  padding:20px;
}

/* Responsive */

@media(max-width:768px){

  .hero{
    flex-direction:column;
    text-align:center;
  }

  .hero-text h2{
    font-size:32px;
  }

  .navbar{
    flex-direction:column;
    gap:15px;
  }

  .nav-links{
    flex-direction:column;
    text-align:center;
  }
}