/* ===============================
   RESET & GLOBAL
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s ease, color 0.3s ease;
}

/* ===============================
   HEADER & NAVBAR
=============================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

/* ===============================
   HAMBURGER
=============================== */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  gap: 5px; /* ganti margin manual */
  padding: 6px; /* biar area klik enak */
}

.hamburger span {
  width: 18px; /* sedikit lebih kecil & elegan */
  height: 2px;
  background-color: #1f3c88;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hover effect (halus, profesional) */
.hamburger:hover span {
  opacity: 0.85;
}

/* Dark mode */
body.dark .hamburger span {
  background-color: #e5e7eb;
}

/* ===============================
   HERO SECTION
=============================== */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("../images/bg2.jpg");
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 120px 0 80px; /* jarak aman dari navbar */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 247, 250, 0.9);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #1f3c88;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  max-width: 780px;
  margin: 0 auto;
}

/* ===============================
   CONTENT ANIMATION
=============================== */
.content-wrapper {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   TYPEWRITER EFFECT
=============================== */
.typewriter {
  display: inline-block;
}

.typewriter .title-main {
  position: relative;
  display: inline-block;
  white-space: nowrap;

  clip-path: inset(0 100% 0 0);
  animation: typing 3.8s steps(28, end) forwards;
}

.typewriter .title-main::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 0;
  width: 3px;
  height: 100%;
  background: #1f3c88;
  animation: blink 0.7s step-end infinite;
}

@keyframes typing {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ===============================
   OVERLAY
=============================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===============================
   SIDE MENU
=============================== */
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: #0d3b73;
  color: #ffffff;
  padding: 28px;

  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 999;
}

.side-menu.active {
  transform: translateX(0);
}

/* SEMBUNYIKAN THEME TOGGLE SAAT MENU AKTIF */
.side-menu.active ~ .header .theme-toggle {
  opacity: 0;
  pointer-events: none;
}

.side-header {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
}

.side-header h2 {
  font-size: 22px;
  font-weight: bold;
}

.close-btn {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 32px;
  cursor: pointer;
  color: #ffffff;
}

.side-nav {
  list-style: none;
  margin-top: 40px;
}

.side-nav li {
  margin-bottom: 18px;
}

.side-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 18px;
  transition: color 0.2s ease;
}

.side-nav a:hover,
.side-nav a.active {
  color: #ffffff;
}

/* ===============================
   FOOTER
=============================== */
.footer {
  text-align: center;
  padding: 20px;
  background: #f5f7fa;
}

/* ===============================
   THEME TOGGLE
=============================== */
.theme-toggle {
  cursor: pointer;
  font-size: 18px;
  user-select: none;
  transition: opacity 0.25s ease;
}

.theme-toggle:hover {
  transform: rotate(20deg);
  opacity: 0.9;
}

/* ===============================
   DARK MODE
=============================== */
body.dark {
  background: #0f172a;
  color: #e5e7eb;
}

body.dark .hero-overlay {
  background: rgba(15, 23, 42, 0.85);
}

body.dark .hero-content h1 {
  color: #93c5fd;
}

body.dark .hero-content p {
  color: #d1d5db;
}

body.dark .hamburger span {
  background: #e5e7eb;
}

body.dark .side-menu {
  background: #020617;
}

body.dark .footer {
  background: #020617;
  color: #94a3b8;
}

/* ===============================
   NAV ACTIONS (RIGHT SIDE)
=============================== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px; /* jarak 🌙 dan hamburger */
}
/* SEMBUNYIKAN THEME TOGGLE SAAT MENU TERBUKA */
body.menu-open .theme-toggle {
  opacity: 0;
  pointer-events: none;
}

