* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Pencegahan pergeseran layar secara horizontal */
}

/*========================================================
   NAVBAR STYLING 
======================================================== */

/* --- STYLING KHUSUS LOGO DUA FRAME --- */
.logo-wrapper {
  display: flex !important;
  align-items: center !important; /* Penjajaran vertikal logo dan teks ke tengah */
  gap: 12px; /* Jarak antara logo bulat dan teks */
  text-decoration: none;
}

.logo-circle {
  height: 50px !important; 
  width: 50px !important;
  object-fit: contain !important; /* Mempertahankan proporsi bulat sempurna */
  border-radius: 0 !important; /* Pembersihan efek sisa */
}

.logo-name-rect {
  height: 40px !important; /* Penyesuaian tinggi sedikit di bawah logo bulat */
  width: auto !important; /* Penyesuaian lebar otomatis sesuai proporsi */
  max-width: 300px !important;
  object-fit: contain !important; /* Mempertahankan proporsi gambar */
  
  /* Penghilangan efek lengkung */
  border-radius: 0 !important; 
  background-color: transparent !important; 
}

/* --- NAVBAR RESPONSIVE --- */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  color: #0088cc;
}

.logo img {
  border-radius: 50%;
}

.nav-links a {
  text-decoration: none;
  color: #666;
  margin: 0 15px;
  font-size: 14px;
  transition: color 0.3s;
}

.nav-links a.active {
  color: #4a7bb2;
  border-bottom: 2px solid #4a7bb2;
  padding-bottom: 5px;
}

.nav-links a:hover {
  color: #4a7bb2;
}

.btn-contact {
  text-decoration: none;
  border: 1px solid #2B5490;
  color: #2B5490;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-contact:hover {
  background-color: #2B5490;
  color: #fff;
}

.btn-contact:hover {
  background-color: #2B5490;
  color: #ffffff;
}

*{
  margin: 15;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Menyembunyikan ikon hamburger pada tampilan desktop/laptop */
.hamburger {
  display: none; 
  background: none;
  border: none;
  font-size: 24px;
  color: #2B5490;
  cursor: pointer;
}

/* Penjajaran horizontal menu navigasi pada tampilan desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* --- STYLING NAV LINKS & EFEK UNIK (DESKTOP) --- */
.nav-links {
  display: flex;
  gap: 30px; /* Spasi antar tautan menu */
}

.nav-links a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #2B5490; /* Penggunaan warna biru identitas PT PSM */
}

/* Efek Animasi: Garis Bawah Progresif */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: #2B5490;
  transition: width 0.3s ease-in-out;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%; /* Ekstensi garis bawah secara penuh saat interaksi hover */
}

/* Efek Animasi: Umpan Balik Taktil (Pengecilan skala) saat diklik */
.nav-links a:active {
  transform: scale(0.92);
}

