/* =========================================================
   proyek.css — PT Ratu Karmel Rope Access Indonesia
   Design system: selaras dengan index.html + style.css
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* ─────────────────────────────────────────
   ROOT & RESET
───────────────────────────────────────── */
:root {
  --primary:       #1B2A6B;
  --primary-navy:  #1B2A6B;
  --dark:          #04144f;
  --scarlet:       #CC1F26;
  --scarlet-dark:  #991519;
  --red:           #CC1F26;
  --text:          #333333;
  --white:         #ffffff;
  --gray:          #555;
  --gray-light:    #F2F2F2;
  --green:         #1a7a4a;
  --purple:        #7b4fbf;
  --border:        #e8eaf0;
  --card-shadow:   0 2px 16px rgba(0, 0, 40, 0.05);
  --card-hover:    0 16px 48px rgba(0, 0, 80, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/** Navbar Layout **/ 
.navbar {
  width: 100%;
  padding: 10px 50px;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  z-index: 999;
  transition: all 0.3s ease;
}

/*  Navbar setelah di‑scroll  */
.navbar.scrolled {
  position: fixed;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1600px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/** Logo  **/
.nav-left {
  flex-shrink: 0;
  align-self: center;
}

.company-logo {
  height: 60px;
  object-fit: contain;
  display: block;
  margin-left: -10px;
}

/** Menu Tengah **/
.nav-center {
  display: flex;
  gap: 75px;
  align-items: center;
}

/*  Warna link default (navbar transparan)  */
.nav-center a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

/*  Hover / aktif saat navbar transparan  */
.nav-center a:hover,
.nav-center a.active {
  color: #ffffff;
}

/*  Underline  */
.nav-center a:hover::after,
.nav-center a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
}

/* ----------  ⬆️  PERBAIKAN: WARNA LINK SAAT SCROLL  ⬆️  ---------- */
.navbar.scrolled .nav-center a {
  color: #333333;
  font-family: 'Montserrat', sans-serif;
}

.navbar.scrolled .nav-center a:hover,
.navbar.scrolled .nav-center a.active {
  color: #1B2A6B;
}

.navbar.scrolled .nav-center a:hover::after,
.navbar.scrolled .nav-center a.active::after {
  background: #CC1F26;
}


/* ----------  Tombol Kanan  ---------- */
.nav-right {
  display: flex;
  align-items: center;
}

.try-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 13px 31px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.try-btn:hover {
  background-color: #CC1F26;
  border-color: #CC1F26;
  color: white;
}

.navbar.scrolled .try-btn {
  border-color: #1B2A6B;
  color: #1B2A6B;
}

.navbar.scrolled .try-btn:hover {
  background-color: #CC1F26;
  border-color: #CC1F26;
  color: #ffffff;
}


/* ----------  Hamburger  ---------- */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger img {
  width: 30px;
  height: 30px;
}

/* ----------  Mobile Menu (Popup)  ---------- */
.nav-menu {
  display: none;
  list-style: none;
  position: absolute;
  top: 75px;
  right: 10px;
  width: 90vw;
  max-width: 300px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
  flex-direction: column;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  width: 100%;
}

.nav-menu a {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  border-radius: 4px;
}

.nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.nav-menu.show {
  display: flex;
}

/* ===== DESKTOP DROPDOWN ===== */
.dropdown-menu {
position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(10px);
  gap: 50px 24px;        /* sama dengan: column-gap:50px; row-gap:24px; */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 32px 40px;    /* top‑bottom 32 px (was 28 px) */
  display: flex;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 998;
  white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- LINK STYLE ---------- */
.dropdown-menu a {
  display: block;
  margin: 10px 0;            /* jarak vertikal nyaman */
  font-weight: 500;
  line-height: 1.4;
  color: #333;
  text-decoration: none;      /* Hapus underline bawaan */
  position: relative;
  transition: color 0.2s ease;
}

/* Garis tipis MENGGANTIKAN underline */
.dropdown-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.dropdown-menu a:hover {
  color: #CC1F26;
}
.dropdown-menu a:hover::after {
  opacity: 1;                 /* Muncul garis saat hover */
}

/* ---------- SECTION TITLE ---------- */
.dropdown-title,
.mobile-group-title {
  font-weight: 700;
  font-size: 14px;
  margin: 12px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333;                /* default hitam */
}

/* ---------- NAVBAR TRANSPARAN ---------- */
.navbar:not(.scrolled) .dropdown-menu {
  background: rgba(0, 0, 0, 0.5);
}
.navbar:not(.scrolled) .dropdown-menu a {
  color: #fff;
}
.navbar:not(.scrolled) .dropdown-menu a::after {
  background: #fff;
}
.navbar:not(.scrolled) .dropdown-title {
  color: #fff;                /* judul putih juga */
}

/* ========================================================= */
/* ================  MOBILE  –  NAV & DROPDOWN  ============ */
/* ========================================================= */
@media screen and (max-width: 768px) {

  .nav-center,
  .nav-right {
    display: none !important;
  }

  .hamburger {
    display: block;
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 1001;
  }

  .navbar {
    padding: 12px 20px;
  }

  .company-logo { height: 35px; }

  /* ── PANEL UTAMA ── */
  #nav-menu {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
    pointer-events: none;
    width: 92%;
    max-width: 340px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(27, 42, 107, 0.1);
    border: 1px solid rgba(27, 42, 107, 0.08);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;

    overflow-y: auto;
    max-height: calc(100dvh - 90px); /* dvh lebih akurat di mobile */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  #nav-menu.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  #nav-menu > ul {
  padding-bottom: 0; /* jangan ada padding yang bikin gap aneh */
  }

  /* Pastikan CTA tetap di bawah & tidak terpotong */
  .nav-mobile-cta {
    position: sticky;  /* HAPUS ini jika ada, biarkan ikut scroll */
    /* kosongkan, biarkan ikut scroll normal */
  }

  /* ── LINK BIASA ── */
  #nav-menu ul li > a {
    color: #0F1B3D !important;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f4ff;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
  }

  #nav-menu ul li:last-child > a {
    border-bottom: none;
  }

  #nav-menu ul li > a:hover {
    color: #CC1F26 !important;
    background: #fff5f5;
  }

  /* ── MOBILE TRIGGER (LAYANAN KAMI ▾) ── */
  .dropdown-mobile .mobile-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #0F1B3D;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid #f0f4ff;
    transition: background 0.2s;
  }

  .dropdown-mobile .mobile-trigger:hover {
    background: #fff5f5;
    color: #CC1F26;
  }

  /* Panah rotate saat aktif */
  .dropdown-mobile .mobile-trigger .trigger-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #6B7A99;
  }

  .dropdown-mobile.active .mobile-trigger .trigger-arrow {
    transform: rotate(180deg);
    color: #CC1F26;
  }

  .dropdown-mobile.active .mobile-trigger {
    color: #CC1F26;
    background: #fff5f5;
  }

  /* ── SUBMENU ── */
  .dropdown-mobile-menu {
    display: none;
    flex-direction: column;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    padding: 6px 0;
  }

  .dropdown-mobile.active .dropdown-mobile-menu {
    display: flex;
  }

  /* Judul grup dalam submenu */
  .mobile-group-title {
    padding: 10px 24px 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1B2A6B;
    opacity: 1;
    margin-top: 4px;
  }

  /* Link dalam submenu */
  .dropdown-mobile-menu a {
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    border-radius: 0;
    transition: background 0.15s, color 0.15s;
    border-left: 2px solid transparent;
  }

  .dropdown-mobile-menu a:hover {
    background: #fff5f5;
    color: #CC1F26;
    border-left-color: #CC1F26;
  }

  /* ── TOMBOL HUBUNGI KAMI di bawah ── */
  .nav-mobile-cta {
    padding: 14px 20px;
    border-top: 1px solid #f0f4ff;
  }

  .nav-mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1B2A6B, #CC1F26);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity 0.2s;
  }

  .nav-mobile-cta a:hover {
    opacity: 0.9;
  }
}

