/* ══════════════════════════════════════════════════════════
   Si PDLKWS — Unified Stylesheet
   ══════════════════════════════════════════════════════════ */

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

/* ── DESIGN TOKENS ── */
:root {
  --green-dark:    #1a3d2b;
  --green-mid:     #2d6a4f;
  --green-accent:  #40916c;
  --green-light:   #74c69d;
  --green-pale:    #d8f3dc;
  --green-deep:    #0D4A3C;
  --gold:          #e9b44c;
  --gold-light:    #fdf0c8;
  --blue-light:    #5BB8F5;
  --orange:        #F5831F;
  --orange-light:  #FFAA5A;
  --bg:            #f7f9f5;
  --white:         #FFFFFF;
  --text:          #0D1F1A;
  --text-primary:  #1a2e1e;
  --text-secondary:#4a5c4f;
  --text-muted:    #7a8c7f;
  --border:        rgba(45,106,79,.12);
  --shadow-md:     0 8px 32px rgba(13,74,58,.12);
  --radius-sm:     8px;
  --radius:        16px;
  --nav-height:    64px;
  --ease-bounce:   cubic-bezier(0.34,1.56,0.64,1);
  --ease-out:      cubic-bezier(0.22,1,0.36,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
}

/* ════════════════════════════
   NAV
   ════════════════════════════ */
nav {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(13,74,58,.1); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity .18s;
}
.nav-brand:hover { opacity: .85; }

.nav-logo {
  width: 36px; height: 36px;
  background: var(--green-dark);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s var(--ease-bounce);
}
.nav-brand:hover .nav-logo { transform: rotate(-5deg) scale(1.08); }

.nav-brand-text h1 { font-size: 15px; font-weight: 700; color: var(--green-dark); line-height: 1.2; }
.nav-brand-text p  { font-size: 10px; color: var(--text-muted); }

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-links > a,
.has-dropdown > a {
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background .18s, color .18s;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
}

/* Shared hover — nav, drawer items */
.nav-links > a:hover,
.has-dropdown > a:hover,
.drawer-item:hover, .drawer-item.active,
.drawer-sub a:hover {
  background: var(--green-pale);
  color: var(--green-dark);
}
.nav-links a.active { background: var(--green-dark); color: #fff; }

.has-dropdown > a::after {
  content: '▾';
  font-size: 9px; opacity: .6;
  transition: transform .2s;
}
.has-dropdown:hover > a::after { transform: rotate(180deg); }
.has-dropdown { position: relative; }

.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 8px); left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 220px; padding: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s, visibility .2s, transform .2s var(--ease-out);
  z-index: 200;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown a {
  display: block; width: 100%;
  padding: 10px 14px;
  font-size: 13px; border-radius: 8px;
  color: var(--text) !important;
  background: none !important;
  text-decoration: none;
  transition: background .15s;
}
.dropdown a:hover { background: var(--bg) !important; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--green-dark) !important;
  font-weight: 700 !important;
  transition: background .18s, transform .18s !important;
}
.nav-cta:hover { background: #d4a03a !important; transform: translateY(-1px); }

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

.nav-drawer {
  display: none;
  position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 99;
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  animation: slideDown .25s var(--ease-out);
}
.nav-drawer.open { display: block; }

.drawer-item {
  display: block; padding: 10px 12px;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all .18s;
}
.drawer-group-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 12px 4px;
}
.drawer-sub a {
  display: block; padding: 8px 12px 8px 24px;
  font-size: 13px; color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm); transition: all .18s;
}
.drawer-cta {
  display: block; margin-top: 12px; padding: 12px;
  background: var(--gold); color: var(--green-dark) !important;
  font-weight: 700; text-align: center;
  border-radius: var(--radius-sm); text-decoration: none;
}

/* ════════════════════════════
   HERO GRID BACKGROUND (shared)
   ════════════════════════════ */
.hero-grid,
.page-hero-grid {
  position: absolute; inset: 0; opacity: .04;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-grid { animation: gridDrift 20s linear infinite; }

/* ════════════════════════════
   PAGE HERO (inner pages)
   ════════════════════════════ */
.page-hero {
  background: var(--green-dark);
  padding: 4rem 2rem 3rem;
  position: relative; overflow: hidden;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }

.page-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(116,198,157,.15);
  border: 1px solid rgba(116,198,157,.3);
  color: var(--green-light);
  font-size: 11px; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
  margin-bottom: 16px;
  animation: fadeUp .5s var(--ease-out) both;
}
.page-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600; color: #fff;
  line-height: 1.2; letter-spacing: -.8px;
  margin-bottom: 12px;
  animation: fadeUp .5s .08s var(--ease-out) both;
}
.page-desc {
  font-size: 15px; color: rgba(255,255,255,.6);
  line-height: 1.7; max-width: 600px;
  animation: fadeUp .5s .16s var(--ease-out) both;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .18s; }
