/* =========================================
   A.1. VARIABLES & BASE RESET (CLEANED)
========================================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #f8f9fa;
  --secondary-color: #323232;
  --accent-color: #3eb161;
  --button-color: #d9d9d9;
  --white-color: #ffffff;

  --primary-text-color: #3eb161;
  --secondary-text-color: #242424;
  --accent-text-color: #5f5f5f;
  --header-text-color: #f2f2f2;
  --marquee-color: #ebebeb;
  --white-text-color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html,
body {
  overflow-x: hidden;
  background-color: var(--secondary-color);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  text-transform: capitalize;
  display: inline-block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

button {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
}

/* =========================================
   A.2. GLOBAL TYPOGRAPHY (CALIBRATED)
========================================= */
body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--secondary-text-color);
}

h1 {
  font-size: 4.75rem;
  color: var(--header-text-color);
}
h2 {
  font-size: 3.5rem;
  color: var(--header-text-color);
}
h3 {
  font-size: 2.375rem;
  color: var(--header-text-color);
}
h4 {
  font-size: 1.75rem;
  color: var(--header-text-color);
}
h5 {
  font-size: 1.375rem;
  color: var(--header-text-color);
}
h6 {
  font-size: 1rem;
  color: var(--header-text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: capitalize;
  font-weight: 600;
}

.industries-title,
.services-title,
.projects-title,
.clients-title,
.coverage-title,
.contact-title {
  font-size: 2.5rem;
  color: var(--secondary-text-color);
}

.industries-subtitle,
.services-subtitle,
.projects-subtitle,
.coverage-subtitle,
.contact-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent-color);
}

/* =========================================
   A.3. GLOBAL UTILITY CLASSES
========================================= */
.section-padding {
  padding: 5rem 10%;
}

.bg-primary {
  background-color: var(--primary-color);
}

