/* =====================
   Global variables & reset
   ===================== */
:root {
  --yellow: #ffd95a;
  --yellow-dark: #FBC02D;
  --text: #222222;
  --muted: #666;
  --accent: #8B5E3C;
  --glass: rgba(255, 255, 255, 0.75);
  --card-bg: #ffffff;
  --max-width: 1100px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.5;
  background: url("../images/Background.png") center/cover no-repeat fixed;
  position: relative;
}

/* Subtle global overlay to keep text legible */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(99, 85, 85, 0.6), rgba(255, 255, 255, 0.55));
  z-index: -1;
}

/* Hilangkan margin/padding default dari main */
main {
  margin: 0;
  padding: 0;
}

/* =====================
   Header - UPDATED RESPONSIVE
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 36px;
  background: linear-gradient(180deg, rgba(255, 217, 90, 0.95), rgba(255, 217, 90, 0.88));
  border-bottom: 5px solid;
  border-image: linear-gradient(to right, var(--accent), var(--yellow-dark), var(--accent)) 1;
  transition: padding 200ms ease, box-shadow 200ms ease;
}

.site-header.scrolled {
  padding: 8px 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  height: 72px;
  width: auto;
  transition: transform 0.25s ease;
}

.logo-link {
  display: inline-block;
}

.logo-link:hover .logo {
  transform: scale(1.05);
}

.logo-spark-container {
  position: relative;
  display: inline-block;
}

#logo-spark-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
  max-width: 600px;
}

.search-bar {
  display: flex;
  justify-content: center;
  width: 100%;
}

.search-bar input {
  width: 100%;
  max-width: 540px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  outline: none;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.98);
  transition: box-shadow 180ms ease, transform 120ms ease;
}

.search-bar input:focus {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.search-bar button {
  margin-left: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: white;
  cursor: pointer;
}

.header-right {
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

.main-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: background .2s, color .2s, transform .15s;
  white-space: nowrap;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--accent);
  transform: translateY(-3px);
}

.main-nav a.active {
  color: var(--accent);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 8px 14px;
  box-shadow: 0 4px 12px rgba(139, 94, 60, 0.2);
  animation: pulseActive 1.2s ease infinite alternate;
}

@keyframes pulseActive {
  from {
    box-shadow: 0 4px 12px rgba(139, 94, 60, 0.15);
    transform: scale(1);
  }

  to {
    box-shadow: 0 6px 16px rgba(139, 94, 60, 0.25);
    transform: scale(1.05);
  }
}

/* User Menu */
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.user-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #333;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 30px;
  transition: background .2s;
}

.user-toggle:hover {
  background: rgba(255, 255, 255, 0.5);
}

.profile-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow-dark);
}

.user-menu-dropdown {
  position: absolute;
  top: 55px;
  right: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  display: none;
  z-index: 1000;
  border: 1px solid #eee;
}

.user-menu-dropdown a,
.user-menu-dropdown button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  text-decoration: none;
  color: #4b5563;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.user-menu-dropdown a:hover,
.user-menu-dropdown button:hover {
  background: #fffaf2;
  color: #d97706;
  padding-left: 25px;
}

.logout-btn {
  color: #ef4444;
  border-top: 1px solid #f3f4f6;
  margin-top: 5px;
  padding-top: 12px;
}

/* =====================
   MOBILE MENU TOGGLE & PANEL - NEW
   ===================== */

/* Hamburger Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 150;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Panel */
.mobile-menu-panel {
  position: fixed;
  top: 85px;
  right: 0;
  width: 300px;
  max-height: calc(100vh - 85px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: -6px 0 30px rgba(0, 0, 0, 0.15);
  padding: 24px 20px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1);
  z-index: 140;
  overflow-y: auto;
  border-radius: 16px 0 0 16px;
}

.mobile-menu-panel.active {
  transform: translateX(0);
}

.mobile-menu-panel .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.5);
}

.mobile-menu-panel .nav-link:hover {
  background: var(--yellow);
  color: var(--accent);
  transform: translateX(5px);
}

.mobile-menu-panel .nav-link.active {
  background: var(--yellow-dark);
  color: #fff;
}

.mobile-menu-panel .nav-link i {
  width: 20px;
  text-align: center;
}

.mobile-menu-panel .btn-primary {
  display: block;
  text-align: center;
  margin-top: 20px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.mobile-menu-panel .btn-primary:hover {
  background: var(--yellow-dark);
  color: var(--text);
  transform: scale(1.02);
}

/* Mobile User Section */
.mobile-user-section {
  border-top: 2px solid rgba(139, 94, 60, 0.2);
  margin-top: 20px;
  padding-top: 20px;
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--yellow);
  border-radius: 10px;
  margin-bottom: 15px;
}

.mobile-user-info .profile-img {
  width: 45px;
  height: 45px;
}

