/* Global container untuk menyelaraskan isi */
.container {
  max-width: 1450px;
  /* lebar konten maksimum */
  margin: 0 auto;
  /*center di layar */
  padding: 0 24px;
  /* kiri-kanan 24px, sama dengan navbar */
  box-sizing: border-box;
}

/* === Cookie Consent === */
.cc-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .45);
  z-index: 9999;
  padding: 16px;
}

.cc-backdrop[aria-hidden="false"] {
  display: flex;
}

.cc-modal {
  max-width: 640px;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  padding: 20px 20px 16px;
  position: relative;
}

.cc-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.cc-text {
  margin: 0 0 16px;
  line-height: 1.5;
  color: #333;
}

.cc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
}

.cc-btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  cursor: pointer;
  font-weight: 600;
}

.cc-primary {
  background: #0ea5e9;
  color: #fff;
  border-color: #0ea5e9;
}

.cc-secondary {
  background: #f5f7fb;
  color: #111;
}

.cc-link {
  background: transparent;
  border: none;
  color: #0ea5e9;
  cursor: pointer;
  padding: 10px 8px;
}

.cc-panel {
  margin-top: 8px;
  border-top: 1px solid #eee;
  padding-top: 8px;
}

.cc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.cc-sub {
  margin: 4px 0 0;
  color: #555;
  font-size: 12px;
}

.cc-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cc-switch input {
  display: none;
}

.cc-switch span {
  width: 44px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 999px;
  display: inline-block;
  position: relative;
  transition: background .2s;
}

.cc-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .2s;
}

.cc-switch input:checked+span {
  background: #16a34a;
}

.cc-switch input:checked+span::after {
  transform: translateX(20px);
}

.cc-panel-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}

.cc-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

@media (prefers-reduced-motion: reduce) {

  .cc-backdrop,
  .cc-modal,
  .cc-switch span::after {
    transition: none !important;
  }
}


/* === Cookie Consent: Mobile polish === */

/* Hilangkan tampilan default tombol di iOS/Android */
.cc-btn,
.cc-link,
.cc-close,
.cc-switch input,
.cc-switch span {
  -webkit-appearance: none;
  appearance: none;
}

/* Pastikan semua box ikut padding saat hitung lebar */
#cookieConsent *,
#cookieConsent *::before,
#cookieConsent *::after {
  box-sizing: border-box;
}

/* Modal: nyaman di layar kecil */
.cc-modal {
  width: 100%;
  max-width: 640px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  transform: translateZ(0);
  /* mengurangi blur/zoom aneh di mobile */
}

/* Aksi ditumpuk di mobile */
@media (max-width: 480px) {
  .cc-title {
    font-size: 18px;
  }

  .cc-text {
    font-size: 14px;
  }

  .cc-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 10px;
  }

  .cc-btn,
  .cc-link {
    width: 100%;
    text-align: center;
    font-size: 15px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .cc-link {
    padding: 10px 14px;
  }

  /* Jadikan modal seperti bottom sheet saat layar sangat sempit */
  .cc-backdrop {
    align-items: flex-end;
    /* turun ke bawah */
    padding: 0;
    /* gunakan full width */
  }

  .cc-modal {
    border-radius: 16px 16px 0 0;
    /* rounded top */
    padding: 16px 16px 12px;
  }

  /* Tombol close lebih besar & tidak terpotong */
  .cc-close {
    top: 6px;
    right: 10px;
    font-size: 28px;
  }
}

/* Sentuhan gaya tombol agar tidak abu-abu default */
.cc-btn {
  transition: background .15s, border-color .15s, transform .02s;
}

.cc-btn:active {
  transform: translateY(1px);
}

.cc-primary {
  background: #0ea5e9;
  color: #fff;
  border-color: #0ea5e9;
}

.cc-primary:hover {
  filter: brightness(0.98);
}

.cc-secondary {
  background: #f5f7fb;
  color: #111;
  border-color: #e5e7eb;
}

/* Pastikan layer modal berada di atas elemen lain */
.cc-backdrop {
  z-index: 9999;
}

/* Fokus terlihat di mobile */
.cc-modal:focus {
  outline: 2px solid #0ea5e9;
  outline-offset: 4px;
}


/* Box container */
.box {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
}

/* Container navbar */
.navbar {
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1px 0;
}


/* Flex wrapper */
.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;

}

/* Logo */
.navbar-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

/* Menu */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

/* Link */
.navbar-menu a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: #044177;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-menu a:hover {
  color: #033561;
}

/* Contact Button */
.contact-btn {
  background-color: #044177;
  color: white !important;
  padding: 12px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #033561;
}

/* Phone Icon */
.phone-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

/* Language Switcher */
.language-switcher {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-left: 16px;
  z-index: 1003;
  min-width: 56px;
  min-height: 48px;
  background-color: transparent;
}

.language-switcher:hover {
  background-color: rgba(4, 65, 119, 0.05);
}

/*.language-switcher * {
  pointer-events: none;
}
*/
.language-switcher img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.language-switcher:hover img {
  transform: scale(1.05);
}

/*.language-dropdown {
  position: fixed;
  top: 85px;
  right: 120px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 8px;
  min-width: 180px;
  display: none;
  z-index: 10000;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.language-dropdown.show {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
} */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 10001;
}

.language-option:hover {
  background-color: rgba(4, 65, 119, 0.05);
}

.language-option.active {
  background-color: rgba(4, 65, 119, 0.1);
}

