/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

.container {
  width: 90%;
  margin: auto;
  max-width: 1200px;
}

/* Hero Section */
.hero {
  background: url('/hero-image.png') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  z-index: 1;
  max-width: 600px;
  padding: 20px;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}

.button {
  background-color: #28a745;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  margin: 10px 5px;
}

.button:hover {
  background-color: #218838;
  transform: scale(1.05);
}

/* Section Styles */
.section {
  padding: 60px 0;
  text-align: center;
}

.section h2 {
  font-size: 2.2em;
  margin-bottom: 0.5em;
  color: #333;
}

/* Flexbox Layout for Benefits, Testimonials, FAQ */
.benefits, .testimonials, .faq {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.benefit-item, .testimonial, .faq-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 300px;
  margin: 10px;
  text-align: center;
}

/* Mengatur gambar di dalam .benefit-item */
.benefit-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto 15px;
}

/* Mengatur gambar dalam .product dan .image-container */
.product img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.image-container {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 20px;
  padding: 10px;
  background-color: #f4f4f4;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Footer Styles */
.footer {
  background-color: #333;
  color: #fff;
  padding: 15px;
  text-align: center;
}

.footer a {
  color: #ccc;
  text-decoration: none;
}

/* Progress Bar Styles */
.discount-timer {
  text-align: center;
  margin: 20px 0;
}

.progress-bar {
  background: #ddd;
  border-radius: 8px;
  overflow: hidden;
  height: 20px;
  width: 80%;
  margin: 20px auto;
  position: relative;
}

.progress-fill {
  background: #28a745;
  height: 100%;
  width: 100%;
  transition: width 1s;
}

/* Responsif untuk Product Section */
.product-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 45%;
  max-width: 500px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
  .product {
    width: 100%;
    max-width: none;
  }
}