.bg-secondary {
  background-color: var(--secondary-color);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.divider-wrapper {
  width: 100%;
  background-color: var(--primary-color);
  padding: 0 10%;
}

.custom-line {
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
}

.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   B. NAVBAR & FLOATING BUTTONS
========================================= */
/* --- 1. NAVBAR MASTER CONTAINER --- */
.navbar {
  position: fixed;
  top: 1.875rem;
  left: 5%;
  right: 5%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9375rem 2.5rem;
  border-radius: 3.125rem;

  background-color: var(--secondary-color);
  z-index: 9999;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar.scrolled {
  top: 0;
  left: 0;
  right: 0;

  border-radius: 0;
  padding: 0.9375rem 5%;

  background-color: var(--primary-color);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.navbar.hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

.logo img {
  height: 2.5rem;
}

/* --- 2. NAV LINKS MASTER --- */
.main-nav-links ul,
.side-nav-links ul {
  display: flex;
  gap: 1.25rem; /* 20px */
  align-items: center;
}

.main-nav-links ul li a,
.side-nav-links ul li a {
  position: relative;
  display: flex;
  align-items: center;

  font-size: 1rem; /* 16px */
  font-weight: 500;
  padding: 0.5rem 0.75rem; /* 8px 12px */
  gap: 0.375rem; /* 6px */
  white-space: nowrap;

  color: var(--white-text-color);
  transition: color 0.3s ease-in-out;
}

.navbar.scrolled .main-nav-links li a,
.navbar.scrolled .side-nav-links li a {
  color: var(--secondary-text-color);
  font-weight: 600;
}

.navbar.scrolled .main-nav-links li a:hover,
.navbar.scrolled .side-nav-links li a:hover {
  color: var(--accent-color);
}

.main-nav-links li a::after,
.side-nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
  transition: width 0.3s;
}

.main-nav-links li a:hover::after,
.side-nav-links li a:hover::after,
.dropdown-link.is-clicked > a::after,
.dropdown-link:focus-within > a::after {
  width: 80%;
}

.navbar.scrolled .dropdown-link > a::after {
  display: none;
}

/* Ukuran Ikon menggunakan PX (Presisi Kanvas SVG/PNG) */
.main-nav-links li a img[src$="down-arrow.png"],
.side-nav-links li a img[src$="down-arrow.png"] {
  filter: invert(1);
  width: 14px;
  transition: all 0.3s;
}

.navbar.scrolled .main-nav-links li a img[src$="down-arrow.png"],
.navbar.scrolled .side-nav-links li a img[src$="down-arrow.png"] {
  filter: invert(0);
}

.main-nav-links li a:hover img[src$="down-arrow.png"],
.side-nav-links li a:hover img[src$="down-arrow.png"],
.dropdown-link.is-clicked > a img[src$="down-arrow.png"],
.dropdown-link:focus-within > a img[src$="down-arrow.png"] {
  transform: rotate(-90deg);
}

.side-nav-links img:not([src$="down-arrow.png"]),
.dropdown-menu img.dropdown-flag {
  width: 22px;
  border-radius: 2px;
}

/* --- 3. DROPDOWN MENUS --- */
.dropdown-link {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  min-width: 13.75rem; /* 220px */

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem; /* 12px */
  margin-top: 1.5625rem; /* 25px */
  padding: 0.625rem 0; /* 10px 0 */

  background-color: rgba(50, 50, 50, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  z-index: 100;
  transform: translateY(15px);
  transition: all 0.3s;
}

.menu-help {
  left: -2.1875rem; /* -35px */
}
.menu-lang {
  right: -2.5rem; /* -40px */
  left: auto;
}

.dropdown-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem; /* 5px */
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 3.5rem 0.75rem 1.5rem !important;

  font-size: 0.875rem; /* 14px */
  font-weight: 500 !important;
  gap: 0.625rem; /* 10px */
  white-space: nowrap;

  color: var(--white-text-color) !important;
  transition: 0.2s;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:hover {
  background-color: var(--accent-color);
}

.dropdown-link:hover .dropdown-menu,
.dropdown-link:focus-within .dropdown-menu,
.dropdown-link.is-clicked .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- 4. HAMBURGER MENU --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px; /* PX */
  cursor: pointer;
  z-index: 100;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background-color: var(--white-text-color);
  transition: all 0.3s;
}

.navbar.scrolled .hamburger span {
  background-color: var(--secondary-text-color);
}

/* --- 5. FLOATING BUTTONS --- */
.scroll-top-btn,
.floating-email {
  position: fixed;
  right: 2.5rem; /* 40px */
  width: 3.75rem; /* 60px */
  height: 3.75rem; /* 60px */

  display: flex;
  justify-content: center;
  align-items: center;

  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9998;

  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-top-btn {
  bottom: 7.1875rem; /* 115px */
  background-color: var(--secondary-text-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn .arrow-up {
  display: inline-block;
  border: solid var(--white-text-color);
  border-width: 0 3px 3px 0;

  padding: 6px;
  margin-top: 6px;
  transform: rotate(-135deg);
}

.floating-email {
  bottom: 2.5rem; /* 40px */
  background-color: var(--white-text-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.floating-email img {
  width: 45%;
  height: auto;
}

.floating-email:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* =========================================
   C. MAIN CONTENT & HERO SECTION
========================================= */
.main-content {
  padding-top: 3.75rem; /* 60px */
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

/* --- 1. HERO SECTION --- */
.hero-section {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;

  background-image: url("../assets/dashboard/bg-home.webp");
  background-size: cover;
  background-position: center;
  padding: 0 5%;

  z-index: 1;
  will-change: opacity;
  transform: translateZ(0);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  padding-left: 5%;
}

.hero-title {
  max-width: 50rem; /* 800px */
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.45rem; /* 22px */
  font-weight: 500;
  line-height: 1.5;
  text-transform: capitalize;

  margin-top: 1.25rem; /* 20px */
  color: var(--white-text-color);
}

/* Base Button (Hero) */
.btn-hero {
  align-self: flex-start;
  padding: 0.9375rem 2.1875rem; /* 15px 35px */
  margin-top: 2.1875rem; /* 35px */

  border-radius: 3.125rem; /* 50px */
  border: 2px solid var(--white-text-color);

  font-size: 1rem; /* 16px */
  font-weight: 600;
  background: transparent;
  color: var(--white-text-color);

  transition: all 0.3s ease;
}

.btn-hero:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Scroll Down Indicator */
.scroll-down-container {
  position: absolute;
  bottom: 3.125rem; /* 50px */
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;

  cursor: pointer;
  opacity: 0.8;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-bottom: 2px solid var(--white-text-color);
  border-right: 2px solid var(--white-text-color);

  transform: rotate(45deg);
  animation: scroll-arrow-stagger 2s infinite;
}

.scroll-arrow:nth-child(2) {
  animation-delay: -0.2s;
}
.scroll-arrow:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes scroll-arrow-stagger {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-10px, -10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px, 10px);
  }
}

/* --- 2. INTERMEZZO SECTION --- */
.intermezzo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;

  padding: 5rem 10%;

  background:
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)),
    url("../assets/intermezzo/office.webp") center 70% / cover;
}

.intermezzo-content {
  max-width: 62.5rem; /* 1000px */
}

.intermezzo-description {
  font-size: 1.5rem; /* 24px */
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2.5rem; /* 40px */
  color: var(--white-text-color);
}

.btn-intermezzo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem; /* 12px */

  padding: 1rem 1.875rem 1rem 2.5rem;
  border-radius: 3.125rem;

  font-size: 1rem; /* 16px */
  font-weight: 500;

  background-color: var(--accent-color);
  color: var(--white-text-color);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-intermezzo .btn-arrow {
  width: 1.25rem; /* 20px */
  filter: invert(1);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-intermezzo:hover {
  /* background-color: #359d54; */
  transform: translateY(-4px);
}

.btn-intermezzo:hover .btn-arrow {
  transform: rotate(405deg);
}

/* =========================================
   C.2. INTRODUCE & ABOUT SECTION
========================================= */
.introduce-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.introduce-section h2 {
  font-size: 3rem; /* 48px */
  padding: 3.75rem 0 10.625rem 0; /* 60px 0 170px 0 */
  color: var(--white-text-color);
}

.introduce-section span {
  color: var(--accent-color);
}

.about-section {
  display: flex;
  flex-direction: column;
  text-align: center;
  border-radius: 5.625rem 5.625rem 0 0; /* 90px 90px 0 0 */
  padding: 0 10%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 3.125rem; /* 50px */
  margin: 0 auto;
  transform: translateY(-3.75rem); /* -60px */
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-card h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 0.625rem; /* 10px */
  color: var(--secondary-text-color);
}

.stat-card p {
  max-width: 21.25rem; /* 340px */
  font-size: 1rem; /* 16px */
  font-weight: 400;
  line-height: 1.6;
  text-align: justify;
  padding-bottom: 1.875rem; /* 30px */
  color: var(--accent-text-color);
}

.icon-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10.9375rem; /* 175px */
  height: 10.9375rem; /* 175px */
  border-radius: 2.8125rem; /* 45px */
  margin-bottom: 1.25rem; /* 20px */

  background-color: var(--white-color);
  box-shadow: 0 12px 12px -4px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.3s ease;
}

.icon-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.icon-box img {
  width: 55%;
  height: auto;
}

/* =========================================
   C.3. INDUSTRIES SECTION
========================================= */
.industries-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.125rem; /* 50px */
}

.industries-content {
  display: flex;
  width: 100%;
  gap: 5rem; /* 80px */
}

.industries-left {
  flex: 1;
  max-width: 55%;
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

.industries-title {
  font-size: 1.75rem;
}

.industries-subtitle {
  font-size: 2.25rem;
}

.industries-description {
  font-size: 1.125rem; /* 20px */
  text-align: justify;
  margin-top: 1.25rem; /* 20px */
  margin-bottom: 9.375rem; /* 150px */
  color: var(--accent-text-color);
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 1.25rem; /* 20px */
  position: relative;
}

.carousel-prev-btn,
.carousel-next-btn {
  width: 1.875rem; /* 30px */
  height: 3.125rem; /* 50px */
  display: flex;
  justify-content: center;
  align-items: center;

  border: none;
  border-radius: 0.9375rem 0 0 0.9375rem; /* 15px */
  cursor: pointer;
  background-color: var(--button-color);
  color: var(--secondary-text-color);
  transition: background-color 0.3s ease;
}

.carousel-next-btn {
  border-radius: 0 0.9375rem 0.9375rem 0; /* 15px */
}

.carousel-prev-btn img,
.carousel-next-btn img {
  width: 1.25rem; /* 20px */
  height: auto;
  transition: filter 0.3s ease;
}

.carousel-prev-btn img {
  transform: rotate(180deg);
}

.carousel-prev-btn:hover,
.carousel-next-btn:hover {
  background-color: var(--accent-color);
}
.carousel-prev-btn:hover img,
.carousel-next-btn:hover img {
  filter: invert(1);
}

.carousel-icons {
  display: flex;
  align-items: flex-end;
  gap: 1.5625rem; /* 25px */
  padding: 1.25rem 0.625rem; /* 20px 10px */
  width: max-content;
}

.carousel-icon-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 7.5rem; /* 120px */
  height: 7.5rem; /* 120px */

  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 1.875rem; /* 30px */
  background-color: var(--white-color);
  cursor: pointer;
  transform-origin: center bottom;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel-icon-box img {
  width: 75%;
  transition: filter 0.3s ease;
}

.carousel-icon-box.active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: scale(1.15);
  box-shadow: 0 12px 24px rgba(62, 177, 97, 0.25);
}

.carousel-icon-box.active img {
  filter: brightness(0) invert(1);
  transform: scale(1.25);
}

.carousel-icon-box:hover:not(.active) {
  border-color: var(--accent-color);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background-color: #e0e0e0;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--accent-color);
}

.industries-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  max-width: 45%;
}

.industries-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 40.625rem; /* 650px */
  aspect-ratio: 4/4.5;
  border-radius: 1.875rem; /* 30px */
  overflow: hidden;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.15);
}