/* --- RESPONSIVE PHONE --- */
@media (max-width: 768px) {
  /* Distribusi ruang elemen navigasi */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
    z-index: 999;
  }

  /* Pembatasan area logo untuk menghindari tumpang tindih dengan menu hamburger */
  .logo {
    max-width: 75%; 
    display: flex;
    align-items: center;
  }

  /* Penyesuaian Logo Dua Frame untuk perangkat seluler */
  .logo-wrapper {
    gap: 8px !important; /* Pengurangan jarak elemen di HP */
  }

  .logo-circle {
    height: 35px !important;
    width: 35px !important;
  }

  .logo-name-rect {
    height: 28px !important;
    max-width: 150px !important; /* Pembatasan lebar agar tidak menutupi tombol menu */
    width: auto !important;
    border-radius: 0 !important; /* Memastikan sudut tetap siku pada HP */
  }

  /* 1. Penyesuaian ukuran ikon hamburger untuk kemudahan akses */
  .hamburger {
    display: block;
    font-size: 28px; 
    padding: 5px; 
  }

  /* Perubahan orientasi menu menjadi vertikal dan disembunyikan secara default */
  .nav-menu {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column; 
    align-items: stretch;
    padding: 10px 0 30px 0; 
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
  }

  .nav-menu > div {
    width: 100%;
    flex-direction: column;
  }

  /* 2. PENGATURAN AREA KLIK DAN TAMPILAN PADA HP */
  .nav-links a {
    position: relative;
    width: 100%; 
    text-align: center; 
    padding: 18px 20px; 
    margin: 0; 
    font-size: 18px; 
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0; 
    color: #333;
    overflow: hidden; /* Properti penting untuk menampung efek transisi latar belakang */
    z-index: 1;
    transition: color 0.3s ease, transform 0.1s ease;
  }

  .nav-links a::after {
    display: none; 
  }

  .nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Penempatan awal elemen latar di luar jangkauan visual */
    width: 100%;
    height: 100%;
    background-color: #eef4fc; /* Warna aksen biru muda */
    z-index: -1;
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Pengaturan kurva transisi */
  }

  /* Pemicu animasi saat interaksi sentuh/tahan pada HP */
  .nav-links a:hover::before, 
  .nav-links a:active::before {
    left: 0; /* Kemunculan latar belakang mengisi seluruh area tautan */
  }

  .nav-links a:hover, 
  .nav-links a:active {
    color: #2B5490;
  }

  /* Efek pengecilan skala saat ditekan */
  .nav-links a:active {
    transform: scale(0.98);
  }

  /* Perubahan warna saat ditekan/di-hover */
  .nav-links a:active, .nav-links a:hover {
    background-color: #f8fafc;
    color: #2B5490;
  }
  

  /* 3. Penyesuaian dimensi Tombol Contact Us */
  .btn-contact {
    display: block;
    text-align: center;
    width: 80%; 
    margin: 25px auto 0 auto; 
    padding: 15px 0;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px; 
  }
}
/* =========================================
   FOOTER STYLING 
========================================= */

/* 1. Bagian Luar: Latar belakang warna solid memenuhi lebar area */
.footer {
  background-color: #274b89; 
  color: #ffffff;
  width: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
  /* PENGATURAN LAPISAN AGAR FOOTER TIDAK TERTUTUP ELEMEN TRANSPARAN LAIN */
  position: relative; 
  z-index: 10; 
}

/* 2. Bagian Dalam: Penggunaan Grid untuk distribusi kolom otomatis */
.footer-container {
  max-width: 1200px; /* Ekstensi lebar maksimal untuk mengakomodasi 4 kolom */
  margin: 0 auto;    
  padding: 60px 20px; 
  display: grid;
  /* Distribusi Kolom: Kiri lebar (2), Tengah standar (1), Tengah standar (1), Kanan menengah (1.5) */
  grid-template-columns: 2fr 1fr 1fr 1.5fr; 
  gap: 30px;
}

.footer h3 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

/* Pengaturan paragraf kolom kiri */
.footer-left p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #e0e6ed; 
}

/* --- Styling Menu Navigation & Product --- */
.footer-links {
  list-style: none; /* Penghilangan penanda daftar baku */
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #e0e6ed; 
  text-decoration: none; /* Penghilangan format tautan baku */
  font-size: 14px;
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #a3c2ec; 
  transform: translateX(5px); /* Efek pergeseran horizontal */
}

.whatsapp-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1001;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --whatsapp-green: #075e54;
}

.whatsapp-launcher {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font-size: 32px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-launcher:hover {
  background-color: #1ebe5d;
  transform: scale(1.06);
}

.whatsapp-launcher:focus-visible,
.whatsapp-close:focus-visible,
.whatsapp-send:focus-visible,
.whatsapp-panel textarea:focus-visible {
  outline: 3px solid #2b5490;
  outline-offset: 3px;
}

.whatsapp-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 104px));
  max-height: min(560px, calc(100dvh - 104px));
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.whatsapp-chat.is-open .whatsapp-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.whatsapp-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  background: var(--whatsapp-green);
  color: #ffffff;
}

