body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: #f9f9f9;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}
.top-bar {
  background: white;
  color: white;
  padding: 2px 0; /* cukup tipis tapi tetap rapi */
  font-size: 14px; /* kecilkan sedikit font header */
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px; /* kecilkan sedikit agar lebih serasi */
  font-weight: bold;
  color: #222;
}

.main-nav {
  display: flex;
  gap: 16px; /* kurangi gap antar menu */
}

.main-nav a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px; /* kecilkan font menu */
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #e6c200;
}

/* === INFO BAR === */
.info-bar {
  background: linear-gradient(135deg, #2E7D32, #66BB6A); /* gradasi hijau */
  color: white;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

.info-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  flex-wrap: wrap;
}

.left-text, .right-info span {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.left-text a {
  color: #fff176; /* kuning pastel */
  font-weight: bold;
  text-decoration: none;
  margin-left: 5px;
  transition: color 0.3s;
}

.left-text a:hover {
  color: #ffee58;
}

.right-info i {
  margin-right: 5px;
  color: #c8f7c5;
}


/*section home*/
.hero-section {
  position: relative;
  background: url('../images/hero.jpg') no-repeat center center/cover;
  color: white;
  padding: 100px 20px;
  text-align: center;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* overlay hitam transparan */
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
.btn-donate {
  background: #e6c200;
  padding: 10px 20px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.btn-donate:hover {
  background: #e6c200;
  color: #111;
}
.card, .event, .testimonial, .volunteer, .story {
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.about-section, .causes-section {
  background: white;
  margin-top: 20px;
  padding: 40px 20px;
}
.causes-section .cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.causes-section .card {
  background: #f1f1f1;
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
  min-width: 250px;
}
.card img {
  width: 100%;
  height: auto;
}
.main-footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px 0;
}
.event-section, .testimonial-section, .volunteer-section, .story-section {
  background: #fff;
  padding: 60px 20px;
  margin-top: 20px;
}
.event-list, .testimonials, .volunteers, .stories {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.event, .testimonial, .volunteer, .story {
  background: #f1f1f1;
  padding: 20px;
  border-radius: 10px;
  flex: 1;
  min-width: 280px;
  text-align: center;
}
.volunteer img, .story img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.testimonial p {
  font-style: italic;
}

/* Brita */
.news-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.news-subtitle {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 15px;
}

.news-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.news-card {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  padding: 20px;
  text-align: left;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
  color: #777;
}

.news-card h3 {
  font-size: 18px;
  margin: 10px 0;
  color: #222;
}

.news-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.news-card a {
  text-decoration: none;
  font-weight: bold;
  color: #000;
}
.news-card a:hover {
  color: #ffd600;
}

.cta-button {
  background-color: white;
  color: #25D366;
  font-weight: bold;
  padding: 14px 30px;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s;
}
.cta-button:hover {
  background-color: #e6f9ed;
  color: #1a9f52;
}
