/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
  --primary-color: #0B3D2E;
  --primary-hover: #082d22;
  --secondary-color: #C9A227;
  --secondary-hover: #b08d1f;
  --text-body: #242424;
  --text-muted: #555555;
  --bg-white: #FFFFFF;
  --bg-light: #F7F8F7;
  --border-color: #E2E6E4;

  --font-heading: 'Cambria', Georgia, serif;
  --font-body: 'Calibri', 'Segoe UI', Arial, sans-serif;

  --container-width: 1200px;
  --nav-height: 80px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

/* =========================================
   TYPOGRAPHY (Cambria Bold untuk H1 - H5)
   ========================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.25;
  margin-bottom: 16px;
}

h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
  margin-bottom: 16px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* =========================================
   BUTTONS (Cambria Bold, 100% Rounded)
   ========================================= */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 9999px; /* 100% rounded pill shape */
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.92rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #FFFFFF;
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  border-color: var(--secondary-hover);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.justify-center {
  justify-content: center;
}

/* =========================================
   LAYOUT & CONTAINERS
   ========================================= */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 52px auto;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* =========================================
   STICKY NAVBAR & LOGO PLACEHOLDER
   ========================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  height: var(--nav-height);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(11, 61, 46, 0.08);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Area Kosong / Placeholder Logo */
.logo-placeholder {
  display: flex;
  align-items: center;
  min-width: 140px;
  min-height: 46px;
}

.logo-box {
  width: 140px;
  height: 44px;
  border: 2px dashed var(--primary-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  opacity: 0.65;
  transition: var(--transition);
}

.logo-box:hover {
  opacity: 1;
}

.nav-logo {
  height: 62px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 400;
  color: var(--text-body);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-btn {
  padding: 10px 24px;
}

/* Hamburger Menu (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* =========================================
   GRID SYSTEMS (2, 4, 3, 5, dan 1)
   ========================================= */
/* Grid 2: 50% dan 50% */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

/* Grid 4 Card */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Grid 3 Card */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Grid 5 Card */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Grid 1 */
.grid-1 {
  display: grid;
  grid-template-columns: 1fr;
}

/* =========================================
   CARDS & MEDIA PLACEHOLDERS
   ========================================= */
.badge {
  display: inline-block;
  background-color: rgba(201, 162, 39, 0.15);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.image-placeholder {
  width: 100%;
  background-color: #E8ECEA;
  border: 1px dashed #B5C0BC;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-16-9 { aspect-ratio: 16 / 9; border-radius: 12px 12px 0 0; }

.hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 12px 32px rgba(11, 61, 46, 0.12);
}

.card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px 24px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(11, 61, 46, 0.08);
  border-color: var(--secondary-color);
}

.card-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 64px;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.service-card {
  padding: 0;
  overflow: hidden;
}

.service-card .card-body {
  padding: 26px 24px;
}

.card-compact {
  padding: 24px 16px;
}

.card-compact p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--text-muted);
}

/* Grid 1 Single Box */
.single-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-top: 5px solid var(--secondary-color);
  border-radius: 16px;
  padding: 56px 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(11, 61, 46, 0.05);
}

.single-box p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* =========================================
   FOOTER (Background Primary Color)
   ========================================= */
.footer {
  background-color: var(--primary-color);
  color: #FFFFFF;
  padding: 72px 0 28px 0;
}

.footer h3,
.footer h4 {
  color: #FFFFFF;
}

.logo-footer {
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  margin-bottom: 24px;
}

.footer-logo {
  height: 100px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  margin-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.motto-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  line-height: 45px;
  color: var(--secondary-color);
  margin-bottom: 14px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.85);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-list strong {
  color: var(--secondary-color);
  min-width: 95px;
}

.contact-list a {
  color: #FFFFFF;
  transition: var(--transition);
}

.contact-list a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
  margin-bottom: 0;
}

/* =========================================
   RESPONSIVE DESIGN (Tablet & Mobile)
   ========================================= */

/* Wrapper 2 Card Horizontal di dalam kolom 50% Section About */
.about-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-feature-card {
  border-top: 4px solid var(--secondary-color);
  border-left: 1px solid var(--border-color); /* Mengembalikan border kiri standar */
  display: flex;
  flex-direction: column;
}