.language-option img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-option span {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.language-option.active span {
  color: #044177;
  font-weight: 600;
}

/* =============================================================== */
/*  FOOTER                                                         */
/* =============================================================== */
.site-footer {
  background: #044177;
  color: #fff;
  padding: 60px 0;
}

/* -------- GRID LAYOUT -------- */
.footer-container {
  display: grid;

  /*  ① Kolom-1 min 280 px → konten berikutnya otomatis “mundur” ke kanan
      ② Empat kolom sisanya tetap fleksibel min 180 px                */
  grid-template-columns: minmax(280px, auto) repeat(4, minmax(180px, 1fr));

  /* ③ Jarak antar-kolom diperlebar                                */
  column-gap: 60px;
  /* cuma sumbu-X; row-gap tetap 40 px */
  row-gap: 40px;
}


/* -------- TYPOGRAPHY -------- */
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col p,
.footer-col address,
.footer-col li {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-col address {
  font-style: normal;
}

/* -------- NAV LINKS -------- */
.footer-nav {
  list-style: none;
  padding: 0;
}

.footer-nav li+li {
  margin-top: 8px;
}

.footer-link,
.footer-nav a {
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}

.footer-link:hover,
.footer-nav a:hover {
  opacity: .8;
}

/* -------- LOGO GLOBAL -------- */
.footer-logo {
  width: 470px;
  /* ubah sesuka hati */
  height: auto;
  object-fit: contain;
}

/* =============================================================== */
/*  KOLOM PERTAMA: LOGO DI ATAS TEKS                               */
/* =============================================================== */
.footer-container .footer-col:first-child {
  display: flex;
  /* stack vertikal */
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  /* jarak logo ↕ paragraf */
}

.footer-container .footer-col:first-child .footer-logo {
  flex-shrink: 0;
}

.footer-container .footer-col:first-child p {
  margin: 0;
}

/* -------- COPYRIGHT LINE -------- */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

/* =============================================================== */
/*  MOBILE / TABLET  ≤ 768 px                                      */
/* =============================================================== */
@media(max-width:768px) {
  .site-footer {
    padding: 40px 10px;
  }

  .footer-container {
    gap: 20px;
  }

  .footer-col h4 {
    font-size: 1rem;
  }

  /* kolom pertama tetap vertikal; hanya perkecil logo */
  .footer-container .footer-col:first-child .footer-logo {
    width: 140px;
  }
}


/* Main Content */
main {
  flex: 1;
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  margin-top: -99px;
  padding-top: 99px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: white;
  font-family: 'Montserrat', sans-serif;
  z-index: 1;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/industrial-port-de-barcelona-evening.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 1;
  animation: subtle-scale 20s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      rgba(61, 174, 254, 0) 0%,
      rgba(61, 174, 254, 0.5) 35%,
      rgba(61, 174, 254, 0.85) 65%);
  z-index: 2;
}

@keyframes subtle-scale {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 120px;
}

.hero-title {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-title-second {
  display: block;
  font-size: 3.36rem;
  margin-top: 12px;
  line-height: 1;
  font-weight: 800;
}

.hero-description {
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 32px;
  line-height: 1.5;
  opacity: 0.95;
  max-width: 700px;
}

/* ---------- SEARCH BAR (lebih kecil) -------------------------- */
.hero-search-form {
  display: flex;
  width: 100%;
  max-width: 480px;
  /* ↓ dari 600 px */
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  margin: 0;
  border: 2px solid rgba(255, 255, 255, .1);
}

.hero-search-input {
  flex-grow: 1;
  padding: 14px 24px;
  /* ↓ dari 20 px 32 px */
  border: none;
  font-size: 1rem;
  /* ↓ dari 1.1 rem */
  outline: none;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  background: #fff;
}

.hero-search-button {
  background: #044177;
  border: none;
  padding: 14px 28px;
  /* ↓ dari 20 px 36 px */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  border-radius: 0 50px 50px 0;
}

.hero-search-button img {
  width: 24px;
  /* ↓ dari 28 px */
  height: 24px;
  filter: brightness(0) invert(1);
}


/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.burger-menu:hover {
  transform: scale(1.1);
}

.burger-menu span {
  width: 24px;
  height: 3px;
  background: #044177;
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.burger-menu span.active:nth-child(1) {
  transform: rotate(45deg);
}

.burger-menu span.active:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.burger-menu span.active:nth-child(3) {
  transform: rotate(-45deg);
}

.navbar-menu .contact-btn {
  margin: 20px 0;
}

.navbar-menu .flag-icon {
  margin: 0;
}

/* Mobile Menu Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  display: block;
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.animate-in {
  opacity: 1;
  transform: translate(0, 0);
}

/* Animation Delays */
.delay-1 {
  --delay: 0.2s;
}

.delay-2 {
  --delay: 0.4s;
}

.delay-3 {
  --delay: 0.6s;
}

.delay-4 {
  --delay: 0.8s;
}

/* Vision Values Section */
.vision-values {
  padding: 120px 0;
  background-color: white;
  margin-top: -20px;
  overflow: hidden;
  /* Prevent horizontal scrollbar during animations */
}

/*.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5px;
}*/

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #044177;
  text-align: center;
  margin-bottom: 20px;
}

.section-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.04rem;
  line-height: 1.6;
  color: #333;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.vision-values-content {
  max-width: 800px;
  margin: 0 auto;
}

.vision-values-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #044177;
  text-align: center;
  margin-bottom: 30px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.tab-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #044177;
  background: none;
  border: 2px solid #044177;
  padding: 14px 48px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tab-btn:hover {
  background-color: rgba(4, 65, 119, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(4, 65, 119, 0.1);
}

.tab-btn.active {
  background-color: #044177;
  color: white;
  box-shadow: 0 4px 12px rgba(4, 65, 119, 0.2);
}

.tab-content {
  text-align: center;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.tab-pane.active {
  display: block;
  opacity: 1;
}

.tab-pane p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.04rem;
  line-height: 1.6;
  color: #333;
}

.epic-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin: 40px 0;
  padding: 60px 40px;
  background: rgba(4, 65, 119, 0.03);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(4, 65, 119, 0.05);
}

.epic-item {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.epic-item:hover {
  transform: translateY(-5px);
}

.epic-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #044177;
  margin-bottom: 15px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.epic-item:hover h3 {
  transform: translateY(-5px);
}

.epic-item p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  color: #333;
  font-weight: 600;
}

.epic-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  text-align: center;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  border-top: 1px solid rgba(4, 65, 119, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .vision-values {
    padding: 80px 0;
  }

  .epic-values {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .section-title {
    font-size: 2rem;
    padding: 0 20px;
  }

  .vision-values-title {
    font-size: 1.8rem;
    padding: 0 20px;
  }

  .tabs {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .tab-btn {
    width: 200px;
    padding: 12px 0;
  }

  .epic-item h3 {
    font-size: 2.5rem;
  }

  .epic-item p {
    font-size: 1rem;
  }

  .epic-description {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .epic-values {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-title-second {
    font-size: 3.7rem;
    margin-top: 8px;
  }

  .hero-description {
    font-size: 1.15rem;
    max-width: 600px;
    margin-bottom: 28px;
  }

  .hero-search-form {
    max-width: 550px;
  }
}

@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    max-width: 300px;
    background: white;
    padding: 100px 30px;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease-in-out;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .navbar-inner {
    padding: 0 20px;
    justify-content: center;
    margin: 0 auto;
  }

  .navbar-logo {
    margin: 0 auto;
  }

  .navbar-menu a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(4, 65, 119, 0.1);
  }

  .navbar-menu .contact-btn {
    width: 100%;
    justify-content: center;
    margin: 24px 0;
  }

  .navbar-menu .flag-icon {
    margin: 12px 0;
  }

  .navbar-menu.active {
    right: 0;
  }

  .hero-section {
    min-height: 100vh;
    margin-top: -99px;
    padding: 99px 20px 0;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    align-items: center;
    margin-right: 0;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-title-second {
    font-size: 3rem;
    margin-top: 6px;
  }

  .hero-description {
    font-size: 1.1rem;
    max-width: 100%;
    margin-bottom: 24px;
    padding: 0 20px;
    text-align: center;
  }

  .hero-search-form {
    margin: 0 auto;
    max-width: 90%;
  }

  .hero-search-input {
    padding: 16px 24px;
  }

  .hero-search-button {
    padding: 16px 28px;
  }
}

/* ===========  OUR PRODUCT  ===================================== */
.product-section {
  padding: 80px 0 40px;
}

/* ---------------- WRAPPER KAROSEL ------------------------------ */
.product-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 40px;

  /* ➜ Tambah ruang 48 px di kiri-kanan sebagai area panah */
  padding: 0 48px;
}

/* ---------------- PANAH NAVIGASI ------------------------------- */
.product-nav {
  position: absolute;
  /* lepas dari alur flex */
  top: 50%;
  /* di tengah vertikal wrapper */
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 48px;
  color: #044177;
  cursor: pointer;
  line-height: 1;
  user-select: none;
  z-index: 2;
}

/* kiri & kanan menempel pada sisi inner-padding */
.product-prev {
  left: 0;
}

.product-next {
  right: 0;
}

/* (jika tak pakai disable, blok ini boleh dihapus) */
.product-nav:disabled {
  opacity: .3;
  cursor: default;
}

/* ---------------- AREA GESER ----------------------------------- */
.product-carousel {
  overflow: hidden;
  /* sembunyikan item di luar viewport */
  flex: 1 1 auto;
  display: flex;
  gap: 40px;
  /* jarak antar-item */
  scroll-behavior: smooth;
}

/* ---------------- KARTU PRODUK -------------------------------- */
.product-item {
  flex: 0 0 calc(20% - 40px);
  /* 5 item di desktop */
  text-align: center;
}

.product-icon {
  background: #044177;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 140px;
}

.product-icon img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.product-title {
  margin-top: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  color: #044177;
  line-height: 1.3;
}

/* ---------------- RESPONSIF ------------------------------------ */
@media(max-width:1024px) {
  .product-item {
    flex: 0 0 calc(33.333% - 40px);
  }

  /* 3 item */
}

@media(max-width:768px) {
  .product-item {
    flex: 0 0 calc(50% - 40px);
  }

  /* 2 item */
}

@media(max-width:480px) {
  .product-item {
    flex: 0 0 100%;
  }

  /* 1 item */
  .product-nav {
    font-size: 32px;
    padding: 0 8px;
  }

  .product-carousel-wrapper {
    padding: 0 32px;
  }

  /* sedikit lebih sempit di HP */
}

/* ==========  YOUR SUCCESS, OUR PRIORITY  ====================== */
.success-section {
  padding: 80px 0;
}

.success-list {
  margin-top: 40px;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
  /* jarak antar-item */
}

.success-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.success-icon {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #1c67df;
  /* biru ikon */
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-icon img {
  width: 28px;
  height: 28px;
  /* centang putih */
  filter: brightness(0) invert(1);
}

.success-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  /* ≈32 px */
  font-weight: 600;
  color: #044177;
  margin: 0 0 12px 0;
}

.success-text {
  font-size: 1.04rem;
  /* ≈18 px */
  line-height: 1.6;
  color: #000;
  margin: 0;
  max-width: 1300px;
}

/* ---------- RESPONSIF ---------- */
@media(max-width:1024px) {
  .success-heading {
    font-size: 1.7rem;
  }

  .success-text {
    font-size: 1.05rem;
  }

  .success-icon {
    width: 60px;
    height: 60px;
  }
}

@media(max-width:768px) {
  .success-item {
    flex-direction: column;
    gap: 20px;
  }

  .success-icon {
    margin-bottom: 8px;
  }
}


/* === NEWS CAROUSEL (1 kartu) === */
.news-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* ⬅️ pusatkan isi */
  gap: 16px;
  margin-top: 36px;
  padding-inline: 56px;
  /* ⬅️ ruang panah kiri/kanan */
}


.news-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: none;
  background: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
  font-size: 28px;
  color: #044177;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s ease, opacity .15s ease;
}

.news-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.news-prev {
  left: 16px;
}

.news-next {
  right: 16px;
}

.news-carousel{
  overflow:hidden;
  width:100%;
  max-width:920px;            /* ⬅️ kunci lebar “panggung” kartu */
  margin:0 auto;
  display:flex;
  justify-content:center;
  scroll-behavior:smooth;
}


.news-item {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  /* 🔑 isi item ditengah */
}

/* Kartu: sedikit lebih lebar agar terasa “hero” */
.news-card{
  width:min(900px,95%);
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
  transition:transform .3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
}

.news-thumb img {
  width: 100%;
  height: 380px;
  /* lebih besar & fokus */
  object-fit: cover;
  display: block;
}

.news-body {
  padding: 20px 24px;
}

.news-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #044177;
  margin: 0 0 10px;
}