.section {
  padding: 120px 40px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* jarak antar section lebih terasa */
.section + .section {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* judul section */
.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1f3c88;
}

/* paragraf section */
.section p {
  max-width: 820px;
  line-height: 1.9;
  font-size: 18px;
}

body.dark .section p {
  color: #d1d5db;
}

html {
  scroll-behavior: smooth;
}

.btn-more {
  display: inline-block;
  margin-top: 24px;
  font-weight: 600;
  text-decoration: none;
  color: #1f3c88;
  border-bottom: 2px solid #1f3c88;
}

body.dark .btn-more {
  color: #93c5fd;
  border-color: #93c5fd;
}

.section {
  padding: 120px 40px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* jarak antar section lebih terasa */
.section + .section {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* judul section */
.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1f3c88;
}

/* paragraf section */
.section p {
  max-width: 820px;
  line-height: 1.9;
  font-size: 18px;
}

.btn-more {
  display: inline-block;
  margin-top: 24px;
  font-weight: 600;
  color: #1f3c88;
  text-decoration: none;
  border-bottom: 2px solid #1f3c88;
  padding-bottom: 4px;
}

.btn-more:hover {
  opacity: 0.75;
}

/* ABOUT */
/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: auto;
}

.about-header h2 {
  font-size: 36px;
  color: #1f3c88;
}

.about-header .subtitle {
  color: #6b7280;
  margin-bottom: 40px;
}

.about-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.about-content p {
  max-width: 700px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 60px;
}

/* CENTER ABOUT TEXT */
.about-section .center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.about-content.center p {
  max-width: 800px;
  margin: 0 auto 60px;
}

/* ===== TEAM GRID ===== */
/* ===============================
   TEAM GRID (ABOUT)
================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

/* CARD */
.team-card {
  background: #f8fbff;
  border-radius: 18px;
  padding: 20px 20px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
}

/* FOTO */
.team-card img {
  width: 100%;
  height: 210px; 
  object-fit: cover;
  border-radius: 14px;
}

/* ICON BULAT (NEMPEL KE FOTO) */
.team-icon {
  position: absolute;
  top: 200px; 
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  background: #0d5bd7;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(13, 91, 215, 0.4);
}

/* TEXT */
.team-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin-top: 36px; /* ⬅️ ruang untuk icon */
  margin-bottom: 6px;
}

.team-card p {
  font-size: 14px;
  color: #1f3c88;
  margin-bottom: 4px;
}

.team-card span {
  font-size: 13px;
  color: #6b7280;
}

body.dark .team-card {
  background: #020617;
}

body.dark .team-card h4 {
  color: #e5e7eb;
}

body.dark .team-card span {
  color: #94a3b8;
}

.hero + .about-section {
  margin-top: -40px;
}

/* ===== TEAM MODAL ===== */
.team-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.team-modal.active {
  display: flex;
}

/* OVERLAY */
.team-modal .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/* BOX */
.team-modal .modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  z-index: 2;
  animation: modalZoom 0.35s ease;
}

/* IMAGE */
.team-modal img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 16px;
  margin-bottom: 18px;
}

/* TEXT */
.team-modal h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f3c88;
}

.team-modal p {
  font-size: 15px;
  color: #475569;
}

/* CLOSE */
.team-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 26px;
  cursor: pointer;
  color: #1f3c88;
}

/* ANIMATION */
@keyframes modalSlide {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.team-modal .modal-content {
  animation: modalSlide 0.4s ease;
}

.team-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ================= ABOUT DETAIL ================= */
.about-detail {
  padding: 120px 20px 80px;
  background: #f8fbff;
}

.detail-wrapper {
  max-width: 1100px;
  margin: auto;
}

.detail-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  animation: fadeUp 0.6s ease;
}

/* FOTO */
.detail-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

/* NAMA */
.detail-card h2 {
  font-size: 32px;
  color: #1f3c88;
  margin-bottom: 6px;
}

/* ROLE */
.detail-card .role {
  font-size: 16px;
  color: #0d5bd7;
  margin-bottom: 20px;
  font-weight: 500;
}

/* ISI */
.detail-content h4 {
  margin-top: 20px;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 18px;
}

