* {
  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 */
  }

  /* HAMBURGER */

  /* 1. Penyesuaian ukuran ikon hamburger untuk kemudahan akses */
.hamburger {
    display: block;
    font-size: 28px; 
    padding: 5px; 
    position: relative;
    z-index: 9999;
    cursor: pointer; 
  }

  /* 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; 
    padding: 10px 0 30px 0; 
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }

.nav-menu.active {
    display: flex !important; 
  }

.nav-links {
    display: flex;             
    flex-direction: column;    
    width: 100%;              
    
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
  }

  /* 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 */
}

/* 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;
  }
}

/* =========================================
   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;
  }
}