* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  background: #ffffff;
}

/* ================= NAVBAR ================= */

.navbar {
  position: absolute;
  width: 100%;
  top: 0;
  height: 90px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 1000;
}

.nav-container {
  width: 92%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  height: 70px;
  display: flex;
  align-items: center;
}
.logo img {
  height: 100%;
  max-height: 70px;
  object-fit: contain;
}

/* MENU */
.menu {
  display: flex;
  gap: 60px;
  align-items: center;
}

.menu a {
  text-decoration: none;
  font-weight: 600;
  color: #000000;
  letter-spacing: 1px;
}

/* DROPDOWN */
/* ================= DROPDOWN STYLE FINAL ================= */

.dropdown-content {
  position: absolute;
  top: calc(100% + 45px);
  /* 100% = tinggi link LAYANAN
     +20px supaya tepat di bawah garis navbar */

  left: 50%;
  transform: translateX(-50%);

  width: 320px;
  background: #0f2a44;
  display: none;
  flex-direction: column;
  padding: 0;
  z-index: 999;
}
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

/* ACTIVE CLASS (dipanggil JS) */
.dropdown.active .dropdown-content {
  display: flex;
}

/* Item dropdown */
.dropdown-content a {
  color: #ffffff;
  padding: 18px 0;
  text-align: center;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease;
}

/* Hapus garis terakhir */
.dropdown-content a:last-child {
  border-bottom: none;
}

/* Hover effect */
.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.arrow.rotate {
  transform: rotate(180deg);
}
.dropdown {
  position: relative;
}

/* BUTTON NAV */

.btn-nav {
  background: #0e2a47;
  color: white;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* ================= HERO MANAGEMENT ================= */

.supplier-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("../images/box.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
}

.supplier-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  width: 90%;
  padding: 80px 60px;
  text-align: center;
  background: rgba(33, 66, 124, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  color: #ffffff;
}

.supplier-content {
  position: relative;
  max-width: 950px;
  color: #ffffff;
  z-index: 2;
}

.supplier-icon img {
  width: 140px;
  margin-bottom: 25px;
  opacity: 0.95;
}

.supplier-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 56px;
  font-weight: 600;
  margin-bottom: 15px;
}

.supplier-subtitle {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 25px;
  opacity: 0.9;
}

.supplier-divider {
  width: 80px;
  height: 2px;
  background: #ffffff;
  margin: 0 auto 25px auto;
  opacity: 0.6;
}

.supplier-description {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
}

.pt-name {
  white-space: nowrap;
}
/* ================= HAMBURGER ================= */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #111;
  transition: 0.3s ease;
}

/* Animasi X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ================= WHY SECTION FINAL ================= */

.why-section {
  background: #ffffff;
  padding: 140px 0;
}

.why-container {
  width: 92%;
  max-width: 1400px;
  margin: auto;
  text-align: center;
}

.why-title {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 25px;
}

.why-line {
  width: 160px;
  height: 3px;
  background: #000;
  margin: 0 auto 100px;
}

/* GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 351px);
  justify-content: center;
  gap: 60px;
}

/* CARD FIX SIZE */
.why-card {
  width: 370px;
  height: 280px;
  background: #f2f2f2;
  padding: 25px 25px;
  border-radius: 30px;
  border: 2px solid #000;
  box-shadow: 8px 8px 0 #bdbdbd;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ICON */
.why-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.why-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* TITLE */
.why-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* TEXT */
.why-card p {
  font-size: 12px;
  line-height: 1.5;
  color: #444;
}

/* Hover halus saja */
.why-card:hover {
  transform: translateY(-6px);
}

/* ================= SERVICES SECTION ================= */

.services-section {
  background: rgb(233, 240, 255);
  padding: 140px 0;
}

.services-container {
  width: 92%;
  max-width: 1400px;
  margin: auto;
  text-align: center;
}

.services-title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 20px;
}

.services-line {
  width: 200px;
  height: 3px;
  background: #000;
  margin: 0 auto 100px;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 351px);
  justify-content: center;
  gap: 30px;
}