.detail-content p,
.detail-content li {
  color: #475569;
  line-height: 1.7;
  font-size: 15px;
}

.detail-content ul {
  padding-left: 18px;
}

/* ANIMASI */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .detail-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .detail-card img {
    max-width: 260px;
    margin: auto;
  }

  .detail-content {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .detail-card {
    padding: 24px;
  }

  .detail-card h2 {
    font-size: 24px;
  }
}

/* ===== CLOSE / BACK BUTTON ===== */
.btn-close {
  position: fixed;
  top: 90px; /* aman dari navbar */
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #1f3c88;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
}

.btn-close:hover {
  background: #1f3c88;
  color: #ffffff;
  transform: rotate(90deg) scale(1.05);
}

/* ===== ABOUT DETAIL (MODERN) ===== */
.about-detail {
  padding: 80px 20px;
  background: #f4f7fb;
}

.detail-wrapper {
  max-width: 1000px;
  margin: auto;
}

.detail-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* FOTO */
.detail-card img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* NAMA */
.detail-card h2 {
  font-size: 28px;
  color: #1f3c88;
  margin-bottom: 6px;
}

/* ROLE */
.detail-card .role {
  font-size: 15px;
  color: #2563eb;
  margin-bottom: 24px;
}

/* ISI */
.detail-content h4 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 6px;
  color: #0f172a;
}

.detail-content p,
.detail-content li {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}

/* ===== CLOSE BUTTON ===== */
.btn-close {
  position: fixed;
  top: 90px;
  right: 32px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
}

/* ===== DARK MODE ABOUT ===== */
body.dark .about-detail {
  background: #0b1120;
}

body.dark .detail-card {
  background: #0f172a;
  box-shadow: none;
}

body.dark .detail-card h2 {
  color: #e5e7eb;
}

body.dark .detail-card .role {
  color: #60a5fa;
}

body.dark .detail-content h4 {
  color: #e5e7eb;
}

body.dark .detail-content p,
body.dark .detail-content li {
  color: #cbd5f5;
}

body.dark .btn-close {
  background: #0f172a;
  color: #e5e7eb;
}

@media (max-width: 768px) {
  .detail-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .detail-card img {
    max-width: 240px;
    margin: auto;
  }

  .btn-close {
    top: 80px;
    right: 20px;
  }
}

/* Galeri proyek */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project:hover {
  transform: scale(1.03);
}

.project img {
  width: 100%;
  display: block;
  border-radius: 10px;
}



/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-height: 90vh;
  height: auto;
  text-align: center;
  position: relative;
  overflow: auto;
}

.modal-content img {


  width: 100%;

  width: 85%;

  width: 100%;

  margin-bottom: 15px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

.close:hover {
  color: red;
}



.detail-card.center {
  text-align: center;
}

.profile-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.detail-card h2 {
  font-size: 28px;
  color: #1f3c88;
  margin-bottom: 6px;
}

.detail-card .role {
  font-size: 16px;
  color: #0d5bd7;
  margin-bottom: 24px;
  font-weight: 500;
}

.detail-content h4 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 18px;
  color: #0f172a;
}

.detail-content p,
.detail-content li {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
}

.detail-card.vertical {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.profile-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #e6efff;
  margin-bottom: 20px;
}

/* ===============================
   RESET & GLOBAL
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s ease, color 0.3s ease;
}

/* ===============================
   HEADER & NAVBAR
=============================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

/* ===============================
   HAMBURGER
=============================== */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  gap: 5px; /* ganti margin manual */
  padding: 6px; /* biar area klik enak */
}

.hamburger span {
  width: 18px; /* sedikit lebih kecil & elegan */
  height: 2px;
  background-color: #1f3c88;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hover effect (halus, profesional) */
.hamburger:hover span {
  opacity: 0.85;
}

/* Dark mode */
body.dark .hamburger span {
  background-color: #e5e7eb;
}

/* ===============================
   HERO SECTION
=============================== */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("../images/bg2.jpg");
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 120px 0 80px; /* jarak aman dari navbar */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 247, 250, 0.9);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #1f3c88;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  max-width: 780px;
  margin: 0 auto;
}

