/* === VARIABEL GLOBAL === */
:root {
  --primary-blue: #005a9c;
  --dark-blue-brand: #002d4e;
  --accent-color: #ffa500;
  --primary-red: #e53935;
  --bg-primary: #ffffff;
  --bg-secondary: #f7fafc;
  --text-primary: #2d3748;
  --text-headings: #002d4e;
  --text-light: #ffffff;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --header-bg: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.05);
}

body.dark-mode {
  --bg-primary: #1a202c;
  --bg-secondary: #2d3748;
  --text-primary: #e2e8f0;
  --text-headings: #ffffff;
  --border-color: #4a5568;
  --card-bg: #2d3748;
  --header-bg: #2d3748;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --dark-blue-brand: #1a202c;
}

/* === GAYA DASAR === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Montserrat", "Arial", sans-serif;
  line-height: 1.7;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s, color 0.3s;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
h1,
h2,
h3 {
  color: var(--text-headings);
  font-weight: 700;
  transition: color 0.3s;
}
h2 {
  text-align: center;
  margin-bottom: 48px;
  font-size: 2.25rem;
}
section {
  padding: 80px 0;
}

/* === HEADER & NAVIGASI === */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 24px 0;
  transition: background-color 0.4s ease, box-shadow 0.4s ease,
    padding 0.4s ease;
  background-color: transparent;
}
.header.scrolled {
  background-color: var(--header-bg);
  box-shadow: 0 2px 10px var(--shadow-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.4s ease;
}
.logo-img {
  height: 48px;
  width: auto;
}
.nav-menu .nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
}
.nav-menu li {
  margin-left: 32px;
}
.nav-menu a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  padding-bottom: 5px;
  font-size: 1rem;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-blue);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}
.header:not(.scrolled) .logo,
.header:not(.scrolled) .nav-menu a,
.header:not(.scrolled) #theme-toggle {
  color: var(--text-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.header:not(.scrolled) .hamburger-menu .bar {
  background-color: var(--text-light);
}
.header.scrolled .logo {
  color: var(--primary-blue);
  text-shadow: none;
}
.header.scrolled .nav-menu a {
  color: var(--text-primary);
  text-shadow: none;
}
.header.scrolled .nav-menu a.active {
  color: var(--primary-blue);
}
.header.scrolled #theme-toggle {
  color: var(--text-headings);
  text-shadow: none;
}
body.dark-mode .header.scrolled #theme-toggle {
  color: var(--text-light);
}
.header.scrolled .hamburger-menu .bar {
  background-color: var(--text-headings);
}
#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}
#theme-toggle:hover {
  transform: rotate(15deg);
}
.hamburger-menu,
.nav-overlay,
.nav-list-mobile {
  display: none;
}

/* === HERO SECTION === */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  padding: 160px 24px 80px 24px;
  min-height: 60vh;
  margin-top: -97px;
  background: linear-gradient(rgba(0, 25, 45, 0.6), rgba(0, 25, 45, 0.6)),
    url("../asset/Pelabuhan Kapal di Senja Hari.png") no-repeat center
      center/cover;
}
.hero-content h1 {
  color: #fff;
  font-size: 3.5rem;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === FOOTER === */
.footer {
  background-color: var(--dark-blue-brand);
  color: #a0aec0;
  padding: 60px 0 20px 0;
  transition: background-color 0.3s;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.footer-col {
  flex: 1;
  min-width: 250px;
}
.footer-col h4 {
  margin-bottom: 20px;
  color: var(--text-light);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 8px;
  display: inline-block;
  font-size: 1.1rem;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #4a5568;
  padding-top: 24px;
  color: #718096;
}

/* === MOBILE & HAMBURGER === */
@media (max-width: 992px) {
  .nav-menu .nav-list {
    display: none;
  }
  .hamburger-menu {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
  }
  .hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
  }
  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-list-mobile li a,
  #theme-toggle-mobile {
    color: var(--text-light);
    opacity: 0.9;
    transition: color 0.3s ease, opacity 0.3s ease;
  }
  .nav-list-mobile li a.active,
  .nav-list-mobile li a:hover {
    color: var(--accent-color);
    opacity: 1;
  }
  .nav-list-mobile {
    display: flex;
    list-style: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--header-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px 20px 20px;
    margin: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1),
      background-color 0.3s;
    z-index: 999;
  }
  .nav-list-mobile.active {
    right: 0;
  }
  .nav-list-mobile li {
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-list-mobile li:first-child {
    border-top: 1px solid var(--border-color);
  }
  .nav-list-mobile li a {
    display: block;
    padding: 15px 10px;
    font-weight: 600;
    font-size: 1rem;
  }
  .nav-list-mobile .mobile-theme-toggle {
    border-bottom: none;
  }
  #theme-toggle-mobile {
    background-color: transparent;
    border: none;
    padding: 15px 10px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: "Montserrat", "Arial", sans-serif;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }
  .nav-overlay.active {
    display: block;
  }
}

