/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variables */
:root {
  --maroon: #660300;
  --dark: #340705;
  --gold: #ffbf00;
  --light-gold: #ffdc73;
  --orange: #e95007;
  --text: #333;
}

/* Body */
html, body {
  height: 100%;           /* full viewport height */
  margin: 0;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.6;
  background: #fdfdfd;
  color: #333;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  background: #660300; /* Maroon */
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  width: 50px;
  margin-right: 15px;
}

header h1 {
  font-size: 20px;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff; /* Light Gold */
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  color: #ffbf00; /* Gold */
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(102,3,0,0.75), rgba(102,3,0,0.75)),
              url('banner.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;

  /* Ukuran konsisten */
  min-height: 400px;   /* bisa disesuaikan: 400px / 600px */
  height: 400px;       /* pakai fixed agar sama persis */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 20px;       /* bukan lagi padding besar */
  box-sizing: border-box;
}

.hero h2 {
  font-size: 40px;
  margin-bottom: 15px;
  color: #ffdc73;
  text-shadow: 
  2px 2px 6px rgba(0,0,0,0.6),
  4px 4px 12px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(20px);
  animation: textFadeUp 1s ease forwards;
  animation-delay: 0.2s;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;

  opacity: 0;
  transform: translateY(20px);
  animation: textFadeUp 1s ease forwards;
  animation-delay: 0.5s;
}

/* Keyframes */
@keyframes textFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo KPU Sumedang */
.logo-kpu {
  display: block;        /* agar margin auto bisa bekerja */
  margin: 0 auto;        /* center horizontal */
  max-width: 160px;      /* ukuran maksimum agar tidak terlalu besar */
  width: 100%;           /* responsive */
  height: auto;          /* menjaga proporsional gambar */
}

/* Content Section */
.content {
  padding: 50px 20px;
  max-width: 1000px;
  margin: auto;
}

.content h3 {
  font-size: 60px;
  font-weight:bold;
  color: var(--maroon);
  text-align: center;
  margin: 30px 30px;
}

.content p {
  margin-bottom: 15px;
  font-size: 16px;
  text-align: justify;
}

/* Tujuan Orhanik */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(375px, 1fr)); /* lebih lebar */
  gap: 40px; /* beri jarak lebih longgar */
  max-width: 1400px; /* naikkan lebar maksimum */
  margin: 50px auto;
}

.goal-card {
  background: transparent;
  padding: 30px; /* lebih tebal biar proporsional */
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goals h3 {
  font-size: 60px;
  font-weight:bold;
  color: var(--maroon);
  text-align: center;
  margin: 20px 0;
}

.goal-card h4 {
  font-size: 28px; /* naik dari 22px */
  margin-bottom: 20px;
  color: var(--gold);
  text-align: center;
}

.goal-card img {
  width: 300px;  /* 2x lebih besar dari sebelumnya */
  height: auto;
  margin: 25px auto 20px auto;
  display: block;
}

.goal-card p {
  font-size: 15px; /* naik dari 15px */
  line-height: 1.7;
  color: #333;
  text-align: justify;
}

.goal-card:hover {
  transform: scale(1.08); /* zoom lebih dramatis */
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  background: rgba(255, 255, 255, 0.07);
}

/* Alternate background */
.alt-bg {
  background: #f4f6f9;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* Features Section (disesuaikan seperti Manfaat ORHANIK) */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(375px, 1fr)); /* grid responsif seperti .manfaat-grid */
  gap: 40px; /* jarak antar box lebih longgar */
  max-width: 1400px; /* lebar maksimum */
  margin: 50px auto;
}

.feature-box {
  background: #fff; /* bisa diganti transparent jika mau */
  padding: 30px; /* lebih tebal seperti .card */
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: scale(1.08); /* hover zoom lebih dramatis seperti .card */
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.feature-box h4 {
  font-size: 28px; /* lebih besar seperti .card h3 */
  color: var(--gold);
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.feature-box .icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.feature-box img {
  width: 100%;
  max-width: 300px; /* gambar responsive */
  height: auto;
  display: block;
  margin: 20px auto;
  border: none; /* hilangkan border */
}

.feature-box img, .card img {
  border: none !important;
  outline: none;
}

.feature-box p {
  margin-bottom: 10px;
  text-align: justify;
}

.feature-box ul {
  margin-left: 20px;
  list-style: disc;
}

.feature-box ul li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  text-align: justify;
}

/* Manfaat ORHANIK */
.manfaat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(375px, 1fr)); /* lebih lebar */
  gap: 40px; /* jarak lebih longgar */
  max-width: 1400px; /* lebar maksimum lebih besar */
  margin: 50px auto;
}

.card {
  background: transparent;
  padding: 30px; /* lebih tebal */
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.manfaat-header h2 {
  font-size: 60px;
  font-weight: bold;
  color: var(--maroon);
  text-align: center;
  margin: 20px 0;
}

.card h3 {
  font-size: 28px; /* lebih besar */
  margin-bottom: 20px;
  color: var(--gold);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.card .icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.card ul {
  margin-left: 20px;
  list-style: disc;
}

.card ul li {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 10px;
  text-align: justify;
}

.card:hover {
  transform: scale(1.08); /* zoom lebih dramatis */
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  background: rgba(255, 255, 255, 0.07);
}
.card img {
  width: 300px;  /* 2x lebih besar dari sebelumnya */
  height: auto;
  margin: 25px auto 20px auto;
  display: block;
}


/* Images inside feature box */
.feature-box img.calon {
  display: flex;
  margin: 10px auto 15px auto;
  height: 200px;
  width: auto;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.btnpanduan {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  margin: 30px auto;
  text-align: center;

  /* glow default */
  box-shadow: 0 0 15px rgba(255, 191, 0, 0.4), 
              0 0 30px rgba(255, 191, 0, 0.2);
}

.btnpanduan:hover {
  background: var(--light-gold);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(255, 220, 115, 0.7), 
              0 0 40px rgba(255, 220, 115, 0.5), 
              0 0 60px rgba(255, 220, 115, 0.3);
}

/* Footer */
.footer {
  background: #340705; /* Dark Maroon */
  color: #ffdc73;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 40px;
}