.industries-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.industries-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

.industries-image-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 0 1.5625rem 2.5rem; /* 0 0 25px 40px */
  z-index: 2;
  transition: opacity 0.3s ease;
}

.industries-image-text h3 {
  font-size: 1.75rem; /* 28px */
  color: var(--white-text-color);
}

/* =========================================
   C.4. SERVICES SECTION
========================================= */
.services-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-content {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  gap: 3.75rem; /* 60px */
}

.services-left {
  flex: 1.5;
  max-width: 55%;
}

.services-title {
  font-size: 3rem; /* 48px */
}

.services-accordion {
  display: flex;
  gap: 0.9375rem; /* 15px */
  width: 100%;
  height: 31.25rem; /* 500px */
}

.acc-item {
  position: relative;
  flex: 1;
  border-radius: 1.25rem; /* 20px */
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.acc-item.active {
  flex: 5;
}

.acc-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: filter 0.5s ease;
}

.acc-item.active img {
  filter: brightness(1);
}

.acc-item:not(.active)::after {
  content: ">";
  position: absolute;
  top: 95%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.875rem; /* 30px */
  font-weight: 300;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.acc-item:hover:not(.active)::after {
  color: rgba(255, 255, 255, 1);
}

.acc-item:hover:not(.active) img {
  filter: brightness(0.85);
}

.acc-progress-track {
  position: absolute;
  bottom: 15px;
  left: 15px;
  width: calc(100% - 30px);
  height: 5px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  overflow: hidden;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.acc-item.active .acc-progress-track {
  opacity: 1;
}

.acc-progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--accent-color);
  border-radius: 0.625rem; /* 10px */
}