.news-excerpt {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* Responsif */
@media (max-width: 991px) {
  .news-thumb img {
    height: 300px;
  }

  .news-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 575px) {
  .news-thumb img {
    height: 220px;
  }

  .news-nav {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .news-prev {
    left: -6px;
  }

  .news-next {
    right: -6px;
  }
}



.galeri-section {
  margin-top: 80px;
}

.galeri-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  position: relative;
}

.galeri-viewport {
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.galeri-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.galeri-foto {
  min-width: 100%;
  object-fit: cover;
  height: 500px;
  border-radius: 16px;
}

.galeri-prev,
.galeri-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #044177;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 1;
}

.galeri-prev {
  left: -40px;
}

.galeri-next {
  right: -40px;
}

@media (max-width: 768px) {
  .galeri-foto {
    height: 300px;
  }

  .galeri-prev,
  .galeri-next {
    left: -20px;
    right: -20px;
  }
}


/* tabel*/
/* ===== TABEL SECTION ===== */
.tabel-section {
  padding: 80px 0;
}

.wp-block-table {
  overflow-x: auto;
  width: 100%;
  margin: 0 auto;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.95rem;
  background-color: #f9fdfc;
  /* light green-cyan */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.wp-block-table thead {
  background-color: #044177;
  color: #fff;
  text-align: center;
}

.wp-block-table th,
.wp-block-table td {
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  vertical-align: top;
}

.wp-block-table th {
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.wp-block-table tbody tr:nth-child(even) {
  background-color: #eef9f6;
}

.wp-block-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.wp-block-table td strong {
  color: #044177;
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

/* RESPONSIVE */
@media(max-width: 768px) {
  .wp-block-table table {
    font-size: 0.9rem;
  }
}





/* ==========  CONTACT SECTION  ================================ */
.contact-section {
  padding: 80px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-tagline,
.section-title {
  margin-top: 0;
}

/* ---------- Left side (tagline + map) ---------- */
.contact-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.92rem;
  font-weight: 600;
  color: #044177;
  margin-bottom: 40px;
}

.contact-map {
  width: 100%;
  max-width: 8500px;
  height: auto;
  opacity: 1;
}

/* ---------- Right side (form) ---------- */
.section-title {
  /* judul "Contact Us" */
  font-family: 'Montserrat', sans-serif;
  font-size: 1.76rem;
  color: #044177;
  margin-bottom: 32px;
}

.iti {
  width: 100%;
}

/* Agar input tidak berdempet dengan kode negara */
.iti--separate-dial-code input {
  padding-left: 72px !important;
}

/* Menyamakan radius bendera dengan style kamu */
.iti--separate-dial-code .iti__selected-flag {
  background-color: #f1f1f1;
  /* sama seperti background input */
  border: 1px solid #ccc;
  border-right: none;
  height: 100%;
  border-radius: 20px 0 0 20px;
}

/* Agar bendera dan input terlihat 1 field */
.iti input {
  border-radius: 0 20px 20px 0;
}



.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label {
  font-weight: 500;
  color: #000;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #f1f1f1;
  font-size: 0.8rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #044177;
}



.btn-submit {
  align-self: center;
  background: #1c67df;
  color: #fff;
  padding: 14px 64px;
  border: none;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s;
}

.btn-submit:hover {
  background: #044177;
}

/* ----------  RESPONSIVE  ---------- */
@media(max-width:991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-left {
    text-align: center;
  }

  .contact-map {
    margin: 0 auto;
  }

  .contact-tagline {
    font-size: 2rem;
  }
}

@media(max-width:575px) {

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: .95rem;
  }

  .btn-submit {
    width: 100%;
    padding: 14px 0;
  }
}



/* ===== VALUE PROPOSITION ===== */

:root {
  /* ===== Value-Proposition colours ===== */
  --vp-blue: #205AD8;
  --vp-yellow: #FECB31;
  --vp-green: #069965;

  /* ===== Brand primary blue (dipakai di berbagai komponen) ===== */
  --blue: #044177;
  --blue-light: #205AD8;
}


/* Section wrapper */
.value-prop-section {
  padding: 100px 0;
}

.section-title-vp {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #044177;
  text-align: center;
  margin-bottom: 20px;
}

/* Responsive grid */
.vp-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Card base */
.vp-card {
  border-radius: 24px;
  padding: 48px 36px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .10), 0 1px 3px rgba(0, 0, 0, .06);
  color: #fff;
  text-align: left;
  transition: transform .3s;
}

.vp-card:hover {
  transform: translateY(-6px);
  /* ⬆️ sedikit lebih besar saat hover */
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

/* Color variants */
.vp-blue {
  background: var(--vp-blue);
}

.vp-yellow {
  background: var(--vp-yellow);
  color: #000;
}

/* teks gelap */
.vp-green {
  background: var(--vp-green);
}

/* Title */
.vp-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

/* Separator (garis putih + blok kecil berwarna) */
.vp-sep {
  display: block;
  position: relative;
  height: 4px;
  background: #fff;
  margin: 0 auto 32px;
  max-width: 220px;
}

.vp-sep::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 100%;
}

/* Warna blok kecil di tengah */
.vp-sep-yellow::after {
  background: var(--vp-yellow);
}

.vp-sep-green::after {
  background: var(--vp-green);
}

.vp-sep-blue::after {
  background: var(--vp-blue);
}

/* Paragraph */
.vp-desc {
  font-size: 1.12rem;
  line-height: 1.7;
  text-align: justify;
  /* ⬅️ rata kiri-kanan */

}

/* Utility */
.text-center {
  text-align: center;
}

.text-dark {
  color: #000;
}

@media (max-width: 768px) {
  .vp-card {
    padding: 36px 28px;
  }

  .vp-title {
    font-size: 1.4rem;
    margin-bottom: 24px;
  }

  .vp-sep {
    margin-bottom: 24px;
  }
}

/* ===== HERO BANNER – ABOUT US (center fix) ===== */
.about-hero {
  position: relative;
  min-height: 37vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* <— memusatkan .about-hero-inner */
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.about-hero::after {
  /* overlay */
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .75);
}

/* wrapper di tengah */
.about-hero-inner {
  position: relative;
  /* di atas overlay */
  z-index: 1;
  text-align: center;
  /* teks di­-center */
  padding: 0 1rem;
}

/* judul besar */
.about-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

/* tinggi sedikit lebih rendah pada ponsel kecil */
@media (max-width: 480px) {
  .about-hero {
    min-height: 50vh;
  }
}

/* ===== TEAM IMAGE ONLY STRUCTURE ===== */
.team-visual-section {
  padding: 80px 0;
  background: #fff;
}

.team-ceo-centered {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.team-ceo-centered img {
  width: 180px;
  /* sesuai rasio 1078x1712 */
  aspect-ratio: 1078 / 1712;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.team-grid-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.team-grid-row img {
  width: 180px;
  aspect-ratio: 1078 / 1712;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}




/* ===== OUR COMMITMENT ===== */
.commitment-section {
  padding: 100px 0;
  background: #f9fbfe;
}

.commitment-section .section-description {
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.commitment-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.commitment-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.commitment-card:hover {
  transform: translateY(-6px);
}

.commitment-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--blue);
}

.commitment-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #044177;
  font-weight: 700;
}

.commitment-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}



/* ===== SERVICES PAGE ===== */
.services-page {
  --blue: #044177;
  --blue-light: #1c67df;
  --gap: 32px;
  font-family: 'Montserrat', sans-serif;
}


/* ===== WHY INDONESIA – GRID ===== */
.why-id {
  padding: 90px 0;
  background-color: white;
  margin-top: -10px;
  overflow: hidden;
  /* Prevent horizontal scrollbar during animations */
}


.section-title-id {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.84rem;
  font-weight: 700;
  color: #044177;
  text-align: center;
  margin-bottom: 20px;
}

.section-description-id {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.04rem;
  line-height: 1.6;
  color: #333;
  text-align: center;
  max-width: 1450px;
  margin: 0 auto 60px;
}

.why-id .whyid-grid {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.whyid-card {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  gap: 24px;
  background: #f2f3f5;
  border-radius: 4px;
  padding: 32px;
}

.whyid-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #044177;
  border-radius: 50%;
}

.whyid-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.whyid-title {
  margin: 0;
  font: 700 1.04rem 'Montserrat', sans-serif;
  color: #044177;
}

.whyid-desc {
  margin: 4px 0 0;
  font: 500 1.05rem/1.5 'Montserrat', sans-serif;
  color: #555;
}

/* responsive: 1 kolom di tablet/mobile */
@media(max-width:768px) {
  .why-id .whyid-grid {
    grid-template-columns: 1fr;
  }

  .whyid-card {
    flex-direction: row;
    gap: 20px;
  }
}


/* ==== kolom ganda sederhana =================================== */
.prod-acc-columns {
  display: flex;
  gap: 24px;
}

.prod-acc-col {
  flex: 1;
  /* dua kolom sama lebar */
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* jarak antar-kartu vertikal */
}

/* kartu accordion persis seperti sebelumnya */
.prod-acc-item {
  background: #f2f2f2;
  border-radius: 4px;
  overflow: hidden;
}

.prod-acc-header {
  width: 100%;
  padding: 22px 28px;
  background: #f2f2f2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 600 1.05rem 'Montserrat', sans-serif;
  border: none;
  cursor: pointer;
}

.prod-acc-toggle {
  font-size: 1rem;
  transition: .25s;
}

.prod-acc-body {
  display: none;
  padding: 22px 28px 28px;
  background: #fff;
  border-top: 1px solid #e0e0e0;
}

.prod-acc-item.open .prod-acc-body {
  display: block;
}

.prod-acc-item.open .prod-acc-toggle {
  transform: rotate(45deg);
}

/* mobile → 1 kolom */
@media(max-width:768px) {
  .prod-acc-columns {
    flex-direction: column;
  }
}




/* ===== judul “Our Services” tepat di bawah hero ===== */
.services-page .section-title {
  margin: 64px 0 0;
  /* atas-bawah-bawah: 64 px | bawah 32 px */
  font-size: 1.6rem;
  /* opsional—tinggi huruf */
  font-weight: 700;
  text-align: center;
}

@media (max-width: 768px) {
  .services-page .section-title {
    margin: 48px 0 24px;
    /* sedikit lebih rapat di tablet/HP */
    font-size: 1.75rem;
  }
}


/* --- GALERI --- */
.services-page .svc-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--gap);
  margin: 3px auto 20px;
  max-width: 1450px;
}

