/* UNTUK LOGO*/
.splash-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
}

.splash-logo-box img {
  width: 150px;
  height: auto;
  margin-top: -50px;
  margin-bottom: 8px;
  position: static;
}

.logo-small {
  width: 200px;
  height: auto;
}

@media (max-width: 600px) {
  .logo-small {
    width: 120px;
  }
}

/* BUTTON MULA SEKARANG*/
.whol-main-btn {
  background-color: #278079 !important;
  border-color: #278079 !important;
  color: #fff !important;
}

/* =========================
   LANDING PAGE: FULLSCREEN HEIGHT VIDEO AFTER HEADER
   - width ikut container (bukan 100vw)
   - height = viewport (innerHeight) - header height
   ========================= */

.video-bg-container {
  position: relative;
  width: 100%;
  overflow: hidden;

  /* FULL HEIGHT lepas header */
  height: calc(var(--vhpx, 100vh) - var(--header-h, 0px));

  /* dating app style */
  border-radius: 20px;

  /* penting: jangan bagi margin-bottom besar, nanti nampak content awal */
  margin-bottom: 0;
}

/* pastikan video cover penuh container */
.video-bg-container video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* content bawah â€“ user scroll baru nampak (sebab video dah full height) */
.after-hero-content {
  padding-top: 20px;
  padding-bottom: 40px;
}

.hero-minimal-content {
  text-align: center;
  margin-top: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.feature-card {
  padding: 20px;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: 0.3s;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.feature-icon {
  font-size: 40px;
  margin-bottom: 12px;
  color: #0a7e3e;
}

/* COUNTRY FLAG */
.lang-dropdown {
  position: relative;
  margin-right: 8px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 4px 8px;
  border-radius: 20px;
  cursor: pointer;
}

.lang-toggle img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.lang-toggle .caret {
  font-size: 12px;
  color: #2e7d32;
}

/* Menu */
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  min-width: 180px;
  z-index: 1000;
  padding: 6px 0;
}

.lang-menu.show {
  display: block;
}

.lang-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
}

.lang-menu li img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.lang-menu li:hover {
  background: rgba(46,125,50,0.08);
}

.homeHeader {
  display: flex;
  align-items: center;
  gap: 10px; /* untuk space between language & login */
}

/* untuk Prevent dropdown from breaking layout */
.lang-dropdown {
  position: relative;
}

/* untuk Mobile safety */
@media (max-width: 576px) {
  .homeHeader {
    gap: 6px;
  }
}

/* for age range SLIDER */
.age-range-container {
  position: relative;
  height: 60px;
}

/* Base track */
.range-track {
  position: absolute;
  top: 26px;
  left: 0;
  width: 100%;
  height: 6px;
  background: #c8e6c9;
  border-radius: 10px;
}

/* Active fill */
.range-fill {
  position: absolute;
  top: 26px;
  height: 6px;
  background: #2e7d32;
  border-radius: 10px;
  transition: left 0.25s ease, width 0.25s ease;
}

/* Hide default track */
.age-range-container input[type="range"] {
  position: absolute;
  width: 100%;
  height: 6px;
  top: 26px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
}

/* Thumb */
.age-range-container input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #2e7d32;
  border: 2px solid #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.age-range-container input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

/* Tooltip bubble */
.range-thumb-label {
  position: absolute;
  top: 0;
  background: #2e7d32;
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  transform: translateX(-50%);
  white-space: nowrap;
  transition: left 0.25s ease;
}

/* Max thumb above min */
#ageMax {
  z-index: 3;
}