/* Reset default */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url("../images/hero4.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Tetap */
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.9rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.5;
}

.btn-survey {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color); /* Kuning Ceria */
  color: var(--white);
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 20px; /* Sesuai permintaan: tanpa border-radius */
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-survey:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

/* ===== Sambutan Section ===== */
.sambutan-section {
  padding: 60px 20px;
  background-color: var(--bg-light); /* krem muda */
  border: 2px solid #c0c17d;
  color: var(--text-color); /* abu tua */
  font-family: "Poppins", sans-serif;
  margin-top: 5px;
}

.sambutan-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.sambutan-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.sambutan-text {
  flex: 1;
  min-width: 280px;
}

.sambutan-text h2 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary-color);
  text-align: center;
}

.sambutan-divider {
  width: 550px;
  height: 4px;
  background-color: var(--accent-color); /* bisa pakai warna sekolah */
  margin: 10px auto;
  margin-bottom: 30px; /* ini yang membuat divider di tengah */
  border-radius: 2px;
}

.sambutan-text p {
  margin-bottom: 20px;
  text-align: justify;
  font-size: 16px;
  line-height: 1.8;
}

.sambutan-text .salam {
  font-style: italic;
  color: var(--secondary-color); /* Hijau yang lembut */
  margin-bottom: 10px;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
  }

  .sambutan-text {
    padding: 0 10px;
    text-align: justify;
  }

  .sambutan-text h2 {
    font-size: 24px;
  }

  .sambutan-divider {
    width: auto;
    height: 3px;
    margin: 0 auto 20px auto;
  }
}

@media (max-width: 576px) {
  .sambutan-text {
    font-size: 15px;
  }

  .sambutan-text h2 {
    font-size: 20px;
  }

  .sambutan-divider {
    width: 100%;
    max-width: 200px;
  }

  .sambutan-image img {
    max-width: 250px;
  }
}