.services-right {
  display: flex;
  flex: 1;
  align-items: flex-start;
  margin-top: 1.5625rem; /* 25px */
  max-width: 45%;
}

.services-text-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  transition: opacity 0.4s ease-in-out;
}

.services-text-info h3 {
  font-size: 2rem; /* 32px */
  margin-bottom: 1.25rem; /* 20px */
  color: var(--secondary-text-color);
}

.services-text-info p {
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 2.5rem; /* 40px */
  color: var(--accent-text-color);
}

.btn-services {
  padding: 1rem 2.25rem; /* 16px 36px */
  border-radius: 1.875rem; /* 30px */
  font-weight: 500;
  font-size: 0.9375rem; /* 15px */

  background-color: var(--secondary-text-color);
  color: var(--white-text-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-services:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(62, 177, 97, 0.3);
}

/* =========================================
   C.5. PROJECTS SECTION
========================================= */
.projects-section {
  display: flex;
  flex-direction: column;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5rem 5.625rem; /* 80px 90px */
}

.project-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 1.875rem; /* 30px */
  margin-bottom: 1.25rem; /* 20px */
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.project-card:hover .project-image-wrapper {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 20%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-image-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 1.25rem 1.25rem 1.25rem; /* 0 20px 30px 20px */
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.project-text-description {
  font-size: 0.875rem; /* 14px */
  font-weight: 400;
}

.project-card:hover .project-image-text {
  opacity: 1;
  transform: translateY(0);
}

.project-info h3 {
  font-size: 1.25rem; /* 20px */
  color: var(--secondary-text-color);
  margin-bottom: 1.875rem; /* 30px */
}

.project-line {
  width: 100%;
  height: 3px;
  border-radius: 0.625rem; /* 10px */
  background-color: var(--accent-color);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.project-card:hover .project-line {
  transform: scaleX(1.05);
}

/* =========================================
   C.6. CLIENTS SECTION
========================================= */
.clients-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;

  background-color: var(--marquee-color);

  box-shadow:
    inset 0px 18px 20px -15px rgba(0, 0, 0, 0.2),
    inset 0px -18px 20px -15px rgba(0, 0, 0, 0.2);

  padding: 3.125rem 0; /* 50px 0 */
}

.clients-title {
  font-size: 2rem; /* 32px */
}

.clients-section.is-dragging,
.clients-section.is-dragging * {
  cursor: grabbing !important;
}

.clients-section .section-header {
  margin-bottom: 3.125rem; /* 50px */
}

.clients-marquee-container {
  width: 100vw;
  max-width: 100%;
  overflow-x: auto;
  padding: 1.25rem 0; /* 20px 0 */
  cursor: grab;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.clients-marquee-container::-webkit-scrollbar {
  display: none;
}

.clients-marquee-container.active {
  cursor: grabbing;
}

.clients-marquee-track {
  display: flex;
  width: max-content;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 7.5rem; /* 120px */
  padding-right: 7.5rem; /* 120px */
}

.client-logo-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10rem; /* 160px */
  height: 5rem; /* 80px */
  flex-shrink: 0;
}

.client-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.client-logo-box:hover img {
  transform: scale(1.15);
  filter: grayscale(0%) opacity(1);
}

/* =========================================
   C.7. COVERAGE AREA SECTION
========================================= */
.coverage-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coverage-map {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 95rem; /* 1520px */
}

.coverage-map img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.05));
}