.services-page .svc-card {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.services-page .svc-card__icon {
  background: var(--blue);
  border-radius: 12px;
  width: 160px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-page .svc-card__icon img {
  width: 70%;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.services-page .svc-card__title {
  color: var(--blue);
  font-weight: 600;
  font-size: 1.04rem;
  line-height: 1.3;
}

.services-page .svc-card.active .svc-card__icon {
  background: var(--blue-light);
  box-shadow: 0 0 0 4px rgba(28, 103, 223, .25);
}

/* --- DETAIL --- */
.services-page .svc-detail {
  margin: 10px 0;
}

/* posisi panah detail */
.svc-detail {
  position: relative;
}

.pane-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 48px;
  line-height: 1;
  color: #044177;
  cursor: pointer;
  user-select: none;
  z-index: 5;
}

.pane-prev {
  left: 0;
}

.pane-next {
  right: 0;
}

.pane-nav:disabled {
  opacity: .3;
  cursor: default;
}


.services-page .svc-pane {
  display: none;
  align-items: center;
  gap: var(--gap);
}

.services-page .svc-pane.active {
  display: flex;
}

.services-page .svc-pane__text {
  flex: 1;
}

.services-page .svc-pane__title {
  font-size: 1.6rem;
  color: var(--blue);
  margin: 0 0 16px;
  font-weight: 700;
}

.services-page .svc-pane__desc {
  font-size: 1.04rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.services-page .svc-pane__img img {
  max-width: 300px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.svc-pane__link {
  display: inline-block;
  margin-top: 12px;
  font: 600 1rem 'Montserrat', sans-serif;
  color: #044177;
  text-decoration: none;
}

.svc-pane__link:hover {
  text-decoration: underline;
}



/* ---------- WRAPPER + PANAH ---------- */
.services-page .svc-gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 80px auto 40px;
  max-width: 1200px;
  padding: 0 48px;
}

.services-page .svc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #044177;
  font-size: 48px;
  cursor: pointer;
  line-height: 1;
  user-select: none;
  z-index: 2;
}

.services-page .svc-prev {
  left: 0;
}

.services-page .svc-next {
  right: 0;
}

.services-page .svc-nav:disabled {
  opacity: .3;
  cursor: default;
}

/* ---------- GALERI SCROLL ---------- */
.services-page #svcGallery {
  overflow: hidden;
  flex: 1 1 auto;
  display: flex;
  gap: 32px;
  scroll-behavior: smooth;
}

.services-page .svc-card {
  flex: 0 0 calc((100% - (4 * var(--gap))) / 5);
  max-width: calc((100% - (4 * var(--gap))) / 5);
  /* safeguard */
  text-align: center;
}

/* 5 kartu */
@media(max-width:1024px) {
  .services-page .svc-card {
    flex: 0 0 33.333%;
  }
}

/* 3 */
@media(max-width:768px) {
  .services-page .svc-card {
    flex: 0 0 50%;
  }
}

/* 2 */
@media(max-width:480px) {
  .services-page .svc-card {
    flex: 0 0 100%;
  }
}

/* 1 */

/* (sisanya—.svc-card__icon, .svc-card.active, pane detail—biarkan seperti sebelumnya) */




@media(max-width:768px) {
  .services-page .svc-pane {
    flex-direction: column;
    text-align: center;
  }

  .services-page .svc-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:480px) {
  .services-page .svc-gallery {
    grid-template-columns: 1fr;
  }

  .services-page .svc-pane__title {
    font-size: 1.6rem;
  }

  .services-page .svc-pane__desc {
    font-size: 1rem;
  }
}


/* ===== LEGAL DOCS ================================================= */
.legal-docs-section {
  padding: 80px 0;
  background: #f7f9fc;
}

.legal-docs-section .section-title {
  margin: 0 0 48px;
  text-align: center;
  font: 700 1.6rem 'Montserrat', sans-serif;
  color: var(--blue);
}

.legal-docs-section .section-title small {
  display: block;
  margin-top: 4px;
  font: 500 0.8rem/1.4 'Montserrat', sans-serif;
  color: #666;
}

/* ---------- GRID 3 × 2 ------------------------------------------- */
.legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* setiap item jadi flex-box supaya .legal-btn bisa stretch penuh */
.legal-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ---------- KOTAK SERAGAM & CENTER ------------------------------- */
.legal-btn {
  flex: 1;
  /* isi tinggi penuh item */
  width: 100%;
  min-height: 160px;
  padding: 24px;
  border: 2px solid var(--blue);
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  font: 600 1.04rem 'Montserrat', sans-serif;
  line-height: 1.35;
  transition: background .25s, color .25s, box-shadow .25s;
}

.legal-btn small {
  font-weight: 500;
  font-size: 0.8rem;
  opacity: .8;
}

.legal-btn:hover,
.legal-item.open .legal-btn {
  background: var(--blue-light);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
}

/* ---------- VIEWER ----------------------------------------------- */
.legal-viewer {
  display: none;
  margin-top: 16px;
}

/* tampilkan iframe saat item dibuka */
.legal-item.open .legal-viewer {
  display: block;
}


.legal-viewer iframe {
  width: 100%;
  height: 480px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

/* ---------- RESPONSIVE BREAKPOINTS ------------------------------- */
@media(max-width:1024px) {

  /* tablet → 2 kolom */
  .legal-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:480px) {

  /* HP → 1 kolom */
  .legal-list {
    grid-template-columns: 1fr;
  }

  .legal-docs-section .section-title {
    margin-bottom: 32px;
    font-size: 1.6rem;
  }

  .legal-btn {
    min-height: 140px;
    padding: 20px;
    font-size: .95rem;
  }

  .legal-btn small {
    font-size: .8rem;
  }

  .legal-viewer iframe {
    height: 360px;
  }
}




/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 64px 0 96px;
  background: #fff;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  /* kiri ≈ 42%, kanan ≈ 58% */
  gap: 48px;
}

.heading-xl {
  margin: 0 0 24px;
  font: 700 2rem 'Montserrat', sans-serif;
  color: var(--blue);
}

.company-name {
  font: 700 1.125rem 'Montserrat', sans-serif;
  margin: 0 0 12px;
}

.address,
.mono {
  font: 400 1rem/1.6 'Montserrat', sans-serif;
  color: #333;
  margin: 0 0 32px;
}







/* ================Contact Form=================== */
.contact-form .heading-xl {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px 32px;
  /* row gap 20, column 32 */
}

.form-grid label {
  font: 600 1rem 'Montserrat', sans-serif;
  align-self: center;
  color: #111;
}

.form-grid .req {
  color: #e00;
  margin-left: 2px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #d4d4d4;
  border-radius: 12px;
  background: #e8e9eb;
  font: 500 1rem 'Montserrat', sans-serif;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 0;
  border-color: var(--blue);
  background: #fff;
}

.btn-primary {
  grid-column: 2 / -1;
  /* but-ton sejajar input kolom kanan */
  justify-self: start;
  margin-top: 12px;
  padding: 16px 48px;
  font: 700 1.125rem 'Montserrat', sans-serif;
  color: #fff;
  background: #0d5cee;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
  transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
    /* label-di-atas */
  }

  .btn-primary {
    grid-column: auto;
    width: 100%;
  }
}



