  @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600&display=swap');
        * {
  box-sizing: border-box;
  
}

    /* Navbar utama */
    .custom-navbar {
  width: 100vw;
  background-color: #0047ab;
  color: white;
  padding: 10px 15px;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  padding-right: 50px;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-img {
  height: auto;
  max-width: 250px;
  padding-left: 50px;
}
.logo-language-section {
  display: flex;
  
  align-items: center;
}
.lang-container {
    display: flex;
    align-items: center;       /* vertical align tengah */
    gap: 30px;                 /* jarak kecil antara globe & text */
    margin-left: auto;         /* tolak ke kanan */
    margin-right: 30px;        /* jarak dari menu icon */
}
.language-img {
  max-width: 70px;
}

.language-section {
  color: white;
  font-size: 14px;
}

.lang-link {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 5px;
}

.menu-icon {
  width: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;

}

.menu-icon .bar {
  height: 3px;
  background-color: white;
  border-radius: 2px;
}

/* Offcanvas menu */
.offcanvas-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 30%;
  height: 100%;
  background: #0047ab;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease-in-out;
  z-index: 999;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.offcanvas-header {
  display: flex;
  justify-content: flex-start;
}

.menu-title {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.offcanvas-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-bottom: 1px solid #ffd700;
}
.back-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: rgb(255, 254, 254); /* tukar ikut background */
  transition: transform 0.2s ease;
  
  justify-content: center;
}
.back-btn:hover {
  transform: scale(1.2);
}
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo img {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-right: 0.75rem;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-subtext {
  font-size: 0.75rem;
  color: #666;
}
.brand-name {
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 1px;
}
.brand-section {
  text-align: center;
}
.brand-title {
  font-size: 28px;
  font-weight: bold;
  font-family: 'Canva Sans', sans-serif;
  color: #1a1a1a;
}
.brand-subtitle {
  font-size: 14px;
  color: #777;
}
.menu-card {
  background-color: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.offcanvas-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offcanvas-links li {
  margin: 12px;
}

.offcanvas-links li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  transition: transform 0.2s;
}
.language-switch-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  margin-right: 12px;
  font-family: 'Outfit', sans-serif;
  gap: 6px;
  margin-right: 30px;
}

.language-switch-vertical .lang-option {
  color: white;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}

.language-switch-vertical .lang-option:hover {
  transform: scale(1.08);
}


.language-switch-vertical .active {

  color: #ffd700; /* highlight language selected */
}

.language-switch-vertical img {
  width: 20px;
  height: 20px;
}



.offcanvas-links li a:hover {
  transform: scale(1.05);
  color: #007BFF;
}

.offcanvas-footer {
  margin-top: 30px;
  border-top: 1px solid #ffd700;
  padding-top: 15px;
}

.offcanvas-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 24px;
  color: rgb(255, 255, 255);
  margin-bottom: 10px;
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif
}

.offcanvas-footer a:hover {
  color: #28a745;
  transform: scale(1.05);
}
/* Toggle menu on */
.offcanvas-menu.open {
  right: 0;
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
  .custom-navbar {
    padding: 10px 15px;
  }

  .logo-img {
    max-width: 150px;   /* kecikkan logo */
    padding-left: 0;    /* buang padding extra */
  }

  .lang-container {
    display: none;  /* rapatkan sikit */
  }

  .language-img {
    max-width: 35px;     /* globe kecil */
  }

  .language-switch-vertical {
    display: none;
  }
  .menu-icon {
    width: 25px;    /* kecik sikit */
    gap: 4px;
  }

  /* Offcanvas menu kat mobile = full width */
  .offcanvas-menu {
    width: 100%;
    padding: 15px;
  }

  .brand-logo img {
    width: 150px;
  }

  .menu-card {
    padding: 10px;
  }

  .offcanvas-links li a {
    font-size: 18px;
    padding: 8px 0;
  }

  .offcanvas-footer a {
    font-size: 18px;
  }
}

