* {
  padding: 0;
  margin: 0;
  font-family: "Plus Jakarta Sans", serif;
}
.hero { 
  background-image: url('/public/main-body.png');
  background-size: cover; /* Memastikan gambar menutupi seluruh area */
  background-position: center; /* Fokus di tengah gambar */
  background-repeat: no-repeat; /* Tidak mengulang gambar */
}

a { 
  text-decoration: none;
  color: gray;
}
ul { 
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
nav { 
  display: flex;
  justify-content: space-between;
  padding: 30px 0px;
  margin-bottom: 60px;
}

main { 
  width: 80%;
  margin: auto;
  margin-bottom: 7em;
}
.logo-img { 
  border-radius: 100px;
  border: 0.1px solid rgb(209, 209, 209);
}

.menu>a { 
  font-weight: 600;
}

.signup { 
  color: #fafafa;
  background-color: #2EA3DB;
  padding: 7px 10px;
  border-radius: 5px;
}

/* Header / Hero */
header { 
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 0;
}
header h1 { 
  font-size: 60px;
}
header p { 
  font-weight: 600;
  font-size: 20px;
}
header button { 
  background-color: transparent;
  border: none;
}
.spanBlue { 
  display: inline-block;
  color: #2EA3DB;
}

header>.header-left { 
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.buttons>button { 
  padding: 10px;
  font-size: 20px;
  background-color: #2EA3DB;
  color: #fdfdfd;
  border-radius: 5px;
  transition: 0.2s ease-in;
  margin-bottom: 5em;
}
.buttons>button:hover { 
  background-color: #18739e;
  cursor: pointer;
}
.header-left p { 
  font-weight: 300;
  color: #5e5e5e;
  line-height: 1.5;
}

/* Untuk layar di bawah 1024px (Tablet dan Laptop kecil) */
@media screen and (max-width: 1024px) {
  header {
    grid-template-columns: 1fr; /* Layout menjadi 1 kolom */
    text-align: center; /* Teks di tengah */
  }
  header h1 {
    font-size: 40px; /* Ukuran teks menyesuaikan */
  }
  header p {
    font-size: 18px; /* Ukuran paragraf lebih kecil */
  }
  header img {
    max-width: 80%; /* Gambar tidak melebihi lebar layar */
    margin: 0 auto; /* Tengah */
  }
  .buttons>button {
    font-size: 18px; /* Ukuran tombol lebih kecil */
  }
}

/* Untuk layar di bawah 768px (Tablet dan HP besar) */
@media screen and (max-width: 768px) {
  nav ul {
    display: flex;
    gap: 15px; /* Kurangi jarak antar link */
  }
  header h1 {
    font-size: 32px; /* H1 lebih kecil */
  }
  header p {
    font-size: 16px; /* Paragraf lebih kecil */
    line-height: 1.4;
  }
  .buttons>button {
    padding: 8px; /* Kurangi padding tombol */
    font-size: 16px; /* Ukuran tombol lebih kecil */
  }
}

/* Untuk layar di bawah 480px (HP kecil) */
@media screen and (max-width: 480px) {
  nav {
    /* flex-direction: column; Navbar menjadi vertikal */
    align-items: center;
  }
  nav ul {
    gap: 40px; /* Kurangi jarak antar link */
  }
  header h1 {
    font-size: 24px; /* H1 lebih kecil */
  }
  header p {
    font-size: 14px; /* Paragraf lebih kecil */
  }
  header img {
    max-width: 100%; /* Gambar memenuhi layar */
  }
  .buttons>button {
    padding: 6px; /* Padding tombol lebih kecil */
    font-size: 14px; /* Ukuran tombol lebih kecil */
  }
}

/* Support */
.support-section { 
  display: flex;
  justify-content: center;
  background-color: #fdfdfd;
  margin-bottom: 5em;
}
.container {
  width: 100%;
  padding: 0 10%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.left, .right {
  flex: 1;
}

/* Bagian Kiri */
.left h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}
.left p { 
  line-height: 1.6;
}

.left .description {
  font-size: 16px;
  color: #777;
  margin-bottom: 30px;
}

.left .ratings {
  display: flex;
  gap: 20px;
}

.left .rating {
  text-align: center;
}

.left .stars {
  font-size: 20px;
  color: gold;
}

.left .source {
  color: #777;
  font-size: 14px;
}

/* Bagian Kanan */
.right .feature {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.right .feature img {
  width: 40px;
  height: 40px;
  display: inline-block;
}

.right .feature h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.right .feature p {
  font-size: 14px;
  color: #777;
  margin: 0;
  line-height: 2;
}

/* Responsivitas */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 20px;
  }

  .left h1 {
    font-size: 28px;
  }

  .right .feature {
    flex-direction: column;
    align-items: flex-start;
  }

  .right .feature img {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .left h1 {
    font-size: 24px;
  }

  .left .description {
    font-size: 14px;
  }

  .right .feature h3 {
    font-size: 16px;
  }

  .right .feature p {
    font-size: 13px;
  }
}


/* Features */
.features-section {
  text-align: center;
  padding: 2rem;
  background-color: #ffffff;
  padding: 0 10%;
  margin-bottom: 5em;

}

.features-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.features-description {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 2rem;
}

.features-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  /*gap: 1rem;*/
}

.feature-card {
  background-color: #ffffff;
  border: 0.1px solid #dddddd;
  border-radius: 8px;
  padding: 1rem;
  width: 30%;
  /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
  text-align: left;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
}

.feature-icon {
  height: 250px;
  width: 100%;
  background-color: #a5c9d8;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-icon img {
  max-width: 250px;
  max-height: 250px;
}

.get-started-btn {
  background-color: #2EA3DB;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 2rem;
  transition: background-color 0.3s ease;
}

.get-started-btn:hover {
  background-color: #2585b1;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .features-container {
      flex-direction: column;
      align-items: center;
  }

  .feature-card {
      width: 80%;
  }
}

@media (max-width: 480px) {
  .features-section h2 {
      font-size: 1.5rem;
  }

  .features-description {
      font-size: 0.9rem;
  }

  .get-started-btn {
      padding: 0.6rem 1.2rem;
      font-size: 0.9rem;
  }
}


/* Footer */
.footer {
  background-color: #1E6FB3;
  text-align: center;
  padding: 1rem;
  color: #ffffff;
  font-size: 1rem;
  padding: 50px 0;
}

.footer p {
  margin: 0;
}

/* Responsif */
@media (max-width: 768px) {
  .footer {
    font-size: 0.9rem; /* Menyesuaikan ukuran font untuk perangkat lebih kecil */
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .footer {
    font-size: 0.8rem; /* Ukuran font lebih kecil untuk layar ponsel */
    padding: 0.6rem;
  }
}