.mobile-user-info span {
  font-weight: 700;
  color: var(--accent);
}

.btn-logout-mobile {
  width: 100%;
  padding: 12px 20px;
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-logout-mobile:hover {
  background: #dc2626;
  transform: scale(1.02);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 130;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =====================
   Buttons
   ===================== */
.btn-primary {
  background-color: var(--accent);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: 2px solid transparent;
  transition: all .3s;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--yellow-dark);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 192, 45, 0.3);
}

/* LOGIN MODAL */
.login-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.login-box {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  width: 320px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
}

.login-box h2 {
  margin-bottom: 16px;
  color: #8B5E3C;
}

.login-box .subtext {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.5;
}

.login-box .brand {
  color: #8B5E3C;
  font-weight: 700;
}

.login-box label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
}

.login-box input {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.login-box .btn {
  width: 100%;
  padding: 10px;
  background: #8B5E3C;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.login-box .btn:hover {
  background: #6d4428;
}

.login-box .footnote {
  text-align: center;
  margin-top: 12px;
  font-size: 0.85rem;
  color: #666;
}

.login-box .footnote a {
  color: #8B5E3C;
  text-decoration: none;
  font-weight: 600;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}

/* =====================
   Hero
   ===================== */
.hero {
  min-height: 63vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 60px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  color: #000000;
  text-shadow: 0 1px 0 rgba(210, 209, 209, 0.6);
  padding-top: 100px;
}

.hero-title {
  font-size: clamp(1rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 800;
}

.hero-title .accent {
  color: var(--text);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  margin-bottom: 24px;
  color: var(--glass);
  min-height: 50px;
  opacity: 0.90;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA */
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform .18s, box-shadow .18s;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.secondary {
  background: var(--yellow-dark);
  color: #222;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

/* Quick links */
.hero-quick {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 6px;
  flex-wrap: wrap;
}

.hero-quick a {
  font-size: .95rem;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
}

/* Decorative motif */
.hero-decor {
  position: absolute;
  right: 6%;
  top: 10%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 20% 30%, rgba(139, 94, 60, 0.06) 0 20%, transparent 21%),
    radial-gradient(circle at 80% 80%, rgba(139, 94, 60, 0.06) 0 10%, transparent 11%);
  filter: blur(6px);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.9;
}

/* =====================
   Features
   ===================== */
.features {
  padding: 48px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
}

.section-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  color: var(--accent);
}

.features-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
  font-size: 2.1rem;
  background: linear-gradient(180deg, #fff, #fff);
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.03);
}

.card h3 {
  margin-top: 4px;
  color: rgb(41, 40, 40);
}

.card p {
  color: #464646;
  font-size: 0.95rem;
}

.card-cta {
  margin-top: auto;
  text-decoration: none;
  font-weight: 700;
  color: var(--accent);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card-link:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}


/* =====================
   Promo
   ===================== */
.promo {
  padding: 36px 20px;
  text-align: center;
  max-width: var(--max-width);
  margin: 18px auto;
  background: transparent;
}

.promo h2 {
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.promo p {
  color: var(--text);
  font-size: 1.2rem;
}

/* =====================
   Team Section
   ===================== */
#team {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
}

#team h2 {
  font-size: 2.2em;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
}

#team h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-dark));
  border-radius: 2px;
}

.team-slogan {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 40px auto 60px auto;
  max-width: 720px;
  line-height: 1.6;
  font-style: italic;
  opacity: 0;
  animation: fadeIn 1.2s ease-in-out forwards;
  animation-delay: 0.3s;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px;
}

.member {
  position: relative;
  text-align: center;
  transition: transform 0.3s ease;
}

.member:hover {
  transform: translateY(-10px);
}