.breadcrumb a:hover { color: rgba(255,255,255,.7); }
.breadcrumb span { color: rgba(255,255,255,.25); }

/* ════════════════════════════
   HERO (index)
   ════════════════════════════ */
.hero {
  background: var(--green-dark);
  min-height: 560px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(116,198,157,.12), transparent 60%),
    radial-gradient(ellipse at 85% 20%, rgba(233,180,76,.08), transparent 50%);
  animation: glowPulse 6s ease-in-out infinite;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(116,198,157,.15);
  border: 1px solid rgba(116,198,157,.3);
  color: var(--green-light);
  font-size: 11px; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
  margin-bottom: 20px;
  animation: fadeUp .6s var(--ease-out) both;
}
.hero-badge span {
  width: 6px; height: 6px;
  background: var(--green-light); border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 600; color: #fff;
  line-height: 1.2; letter-spacing: -1px;
  margin-bottom: 16px;
  animation: fadeUp .6s .1s var(--ease-out) both;
}
/* Shared italic gold em — hero + page titles */
.hero-title em,
.page-title em { font-style: italic; color: var(--gold); }

.hero-desc {
  font-size: 15px; color: rgba(255,255,255,.6);
  line-height: 1.75; margin-bottom: 32px;
  animation: fadeUp .6s .2s var(--ease-out) both;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp .6s .3s var(--ease-out) both; }
.hero-right { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; animation: fadeUp .6s .2s var(--ease-out) both; }

.hcard {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 20px;
  transition: background .2s, transform .2s;
}
.hcard:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }
.hcard.gold { background: rgba(233,180,76,.12); border-color: rgba(233,180,76,.25); }
.hcard-num   { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 600; color: #fff; line-height: 1; margin-bottom: 4px; }
.hcard.gold .hcard-num { color: var(--gold); }
.hcard-label { font-size: 11px; color: rgba(255,255,255,.5); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.hcard-sub   { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 4px; }

/* ════════════════════════════
   STATS
   ════════════════════════════ */
.stats-band  { background: var(--green-dark); padding: 3rem 2rem; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.stat-item   { text-align: center; }
.stat-num    { font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.stat-label  { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 500; }

.stat-band       { background: #f0f7f3; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2rem; }
.stat-band-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.mini-stat       { text-align: center; padding: 1rem; }
.mini-stat-num   { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 600; color: var(--green-dark); }
.mini-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ════════════════════════════
   SECTIONS
   ════════════════════════════ */
.section         { padding: 80px 48px; max-width: 1296px; margin: 0 auto; }
.content-area    { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem; }
.section-layanan { max-width: 1296px; margin: auto; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--green-mid); margin-bottom: 16px;
}
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--orange); flex-shrink: 0; }

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 3.5vw, 2.75rem);
  font-weight: 700; color: var(--green-deep);
  letter-spacing: -.8px; line-height: 1.15;
  max-width: 580px; margin-bottom: 16px;
}
.section-desc { font-size: 15px; line-height: 1.7; color: var(--text-muted); max-width: 80em; margin-bottom: 14px; }

/* ════════════════════════════
   BUTTONS
   ════════════════════════════ */