/* CARD */
.service-card {
  width: 351px;
  min-height: 250px; /* lebih fleksibel */
  background: #ffffff;
  padding: 25px;
  border-radius: 30px;
  border: 2px solid #000;
  box-shadow: 8px 8px 0 #bdbdbd;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.service-card:hover {
  background: #295db0;
  transform: translateY(-6px);
  box-shadow: 8px 8px 0 #000;
}

/* UBAH WARNA TEKS SAAT HOVER */
.service-card:hover h3,
.service-card:hover p {
  color: #ffffff;
}

/* Transisi halus untuk teks */
.service-card h3,
.service-card p {
  transition: color 0.3s ease;
}

/* ICON */
.service-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.service-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* TITLE */
.service-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  margin-bottom: 8px;
}

/* TEXT */
.service-card p {
  font-size: 12px;
  line-height: 1.5;
  color: #444;
}

.card-desc {
  font-size: 12px;
  line-height: 1.5;
  color: #444;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.card-list {
  list-style: none;
  padding-left: 0;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 5px;
  transition: color 0.3s ease;
}

.card-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 10px;
}

/* Hover ikut putih */
.service-card:hover .card-desc,
.service-card:hover .card-list {
  color: #ffffff;
}

/* ================= CTA SECTION ================= */
.cta-section {
  background: #f9f9fe;
  padding: 140px 0;
}

.cta-container {
  width: 92%;
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 100px;
}

/* TEXT */
.cta-content {
  max-width: 620px;
}

.cta-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 35px;
  line-height: 1.2;
  color: #0e2a47;
  margin-bottom: 30px;
}

.cta-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #0e2a47;
  margin-bottom: 45px;
}

/* BUTTON */
.cta-button {
  display: inline-block;
  background: #3c63a8;
  color: #ffffff;
  padding: 20px 40px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-button:hover {
  background: #0e2a47;
  transform: translateY(-4px);
}

/* IMAGE FIX */
.cta-image {
  display: flex;
  justify-content: flex-end;
}

.cta-image img {
  width: 500px; /* BESAR seperti desain */
  max-width: none; /* jangan dibatasi */
}

/* ================= FOOTER ================= */
/* ================= FOOTER ================= */

.footer {
  background: #0e2a47;
  color: #ffffff;
  padding: 100px 0 0;
}

.footer-container {
  width: 92%;
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 80px;
}

.footer-col h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin-bottom: 25px;
}

.footer-col p {
  line-height: 1.7;
  margin-bottom: 30px;
  color: #cfd8e3;
}

/* QR */
/* QR */
.qr-code {
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 25px;
  object-fit: contain;
}

/* Wrapper contact button */
.contact-img {
  display: block;
  margin-top: 10px;
}

/* Image contact */
.contact-img img {
  width: 220px;
  display: block;
}
.footer-col:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* List */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 15px;
}

/* LINK PUTIH FIX */
.footer-col ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-col ul li a:visited {
  color: #ffffff;
}

.footer-col ul li a:hover {
  color: #cfd8e3;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 80px;
  text-align: center;
  padding: 25px 0;
  background: #0b223a;
  font-size: 14px;
  color: #cfd8e3;
}

/* ================= MOBILE DRAWER MENU ================= */

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: #0e2a47;

  transform: translateX(100%);
  transition: transform 0.4s ease;

  z-index: 9999;
}

.mobile-menu.active {
  transform: translateX(0);
}
/* Overlay */
.menu-overlay {
  z-index: 9998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Header */
.mobile-menu-header {
  margin-bottom: 40px;
}

.mobile-menu-header h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
}

/* Nav */
.mobile-nav {
  list-style: none;
  margin-bottom: 40px;
}

.mobile-nav li {
  margin-bottom: 20px;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s;
}

.mobile-nav a:hover {
  color: #9bb3e6;
}

