* {
  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;
}
/* ================= CONTRACTORS HERO ================= */

.hero-contractors {
  position: relative;
  min-height: 110vh;
  width: 100%;
  background: url("../images/konstruksi.webp") center/cover no-repeat;
  background-size: 120%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 20px 100px;
  overflow: hidden;
}

/* BOX LEBIH PERSEGI & TIDAK TERLALU BESAR */
.hero-box-contractors {
  position: relative;
  z-index: 2;

  width: 85%;
  max-width: 1600px;
  padding: 10px 10px;

  background: rgba(33, 66, 124, 0.15); /* lebih transparan */
  backdrop-filter: blur(8px); /* blur dikurangi */
  -webkit-backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);

  border-radius: 2px;
  text-align: center;
  color: #ffffff;
}

/* ICON BESAR PUTIH */
.hero-icon-contractors {
  width: 300px;
  margin-bottom: 40px;
}

/* TITLE BESAR UPPERCASE */
.hero-box-contractors h1 {
  font-family: "Playfair Display", serif;
  font-size: 64px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

/* SUBTITLE */
.hero-box-contractors h3 {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Divider */
.hero-box-contractors .hero-divider {
  width: 200px;
  height: 2px;
  background: #ffffff;
  margin: 20px auto 40px;
  opacity: 0.7;
}

/* Paragraph */
.hero-box-contractors p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 1000px;
  margin: 10px auto 0px;
}
.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 NUKA SECTION ================= */

.why-nuka-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: 42px;
  margin-bottom: 15px;
}

.why-line {
  width: 250px;
  height: 3px;
  background: #000;
  margin: 0 auto 100px;
}

/* GRID 3 ATAS 2 BAWAH */
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 60px;
}
/* 3 card pertama */
.why-card:nth-child(1) {
  grid-column: 1 / span 2;
}
.why-card:nth-child(2) {
  grid-column: 3 / span 2;
}
.why-card:nth-child(3) {
  grid-column: 5 / span 2;
}

/* 2 card bawah supaya di tengah */
.why-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.why-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* CARD STYLE PERSIS */
.why-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 30px;
  border: 2px solid #000;
  box-shadow: 10px 10px 0 #bdbdbd;
  text-align: left;
  transition: all 0.3s ease;
}

/* Hover subtle */
.why-card:hover {
  transform: translateY(-6px);
}

/* ICON */
.why-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
}

.why-icon img {
  max-width: 100%;
  object-fit: contain;
}

/* TITLE */
.why-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin-bottom: 10px;
}

/* TEXT */
.why-card p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

/* ================= SERVICES SECTION ================= */

.services-section {
  background: #cfd6e3; /* abu seperti gambar */
  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: 15px;
}

.services-line {
  width: 260px;
  height: 3px;
  background: #000;
  margin: 0 auto 100px;
}

/* ================= GRID ================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ================= CARD ================= */

.service-card {
  background: linear-gradient(135deg, #0e1f38, #162f56);
  padding: 40px;
  border-radius: 30px;
  text-align: left;
  color: #ffffff;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Hover lebih elegan */
.service-card:hover {
  transform: translateY(-8px);
}

/* ================= ICON ================= */

.service-icon {
  width: 150px;
  height: 150px;
  margin-bottom: -50px;
}

.service-icon img {
  max-width: 100%;
  object-fit: contain;
}

/* ================= TITLE ================= */

.service-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffffff;
}

/* ================= TEXT ================= */

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.95;
  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-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-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  /* RESET POSISI KHUSUS DESKTOP */
  .why-card {
    grid-column: auto !important;
  }

  /* 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;
  }
}

@media (max-width: 768px) {
  /* ===== NAVBAR ===== */
  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .logo {
    height: 50px;
  }

  .logo img {
    max-height: 50px;
  }

  /* ===== HERO CONTRACTORS ===== */
  .hero-contractors {
    min-height: 90vh;
    padding: 120px 20px 60px;
    background-size: cover;
  }

  .hero-box-contractors {
    width: 95%;
    padding: 40px 25px;
  }

  .hero-icon-contractors {
    width: 140px;
    margin-bottom: 20px;
  }

  .hero-box-contractors h1 {
    font-size: 32px;
  }

  .hero-box-contractors h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .hero-box-contractors p {
    font-size: 14px;
  }

  /* ===== WHY SECTION ===== */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* RESET POSISI */
  .why-card {
    grid-column: auto !important;
  }

  .why-title {
    font-size: 30px;
  }

  .why-card h3 {
    font-size: 18px;
  }

  .why-card p {
    font-size: 14px;
  }

  /* ===== SERVICES SECTION ===== */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card {
    padding: 30px;
  }

  .service-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
  }

  .services-title {
    font-size: 30px;
  }

  /* ===== CTA ===== */
  .cta-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .cta-content {
    max-width: 100%;
  }

  .cta-content h2 {
    font-size: 26px;
  }

  .cta-content p {
    font-size: 15px;
  }

  .cta-image {
    justify-content: center;
  }

  .cta-image img {
    width: 280px;
  }

  /* ===== FOOTER ===== */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* 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;
}
