/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5; /* Ganti warna latar belakang menjadi lebih terang */
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #0066cc; /* Warna biru yang lebih cerah */
  color: #fff;
  padding: 40px 0; /* Menambah tinggi header */
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 3rem; /* Menambah ukuran font judul */
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
  color: #ffcc00; /* Warna teks lebih terang untuk kontras */
}

header h2 {
  font-size: 1.5rem;
  font-weight: normal;
  color: #fff;
  margin-top: 10px;
}

/* Navigation */
nav ul {
  list-style: none;
  text-align: center;
  padding: 15px 0;
}

nav ul li {
  display: inline;
  margin: 0 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #ffcc00;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

nav ul li a:hover {
  color: #ffcc00;
  transform: scale(1.1);
}

nav ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Main content */
main {
  padding: 40px 0;
  text-align: center;
}

section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

section p {
  font-size: 1.2rem;
  color: #555;
  margin: 20px auto;
  max-width: 800px;
}

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 40px;
}

.feature-card {
  background-color: #fff;
  padding: 20px;
  margin: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 30%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  background-color: #0066cc;
  color: #fff;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 1rem;
}

footer p {
  color: #ccc;
}

/* Buttons */
button {
  background-color: #ffcc00;
  color: #fff;
  padding: 12px 25px;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
  background-color: #e6b800;
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .feature-card {
    width: 45%;
  }

  button {
    padding: 15px 30px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .feature-card {
    width: 100%;
  }

  header h1 {
    font-size: 2rem;
  }

  button {
    width: 100%;
  }
}