/* ===============================
   CONTENT ANIMATION
=============================== */
.content-wrapper {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   TYPEWRITER EFFECT
=============================== */
.typewriter {
  display: inline-block;
}

.typewriter .title-main {
  position: relative;
  display: inline-block;
  white-space: nowrap;

  clip-path: inset(0 100% 0 0);
  animation: typing 3.8s steps(28, end) forwards;
}

.typewriter .title-main::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 0;
  width: 3px;
  height: 100%;
  background: #1f3c88;
  animation: blink 0.7s step-end infinite;
}

@keyframes typing {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ===============================
   OVERLAY
=============================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===============================
   SIDE MENU
=============================== */
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: #0d3b73;
  color: #ffffff;
  padding: 28px;

  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 999;
}

.side-menu.active {
  transform: translateX(0);
}

/* SEMBUNYIKAN THEME TOGGLE SAAT MENU AKTIF */
.side-menu.active ~ .header .theme-toggle {
  opacity: 0;
  pointer-events: none;
}

.side-header {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
}

.side-header h2 {
  font-size: 22px;
  font-weight: bold;
}

.close-btn {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 32px;
  cursor: pointer;
  color: #ffffff;
}

.side-nav {
  list-style: none;
  margin-top: 40px;
}

.side-nav li {
  margin-bottom: 18px;
}

.side-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 18px;
  transition: color 0.2s ease;
}

.side-nav a:hover,
.side-nav a.active {
  color: #ffffff;
}

/* ===============================
   FOOTER
=============================== */
.footer {
  text-align: center;
  padding: 20px;
  background: #f5f7fa;
}

/* ===============================
   THEME TOGGLE
=============================== */
.theme-toggle {
  cursor: pointer;
  font-size: 18px;
  user-select: none;
  transition: opacity 0.25s ease;
}

.theme-toggle:hover {
  transform: rotate(20deg);
  opacity: 0.9;
}

/* ===============================
   DARK MODE
=============================== */
body.dark {
  background: #0f172a;
  color: #e5e7eb;
}

body.dark .hero-overlay {
  background: rgba(15, 23, 42, 0.85);
}

body.dark .hero-content h1 {
  color: #93c5fd;
}

body.dark .hero-content p {
  color: #d1d5db;
}

body.dark .hamburger span {
  background: #e5e7eb;
}

body.dark .side-menu {
  background: #020617;
}

body.dark .footer {
  background: #020617;
  color: #94a3b8;
}

/* ===============================
   NAV ACTIONS (RIGHT SIDE)
=============================== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px; /* jarak 🌙 dan hamburger */
}
/* SEMBUNYIKAN THEME TOGGLE SAAT MENU TERBUKA */
body.menu-open .theme-toggle {
  opacity: 0;
  pointer-events: none;
}