.member .photo {
  position: relative;
  width: 100%;
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.member .photo::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 180px;
  background: linear-gradient(135deg, rgba(255, 217, 90, 0.6), rgba(251, 192, 45, 0.5));
  border-radius: 20px;
  z-index: 1;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.member:hover .photo::before {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.member .photo img {
  position: relative;
  z-index: 10;
  width: 280px;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.member:hover .photo img {
  transform: scale(1.05);
}

.member h3 {
  color: var(--text);
  font-size: 1.3rem;
  margin: 12px 0 6px 0;
  font-weight: 700;
  position: relative;
  z-index: 10;
}

.member p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  position: relative;
  z-index: 10;
  font-weight: 500;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.member:hover .member-social {
  opacity: 1;
  transform: translateY(0);
}

.member-social a {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.member-social a:hover {
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 8px 20px rgba(251, 192, 45, 0.4);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation untuk member cards */
.member:nth-child(1) {
  animation: fadeIn 0.6s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.member:nth-child(2) {
  animation: fadeIn 0.6s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.member:nth-child(3) {
  animation: fadeIn 0.6s ease-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

/* =====================
   Footer
   ===================== */
.site-footer {
  background: linear-gradient(135deg, #ffd95a, #fbc02d);
  padding: 40px 20px;
  color: #222;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-col h3 {
  margin-bottom: 12px;
  color: #8B5E3C;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #222;
  transition: color 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: #8B5E3C;
  transform: translateX(5px);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.socials a {
  width: 38px;
  height: 38px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all .3s;
  color: #1f2937;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

.socials a:hover {
  background: #1f2937;
  color: #fcd34d;
  transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.95rem;
  color: #000000;
  background-color: transparent;
  padding: 10px 20px;
}

/* floating help */
.floating-help-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.help-trigger-btn {
  background: #1e293b;
  color: #fcd34d;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all .3s;
  border: 2px solid #fcd34d;
}

.help-trigger-btn.active {
  transform: rotate(45deg);
  background: #fcd34d;
  color: #1e293b;
  border-color: #1e293b;
}

.help-options {
  position: absolute;
  bottom: 75px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .3s ease;
}

.help-trigger-btn.active~.help-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.help-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all .2s;
}

.help-item:hover {
  transform: translateX(-5px);
  color: #d97706;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.help-item i {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 50%;
  font-size: 0.8rem;
  color: #d97706;
}

/* Splash Screen */
#logo-splash {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #ffd000 0%, #fef3c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

#logo-splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-logo-container {
  animation: logoEntrance 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.splash-logo {
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.08));
}

@keyframes logoEntrance {
  0% {
    transform: scale(0.85) translateY(20px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.splash-logo-container::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(252, 211, 77, 0.15) 0%, transparent 70%);
  animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* utility */
.prevent-shift {
  overflow-anchor: none;
}

/* =====================
   RESPONSIVE BREAKPOINTS
   ===================== */

/* Large Desktop */
@media (min-width: 1200px) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* Desktop to Tablet */
@media (max-width: 1024px) {
  .site-header {
    padding: 12px 22px;
  }

  .logo {
    height: 64px;
  }

  .header-center {
    max-width: 400px;
  }

  .search-bar input {
    padding: 10px 16px;
  }

  .main-nav {
    gap: 10px;
  }

  .main-nav a {
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .hero-inner {
    padding: 0 12px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .site-header {
    padding: 10px 16px;
  }

  .logo {
    height: 56px;
  }

  .header-center {
    max-width: 300px;
    margin: 0 10px;
  }

  .search-bar input {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  /* SHOW MOBILE MENU, HIDE DESKTOP NAV */
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    padding: 60px 24px 40px 24px;
    min-height: 45vh;
  }

  .hero-inner {
    padding-top: 40px;
  }

  .team-slogan {
    font-size: 0.95rem;
    margin: 16px auto 40px auto;
    padding: 0 12px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem 1.5rem;
  }

  .footer-bottom {
    padding: 10px 20px;
  }

  .floating-help-container {
    bottom: 20px;
    right: 20px;
  }

  .help-trigger-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Mobile - Small */
@media (max-width: 520px) {
  .site-header {
    padding: 8px 12px;
  }

  .logo {
    height: 45px;
  }

  .header-center {
    max-width: 200px;
    margin: 0 8px;
  }

  .search-bar input {
    padding: 7px 12px;
    font-size: 0.85rem;
  }

  .mobile-menu-panel {
    width: 100%;
    border-radius: 0;
  }

  .profile-img {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding: 40px 16px 30px 16px;
    min-height: 40vh;
  }

  .hero-inner {
    padding-top: 20px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  #team {
    display: none;
  }

  .member .photo {
    height: 260px;
  }

  .member .photo::before {
    width: 180px;
    height: 140px;
  }

  .member .photo img {
    width: 220px;
    max-height: 280px;
  }

  .member h3 {
    font-size: 1.1rem;
  }

  .member p {
    font-size: 0.85rem;
  }

  .floating-help-container {
    bottom: 15px;
    right: 15px;
  }

  .help-trigger-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .help-item {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

/* Extra Small Mobile */
@media (max-width: 380px) {
  .site-header {
    padding: 6px 10px;
  }

  .logo {
    height: 40px;
  }

  .header-center {
    max-width: 150px;
    margin: 0 5px;
  }

  .search-bar input {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-sub {
    font-size: 0.9rem;
  }
}

/* Tablet landscape adjustment for team */
@media (max-width: 1024px) and (min-width: 769px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .member .photo img {
    width: 260px;
  }
}

/* Layout grid desktop untuk Footer */
@media (min-width: 1024px) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
  }

  .footer-col.brand {
    text-align: left;
  }

  .footer-col:nth-child(2),
  .footer-col:nth-child(3) {
    text-align: left;
  }

  .footer-col {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
  }

  .footer-col:first-child {
    border-left: none;
    padding-left: 0;
  }
}