/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
.proyek-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a2d5a 60%, var(--primary) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.proyek-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.proyek-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.proyek-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.proyek-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.proyek-hero h1 span { color: var(--scarlet); }

.proyek-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  line-height: 1.7;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.stat-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px 32px;
  text-align: center;
  transition: background 0.25s;
}
.stat-card:first-child  { border-radius: 12px 0 0 12px; }
.stat-card:last-child   { border-radius: 0 12px 12px 0; }
.stat-card + .stat-card { border-left: none; }
.stat-card:hover        { background: rgba(255, 255, 255, 0.14); }

.stat-num {
  font-size: 44px;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  line-height: 1;
}
.stat-num sup { font-size: 22px; vertical-align: super; }

.stat-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
}

/* ─────────────────────────────────────────
   FILTER BAR
───────────────────────────────────────── */
.filter-section {
  background: var(--gray-light);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 80px;
  z-index: 100;
}

.filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-lbl {
  font-size: 13px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 4px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid #dde1ef;
  background: var(--white);
  color: var(--gray);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover  { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ─────────────────────────────────────────
   PROJECT GRID & CARD
───────────────────────────────────────── */
.proyek-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 100px;
}

.proyek-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.proyek-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.5s ease both;
}
.proyek-card:hover  { transform: translateY(-6px); box-shadow: var(--card-hover); }
.proyek-card.hidden { display: none; }

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

