/* =========================================================
   RAKAN SUKARELA MUDA
   Responsive CSS — Mobile + Tablet + PC
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --green-dark: #1c2b22;
  --green: #274b40;
  --green-light: #dce6d6;
  --cream: #f7f5ee;
  --white: #ffffff;
  --orange: #c4502b;
  --yellow: #e7a94c;
  --text: #243128;
  --muted: #5b6b5c;
  --border: #d8ddd2;

  --max-width: 1180px;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(28, 43, 34, 0.08);
}

/* =========================
   RESET
   ========================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: "Space Grotesk", Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

/* =========================
   GLOBAL
   ========================= */

.wrap {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

section {
  padding: 90px 0;
}

.sec-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sec-head {
  max-width: 800px;
  margin-bottom: 45px;
}

h1,
h2,
h3 {
  color: var(--green-dark);
  line-height: 1.15;
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -1px;
}

p {
  color: var(--muted);
}

/* =========================
   NAVIGATION
   ========================= */

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 245, 238, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

nav .wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.stamp {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: white;
  border-radius: 8px;
  font-family: "DM Mono", monospace;
  font-size: 13px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.navlinks a {
  position: relative;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
}

.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}

.navlinks a:hover::after {
  width: 100%;
}

.navtoggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font-size: 27px;
  padding: 5px;
}

/* =========================
   HERO
   ========================= */

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 25%, rgba(231, 169, 76, 0.18), transparent 25%),
    var(--green-light);
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--orange);
  font-family: "DM Mono", monospace;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(45px, 7vw, 88px);
  letter-spacing: -4px;
}

.hero h1 span {
  color: var(--orange);
}

.lede {
  max-width: 700px;
  margin-top: 25px;
  font-size: clamp(15px, 1.7vw, 18px);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(196, 80, 43, 0.25);
}

.btn-ghost {
  border: 1px solid var(--green-dark);
  color: var(--green-dark);
}

.btn-ghost:hover {
  background: var(--green-dark);
  color: white;
}

.logbook {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
}

.logbook h3 {
  margin-bottom: 15px;
  font-size: 17px;
}

.logrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.logrow:last-child {
  border-bottom: 0;
}

.num {
  color: var(--orange);
  font-size: 26px;
  font-weight: 700;
}

.label {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

/* =========================
   CARDS
   ========================= */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 15px;
}

/* =========================
   ABOUT
   ========================= */

.about-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 25px;
  margin-bottom: 25px;
}

.map-frame {
  width: 100%;
  height: 210px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 10px;
}

.map-frame svg {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
}

.contact-list li:last-child {
  border-bottom: 0;
}

.ico {
  flex: 0 0 24px;
  color: var(--orange);
}

.ico svg {
  width: 22px;
  height: 22px;
}

/* =========================
   ORGANISATION CHART
   ========================= */

.orgchart {
  padding: 20px 0;
  text-align: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.org-node {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 145px;
  min-height: 52px;
  padding: 10px 16px;
  background: var(--green-light);
  border: 1px solid #bdcbb8;
  border-radius: 9px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.org-node small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.org-node.top {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.org-node.top small {
  color: #dce6d6;
}

.org-connector {
  width: 2px;
  height: 25px;
  margin: 0 auto;
  background: #bdcbb8;
}

.org-row {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* =========================
   WHY SECTION
   ========================= */

#kepentingan {
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--orange);
  font-size: 20px;
}

.why-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

/* =========================
   ACTIVITIES
   ========================= */

.shot-note {
  margin-bottom: 30px;
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  background: #f0eee5;
  color: var(--muted);
  font-size: 14px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.shot-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.shot-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green);
}

.frame-lines {
  width: 100%;
  height: 100%;
  display: block;
}

.shot-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 11px;
  border-radius: 6px;
  background: rgba(28, 43, 34, 0.88);
  color: white;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  pointer-events: none;
}

