body {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0;
  background: #fff;
  font-family: 'Poppins';
}

.container {
  width: 100%;
  max-width: 1463px;
  height: auto;
  background-color: transparent;
  overflow: hidden;
  margin: 0 auto;
}

.logo {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 110px;
  height: 80px;
  background-image: url(AutoKlogo.png);
  background-size: cover;
}

.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin-right: 20px;
  margin-top: 40px;
}

.nav-item {
  color: black;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
}

.hero-section {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  text-align: center;
  padding-top: 100px;
}

.headline {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
}

.subtext {
  font-size: 20px;
  margin-bottom: 10px;
}

.btn {
  background-color: rgb(47, 37, 37);
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: rgb(67, 57, 57);
}

.image-section {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 20px auto;
  background-image: url(images/AutoKlogo.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.offer,
.about-title {
  width: 100%;
  max-width: 579px;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin: 20px auto;
}

.services {
  width: 100%;
  max-width: 1324px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.service {
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  text-align: center;
  box-sizing: border-box;
}

.service-title {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-description {
  font-size: 20px;
}

.welcome-section {
  width: 100%;
  max-width: 1341px;
  margin: 40px auto;
  padding: 20px;
  background-color: #F3F3F3;
  border-radius: 10px;
}

.welcome-text {
  padding: 20px;
  font-size: 20px;
  font-weight: 400;
  color: black;
  text-align: center;
}

.footer {
  width: 100%;
  max-width: 450px;
  font-size: 20px;
  text-align: center;
  margin: 20px auto;
}

@media only screen and (max-width: 768px) {
    .container {
        width: 100%;
        height: auto;
        position: relative;
    }

    .navbar {
        justify-content: flex-end;
        gap: 1rem;
        align-items: center;
        margin-top: 20px;

    .hero-section {
      width: 100%;
      text-align: center;
      padding: 50px;
      padding-top: 80px;
    }

    .headline {
        font-size: 28px;
    }

    .subtext {
        font-size: 16px;
    }

    .image-section {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 20px auto;
    }

    .offer,
    .about-title {
        font-size: 30px;
        margin-top: 500px
    }

    .services {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .service {
        width: 100%;
        margin-bottom: 20px;
    }

    .welcome-section {
        width: 100%;
        margin-top: 20px;
        padding: 20px;
    }

    .footer {
        width: 100%;
        font-size: 16px;
        margin-top: 20px;
        padding: 10px 0;
    }
  }
}