.card-img-wrap {
  position: relative;
  height: 210px;
  background: #e8ecf5;
  overflow: hidden;
}
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.proyek-card:hover .card-img-wrap img { transform: scale(1.05); }

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.card-badge.pemeliharaan { background: var(--green); }
.card-badge.gondola      { background: var(--purple); }

.card-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.4;
}
.placeholder-blue   { background: linear-gradient(135deg, #c8d8f5, #e8f0fe); }
.placeholder-green  { background: linear-gradient(135deg, #c8e8d5, #e8f5ec); }
.placeholder-purple { background: linear-gradient(135deg, #ddd0f5, #f0ebfe); }

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

.card-client {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.client-logo-box {
  width: 32px; height: 32px;
  border-radius: 6px;
  border: 1px solid #e0e4ef;
  background: #f5f7fc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.client-logo-box img { max-width: 28px; max-height: 28px; object-fit: contain; }

.client-name {
  font-size: 12px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 18px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  flex: 1;
}

.card-meta {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f0f2f8;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #888;
  font-weight: 500;
}
.meta-item svg { color: var(--primary); }

/* ─────────────────────────────────────────
   EMPTY / NO RESULTS
───────────────────────────────────────── */
.no-results {
  text-align: center;
  padding: 80px 20px;
  display: none;
  color: #aaa;
}
.no-results.show { display: block; }
.no-results h3   { font-size: 22px; color: #bbb; margin-bottom: 8px; }

/* ─────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  padding: 70px 40px;
  text-align: center;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  margin-bottom: 30px;
}

.cta-btn {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.cta-btn:hover { background: #eef1f8; transform: translateY(-2px); }

/* ================= FOOTER ================= */
.footer {
  background-color: #1B2A6B;
  color: #fff;
  padding: 60px 30px 0;
  font-family: 'Roboto', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
}

/* --- Brand --- */
.footer-brand {
  flex: 0 0 260px;
}

.footer-logo {
  height: 55px;
  object-fit: contain;
  display: block;
  margin-left: -10px;
  margin-bottom: 14px;
}

.footer-brand h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.5;
  color: #fff;
}

.footer-brand p {
  font-size: 12px;
  color: #a0aec0;
  line-height: 1.7;
  margin-bottom: 18px;
}

.footer-brand h4 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

/* Contact list */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #a0aec0;
  font-size: 12px;
  transition: color 0.2s;
}

.footer-contact-item:hover {
  color: #fff;
}

.footer-contact-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

/* --- Group --- */
.footer-group {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  flex: 1;
}

/* Kolom layanan (lebar, 2 sub-kolom) */
.footer-col {
  flex: 1 1 320px;
}

.footer-col h4,
.footer-col-sm h4 {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* 2 kolom di dalam layanan */
.footer-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.footer-col ul,
.footer-col-sm ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li,
.footer-col-sm ul li {
  font-size: 12px;
  color: #a0aec0;
  margin-bottom: 8px;
  line-height: 1.5;
  cursor: default;
  transition: color 0.2s;
}

.footer-col ul li:hover,
.footer-col-sm ul li:hover {
  color: #fff;
}

/* Kolom kecil (perusahaan + info) */
.footer-col-sm {
  flex: 0 0 160px;
}

/* --- Certification bar --- */
.footer-certification {
  background-color: #1B2A6B;
  color: #a0aec0;
  padding: 30px 30px 20px;
  text-align: center;
  margin-top: 50px;
}

.cert-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 0 auto 24px;
}

.cert-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cert-text {
  font-size: 12px;
  max-width: 500px;
  line-height: 1.6;
  color: #a0aec0;
}

.cert-text strong { color: #fff; }

.cert-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.cert-logos img {
  height: 36px;
  max-width: 90px;
  object-fit: contain;
  filter: brightness(0) invert(0.6);
  transition: filter 0.2s;
}

.cert-logos img:hover { filter: brightness(0) invert(1); }

.footer-bottom-text {
  margin-top: 20px;
  font-size: 11px;
  color: #4a5568;
  padding-bottom: 20px;
}

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

@media (max-width: 768px) {
  .footer { padding: 40px 20px 0; }

  .footer-container {
    flex-direction: column;
    gap: 32px;
  }

  .footer-brand { flex: 0 0 auto; width: 100%; }

  .footer-group { gap: 24px; }

  .footer-col { flex: 1 1 100%; }

  .footer-col-sm { flex: 0 0 100%; }

  .footer-certification { padding: 24px 20px 16px; margin-top: 32px; }
}

@media (max-width: 480px) {
  .footer-two-col {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar     { padding: 18px 20px; }
  .nav-center { display: none; }

  .hamburger {
    display: block;
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 1001;
  }

  #nav-menu {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
    pointer-events: none;
    width: 92%;
    max-width: 340px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(27, 42, 107, 0.1);
    border: 1px solid rgba(27, 42, 107, 0.08);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
    overflow-y: auto;
    max-height: calc(100dvh - 90px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  #nav-menu.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  #nav-menu ul li > a {
    color: #0F1B3D !important;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f4ff;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
  }
  #nav-menu ul li:last-child > a { border-bottom: none; }
  #nav-menu ul li > a:hover {
    color: var(--primary) !important;
    background: #f0f6ff;
  }

  .nav-mobile-cta {
    padding: 14px 20px;
    border-top: 1px solid #f0f4ff;
  }
  .nav-mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary), #2a3f8f);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity 0.2s;
  }
  .nav-mobile-cta a:hover { opacity: 0.9; }

  .proyek-hero       { padding: 110px 0 60px; }
  .proyek-hero-inner,
  .hero-stats        { padding: 0 20px; }
  .hero-stats        { flex-direction: column; gap: 10px; }

  .stat-card:first-child,
  .stat-card:last-child,
  .stat-card         { border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12); }

  .filter-inner    { padding: 14px 20px; }
  .proyek-section  { padding: 40px 20px 80px; }
  .proyek-grid     { grid-template-columns: 1fr; }
}

/* ── Scroll reveal (same pattern as About.js) */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
[data-scroll-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero elements animate on load */
.proyek-hero-label { animation: fadeUp 0.7s ease both; animation-delay: 0.1s; }
.proyek-hero h1    { animation: fadeUp 0.7s ease both; animation-delay: 0.25s; }
.proyek-hero p     { animation: fadeUp 0.7s ease both; animation-delay: 0.4s; }
.hero-stats        { animation: fadeUp 0.7s ease both; animation-delay: 0.55s; }

/* Card image container fix for real images */
.card-img-wrap {
  position: relative;
  overflow: hidden;
}
.card-img-wrap img {
  transition: transform 0.4s ease;
}
.proyek-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