.about-feature-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* =========================================
   SECTION CORE VALUES
   ========================================= */
.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--secondary-color);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.core-value-card {
  padding: 36px 26px;
}

.value-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.core-value-card:hover .value-circle {
  background-color: var(--secondary-color);
  color: #FFFFFF;
}

.core-value-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* =========================================
   SECTION 4: LAYANAN UTAMA CAROUSEL
   ========================================= */
.carousel-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.carousel-top-bar h2 {
  margin-bottom: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background-color: var(--bg-white);
  color: var(--primary-color);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-btn:hover {
  background-color: var(--primary-color);
  color: #FFFFFF;
}

.carousel-counter {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-color);
  min-width: 64px;
  text-align: center;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel-slide {
  min-width: 100%;
  padding: 44px 40px;
}

.slide-header {
  margin-bottom: 28px;
}

.slide-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.slide-header h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin-bottom: 8px;
}

.slide-header p {
  color: var(--text-muted);
  margin-bottom: 0;
  max-width: 780px;
}

/* Layout Slide 01 & 02 (Kiri Box Hijau + Kanan 4 List) */
.service-split-layout {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 28px;
  align-items: stretch;
}

.service-highlight-box {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.service-highlight-box h4 {
  color: #FFFFFF;
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.service-img-placeholder {
  width: 100%;
  min-height: 170px;
  background-color: rgba(255, 255, 255, 0.94);
  border: 2px dashed var(--secondary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
}

.service-img-box {
  width: 100%;
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img {
  max-height: 150px; /* Sesuaikan tinggi maksimal gambar agar tetap proporsional */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.service-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-item-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
}

.step-item-card:hover {
  border-color: var(--secondary-color);
}

.step-badge {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item-card h5 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.step-item-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Layout Slide 03 (ISO 4 Card + Banner Bawah) */
.iso-code {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.iso-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.iso-bottom-banner {
  margin-top: 24px;
  background-color: var(--primary-color);
  color: #FFFFFF;
  padding: 18px 28px;
  border-radius: 12px;
  text-align: center;
}

.iso-bottom-banner p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

/* Layout Slide 04 (Pelatihan 6 Card Horizontal Badge) */
.training-grid {
  gap: 20px;
}

.training-item-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
}

.training-badge {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.training-item-card h5 {
  margin-bottom: 0;
  font-size: 1.02rem;
  line-height: 1.4;
}

/* Dots Indikator Carousel */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  border: none;
  background-color: #CBD3D0;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dots .dot.active {
  width: 34px;
  background-color: var(--secondary-color);
}

/* =========================================
   SECTION 3: VISI CARD & LABEL MISI
   ========================================= */
.visi-wrapper {
  margin-bottom: 40px;
}

.visi-card {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 44px 48px;
  text-align: center;
  border-bottom: 5px solid var(--secondary-color);
  box-shadow: 0 12px 30px rgba(11, 61, 46, 0.12);
}

.visi-label,
.misi-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--secondary-color);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.visi-card h3 {
  color: #FFFFFF;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.45;
  max-width: 900px;
  margin: 0 auto;
}

.misi-header {
  margin-bottom: 24px;
}

.misi-label {
  margin-bottom: 0;
  font-size: 1rem;
}


/* =========================================
   SECTION 1: HERO FULL-BLEED RIGHT (50% / 50%)
   ========================================= */
.hero-section {
  padding: 0;
  min-height: 540px; /* Ubah angka ini (misal 500px - 600px) sesuai tinggi yang Anda inginkan */
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-split-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 48px 48px max(24px, calc((100vw - var(--container-width)) / 2 + 24px));
}

.hero-media {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-img-full {
  width: 100%;
  height: 100%;
  min-height: 540px; /* Samakan dengan min-height .hero-section */
  max-height: 600px; /* Membatasi tinggi maksimal gambar agar tidak terlalu tinggi di monitor besar */
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  display: block;
}

@media (max-width: 1024px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-split-container {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 56px 24px 40px 24px;
  }

  .hero-img-full {
    min-height: 320px;
    max-height: 400px;
  }

  .carousel-slide {
    padding: 28px 20px;
  }

  .service-split-layout {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section {
    padding: 64px 0;
  }

  .single-box {
    padding: 40px 24px;
  }
}