.section {
  padding: 120px 40px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* jarak antar section lebih terasa */
.section + .section {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* judul section */
.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1f3c88;
}

/* paragraf section */
.section p {
  max-width: 820px;
  line-height: 1.9;
  font-size: 18px;
}

body.dark .section p {
  color: #d1d5db;
}

html {
  scroll-behavior: smooth;
}

.btn-more {
  display: inline-block;
  margin-top: 24px;
  font-weight: 600;
  text-decoration: none;
  color: #1f3c88;
  border-bottom: 2px solid #1f3c88;
}

body.dark .btn-more {
  color: #93c5fd;
  border-color: #93c5fd;
}

.section {
  padding: 120px 40px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* jarak antar section lebih terasa */
.section + .section {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* judul section */
.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1f3c88;
}

/* paragraf section */
.section p {
  max-width: 820px;
  line-height: 1.9;
  font-size: 18px;
}

.btn-more {
  display: inline-block;
  margin-top: 24px;
  font-weight: 600;
  color: #1f3c88;
  text-decoration: none;
  border-bottom: 2px solid #1f3c88;
  padding-bottom: 4px;
}

.btn-more:hover {
  opacity: 0.75;
}

/* ABOUT */
/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: auto;
}

.about-header h2 {
  font-size: 36px;
  color: #1f3c88;
}

.about-header .subtitle {
  color: #6b7280;
  margin-bottom: 40px;
}

.about-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.about-content p {
  max-width: 700px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 60px;
}

/* CENTER ABOUT TEXT */
.about-section .center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.about-content.center p {
  max-width: 800px;
  margin: 0 auto 60px;
}

/* ===== TEAM GRID ===== */
/* ===============================
   TEAM GRID (ABOUT)
================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

/* CARD */
.team-card {
  background: #f8fbff;
  border-radius: 18px;
  padding: 20px 20px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
}

/* FOTO */
.team-card img {
  width: 100%;
  height: 210px; /* ⬅️ dipendekin */
  object-fit: cover;
  border-radius: 14px;
}

/* ICON BULAT (NEMPEL KE FOTO) */
.team-icon {
  position: absolute;
  top: 200px; /* ⬅️ posisi pas di bawah foto */
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  background: #0d5bd7;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(13, 91, 215, 0.4);
}

/* TEXT */
.team-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin-top: 36px; /* ⬅️ ruang untuk icon */
  margin-bottom: 6px;
}

.team-card p {
  font-size: 14px;
  color: #1f3c88;
  margin-bottom: 4px;
}

.team-card span {
  font-size: 13px;
  color: #6b7280;
}

body.dark .team-card {
  background: #020617;
}

body.dark .team-card h4 {
  color: #e5e7eb;
}

body.dark .team-card span {
  color: #94a3b8;
}

.hero + .about-section {
  margin-top: -40px;
}

/* ===== TEAM MODAL ===== */
.team-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.team-modal.active {
  display: flex;
}

/* OVERLAY */
.team-modal .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/* BOX */
.team-modal .modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  z-index: 2;
  animation: modalZoom 0.35s ease;
}

/* IMAGE */
.team-modal img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 16px;
  margin-bottom: 18px;
}

/* TEXT */
.team-modal h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f3c88;
}

.team-modal p {
  font-size: 15px;
  color: #475569;
}

/* CLOSE */
.team-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 26px;
  cursor: pointer;
  color: #1f3c88;
}

/* ANIMATION */
@keyframes modalSlide {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.team-modal .modal-content {
  animation: modalSlide 0.4s ease;
}

.team-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ================= ABOUT DETAIL ================= */
.about-detail {
  padding: 120px 20px 80px;
  background: #f8fbff;
}

.detail-wrapper {
  max-width: 1100px;
  margin: auto;
}

.detail-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  animation: fadeUp 0.6s ease;
}

/* FOTO */
.detail-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

/* NAMA */
.detail-card h2 {
  font-size: 32px;
  color: #1f3c88;
  margin-bottom: 6px;
}

/* ROLE */
.detail-card .role {
  font-size: 16px;
  color: #0d5bd7;
  margin-bottom: 20px;
  font-weight: 500;
}

/* ISI */
.detail-content h4 {
  margin-top: 20px;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 18px;
}

.detail-content p,
.detail-content li {
  color: #475569;
  line-height: 1.7;
  font-size: 15px;
}

.detail-content ul {
  padding-left: 18px;
}

/* ANIMASI */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .detail-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .detail-card img {
    max-width: 260px;
    margin: auto;
  }

  .detail-content {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .detail-card {
    padding: 24px;
  }

  .detail-card h2 {
    font-size: 24px;
  }
}

/* ===== CLOSE / BACK BUTTON ===== */
.btn-close {
  position: fixed;
  top: 90px; /* aman dari navbar */
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #1f3c88;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
}