/* ===== BLOG LIST =================================================== */
.blog-section {
  padding: 80px 0;
  background: #f7f9fc;
  /* abu-abu sangat muda */
  font-family: 'Montserrat', sans-serif;
}

.blog-section .section-title {
  margin: 0 0 48px;
  text-align: center;
  font: 700 2rem 'Montserrat', sans-serif;
  color: var(--blue);
}

/* --- grid kartu artikel --- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.post-card img {
  width: 100%;
  height: 180px;
  /* tinggi rata untuk grid rapi */
  object-fit: cover;
}

.post-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.post-title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #222;
}

.post-excerpt {
  flex: 1 1 auto;
  margin: 0 0 16px;
  color: #555;
  font-size: .95rem;
  line-height: 1.55;
}

.read-more {
  align-self: flex-start;
  font-weight: 600;
  text-decoration: none;
  color: var(--blue-light);
}

@media (max-width:768px) {
  .blog-section {
    padding: 48px 0;
  }

  .posts-grid {
    gap: 24px;
  }

  .post-card img {
    height: 160px;
  }

  .post-body {
    padding: 20px;
  }
}







/* =========================================
   BREAKPOINT ≤ 768 px  (tablet potret & HP lebar)
   ========================================= */
@media (max-width: 768px) {
  .container {
    padding-inline: 24px;
    /* rapatkan sedikit */
  }

  .navbar-logo img {
    height: 72px;
    /* perkecil logo */
  }

  .navbar-menu a {
    font-size: 19px;
    /* font menu lebih kecil */
  }

  /* Footer: ubah jadi 2 kolom agar tidak terlalu panjang */
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
  }
}