.coverage-map img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}

/* =========================================
   C.8. CONTACT SECTION
========================================= */
.contact-section .contact-title {
  color: var(--white-text-color);
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 6.25rem; /* 100px */
}

.contact-left {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 5rem; /* 80px */
}

.contact-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-block-title {
  font-size: 1.5rem; /* 24px */
  padding-bottom: 0.625rem; /* 10px */
  color: var(--white-text-color);
}

.contact-block-description {
  font-size: 1.125rem; /* 18px */
  padding-bottom: 1.25rem; /* 20px */
  color: var(--white-text-color);
}

.contact-block span a {
  text-transform: lowercase;
  text-decoration: underline;
}

.contact-block a {
  color: var(--white-text-color);
}

.btn-contact {
  display: inline-block;
  padding: 1.25rem 1.625rem; /* 20px 26px */
  border-radius: 1.875rem; /* 30px */
  font-size: 1rem; /* 16px */
  font-weight: 500;

  background-color: var(--accent-color);
  color: var(--white-text-color);
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background-color: #359d54;
  transform: translateY(-3px);
}

.contact-divider {
  width: 2px;
  background-color: var(--accent-color);
  border-radius: 0.625rem;
}

.contact-map {
  width: 100%;
  height: 20.625rem; /* 330px */
  border: none;
}