.btn-close:hover {
  background: #1f3c88;
  color: #ffffff;
  transform: rotate(90deg) scale(1.05);
}

/* ===== ABOUT DETAIL (MODERN) ===== */
.about-detail {
  padding: 80px 20px;
  background: #f4f7fb;
}

.detail-wrapper {
  max-width: 1000px;
  margin: auto;
}

.detail-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* FOTO */
.detail-card img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* NAMA */
.detail-card h2 {
  font-size: 28px;
  color: #1f3c88;
  margin-bottom: 6px;
}

/* ROLE */
.detail-card .role {
  font-size: 15px;
  color: #2563eb;
  margin-bottom: 24px;
}

/* ISI */
.detail-content h4 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 6px;
  color: #0f172a;
}

.detail-content p,
.detail-content li {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}

/* ===== CLOSE BUTTON ===== */
.btn-close {
  position: fixed;
  top: 90px;
  right: 32px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
}

/* ===== DARK MODE ABOUT ===== */
body.dark .about-detail {
  background: #0b1120;
}

body.dark .detail-card {
  background: #0f172a;
  box-shadow: none;
}

body.dark .detail-card h2 {
  color: #e5e7eb;
}

body.dark .detail-card .role {
  color: #60a5fa;
}

body.dark .detail-content h4 {
  color: #e5e7eb;
}

body.dark .detail-content p,
body.dark .detail-content li {
  color: #cbd5f5;
}

body.dark .btn-close {
  background: #0f172a;
  color: #e5e7eb;
}

@media (max-width: 768px) {
  .detail-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .detail-card img {
    max-width: 240px;
    margin: auto;
  }

  .btn-close {
    top: 80px;
    right: 20px;
  }
}


/* ===== BLOG SECTION ===== */
.blog-section {
  padding: 80px 20px;
  background: #f8fbff;
}

.blog-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
}

/* ===== LEFT CONTENT ===== */
.blog-left .section-title {
  font-size: 36px;
  color: #1f3c88;
  margin-bottom: 8px;
}

.blog-left .section-subtitle {
  color: #6b7280;
  margin-bottom: 30px;
}

.blog-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-left: 5px solid #1f3c88;
}

.blog-date {
  display: inline-block;
  background: #e8f0ff;
  color: #1f3c88;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.blog-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0f172a;
}

.blog-card p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 18px;
}

.blog-meta {
  list-style: none;
  padding: 0;
}

.blog-meta li {
  font-size: 14px;
  color: #334155;
  margin-bottom: 6px;
}

.blog-meta a {
  color: #1f3c88;
  font-weight: 500;
}

/* ===== RIGHT TIMELINE ===== */
.blog-right {
  padding-top: 20px;
}

.timeline-title {
  font-size: 24px;
  color: #1f3c88;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline {
  position: relative;
  padding-left: 25px;
  border-left: 3px solid #1f3c88;
}

.timeline-item {
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  position: relative;
}

.timeline-item::before {
  content: "";
  width: 14px;
  height: 14px;
  background: #1f3c88;
  border-radius: 50%;
  position: absolute;
  left: -32px;
  top: 24px;
}

.timeline-year {
  display: inline-block;
  background: #1f3c88;
  color: #ffffff;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.timeline-item h4 {
  margin-bottom: 4px;
  color: #0f172a;
}

.timeline-item small {
  color: #64748b;
}

