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

:root {
  --green-dark: #1b4332;
  --green: #2d6a4f;
  --green-mid: #40916c;
  --green-light: #95d5b2;
  --green-pale: #e9f5ee;
  --accent: #e9c46a;
  --cream: #fdfcf8;
  --ink: #1d2b23;
  --ink-soft: #52665a;
  --border: #e3ece5;
  --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.06);
  --shadow-md: 0 8px 24px rgba(27, 67, 50, 0.10);
  --shadow-lg: 0 18px 40px rgba(27, 67, 50, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

ul {
  list-style: none;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 252, 248, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.02em;
}

.logo-mark {
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green-pale);
  border-radius: 12px;
}

.logo-text em {
  font-style: normal;
  color: var(--green-mid);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--green-mid);
  border-radius: 2px;
  transition: width .3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--green-dark);
  border-radius: 3px;
  transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.hero {
  position: relative;
  padding: 70px 0 110px;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(149, 213, 178, 0.28), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(233, 196, 106, 0.14), transparent 50%),
    var(--cream);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 7px 16px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  border: 1px solid #cfe8d9;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-title .highlight {
  color: var(--green-mid);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 12px;
  background: rgba(233, 196, 106, 0.5);
  z-index: -1;
  border-radius: 3px;
}

.hero-desc {
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(45, 106, 79, 0.28);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(45, 106, 79, 0.34);
}

.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid #c9ded2;
}

.btn-ghost:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--green-dark);
  line-height: 1.2;
}

.stat span {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.hero-image {
  position: relative;
}

.hero-image > img {
  width: 100%;
  height: 480px;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  bottom: 26px;
  left: -26px;
  background: #fff;
  padding: 16px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-icon {
  font-size: 1.6rem;
  background: var(--green-pale);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.hero-float-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--green-dark);
  line-height: 1.2;
}

.hero-float-card small {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--cream);
  clip-path: ellipse(75% 100% at 50% 100%);
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--green-pale);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-head.center {
  justify-content: center;
  text-align: center;
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-mid);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.link-more {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green);
  white-space: nowrap;
  transition: gap .2s, color .2s;
}

.link-more:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.featured-article {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 48px;
  transition: transform .3s, box-shadow .3s;
}

.featured-article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.featured-img {
  position: relative;
  min-height: 340px;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.featured-body {
  padding: 42px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.featured-body h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--green-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.featured-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 26px;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green-light);
}

.author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--green-dark);
}

.author small {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.card:hover .card-img img {
  transform: scale(1.06);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h4 {
  font-family: var(--font-head);
  font-size: 1.16rem;
  line-height: 1.35;
  color: var(--green-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card-body p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
  flex: 1;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  transition: color .2s, letter-spacing .2s;
}

.card-link:hover {
  color: var(--green-dark);
  letter-spacing: 0.02em;
}

.kategori-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.kategori-item {
  background: #fff;
  padding: 30px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: block;
}

.kategori-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}

.kategori-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  background: var(--green-pale);
  border-radius: 14px;
  margin-bottom: 16px;
}

.kategori-item h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.kategori-item p {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img img {
  width: 100%;
  height: 460px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--green);
  color: #fff;
  padding: 20px 26px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.about-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  line-height: 1.2;
}

.about-badge small {
  font-size: 0.78rem;
  opacity: 0.85;
}

.about-content p {
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.about-list {
  margin-bottom: 30px;
  display: grid;
  gap: 10px;
}

.about-list li {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.newsletter {
  padding: 0 0 90px;
}

.newsletter-box {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: 24px;
  padding: 56px 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.newsletter-box h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.newsletter-box p {
  opacity: 0.82;
  font-size: 0.92rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 6px;
  border-radius: 999px;
  min-width: 380px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 999px;
  color: var(--ink);
}

.newsletter-form .btn {
  padding: 12px 24px;
  font-size: 0.88rem;
}

.newsletter-msg {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  min-height: 1.2em;
  opacity: 0.9;
}

.footer {
  background: var(--green-dark);
  color: #d8e8df;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer .logo-text em {
  color: var(--green-light);
}

.footer-desc {
  font-size: 0.88rem;
  opacity: 0.75;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 18px;
}

.footer ul {
  display: grid;
  gap: 10px;
}

.footer ul li,
.footer ul li a {
  font-size: 0.86rem;
  opacity: 0.75;
  transition: opacity .2s;
}

.footer ul li a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.65;
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s;
  z-index: 900;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-dark);
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .featured-article {
    grid-template-columns: 1fr;
  }

  .hero-image > img {
    height: 380px;
  }

  .hero-float-card {
    left: 16px;
  }

  .about-img img {
    height: 360px;
  }

  .about-badge {
    right: 16px;
  }

  .newsletter-box {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }

  .newsletter-form {
    min-width: 0;
    width: 100%;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 6%;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform .35s ease;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 50px 0 90px;
  }

  .hero-stats {
    gap: 28px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .featured-body {
    padding: 30px 26px;
  }

  .newsletter-form {
    flex-direction: column;
    background: transparent;
    padding: 0;
    gap: 12px;
  }

  .newsletter-form input {
    background: #fff;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}