html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color: #222;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER / NAVBAR ===== */
:root {
  --header-height: 84px;
}

main {
  padding-top: var(--header-height);
}

#navbar-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  background: white;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  height: var(--header-height);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition: background-color 0.25s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: auto;
  max-height: calc(var(--header-height) - 16px);
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-links li a {
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  color: #0066cc;
}

/* Mobile nav toggle button */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle .hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  position: relative;
  transition: background 0.2s ease;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #000;
  left: 0;
  transition: transform 0.2s ease;
}

.nav-toggle .hamburger::before {
  top: -8px;
}

.nav-toggle .hamburger::after {
  top: 8px;
}

.nav-menu {
  display: block;
}

/* ===== SECTION LUARAN PJBL ===== */
.luaran-pjbl {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #f5f7fa 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.luaran-pjbl h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

.section-lead {
  font-size: 16px;
  color: #555;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Social Grid - 3 kartu atas, 2 kartu centered bawah */
.social-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  list-style: none;
}

/* 3 kartu atas (kolom 1-2, 3-4, 5-6) */
.social-grid .social-card:nth-child(1) {
  grid-column: 1 / 3;
}

.social-grid .social-card:nth-child(2) {
  grid-column: 3 / 5;
}

.social-grid .social-card:nth-child(3) {
  grid-column: 5 / 7;
}

/* 2 kartu bawah centered (kolom 2-4, 4-6) */
.social-grid .social-card:nth-child(4) {
  grid-column: 2 / 4;
}

.social-grid .social-card:nth-child(5) {
  grid-column: 4 / 6;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 40px 28px;
  background: white;
  border: 1.5px solid #e8e8e8;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.social-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: #d0d0d0;
  background: #fafafa;
}

.social-card svg {
  width: 64px;
  height: 64px;
  fill: #000;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-card:hover svg {
  transform: scale(1.12) rotate(2deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.social-card div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
}

.social-card p {
  font-size: 13px;
  color: #888;
  margin: 0;
  font-weight: 500;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 40px 0;
  text-align: center;
  margin-top: 80px;
}

.footer-container p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .social-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .social-grid .social-card:nth-child(1) {
    grid-column: 1 / 2;
  }

  .social-grid .social-card:nth-child(2) {
    grid-column: 2 / 3;
  }

  .social-grid .social-card:nth-child(3) {
    grid-column: 3 / 5;
  }

  .social-grid .social-card:nth-child(4) {
    grid-column: 1 / 3;
  }

  .social-grid .social-card:nth-child(5) {
    grid-column: 3 / 5;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-height);
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: none;
    padding: 16px 0;
    z-index: 110;
    border-bottom: 1px solid #e8e8e8;
  }

  #navbar-header.menu-open .nav-menu {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .nav-links li a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    color: #222;
  }

  .nav-links li a:hover {
    background: #f5f5f5;
  }

  :root {
    --header-height: 70px;
  }

  .luaran-pjbl {
    padding: 60px 0;
  }

  .luaran-pjbl h2 {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .section-lead {
    font-size: 15px;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .social-grid .social-card:nth-child(1),
  .social-grid .social-card:nth-child(2),
  .social-grid .social-card:nth-child(3) {
    grid-column: auto;
  }

  .social-grid .social-card:nth-child(4) {
    grid-column: 1 / 2;
  }

  .social-grid .social-card:nth-child(5) {
    grid-column: 2 / 3;
  }

  .social-card {
    padding: 32px 20px;
    gap: 16px;
  }

  .social-card h3 {
    font-size: 16px;
  }

  .social-card svg {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 480px) {
  .luaran-pjbl h2 {
    font-size: 26px;
  }

  .section-lead {
    font-size: 14px;
    line-height: 1.6;
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .social-grid .social-card:nth-child(1),
  .social-grid .social-card:nth-child(2),
  .social-grid .social-card:nth-child(3),
  .social-grid .social-card:nth-child(4),
  .social-grid .social-card:nth-child(5) {
    grid-column: 1;
  }

  .social-card {
    padding: 28px 20px;
  }

  .social-card h3 {
    font-size: 15px;
  }

  .social-card p {
    font-size: 12px;
  }

  .social-card svg {
    width: 52px;
    height: 52px;
  }

  footer {
    padding: 32px 0;
    margin-top: 60px;
  }

  .footer-container p {
    font-size: 12px;
  }
}