:root {
  --hijau-lembut: #dae6da;
  --hijau-tua: #51805b;
  --hijau-muda: #a8c0a5;
  --putih: #ffffff;
  --hitam: #1c1c1c;
}

/* Global */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--hijau-lembut);
  color: var(--hitam);
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: var(--putih);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
}

.navbar a {
  text-decoration: none;
  color: var(--hijau-tua);
  margin: 0 1rem;
  font-weight: 600;
}

/* Section umum */
.section {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
  background-color: #fff;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #2d4739;
  margin-bottom: 2rem;
}

.center-text {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #333;
}

/* Hero */
.hero {
  background-color: var(--hijau-lembut);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero-text h1 {
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin-top: 0;
  color: #2d4739;
}

.hero-slider {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-box {
  width: 100%;
  max-width: 500px;
  height: clamp(200px, 40vw, 300px);
  background-color: #bcd1b8;
  border-radius: 10px;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

.card {
  border: 1px solid var(--hijau-muda);
  border-radius: 10px;
  background: var(--putih);
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1rem;
  flex: 1;
}

.card-body h3 {
  margin-top: 0;
  color: #2d4739;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

/* Button */
.btn {
  background: #2d4739;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: inline-block;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #406c4a;
}

.btn.small {
  padding: 0.3rem 0.7rem;
  font-size: 0.9rem;
}

/* Highlight box */
.highlight-box {
  background-color: var(--hijau-lembut);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  gap: 1.5rem;
}

.highlight-box.alt {
  background-color: #f2f1f0;
}

.highlight-text {
  flex: 1;
  padding: 1rem;
}

.highlight-img {
  flex: 1;
  background-color: #aaa;
  min-height: 220px;
  border-radius: 10px;
}

/* Visi Misi */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

/* Galeri */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  padding: 1rem;
}

.gallery-item img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive tambahan */
@media(max-width: 768px){
  .navbar {
    flex-direction: column;
  }
  .navbar a {
    margin: 0.5rem 0;
  }
}

/* Section Profil */
.highlight-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 50px 10%;
}

.highlight-text {
    flex: 1;
}

.highlight-text h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.highlight-text p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.highlight-text .btn.small {
    font-size: 14px;
    padding: 8px 16px;
}

/* Thumbnail YouTube */
.highlight-img {
    flex: 1;
    max-width: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.highlight-img img {
    width: 100%;
    display: block;
    cursor: pointer;
}

.highlight-img:hover {
    transform: scale(1.05);
}

/* Responsive biar rapi di HP */
@media (max-width: 768px) {
    .highlight-box {
        flex-direction: column;
        text-align: center;
    }
    .highlight-img {
        margin-top: 20px;
        max-width: 100%;
    }
}
.yt-thumb {
  width: 300px;
  height: 200px;
  object-fit: cover;
}


.yt-thumb:hover {
  transform: scale(1.05);
}


.program {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}
.program h2 {
    margin-bottom: 30px;
    font-size: 26px;
}
.program-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.program-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.program-item h3 {
    margin: 10px 0;
    font-size: 18px;
}
.program-item p {
    font-size: 14px;
    color: #555;
}

.main-header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 20px;
}

.container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.donasi-btn a {
    background: #2c7a7b;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.donasi-btn a:hover {
    background: #205e5f;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.main-nav a.active {
    background: #2c7a7b;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
}