/* =========================================
   BREAKPOINT ≤ 576 px  (smartphone)
   ========================================= */
@media (max-width: 576px) {
  .container {
    padding-inline: 16px;
    /* gutter aman utk jempol */
  }

  /* Navbar */
  .navbar-logo img {
    height: 60px;
  }

  .navbar-menu a {
    font-size: 17px;
  }

  /* Footer: 1 kolom vertikal */
  .footer-container {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .footer-col:first-child .footer-logo {
    width: 160px;
    /* logo footer proporsional */
  }

  .footer-bottom {
    margin-top: 24px;
  }
}



/* =======================================================
   OUR SERVICES – MOBILE IMPROVEMENT
   ======================================================= */

/* ---------- Fade-in animation ---------- */
@keyframes svcFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Breakpoint ≤ 480 px ---------- */
@media (max-width: 480px) {

  /* 1) Sembunyikan panah – tidak perlu slider di HP */
  .services-page .svc-nav {
    display: none;
  }

  /* 2) Buat .svc-gallery menumpuk vertikal              */
  .services-page #svcGallery {
    flex-wrap: wrap;
    /* kartu menyusun ke bawah */
    overflow: visible;
    /* hilangkan clip-ing */
    gap: 24px;
    /* jarak antar-kartu */
  }

  /* 3) Kartu = full-width, center alignment             */
  .services-page .svc-card {
    flex: 1 1 100%;
    max-width: 100%;
    animation: svcFadeIn 0.6s ease both;
  }

  /* 4) Perkecil ikon & teks agar proporsional           */
  .services-page .svc-card__icon {
    width: 120px;
  }

  .services-page .svc-card__title {
    font-size: 1.1rem;
  }
}