.timeline-item p {
  margin-top: 10px;
  font-size: 14px;
  color: #475569;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .blog-container {
    grid-template-columns: 1fr;
  }

  .timeline {
    border-left: none;
    padding-left: 0;
  }

  .timeline-item::before {
    display: none;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.blog-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.blog-date {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0f172a;
}

.blog-card p {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-link {
  align-self: flex-start;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.blog-link:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}



/* RESPONSIVE */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================= */
/* DETAIL CARD (GLOBAL) */
/* ============================= */
.detail-card.vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 40px;
  border-radius: 24px;
  max-width: 900px;
  margin: auto;
}

/* ============================= */
/* FOTO PROFIL (RESPONSIVE & CANTIK) */
/* ============================= */
.profile-img {
  width: 180px;
  height: 180px;
  object-fit: cover; /* anti ketarik */
  border-radius: 50%;
  border: 4px solid #ffffff;
  margin: 24px 0;
  display: block;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* MATIKAN CSS IMG GLOBAL */
.detail-card.vertical img {
  width: auto !important;
  max-width: none !important;
  height: auto;
}

/* ============================= */
/* NAMA */
/* ============================= */
#profileName {
  font-size: 32px;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* ============================= */
/* ROLE */
/* ============================= */
.role {
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

/* ============================= */
/* DETAIL CONTENT */
/* ============================= */
.detail-content {
  width: 100%;
  max-width: 700px;
  text-align: left;
  line-height: 1.8;
}

.detail-content p {
  margin-bottom: 8px;
}

/* ============================= */
/* DARK MODE */
/* ============================= */
body:not(.light) .detail-card.vertical {
  background: linear-gradient(180deg, #8dd4e3, #8c89d5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

body:not(.light) #profileName {
  color: #052859;
}

body:not(.light) .role {
  color: #020913;
}

body:not(.light) .detail-content {
  color: #020a17;
}

/* ============================= */
/* LIGHT MODE */
/* ============================= */
body.light .detail-card.vertical {
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

body.light #profileName {
  color: #1f73bc;
}

body.light .role {
  color: #010617;
}

body.light .detail-content {
  color: #334155;
}

body.light .profile-img {
  border: 4px solid #e5e7eb;
}

body.light .about-detail {
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

/* ============================= */
/* RESPONSIVE - TABLET */
/* ============================= */
@media (max-width: 1024px) {
  .detail-card.vertical {
    padding: 50px 30px;
  }

  .profile-img {
    width: 160px;
    height: 160px;
  }

  #profileName {
    font-size: 28px;
  }
}

/* ============================= */
/* RESPONSIVE - HP */
/* ============================= */
@media (max-width: 600px) {
  .detail-card.vertical {
    padding: 40px 20px;
  }

  .profile-img {
    width: 140px;
    height: 140px;
  }

  #profileName {
    font-size: 24px;
  }

  .role {
    font-size: 14px;
  }

  .detail-content {
    text-align: left;
    font-size: 14px;
  }
}

/* PAKSA FOTO PROFIL IKUT UKURAN SENDIRI */
img.profile-img {
  width: 160px !important;
  height: 160px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* ========================= */
/* CONTACT SECTION */
/* ========================= */
.contact-section {
  padding: 100px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================= */
/* HEADER */
/* ========================= */
.contact-header {
  margin-bottom: 60px;
}

.contact-header h1 {
  font-size: 2.6rem;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.contact-header p {
  color: #6b7280;
  font-size: 1rem;
}

/* ========================= */
/* GRID LAYOUT */
/* ========================= */
.contact-container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: flex-start;
}

/* ========================= */
/* FORM CARD */
/* ========================= */
.contact-form {
  background: #ffffff;
  padding: 32px 30px;
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}

.contact-form h2 {
  font-size: 1.7rem;
  color: #1e40af;
  margin-bottom: 22px;
}

/* FORM */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #c7d2fe;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* BUTTON */
.contact-form button {
  margin-top: 10px;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.35);
}

/* ========================= */
/* INFO CARD */
/* ========================= */
.contact-info {
  background: #f8faff;
  padding: 32px;
  border-radius: 22px;
}

.contact-info h3 {
  font-size: 1.4rem;
  color: #1e40af;
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 14px;
}

/* LINK */
.contact-info a {
  text-decoration: none;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.contact-info a:hover {
  color: #4f46e5;
}

.contact-info i {
  color: #6366f1;
  font-size: 1.1rem;
}

/* ========================= */
/* SOCIAL MEDIA */
/* ========================= */
.social-links {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: #eef2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366f1;
  font-size: 1.2rem;
  transition: all 0.25s ease;
}

.social-links a:hover {
  background: #6366f1;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-header h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .contact-form,
  .contact-info {
    padding: 26px 22px;
  }

  .contact-form h2 {
    font-size: 1.5rem;
  }
}

/* ===============================
   CONTACT = SAMA DENGAN PROJECT
================================ */

/* pakai aturan section yang sama */
.contact-section {
  padding: 110px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* JUDUL SAMA PERSIS */
.contact-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1f3c88;
}

/* DESKRIPSI SAMA PERSIS */
.contact-section > p {
  max-width: 820px;
  line-height: 1.9;
  font-size: 18px;
  color: #555;
}

/* DARK MODE */
body.dark .contact-section > p {
  color: #d1d5db;
}


/* ============================= */
/* CENTER SECTION TITLE */
/* Blog, Project, Contact */
/* ============================= */

#blog,
#portfolio,
#contact {
  text-align: center;
}

/* paragraf tengah & rapi */
#blog p,
#portfolio p,
#contact .contact-header p {
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}

/* tombol project di tengah */
#portfolio .btn-more {
  margin-left: auto;
  margin-right: auto;
}

/* ============================= */
/* CONTACT HEADER (Get in Touch) */
/* ============================= */

#contact .contact-header h1 {
  font-size: 36px;           /* SAMA dengan Our Projects */
  color: #1f3c88;
  margin-bottom: 16px;
}

#contact .contact-header p {
  font-size: 18px;           /* SAMA dengan paragraf section */
  line-height: 1.9;
  color: #6b7280;
  margin-bottom: 80px;
}