.whatsapp-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
}

.whatsapp-profile {
  min-width: 0;
  flex: 1;
}

.whatsapp-panel-header h2 {
  overflow: hidden;
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whatsapp-panel-header p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #d7eee8;
  font-size: 12px;
}

.whatsapp-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
}

.whatsapp-close {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: 20px;
}

.whatsapp-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.whatsapp-panel-body {
  flex: 1;
  min-height: 190px;
  overflow-y: auto;
  padding: 22px 16px;
  background-color: #efeae2;
  background-image:
    radial-gradient(circle at 20px 20px, transparent 9px, rgba(7, 94, 84, 0.055) 10px, transparent 11px),
    radial-gradient(circle at 40px 40px, transparent 13px, rgba(7, 94, 84, 0.04) 14px, transparent 15px);
  background-size: 48px 48px;
}

.whatsapp-greeting {
  display: inline-block;
  max-width: 90%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 4px 14px 14px 14px;
  background: #dcf8c6;
  color: #35463a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  line-height: 1.5;
}

.whatsapp-compose {
  padding: 12px 14px 10px;
  background: #ffffff;
}

.whatsapp-compose-row {
  display: grid;
  gap: 9px;
}

.whatsapp-panel textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  max-height: 96px;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 22px;
  color: #1e293b;
  font: inherit;
  font-size: 14px;
  resize: none;
}

.whatsapp-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 11px 16px;
  border: 0;
  border-radius: 24px;
  background: #25d366;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.whatsapp-send:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.whatsapp-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 9px 0 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

/* Pengaturan Ikon Sosial Media */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #ffffff;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #a3c2ec; /* Perubahan warna interaktif */
  transform: translateY(-3px); /* Efek pergeseran vertikal ke atas */
}

/* Pengaturan Bagian Kanan (Ikon & Teks Kontak) */
.contact-info {
  display: flex;
  align-items: flex-start; 
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info i {
  font-size: 20px;
  margin-top: 2px; 
}

.contact-info p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: #e0e6ed;
}

/* Penyesuaian Responsif untuk Perangkat Bergerak & Tablet */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr; /* Konversi menjadi tata letak vertikal tunggal */
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .whatsapp-chat {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-launcher {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 360px) {
  .whatsapp-panel-header {
    gap: 8px;
    padding: 12px;
  }

  .whatsapp-avatar {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .whatsapp-panel-header h2 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.25;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

/* =========================================
   TRANSLATE STYLING 
========================================= */

/* --- STYLING UTAMA LANGUAGE SWITCHER --- */
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.lang-link {
  text-decoration: none;
  color: #64748b; /* Warna pasif */
  padding: 4px 6px;
  transition: all 0.3s ease;
}

/* Interaksi saat kursor berada pada opsi bahasa */
.lang-link:hover {
  color: #11CAA0; /* Warna aktif/fokus (hijau tosca) */
}

/* Penanda warna untuk bahasa yang sedang digunakan */
.lang-link.active {
  color: #11CAA0; /* Warna aktif/fokus (hijau tosca) */
  pointer-events: none; /* Menonaktifkan fungsi klik pada bahasa yang aktif */
}

.lang-divider {
  color: #cbd5e1;
  user-select: none; /* Mencegah pemilihan teks pada karakter pembatas */
}

/* --- RESPONSIVE UNTUK LAYAR HP (HAMBURGER MENU) --- */
@media (max-width: 768px) {
  .nav-right-actions {
    flex-direction: column; /* Penyesuaian tata letak vertikal pada HP */
    width: 100%;
    gap: 15px;
    padding-top: 15px;
  }
  
  .language-switcher {
    justify-content: center;
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid #f1f5f9; /* Garis pemisah visual pada menu perangkat seluler */
  }
  
  .lang-link {
    font-size: 16px; /* Peningkatan ukuran fon untuk aksesibilitas sentuh */
    padding: 8px 12px;
  }
}