/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #1a7a4a;
  --green-light: #25a065;
  --green-dark:  #145c38;
  --gold:        #c9a227;
  --gold-light:  #e8c04a;
  --cream:       #faf8f3;
  --white:       #ffffff;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-400:    #9ca3af;
  --gray-600:    #4b5563;
  --gray-700:    #374151;
  --gray-900:    #111827;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow:      0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14);
  --transition:  .25s ease;
  --font:        'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 15px; font-weight: 700; color: var(--gray-900); line-height: 1.2; }
.logo-sub  { font-size: 11px; color: var(--green); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--green); background: var(--gray-100); }
.btn-nav {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.btn-nav:hover { background: var(--green-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d4a2a 0%, #1a7a4a 50%, #145c38 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 1160px;
  width: 100%;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

/* Override container centering inside hero */
.hero > .hero-content.container {
  margin-left: auto;
  margin-right: auto;
}

.hero-title,
.hero-badge,
.hero-desc,
.hero-actions,
.hero-stats {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: .03em;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}
.hero-title .accent { color: var(--gold-light); }

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
}
.hero-desc strong { color: var(--gold-light); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--gray-900);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,.4); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.btn-white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); }
.btn-full { width: 100%; justify-content: center; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  backdrop-filter: blur(8px);
  width: fit-content;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.8rem; font-weight: 800; color: var(--gold-light); line-height: 1; }
.stat-label { display: block; font-size: 12px; color: rgba(255,255,255,.75); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

.hero-scroll {
  position: absolute;
  bottom: 100px;
  right: max(24px, calc((100% - 1160px) / 2 + 24px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 1;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: none;
}
.hero-scroll:hover { color: rgba(255,255,255,.9); }

/* Animated mouse icon */
.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  transition: border-color 0.3s;
}
.hero-scroll:hover .scroll-mouse { border-color: rgba(255,255,255,.9); }
.scroll-wheel {
  width: 3px;
  height: 7px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0);   opacity: 1; }
  60%  { transform: translateY(10px); opacity: 0; }
  61%  { transform: translateY(0);   opacity: 0; }
  100% { transform: translateY(0);   opacity: 1; }
}

/* ===========================
   SECTIONS
=========================== */
.section { padding: 88px 0; }
.section-alt { background: var(--gray-50); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 600px;
  margin-bottom: 48px;
}

/* ===========================
   ABOUT
=========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text p { color: var(--gray-600); margin-bottom: 16px; font-size: 15.5px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
}

.about-cards { display: flex; flex-direction: column; gap: 14px; }
.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.info-icon { font-size: 24px; flex-shrink: 0; }
.info-label { font-size: 12px; color: var(--gray-400); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.info-value { font-size: 15px; font-weight: 600; color: var(--gray-900); margin-top: 2px; }

/* ===========================
   PROGRAM TABS
=========================== */
.program-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 100px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn:hover { border-color: var(--green); color: var(--green); }
.tab-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26,122,74,.3);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.program-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--green); }
.program-icon { font-size: 2rem; margin-bottom: 14px; }
.program-card h3 { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.program-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.highlight-card {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffbf0, #fff8e1);
}
.highlight-card:hover { border-color: var(--gold); box-shadow: 0 12px 40px rgba(201,162,39,.2); }

/* ===========================
   STRUKTUR
=========================== */
.org-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.org-group-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
  padding-left: 4px;
  border-left: 3px solid var(--green);
  padding-left: 12px;
}
.org-group {
  display: flex;
  flex-direction: column;
}
.org-cards-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.org-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  min-width: 180px;
  flex: 1;
  max-width: 260px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.org-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.org-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 14px;
}
.pembina .org-avatar { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.pengurus .org-avatar { background: linear-gradient(135deg, var(--green), var(--green-light)); }
.pengawas .org-avatar { background: linear-gradient(135deg, #6366f1, #8b5cf6); }

.org-name { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.org-role { font-size: 13px; color: var(--gray-400); font-weight: 500; }

/* ===========================
   CTA
=========================== */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 80px 0;
}
.cta-inner {
  text-align: center;
  color: var(--white);
}
.cta-icon { font-size: 3rem; margin-bottom: 20px; }
.cta-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; color: var(--white); }
.cta-desc { font-size: 16px; color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===========================
   KONTAK
=========================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-header {
  text-align: left;
}
.contact-header .section-label {
  justify-content: flex-start;
  margin-left: 0;
}
.contact-header .section-title {
  text-align: left;
  margin-bottom: 0;
}
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.3s ease;
}
.contact-item:hover {
  transform: translateX(8px);
}
.contact-icon { 
  font-size: 20px; 
  flex-shrink: 0; 
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 50%;
  margin-top: 2px;
}
.contact-label { 
  font-size: 11px; 
  color: var(--gray-400); 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: .12em; 
  margin-bottom: 4px;
}
.contact-value { 
  font-size: 15px; 
  color: var(--gray-700); 
  line-height: 1.6;
}
.contact-value a { 
  color: var(--green); 
  font-weight: 600; 
  text-decoration: none;
}
.contact-value a:hover { 
  text-decoration: underline; 
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-header {
    text-align: center;
  }
  .contact-header .section-label {
    justify-content: center;
  }
  .contact-header .section-title {
    text-align: center;
  }
}


/* ===========================
   FOOTER
=========================== */
.footer { background: var(--gray-900); color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-main { color: var(--white); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .hero-scroll { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; border-radius: var(--radius); }
  .hamburger { display: flex; }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .stat-divider { width: 60px; height: 1px; }

  .org-cards-row { flex-direction: column; }
  .org-card { max-width: 100%; }

  .footer-links { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .hero { padding: 90px 0 80px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .program-grid { grid-template-columns: 1fr; }
  .hero-stats { padding: 16px 20px; }
  .contact-form { padding: 24px 20px; }
}