.head-office-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  margin-top: 1.5rem; /* 24px */
  gap: 0.625rem; /* 10px */
}

.head-office-info h3 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 0.625rem; /* 10px */
  color: var(--white-text-color);
}

.head-office-details {
  display: flex;
  flex-direction: column;
  gap: 0.9375rem; /* 15px */
}

.head-office-details li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem; /* 20px */
}

.head-office-details li img {
  width: 1.75rem; /* 28px */
  flex-shrink: 0;
  filter: invert(56%) sepia(50%) saturate(450%) hue-rotate(85deg)
    brightness(95%) contrast(88%);
}

.head-office-details li span {
  font-size: 1.125rem; /* 18px */
  line-height: 1.5;
  text-transform: none;
  color: var(--white-text-color);
}

.head-office-details li span a {
  text-transform: lowercase;
  color: var(--white-text-color);
}

/* =========================================
   C.9. FOOTER SECTION
========================================= */
.footer-section {
  padding: 5rem 10% 1.875rem;
  background-color: var(--accent-color);
  color: var(--white-text-color);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 5rem; /* 80px */
  width: 100%;
  margin-bottom: 3.75rem; /* 60px */
}

.footer-brand {
  flex: 1;
  max-width: 21.875rem; /* 350px */
  display: flex;
  flex-direction: column;
  gap: 1.5625rem; /* 25px */
}

.footer-logo img {
  width: 11.25rem; /* 180px */
  object-fit: contain;
}

.footer-bio {
  max-width: 18.75rem; /* 300px */
  font-size: 0.875rem; /* 14px */
  line-height: 1.6;
  text-align: justify;
  color: rgba(255, 255, 255, 0.85);
}

.social-media {
  display: flex;
  align-items: center;
  gap: 0.9375rem; /* 15px */
}

.social-media a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem; /* 40px */
  height: 2.5rem; /* 40px */

  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-media img {
  width: 1.125rem; /* 18px */
  filter: invert(1);
  transition: filter 0.3s ease;
}

.social-media a:hover {
  background-color: var(--white-text-color);
  transform: translateY(-3px);
}

.social-media a:hover img {
  filter: invert(0);
}

.footer-links-wrapper {
  flex: 2;
  display: flex;
  justify-content: space-between;
  gap: 2.5rem; /* 40px */
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h3 {
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
  margin-bottom: 1.5rem; /* 24px */
  color: var(--white-text-color);
  position: relative;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 2.5rem; /* 40px */
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 0.5rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* 12px */
}

.footer-col a {
  position: relative;
  font-size: 1rem; /* 16px */
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s ease;
}

.footer-col a::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background-color: var(--white-text-color);
  transition: height 0.3s ease;
}

.footer-col a:hover {
  color: var(--white-text-color);
  transform: translateX(10px);
}

.footer-col a:hover::before {
  height: 80%;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px */
}

.footer-bottom .custom-line {
  background-color: rgba(255, 255, 255, 0.2);
}

.copyright-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright-content p,
.legal-links a {
  font-size: 0.875rem; /* 14px */
  color: rgba(255, 255, 255, 0.6);
}

.legal-links {
  display: flex;
  gap: 1.25rem; /* 20px */
}

.legal-links a:hover {
  color: var(--white-text-color);
}
/* =========================================
   D. MEDIA QUERIES (RESPONSIVE DESIGN)
========================================= */

/* --- 1. LAYAR LAPTOP STANDAR (Max 1440px) --- 
   Menangani resolusi 1366x768 dan 1280x720 */
@media (max-width: 1440px) {
  html {
    font-size: 70%;
  }

  .section-padding {
    padding: 3rem 10%;
  }

  /* .divider-wrapper {
    padding: 0 6%;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .introduce-section h2 {
    padding: 3rem 0 8rem 0;
  }

  .industries-content,
  .services-content,
  .contact-content {
    gap: 3rem;
  } */
}

