:root {
  --font-base: 1rem;
  --max-width: 1200px;
  --color-primary: #006633;
  --color-bg-dark: #1a1a1a;
}

/* ===== Base ===== */
body {
  margin: 0;
  padding: 0;
  font-size: var(--font-base);
  line-height: 1.6;
}

.lang-en {
  font-family: Verdana, Arial, sans-serif;
}

.lang-zh {
  font-family: SimSun, "宋体", serif;
}

main {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s ease;
}

.hero .overlay {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 2rem;
  max-width: 90vw;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  backdrop-filter: blur(2px);
  border-radius: 0.5rem;
}

.hero h1 {
  font-size: clamp(1rem, 4vw, 2rem);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 3rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.hero p {
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* ===== App Bar ===== */
.app-bar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 4.5rem;
  background-color: transparent;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  z-index: 1000;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.app-bar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  color: #111;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logo {
  font-family: Verdana;
  font-size: 2rem;
  font-weight: bold;
  color: inherit;
  transition: color 0.3s ease;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap; /* prevents wrapping */
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.logo img {
  height: 3rem; /* adjust as needed */
  width: auto;
  display: block;
  padding: 0.5rem 0rem 0.2rem 0.5rem; /* top, right, bottom, left */

}

.logo-text {
  font-family: Verdana, sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.right-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav {
  display: flex;
}

.main-nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: inherit;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.lang-selector {
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
  max-width: 100px;
  margin-right: 30px;
}

/* ===== Mobile Nav ===== */
.menu-toggle {
  display: none;
  background: none;
  font-size: 1.5rem;
  border: none;
  color: inherit;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: white;
  position: absolute;
  top: 70px;
  right: 0;
  width: 200px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 1rem;
  border-bottom: 1px solid #ccc;
  color: #333;
  text-decoration: none;
}

/* ===== Generic Section Style ===== */
section {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5vh 2rem;
  box-sizing: border-box;
  min-height: 100vh;
}

section:nth-of-type(even) {
  background-color: #f9f9f9;
}

/* ===== Dual Column Section ===== */
.dual-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 6rem 2rem 4rem;
  margin-top: 2rem;
  max-width: var(--max-width);
  width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  position: relative;
}

.dual-column .column {
  flex: 1;
  padding: 1rem;
  box-sizing: border-box;
  text-align: left;
}

.dual-column .column h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dual-column .icon {
  font-size: 1.6rem;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .dual-column {
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
  }

  .dual-column .compliance {
    border-right: 1px solid #ccc;
  }

  .dual-column .column {
    position: relative;
  }

  .main-nav a {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (min-width: 1024px) {
  .hero .overlay {
    max-width: 800px;
  }
}

/* ===== Footer ===== */
footer {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  white-space: pre-line;
}


.partners {
  background-color: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
}

.partners h2 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.full-width-logo {
  flex-basis: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem; /* optional spacing */
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  height: 60px;
  width: auto;
  display: block;
}

.musim-logo-bg {
  background-color: #183f38;
  padding: 0.5rem;
  display: inline-block;
}

.ldc-logo-bg {
  background-color: #4299e180;
  padding: 0.5rem;
  display: inline-block;
}