/* ============================================================
   OUR SERVICES – MOBILE SLIDER (≤ 480 px) versi 2.0
   ============================================================ */
@keyframes svcFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width:480px) {

  /* ------- wrapper: tambah padding agar panah tidak menutupi kartu */
  .services-page .svc-gallery-wrapper {
    padding: 0 56px;
    /* spasi utk panah */
  }

  /* ------- panah: tampil & perkecil */
  .services-page .svc-nav {
    display: block;
    font-size: 36px;
    /* semula 48px */
  }

  /* ------- galeri = slider horizontal ------- */
  .services-page #svcGallery {
    overflow-x: auto;
    /* scroll dgn drag kalau mau */
    flex-wrap: nowrap;
    /* cegah turun ke bawah */
    scroll-snap-type: x mandatory;
    gap: 24px;
    /* agak rapat */
    -webkit-overflow-scrolling: touch;
  }

  /* ------- setiap kartu = 80% viewport width, snap tengah ------- */
  .services-page .svc-card {
    flex: 0 0 80vw;
    max-width: 80vw;
    scroll-snap-align: center;
    animation: svcFadeIn .6s ease both;
  }

  /* ------- ikon & teks agar proporsional ------- */
  .services-page .svc-card__icon {
    width: 120px;
  }

  .services-page .svc-card__title {
    font-size: 1.1rem;
  }
}