/* --- 2. LAYAR TABLET & LAYAR KOTAK (Max 992px) --- */
@media (max-width: 992px) {
  html {
    scroll-behavior: smooth;
  }

  /* =======================================
     A. MEROMBAK NAVBAR (MOBILE VIEW)
  ======================================= */
  .hamburger {
    display: flex;
    order: 1;
  }
  .logo {
    order: 2;
  }

  .navbar {
    padding: 0.9375rem 5%;
  }

  /* Agar lengkungan bawah "Pil" hilang saat menu terbuka */
  .navbar.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .navbar.scrolled.active {
    border-radius: 0;
  }

  /* Menu Utama (Beradaptasi dengan Induknya) */
  .main-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;

    background-color: var(--secondary-color);
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    padding: 1.5rem 5% 2rem;

    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .main-nav-links::-webkit-scrollbar {
    display: none;
  }

  .navbar.scrolled .main-nav-links {
    background-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .main-nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav-links ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .main-nav-links ul li {
    width: 100%;
  }

  .main-nav-links ul li a {
    color: var(--white-text-color);
    font-weight: 600;
    font-size: 1.125rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .main-nav-links ul li a::after,
  .dropdown-link.is-clicked > a::after {
    display: none !important;
  }

  .navbar.scrolled .main-nav-links ul li a {
    color: var(--secondary-text-color);
  }

  /* Dropdown Accordion (Indentasi) */
  .dropdown-link:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
  }

  .dropdown-link.is-clicked .dropdown-menu {
    max-height: 25rem; /* Cukup tinggi untuk memuat isi submenu secara penuh */
    margin-top: 1rem;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .dropdown-menu {
    position: static;
    /* display: none; -- DIHAPUS, diganti max-height agar bisa dianimasikan meluncur */
    max-height: 0;
    overflow: hidden;

    min-width: 100%;
    padding: 0;
    margin-top: 0; /* Reset margin awal saat tertutup */

    background-color: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transform: none;

    /* Ini rahasianya: Membuat efek akordion meluncur mulus */
    transition:
      max-height 0.4s ease,
      margin-top 0.4s ease,
      opacity 0.4s ease;
  }

  .dropdown-menu ul {
    gap: 0.5rem;
  }

  .dropdown-menu a {
    padding: 0.5rem 0 0.5rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    background-color: transparent !important;
  }

  .dropdown-menu a:hover {
    color: var(--accent-color) !important;
  }

  .navbar.scrolled .dropdown-menu a {
    color: var(--accent-text-color) !important;
  }

  .side-nav-links {
    display: none;
  }

  /* Animasi Ikon Hamburger */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--white-text-color);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--white-text-color);
  }

  .navbar.scrolled .hamburger span {
    background-color: var(--secondary-text-color);
  }

  .navbar.scrolled .hamburger.active span:nth-child(1),
  .navbar.scrolled .hamburger.active span:nth-child(3) {
    background-color: var(--secondary-text-color);
  }

  /* =======================================
     B. SISA KODE LAYOUT BAWAAN (JANGAN DIHAPUS)
  ======================================= */
  .industries-content,
  .services-content,
  .contact-content {
    flex-direction: column;
    gap: 3rem;
  }

  .industries-left,
  .industries-right,
  .services-left,
  .services-right,
  .contact-left,
  .contact-right {
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links-wrapper {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* --- 3. TABLET PORTRAIT & MOBILE BESAR (Max 768px) --- */
@media (max-width: 768px) {
  html {
    font-size: 81.25%;
  }

  .section-padding {
    padding: 3rem 5%;
  }

  .divider-wrapper {
    padding: 0 5%;
  }

  h1 {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .projects-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .services-accordion {
    height: 25rem;
  }
}

/* --- 4. SMARTPHONE KECIL (Max 480px) --- */
@media (max-width: 480px) {
  html {
    font-size: 75%;
  }

  .introduce-section h2 {
    font-size: 2.5rem;
    padding: 2rem 0 6rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(1, 1fr);
    transform: translateY(-2rem);
  }

  .btn-hero,
  .btn-intermezzo,
  .btn-services,
  .btn-contact {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .footer-links-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-col {
    width: 100%;
  }

  .copyright-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