/* Extra Info */
.mobile-extra h4 {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.mobile-extra p {
  font-size: 14px;
  line-height: 1.6;
  color: #d5dff5;
}
/* ================= MOBILE DRAWER FINAL ================= */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: linear-gradient(180deg, #0c1b2f, #0a1424);
  padding: 40px 30px;
  transition: 0.4s ease;
  z-index: 2000;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1500;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* HEADER */
.mobile-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 50px;
}

.mobile-close {
  font-size: 26px;
  color: #ffffff;
  cursor: pointer;
}

/* NAV */
.mobile-nav {
  list-style: none;
  margin-bottom: 50px;
}

.mobile-nav li {
  margin-bottom: 28px;
}

.mobile-nav a,
.mobile-toggle {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ACTIVE LINK (Beranda biru seperti gambar) */
.mobile-nav a.active {
  color: #3c7dff;
}

/* DROPDOWN */
.mobile-submenu {
  list-style: none;
  margin-top: 15px;
  padding-left: 10px;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}

.mobile-submenu li {
  margin-bottom: 14px;
}

.mobile-submenu a {
  font-size: 16px;
  font-weight: 400;
  color: #cfd8ff;
}

.mobile-dropdown.active .mobile-submenu {
  max-height: 300px;
}

.mobile-arrow {
  font-size: 16px;
  transition: 0.3s;
}

.mobile-dropdown.active .mobile-arrow {
  transform: rotate(180deg);
}

/* EXTRA INFO */
.mobile-extra h4 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #bfcfff;
}

.mobile-extra p {
  font-size: 14px;
  line-height: 1.6;
  color: #d5dff5;
  margin-bottom: 20px;
}

/* SOCIAL ICON */
.mobile-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.mobile-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #3c63a8;
  padding: 14px 0;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 20px;
  color: #ffffff !important;
  transition: 0.3s ease;
}

.mobile-btn:hover {
  background: #0e2a47;
}

/* =====================================================
   CLEAN RESPONSIVE SYSTEM
   (Tidak mengubah desktop layout)
===================================================== */

/* ========== TABLET (1024px ↓) ========== */
@media (max-width: 1024px) {
  /* NAVBAR */
  .menu {
    gap: 30px;
  }

  /* WHY → 2 kolom */
  .why-grid {
    grid-template-columns: repeat(2, 351px);
    gap: 40px;
  }

  /* SERVICES → 2 kolom */
  .services-grid {
    grid-template-columns: repeat(2, 351px);
    gap: 30px;
  }

  /* CTA spacing */
  .cta-container {
    gap: 60px;
  }

  .cta-image img {
    width: 420px;
  }

  /* FOOTER */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

/* ========== MOBILE (768px ↓) ========== */
@media (max-width: 768px) {
  /* ===== NAVBAR ===== */

  .menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .btn-nav {
    display: none;
  }

  .logo {
    height: 50px;
  }

  .logo img {
    max-height: 50px;
  }

  /* ===== HERO ===== */
  .hero-box {
    padding: 50px 30px;
  }

  .hero-box h1 {
    font-size: 32px;
  }

  .hero-box h3 {
    font-size: 16px;
  }

  .hero-box p {
    font-size: 14px;
  }

  /* ===== WHY ===== */
  .why-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .why-card {
    width: 90%;
    height: auto;
  }

  .why-title {
    font-size: 30px;
  }

  /* ===== SERVICES ===== */
  .services-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .service-card {
    width: 90%;
    height: auto;
  }

  .services-title {
    font-size: 30px;
  }

  /* ===== CTA ===== */
  .cta-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-content {
    max-width: 100%;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 15px;
  }

  .cta-image {
    justify-content: center;
  }

  .cta-image img {
    width: 320px;
  }

  /* ===== FOOTER ===== */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* FLOATING ICON */
.floating-lang {
  position: fixed;
  left: 20px;
  bottom: 30px;
  width: 55px;
  height: 55px;
  background: #0e2a47;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: 0.3s ease;
}

.floating-lang:hover {
  transform: scale(1.1);
}

/* POPUP */
.lang-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.lang-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 280px;
}

.lang-box button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: none;
  background: #0e2a47;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}
