:root {
  --green: #2a8a6e;
  --green-dark: #1d6652;
  --dark: #1a1a1a;
  --gray: #666;
  --light-gray: #f7f7f7;
  --border: #e0e0e0;
  --white: #fff;
}

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* ── Header ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 60px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img { height: 44px; }
.logo-text {
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

nav ul { display: flex; list-style: none; gap: 36px; }
nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav a.active,
nav a:hover { color: var(--green); border-bottom-color: var(--green); }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switcher { display: flex; align-items: center; gap: 6px; }
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gray);
  padding: 2px 0;
  transition: color .2s;
}
.lang-btn.active { color: var(--green); }
.lang-sep { color: var(--border); font-weight: 300; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  background-color: #333;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
  opacity: 0.80;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 48px 60px;
  max-width: 860px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero p {
  font-size: 22px;
  color: rgba(255,255,255,.95);
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}

/* ── Sections ── */
.section {
  padding: 80px 60px;
}
.section-center { text-align: center; }
.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--gray);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ── 4R Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.card {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.card-icon { width: 52px; height: 52px; margin: 0 auto 16px; display: block; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.card p { font-size: 13.5px; color: var(--gray); line-height: 1.65; text-align: left; }

/* ── Events Grid ── */
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.event-card {
  position: relative;
  min-height: 190px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #1a1a1a;
}
.event-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.80;
}
.event-card-body {
  position: relative;
  z-index: 1;
  padding: 16px;
}
.event-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.event-card-plain {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  background: var(--white);
}
.event-card-plain h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.4;
}

.btn-read-more {
  display: inline-block;
  padding: 6px 16px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  transition: background .2s;
  align-self: flex-start;
}
.btn-read-more:hover { background: var(--green-dark); }

/* ── Page Header ── */
.page-header {
  padding: 60px 60px 36px;
}
.page-header h1 { font-size: 36px; font-weight: 800; }

.page-intro {
  padding: 0 60px 48px;
  font-size: 15px;
  line-height: 1.85;
  text-align: justify;
}

/* ── Vision / Mission ── */
.vision-mission {
  margin: 0 60px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.vision-box, .mission-box { padding: 40px 36px; }
.vision-box { border-right: 1px solid var(--border); }
.vision-box h2, .mission-box h2 {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
}
.vision-box p { font-size: 14px; line-height: 1.75; color: var(--gray); text-align: justify; }

.mission-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.mission-item { display: flex; gap: 20px; align-items: center; }
.mission-icon { width: 100px; height: 100px; flex-shrink: 0; }
.mission-item p { font-size: 14px; line-height: 1.65; color: var(--gray); text-align: justify; }

/* ── Team ── */
.team-section {
  padding: 60px;
  text-align: center;
}
.team-grid-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 680px;
  margin: 0 auto 56px;
}
.team-grid-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 450px;
  margin: 0 auto;
}
.team-card { text-align: center; }
.team-card img {
  width: 100%;
  max-width: 190px;
  height: 230px;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  margin-bottom: 10px;
}
.team-card h4 { font-size: 15px; font-weight: 700; }
.team-card p { font-size: 13px; color: var(--gray); }

/* ── Ecosystem ── */
.ecosystem-section {
  padding: 60px;
  text-align: center;
  background: var(--white);
}
.ecosystem-section .section-title { margin-bottom: 40px; }
.ecosystem-group { margin-bottom: 40px; }
.ecosystem-group:last-child { margin-bottom: 0; }
.ecosystem-group h3 { font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 32px;
}
.logo-grid img { height: 44px; width: auto; object-fit: contain; }

/* ── Contact ── */
.contact-wrapper {
  padding: 80px 60px;
}
.contact-wrapper h1 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 56px;
}
.contact-headline {
  font-size: 26px;
  font-weight: 700;
  max-width: 580px;
  margin: 0 auto 20px;
  text-align: center;
  line-height: 1.35;
}
.contact-sub {
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto 100px;
  text-align: center;
  font-size: 15px;
}
.contact-info {
  max-width: 500px;
}
.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 32px;
}
.contact-item { margin-bottom: 28px; }
.contact-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--gray); line-height: 1.5; }

/* ── Footer ── */
footer {
  padding: 20px 60px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--gray);
}

/* ── Language toggle ── */
html[data-lang="en"] .lang-id { display: none; }
html[data-lang="id"] .lang-en { display: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .site-header { padding: 14px 24px; }
  nav ul { gap: 20px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 17px; }
  .section { padding: 60px 24px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .page-header { padding: 40px 24px 24px; }
  .page-intro { padding: 0 24px 40px; }
  .vision-mission { grid-template-columns: 1fr; margin: 0 24px 48px; }
  .vision-box { border-right: none; border-bottom: 1px solid var(--border); }
  .team-section { padding: 40px 24px; }
  .team-grid-top { max-width: 100%; }
  .team-grid-bottom { max-width: 100%; }
  .ecosystem-section { padding: 40px 24px; }
  .contact-wrapper { padding: 60px 24px; }
}

@media (max-width: 600px) {
  .site-header { flex-wrap: wrap; }
  nav ul { gap: 14px; }
  nav a { font-size: 11px; letter-spacing: 1px; }
  .cards-grid { grid-template-columns: 1fr; }
  .team-grid-top { grid-template-columns: 1fr 1fr; }
  .team-grid-bottom { grid-template-columns: 1fr 1fr; }
}
