:root {
  --primary-green: #16a34a;
  --primary-green-dark: #15803d;
  --navy-dark: #072261;
  --text-primary: #072261;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
  --font-family: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background-color: #ffffff;
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVBAR */
.navbar {
  height: 80px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 38px;
  width: auto;
}

.btn-wa-nav {
  padding: 10px 20px;
  background-color: var(--primary-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
}

/* HERO */
.hero {
  padding: 64px 0;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-content {
  flex: 1;
}

.badge {
  display: inline-block;
  background-color: #f1f5f9;
  color: #0F172A;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.btn-wa-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background-color: var(--primary-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 10px;
}

.icon-wa {
  width: 20px;
  height: 20px;
}

.hero-media {
  width: 520px;
  height: 380px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* PROBLEM & SOLUTION */
.problem-solution {
  padding: 72px 0;
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 40px;
}

.cards-grid {
  display: flex;
  gap: 32px;
}

.card {
  flex: 1;
  padding: 32px;
  border-radius: 16px;
}

.card-problem {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
}

.card-problem h3 {
  color: #991b1b;
  font-size: 18px;
  margin-bottom: 16px;
}

.card-solution {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.card-solution h3 {
  color: #166534;
  font-size: 18px;
  margin-bottom: 16px;
}

.card ul {
  list-style: none;
}

.card li {
  font-size: 14px;
  margin-bottom: 10px;
}

/* PORTOFOLIO */
.portfolio {
  padding: 72px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}

.portfolio-card a {
  display: block;
  cursor: pointer;
  overflow: hidden;
}

.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-card a:hover img {
  transform: scale(1.05);
}

.portfolio-title {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-dark);
}

/* CTA & FOOTER */
.cta-banner {
  padding: 40px 0 80px 0;
}

.cta-box {
  background-color: var(--navy-dark);
  padding: 48px;
  border-radius: 24px;
  text-align: center;
  color: #ffffff;
}

.cta-box h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 15px;
  color: #94a3b8;
  margin-bottom: 24px;
}

.btn-wa-cta {
  display: inline-block;
  padding: 16px 32px;
  background-color: var(--primary-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
}

.footer {
  padding: 24px 0;
  background-color: #0F172A;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .hero-container, .cards-grid {
    flex-direction: column;
  }
  .hero-media {
    width: 100%;
    height: 260px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Styling Seksi Portofolio */
.portfolio-section {
  padding: 80px 20px;
  background-color: #F9FAFB; /* Background abu-abu muda */
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Layout Komputer (2 Kolom) */
@media (min-width: 992px) {
  .portfolio-container {
    flex-direction: row;
    align-items: center;
  }

  .portfolio-text {
    flex: 1;
    max-width: 450px;
    position: sticky;
    top: 100px;
  }

  .portfolio-slider-wrapper {
    flex: 1.5;
    width: 0; /* Mencegah bug overflow pada flexbox slider */
  }
}

/* Styling Teks Kiri */
.badge-subtitle {
  display: inline-block;
  color: #072261;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.portfolio-text h2 {
  color: #072261; /* Teks Gelap Utama */
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.portfolio-text p {
  color: #4B5563; /* Teks Sekunder */
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-cta-portfolio {
  display: inline-block;
  background-color: #16a34a; /* Warna Hijau CTA */
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-cta-portfolio:hover {
  background-color: #047857;
}

/* Styling Kartu Proyek */
.project-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  height: auto;
}

.project-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.05);
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  color: #111827;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-info p {
  color: #6B7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

/* Penyesuaian Warna Navigasi Slider */
.portfolioSwiper {
  padding-bottom: 45px !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: #059669 !important;
  transform: scale(0.6);
}

.swiper-pagination-bullet-active {
  background-color: #059669 !important;
}

/* Styling Seksi Klien */
.clients-section {
  padding: 60px 20px;
  background-color: #FFFFFF; /* Latar putih bersih */
  text-align: center;
}

.clients-container {
  max-width: 1100px;
  margin: 0 auto;
}

.badge-subtitle-client {
  display: inline-block;
  color: #072261; 
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.clients-title {
  color: #072261;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 40px;
}

/* Layout Grid Logo Klien (Diperbarui untuk 16 Logo = 4x4 Grid) */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Tampilan HP: 2 Kolom (8 Baris) */
  gap: 16px;
  align-items: center;
  justify-items: center;
}

/* Tampilan Tablet (Layar Medium): 3 Kolom */
@media (min-width: 640px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* Tampilan Laptop / Desktop: 4 Kolom Pas (16 Logo = 4 Baris Rapi) */
@media (min-width: 992px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 Kolom ke samping */
    gap: 20px;
  }
}

/* Wadah & Ukuran Logo */
.client-logo-item {
  width: 100%;
  height: 80px; /* Tinggi wadah logo */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 8px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.client-logo-item img {
  max-width: 100%;
  max-height: 48px; /* Tinggi maksimal logo agar proporsional */
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.9;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}