/* ===============================================================
   OUR SERVICES – mobile slider perfectly centered (≤ 480 px)
   =============================================================== */
@media (max-width: 480px) {

  /* 1 ▸ Wrapper: ruang 48 px + panah lebih kecil */
  .services-page .svc-gallery-wrapper {
    padding: 0 48px;
    /* area panah kiri-kanan */
  }

  .services-page .svc-nav {
    font-size: 32px;
    /* panah sedikit lebih mungil */
  }

  /* 2 ▸ Galeri sebagai “track” penuh, tanpa wrap */
  .services-page #svcGallery {
    flex-wrap: nowrap;
    /* 1 baris horizontal */
    overflow: hidden;
    /* biar hanya 1 slide terlihat */
    gap: 24px;
    /* jarak antar-slide */
    scroll-snap-type: x mandatory;
  }

  /* 3 ▸ Kartu = 100 % lebar area geser  */
  .services-page .svc-card {
    flex: 0 0 100%;
    /* inilah kuncinya */
    max-width: 100%;
    scroll-snap-align: center;
  }

  /* 4 ▸ Ikon & judul tetap proporsional */
  .services-page .svc-card__icon {
    width: 120px;
  }

  .services-page .svc-card__title {
    font-size: 1.1rem;
  }
}


.language-switcher {
  position: relative;
  display: inline-block;
  margin-left: 24px;
}

.lang-current {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font: 600 0.95rem 'Montserrat', sans-serif;
  color: #044177;
  cursor: pointer;
}

.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #044177;
  transition: transform 0.2s;
}

/* dropdown box */
.language-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  padding: 6px;
  display: none;
  z-index: 10;
  min-width: 80px;
}

.language-option {
  background: transparent;
  border: none;
  padding: 8px 12px;
  width: 100%;
  text-align: left;
  font: 500 0.9rem 'Montserrat', sans-serif;
  color: #333;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.language-option:hover {
  background: #f2f2f2;
}

.language-option.active {
  background: #044177;
  color: #fff;
}





.post-content img {
  max-width: 100%;
  height: auto;
}

.post-content .ql-align-center {
  text-align: center !important;
}

.post-content .ql-align-right {
  text-align: right !important;
}

.post-content .ql-align-justify {
  text-align: justify !important;
}

.post-content .ql-size-small {
  font-size: .875em !important;
}

.post-content .ql-size-large {
  font-size: 1.5em !important;
}

.post-content .ql-size-huge {
  font-size: 2.25em !important;
}

.post-content span.ql-font-serif {
  font-family: Georgia, "Times New Roman", serif;
}

.post-content span.ql-font-monospace {
  font-family: Menlo, Consolas, monospace;
}

.post-content .ql-indent-1 {
  margin-left: 3em;
}

.post-content .ql-indent-2 {
  margin-left: 6em;
}

.post-content .ql-indent-3 {
  margin-left: 9em;
}




/* === FORCE 1 KARTU PER LAYAR === */
.news-section .news-carousel-wrapper{ position:relative; display:block; margin-top:36px; }

.news-section .news-nav{ position:absolute; top:50%; transform:translateY(-50%); z-index:5;
  width:48px;height:48px;border:none;border-radius:50%;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.15);
  font-size:28px;color:#044177;display:grid;place-items:center;cursor:pointer;
}
.news-section .news-prev{ left:8px; } .news-section .news-next{ right:8px; }

/* Track WAJIB flex + hidden */
.news-section .news-carousel{
  overflow:hidden !important;
  display:flex !important;
  gap:0 !important;
  /* bila sebelumnya pernah grid: */
  grid-template-columns: none !important;
}

/* Pastikan SEMUA anak track = 100% (baik .news-item maupun .news-card langsung) */
.news-section .news-carousel > *{
  flex:0 0 100% !important;
  max-width:100% !important;
  margin:0 !important;
}

/* Jika struktur: .news-item > .news-card, aman juga */
.news-section .news-item{ display:flex; justify-content:center; }
.news-section .news-card{
  width:min(900px,100%); background:#fff; border-radius:16px; overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.12); transition:transform .3s ease;
}
.news-section .news-card:hover{ transform:translateY(-4px); }

.news-section .news-thumb img{ width:100%; height:380px; object-fit:cover; display:block; }

@media (max-width:991px){ .news-section .news-thumb img{ height:300px; } }
@media (max-width:575px){
  .news-section .news-thumb img{ height:220px; }
  .news-section .news-nav{ width:42px;height:42px;font-size:24px; }
}