.shot-tag.completed {
  background: rgba(39, 75, 64, 0.95);
  color: #dce6d6;
  border: 1px solid rgba(220, 230, 214, 0.3);
}

.shot-tag.upcoming {
  background: rgba(196, 80, 43, 0.95);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.shot-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.shot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1b352b 0%, #2a4e42 100%);
  color: #f0eee5;
  text-align: center;
  padding: 24px;
}

.shot-placeholder .placeholder-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(231, 169, 76, 0.2);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.shot-placeholder .placeholder-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
}

.shot-placeholder .placeholder-sub {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: #a3b899;
  margin-top: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
}

.shot-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--orange);
  font-size: 18px;
}

.shot-body {
  padding: 20px;
}

.shot-body h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.shot-body p {
  font-size: 14px;
}

/* =========================
   FORM SECTION
   ========================= */

#sertai {
  background: var(--green-light);
}

.form-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.form-wrap > div:first-child {
  position: sticky;
  top: 100px;
}

.form-card {
  padding: 30px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  padding: 12px 13px;
  background: #fafaf7;
  color: var(--text);
  transition: 0.2s ease;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(196, 80, 43, 0.1);
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: flex !important;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fafaf7;
  cursor: pointer;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.chip input {
  width: auto;
}

.submit-btn {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: white;
  font-weight: 700;
  transition: 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
}

.form-msg {
  margin-top: 15px;
  padding: 12px;
  border-radius: 7px;
  font-size: 13px;
  text-align: center;
}

/* =========================
   FOOTER
   ========================= */

footer {
  padding: 30px 0;
  background: var(--green-dark);
  color: white;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

footer span {
  color: #cbd4cc;
  font-size: 12px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    min-height: auto;
  }

  .logbook {
    max-width: 600px;
  }

  .about-top {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-wrap {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .form-wrap > div:first-child {
    position: static;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .wrap {
    width: min(100% - 28px, var(--max-width));
  }

  section {
    padding: 60px 0;
  }

  /* NAV */

  nav .wrap {
    min-height: 64px;
  }

  .brand {
    font-size: 14px;
  }

  .stamp {
    width: 34px;
    height: 34px;
  }

  .navtoggle {
    display: block;
  }

  .navlinks {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 8px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  }

  .navlinks.open {
    display: flex;
  }

  .navlinks li {
    width: 100%;
  }

  .navlinks a {
    display: block;
    padding: 13px 14px;
    border-radius: 7px;
  }

  .navlinks a:hover {
    background: var(--green-light);
  }

  .navlinks a::after {
    display: none;
  }

  /* HERO */

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 62px);
    letter-spacing: -2.5px;
  }

  .lede {
    font-size: 15px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .logbook {
    padding: 20px;
  }

  .num {
    font-size: 22px;
  }

  /* ABOUT */

  .card {
    padding: 20px;
  }

  .map-frame {
    height: 180px;
  }

  /* ORG */

  .orgchart {
    text-align: left;
    padding-bottom: 10px;
  }

  .org-node {
    min-width: 135px;
    font-size: 12px;
  }

  .org-row {
    justify-content: flex-start;
    width: max-content;
  }

  /* WHY */

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 23px;
  }

  /* ACTIVITIES */

  .shot-grid {
    grid-template-columns: 1fr;
  }

  .shot-body {
    padding: 17px;
  }

  /* FORM */

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-card {
    padding: 20px;
  }

  .checks {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chip {
    width: 100%;
    border-radius: 8px;
  }

  /* FOOTER */

  footer .wrap {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

  .wrap {
    width: calc(100% - 22px);
  }

  .brand {
    font-size: 12px;
  }

  .stamp {
    width: 31px;
    height: 31px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .logrow {
    align-items: flex-start;
  }

  .label {
    max-width: 130px;
  }

  h2 {
    font-size: 30px;
  }
}

/* =========================
   ACCESSIBILITY
   ========================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}