/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #fff8dc, #ffd700);
  color: #123c2f;
}

/* Logo */
.logo-wrapper {
  text-align: center;
  margin: 30px 0 0;
}

.logo-img {
  width: 100px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero .highlight {
  color: #006400;
}

.hero p {
  margin-bottom: 20px;
  font-size: 16px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-outline {
  border: 2px solid #006400;
  color: #006400;
  background: transparent;
}

.btn-outline:hover {
  background: #006400;
  color: white;
}

.btn-fill {
  background: #ffd700;
  color: #000;
}

.btn-fill:hover {
  background: #f5c518;
}

/* Banner Slider */
.banner {
  width: 100%;
  overflow: hidden;
}

.slider {
  display: flex;
}

.slide {
  width: 100%;
  display: none;
}

.slide.active {
  display: block;
}

/* Konten */
.konten {
  padding: 20px;
}

/* Fitur Section */
.fitur-section {
  padding: 40px 20px;
  background: #fff8dc;
}

/* === FITUR GRID FIX === */
.fitur-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Default 4 kolom desktop */
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

/* Responsive Tablet & Mobile */
@media (max-width: 768px) {
  .fitur-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 kolom untuk tablet & HP */
  }
}

@media (max-width: 480px) {
  .fitur-grid {
    grid-template-columns: repeat(2, 1fr); /* Pastikan 2 kolom di HP kecil (≤ 380px) */
    gap: 12px;
  }
}

/* === FITUR ITEM === */
.fitur-item {
  background: white;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.fitur-item:hover {
  transform: translateY(-4px);
}

.fitur-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.fitur-item h3 {
  font-size: 14px;
  color: #006837;
  margin-bottom: 6px;
  line-height: 1.2;
}

.fitur-item p {
  font-size: 13px;
  color: #444;
  line-height: 1.4;
}
/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: #fff8dc;
  font-size: 12px;
  color: #333;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .fitur-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .fitur-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .fitur-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .fitur-item h3 {
    font-size: 13px;
  }

  .fitur-item p {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .fitur-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