.btn-primary,
.btn-gold {
  background: var(--gold); color: var(--green-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 700;
  border: none; border-radius: 10px;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary { padding: 12px 24px; transition: background .18s, transform .18s, box-shadow .18s; }
.btn-gold    { padding: 11px 22px; transition: background .18s, transform .18s; }
.btn-primary:hover { background: #d4a03a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,180,76,.35); }
.btn-gold:hover    { background: #d4a03a; transform: translateY(-1px); }

.btn-secondary {
  background: transparent; color: var(--green-accent);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  padding: 11px 22px; border: 1.5px solid var(--green-accent); border-radius: 10px;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .18s, transform .18s;
}
.btn-secondary:hover { background: var(--green-pale); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: rgba(255,255,255,.8);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  padding: 12px 24px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .18s;
}
.btn-outline:hover { background: rgba(255,255,255,.08); }

.btn-survey {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 500;
  padding: 10px 18px; border-radius: 8px;
  cursor: pointer; text-decoration: none;
  transition: background .18s, transform .18s;
  display: inline-block;
}
.btn-survey:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); }

/* ════════════════════════════
   TAGS
   ════════════════════════════ */
.tag       { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.tag-green { background: var(--green-pale); color: var(--green-mid); }
.tag-gold  { background: var(--gold-light); color: #7a5c00; }
.tag-blue  { background: #e3f2fd; color: #1565c0; }
.tag-red   { background: #fce4ec; color: #880e4f; }

/* ════════════════════════════
   CARDS
   ════════════════════════════ */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.card:hover { border-color: var(--green-accent); box-shadow: 0 8px 24px rgba(26,61,43,.08); transform: translateY(-2px); }

.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 2rem; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 2rem; }

.layanan-grid   { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 2em; }
.layanan-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 2em; }

.layanan-card {
  background: white; border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
  text-decoration: none; color: var(--text);
  transition: border-color .3s, box-shadow .3s, transform .3s;
  position: relative; overflow: hidden;
}
.layanan-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--green-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.layanan-card:hover { border-color: var(--green-light); box-shadow: 0 12px 40px rgba(13,74,60,.08); transform: translateY(-4px); }
.layanan-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 56px; height: 56px; background: var(--bg);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 24px;
  transition: background .3s, transform .3s var(--ease-bounce);
}
.layanan-card:hover .card-icon { background: rgba(13,74,60,.08); transform: scale(1.1) rotate(-5deg); }

.card-tag   { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green-mid); margin-bottom: 10px; }
.card-title { font-weight: 700; font-size: 17px; color: var(--green-deep); margin-bottom: 12px; line-height: 1.3; }
.card-desc  { font-size: 13px; line-height: 1.65; color: var(--text-muted); margin-bottom: 24px; }
.card-link  { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--green-mid); }
.card-link svg { transition: transform .2s; }
.layanan-card:hover .card-link svg { transform: translateX(4px); }

/* ════════════════════════════
   CTA BANNER
   ════════════════════════════ */
.cta-banner    { background: linear-gradient(120deg, var(--orange) 0%, var(--orange-light) 100%); padding: 4rem 2rem; text-align: center; }
.cta-banner h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: white; }
.cta-banner h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 800; color: white; }
.cta-banner p  { color: rgba(255,255,255,.85); max-width: 500px; margin: .75rem auto 2rem; }
.survey-btns   { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ════════════════════════════
   INFO GRID
   ════════════════════════════ */
.info-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; margin-top: 2rem; }

.info-card {
  background: white; border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.info-card-featured {
  padding: 40px;
  background: linear-gradient(135deg, var(--green-deep) 0%, #0A3B2F 100%);
  border: none; color: white;
}
.info-card-featured .info-date { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--orange-light); margin-bottom: 16px; }
.info-card-featured h3 { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.info-card-featured p  { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.65); margin-bottom: 28px; }
.info-card-featured a  { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-light); text-decoration: none; font-size: 13px; font-weight: 600; }

.info-list-card    { padding: 28px; }
.info-list-card h4 { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }

.info-item           { padding: 14px 0; border-bottom: 1px solid var(--bg); }
.info-item:last-child{ border-bottom: none; }
.info-item-date      { font-size: 11px; color: var(--orange); font-weight: 600; margin-bottom: 4px; }
.info-item-title     { font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.4; }

/* ════════════════════════════
   MAKLUMAT / LIGHTBOX
   ════════════════════════════ */
.maklumat-wrapper {
  position: relative; margin: 20px 0 24px;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 8px 32px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.2);
  transition: transform .3s, box-shadow .3s; cursor: pointer;
}
.maklumat-wrapper:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,200,80,.3), 0 12px 48px rgba(0,0,0,.45), 0 4px 12px rgba(0,0,0,.25);
}
.maklumat-wrapper img  { display: block; width: 100%; height: auto; border-radius: 14px; }
.maklumat-overlay      { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(10,35,25,.7) 100%); border-radius: 14px; pointer-events: none; }
.maklumat-badge        { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--green-dark); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.maklumat-zoom-hint    { position: absolute; bottom: 10px; right: 12px; background: rgba(0,0,0,.45); color: rgba(255,255,255,.75); font-size: 10px; padding: 4px 8px; border-radius: 6px; display: flex; align-items: center; gap: 4px; opacity: 0; transition: opacity .25s; }
.maklumat-wrapper:hover .maklumat-zoom-hint { opacity: 1; }