/* === GAYA UNTUK HALAMAN OUR EXPERTISE === */
.expertise-section {
  background-color: var(--bg-secondary);
  transition: background-color 0.3s;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-content: center;
}

.expertise-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.expertise-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h4 {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
  color: var(--text-headings);
}

.card-content p {
  margin-bottom: 24px;
  font-size: 0.95rem;
  flex-grow: 1;
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary-red);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

.section-intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 48px auto;
  font-size: 1.1rem;
  color: var(--text-primary);
}

/* === [PERUBAHAN] GAYA UNTUK SEKSI WHY CHOOSE US === */
.why-choose-us {
  background-color: var(--bg-primary);
}

.why-choose-us-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .why-choose-us-content {
    flex-direction: row;
    align-items: stretch;
    gap: 40px;
  }
}

.why-choose-us-testimonial {
  flex-basis: 40%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  position: relative; /* Penting untuk ikon kutip */
  overflow: hidden; /* Mencegah ikon kutip keluar dari kotak */
}

.testimonial-quote-icon {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 8rem; /* Ukuran besar untuk ikon kutip */
  font-weight: 700;
  color: var(--primary-blue);
  opacity: 0.08; /* Sangat transparan */
  line-height: 1;
  z-index: 0; /* Di belakang teks */
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 25px;
  position: relative;
  z-index: 1; /* Di depan ikon */
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-headings);
  position: relative;
  z-index: 1;
}

.testimonial-author::before {
  content: "— "; /* Tambahkan strip sebelum nama */
}

.features-list {
  flex-basis: 60%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  text-align: center;
  padding: 30px;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 16px;
  line-height: 1;
}

.feature-item h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--text-headings);
}
/* === AKHIR DARI PERUBAHAN === */

.cta-section {
  background-color: var(--dark-blue-brand);
  color: var(--text-light);
  text-align: center;
  padding: 80px 24px;
}

.cta-section h2 {
  color: var(--text-light);
  margin-bottom: 16px;
}

.cta-section p {
  color: #e2e8f0;
  max-width: 600px;
  margin: 0 auto 32px auto;
  font-size: 1.1rem;
}

.btn-cta {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--dark-blue-brand);
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  background-color: #ffb733;
  transform: translateY(-3px) scale(1.02);
}

.process-section {
  background-color: var(--bg-secondary);
  padding-top: 80px;
  padding-bottom: 80px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .process-grid::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 0;
  }
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: var(--text-light);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--bg-secondary);
  transition: transform 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.clients-section {
  padding: 60px 0;
  background-color: var(--bg-primary);
}

.clients-section h2 {
  margin-bottom: 40px;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.client-logo img {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- CSS untuk Background Gambar di Process Section --- */

/* 1. Atur section utama */
.process-section {
  position: relative; /* Penting untuk posisi overlay */
  background-image: url("/asset/ChatGPT Image 6 Okt 2025, 17.11.10.png"); /* Ganti dengan path gambar Anda */
  background-size: cover; /* Membuat gambar menutupi seluruh area */
  background-position: center; /* Posisi gambar di tengah */
  background-attachment: fixed; /* (Opsional) Efek parallax saat scroll */
  padding: 100px 0; /* Tambah padding agar lebih lega */
  color: #ffffff; /* Ubah warna teks default di section ini menjadi putih */
}

/* 2. Buat lapisan overlay gelap */
.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 45, 78, 0.75); /* Warna overlay biru gelap 75% transparan */
  z-index: 1; /* Posisikan overlay di bawah konten */
}

/* 3. Pastikan konten berada di atas overlay */
.process-section .container {
  position: relative;
  z-index: 2;
}

/* 4. Sesuaikan warna teks agar kontras dengan background */
.process-section h2,
.process-section h3 {
  color: #ffffff; /* Judul menjadi putih */
}

.process-section .process-step p {
  color: rgba(255, 255, 255, 0.9); /* Deskripsi menjadi putih agak transparan */
}

/* 5. (Opsional) Styling tambahan untuk step agar lebih menonjol */
.process-step {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.process-step:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}