/* styles.css */


body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

h1, h2, h3 {
  color: #2c3e50;
}

.hero {
  background-color: #2c3e50;
  background: url('img/hero-bg.jpg') center/cover no-repeat; 
  color: #2c3e50;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  margin-top: auto;
  font-size: 3.5em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.main-car {
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
}

.services {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
}

.services h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
}

.service {
  display: inline-block;
  width: 30%;
  margin: 20px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  vertical-align: top;
}

.service img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.service h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.service p {
  font-size: 1em;
  color: #666;
}

.how-it-works {
  padding: 60px 20px;
  background-color: #e9ecef;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.how-it-works .description {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.timeline {
  display: flex;
  justify-content: space-around;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.step {
  text-align: center;
  padding: 20px;
  border-left: 2px solid #2c3e50;
  position: relative;
}

.step:first-child {
  border-left: none;
}

.icon {
  background-color: #2c3e50;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  margin: 0 auto 10px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-35px);
}

.step h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  margin-top: 30px;
}

.step p {
  font-size: 0.9em;
  color: #777;
}

.advantages {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.advantages h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
}

.adv-list {
  display: flex;
  justify-content: space-around;
  max-width: 800px;
  margin: 0 auto;
}

.adv-list div {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  color: #2c3e50;
}

.stats {
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('img/stats-bg.jpg') center/cover no-repeat; /* Replace with your stats background image */
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.stats h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
}

.stat-boxes {
  display: flex;
  justify-content: space-around;
  max-width: 900px;
  margin: 0 auto;
}

.stat-boxes div {
  text-align: center;
}

.stat-boxes h3 {
  font-size: 3em;
  margin-bottom: 10px;
}

.stat-boxes p {
  font-size: 1.2em;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
      padding: 80px 20px;
  }

  .hero h1 {
      font-size: 2.8em;
  }

  .services .service {
      width: 80%;
      margin: 20px auto;
      display: block;
  }

  .timeline {
      flex-direction: column;
      align-items: center;
  }

  .step {
      border-left: none;
      padding-left: 0;
      margin-bottom: 40px;
  }

  .step .icon {
      left: 50%;
      transform: translateX(-50%) translateY(-40px);
  }

  .advantages .adv-list {
      flex-direction: column;
      align-items: center;
  }

  .advantages .adv-list div {
      margin: 15px auto;
      width: 80%;
  }

  .stat-boxes {
      flex-direction: column;
      align-items: center;
  }

  .stat-boxes div {
      margin-bottom: 30px;
  }
}