/* ===============================
   FOOTER DIGIVORA UPDATE 
================================ */
.footer {
  background: linear-gradient(180deg, #020617, #020617);
  padding: 60px 20px 40px;
  text-align: center;
  margin-top: 120px; /* ⬅️ INI KUNCINYA */
}

.footer p {
  color: #cbd5f5;
  font-size: 14px;
  letter-spacing: 0.5px;
}


/* ===== PROJECT GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

/* CARD */
.project {
  width: 100%;
  height: 260px;              /* KUNCI TINGGI */
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: #0b1224;
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(79,70,229,0.35);
}

/* IMAGE */
.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* 🔥 PENTING */
  display: block;
}


/* TOMBOL CLOSE MODAL – TANPA LINGKARAN */
.close {
  position: absolute;
  top: 12px;
  right: 12px;

  width: 44px;        /* AREA KLIK BESAR */
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  font-weight: bold;
  color: #3817e0;     /* warna silang */

  background: transparent; /* ❌ HILANGKAN LINGKARAN */
  border: none;

  cursor: pointer;
}

/* hover cuma ganti warna silang */
.close:hover {
  color: #0b0b0b;
}


/* ===== PROJECT SECTION ===== */
.project-section {
  text-align: center;
}

.section-title {
  font-size: 42px;
  color: #1e3a8a;
  margin-bottom: 16px;
}

.section-desc {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 17px;
  line-height: 1.8;
  color: #475569;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: #ffffff;
  border-radius: 22px;
  padding: 40px 32px;
  max-width: 720px;
  width: 92%;
  position: relative;
  text-align: center;
}

.modal-content img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 20px;
}


/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* ===== MODAL CONTENT ===== */
.modal-content {
  position: relative;   /* INI PENTING */
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  max-width: 900px;
  width: 90%;
  box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

/* ===== CLOSE (X) FIX ===== */
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;

  background: transparent;
  border: none;
  padding: 0;

  font-size: 26px;
  font-weight: 600;
  color: #334155;

  cursor: pointer;
  line-height: 1;
  z-index: 10;
}

.modal-close:hover {
  color: #1e3a8a;
}