.maklumat-lightbox         { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.88); align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(8px); }
.maklumat-lightbox.active  { display: flex; animation: fadeInLightbox .25s ease; }
.maklumat-lightbox img     { max-width: 90vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 24px 80px rgba(0,0,0,.6); animation: scaleLightbox .3s var(--ease-bounce); }
.lightbox-close            { position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: white; font-size: 22px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; line-height: 1; }
.lightbox-close:hover      { background: rgba(255,255,255,.22); transform: rotate(90deg); }

/* ════════════════════════════
   LINKS SECTION
   ════════════════════════════ */
.links-section { background: var(--green-deep); padding: 80px 48px; }

/* Shared max-width container */
.links-inner,
.footer-inner { max-width: 1200px; margin: 0 auto; }

.links-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 40px; }

.link-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 24px; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; color: white; }
.link-card:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); transform: translateY(-3px); }
.link-card-icon  { width: 40px; height: 40px; background: rgba(255,255,255,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 16px; transition: background .2s, transform .3s var(--ease-bounce); }
.link-card:hover .link-card-icon { background: rgba(255,255,255,.16); transform: scale(1.1); }
.link-card-name  { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.link-card-desc  { font-size: 12px; color: rgba(255,255,255,.45); }

/* ════════════════════════════
   FORMS
   ════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; display: block; }
.form-input {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px;
  color: var(--text-primary); background: var(--white);
  transition: border-color .18s, box-shadow .18s; outline: none;
}
.form-input:focus { border-color: var(--green-accent); box-shadow: 0 0 0 3px rgba(64,145,108,.12); }
select.form-input   { cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 120px; }

.rating-stars { display: flex; gap: 8px; margin-top: 8px; }
.star { width: 36px; height: 36px; border: 1.5px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; transition: background .15s, border-color .15s, transform .2s var(--ease-bounce); }
.star:hover, .star.active { background: var(--gold-light); border-color: var(--gold); transform: scale(1.1); }

/* ════════════════════════════
   TABLES
   ════════════════════════════ */
.table-wrap { overflow-x: auto; margin-top: 1.5rem; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th { background: var(--green-dark); color: #fff; font-weight: 600; padding: 12px 16px; text-align: left; font-size: 12px; letter-spacing: .3px; }
tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
tbody tr:hover { background: var(--green-pale); }
tbody td { padding: 12px 16px; color: var(--text-secondary); }

.divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ════════════════════════════
   FOOTER
   ════════════════════════════ */
footer { background: #071A15; padding: 64px 48px 32px; }
.footer-grid   { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 32px; }
.footer-logo   { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo img { width: 40px; height: 40px; object-fit: contain; }
.footer-logo-text { font-weight: 700; font-size: 15px; color: white; letter-spacing: -.3px; }
.footer-desc   { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.4); max-width: 280px; margin-bottom: 24px; }
.footer-col {}
.footer-contact {}
.footer-contact p { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.7; }
.footer-contact a { color: var(--blue-light); text-decoration: none; }
.footer-col h5    { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.footer-col ul    { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom   { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.25); }

/* ════════════════════════════
   ANIMATIONS
   ════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 40px 40px; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .7; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}
@keyframes fadeInLightbox {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleLightbox {
  from { transform: scale(.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}

.hcard:nth-child(1) { animation: floatA 5s ease-in-out infinite; }
.hcard:nth-child(2) { animation: floatB 5.5s ease-in-out .4s infinite; }
.hcard:nth-child(3) { animation: floatA 6s ease-in-out .8s infinite; }
.hcard:nth-child(4) { animation: floatB 4.8s ease-in-out 1.2s infinite; }

/* ════════════════════════════
   RESPONSIVE
   ════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0 1.5rem; }
  .section, .links-section { padding: 64px 32px; }
  footer { padding: 48px 32px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-card-featured { grid-column: 1 / -1; }
  .links-grid { grid-template-columns: repeat(2,1fr); }
  .stat-band-inner { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  nav { padding: 0 1rem; }
  .hero-content { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }
  .hero-right { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
  .section { padding: 48px 1.5rem; }
  .content-area { padding: 2rem 1.25rem; }
  .section-title { max-width: 100%; }
  .layanan-grid, .layanan-grid-2,
  .card-grid-2, .card-grid-3,
  .info-grid { grid-template-columns: 1fr; }
  .info-card-featured { grid-column: auto; }
  .links-section { padding: 48px 1.5rem; }
  .links-grid { grid-template-columns: repeat(2,1fr); }
  footer { padding: 40px 1.5rem 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-desc { max-width: 100%; }
  .stat-band-inner { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  .hero-right { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat-num { font-size: 2rem; }
  .links-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}
