/* ==========================================================================
   LPK DERMA INDONESIA - COMPONENTS & UI ELEMENTS
   ========================================================================== */

/* Topbar Notification */
.topbar {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
  position: relative;
  z-index: 1001;
}

.topbar.hidden {
  display: none !important;
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #38bdf8;
  font-weight: 600;
  line-height: 1.3;
}

.topbar-badge svg {
  flex-shrink: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-contact {
  display: flex;
  align-items: center;
}

.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #e2e8f0;
}
.topbar-contact a:hover {
  color: var(--accent-light);
}

.topbar-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.1rem 0.4rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.topbar-close-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Mobile Topbar Styling */
@media (max-width: 768px) {
  .topbar {
    padding: 0.35rem 0;
    font-size: 0.725rem;
  }
  .topbar-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    gap: 0.4rem;
  }
  .topbar-badge {
    font-size: 0.725rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
  }
  .topbar-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar-contact {
    display: none; /* Hide in topbar on mobile since bottom bar has WhatsApp */
  }
  .topbar-actions {
    flex-shrink: 0;
    gap: 0;
  }
  .topbar-close-btn {
    font-size: 1.25rem;
    padding: 0.15rem 0.35rem;
    color: #e2e8f0;
  }
}

/* Sticky Header & Navbar */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(226, 232, 240, 0.9);
}
.site-header.scrolled .navbar {
  height: 4.25rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.75rem;
  transition: height 0.25s ease;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo img {
  height: 46px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

.nav-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(10, 25, 47, 0.25);
}
.btn-primary:hover {
  background-color: var(--primary-light);
  box-shadow: 0 6px 20px rgba(10, 25, 47, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  box-shadow: 0 6px 22px rgba(217, 119, 6, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--border-light);
}
.btn-outline:hover {
  border-color: var(--primary);
  background-color: rgba(10, 25, 47, 0.04);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* Mobile Hamburger Toggle */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
}
.hamburger-btn svg {
  width: 28px;
  height: 28px;
}

/* Mobile Pop-Up More Menu Card (Modern & Elegan) */
.mobile-drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.mobile-drawer.open {
  display: flex;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.drawer-content,
.more-menu-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 2.5rem);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: popUpMenuCard 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes popUpMenuCard {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(14px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.85rem;
}
.drawer-close {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.drawer-close:hover {
  background: #e2e8f0;
  color: var(--primary);
  transform: rotate(90deg);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.menu-card-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s ease;
  background: transparent;
  border: 1px solid transparent;
}
.menu-card-item:hover {
  background: #f8fafc;
  border-color: var(--border-light);
}
.menu-card-item.active {
  background: #fffbeb;
  border-color: rgba(217, 119, 6, 0.25);
}

.menu-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(10, 25, 47, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.menu-card-item.active .menu-card-icon {
  background: var(--accent);
  color: #ffffff;
}
.menu-card-item:hover .menu-card-icon {
  color: var(--accent);
}

.menu-card-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.menu-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}
.menu-card-item.active .menu-card-title {
  color: var(--accent);
}
.menu-card-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1px;
}
.menu-card-chevron {
  color: #cbd5e1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.menu-card-item:hover .menu-card-chevron {
  color: var(--accent);
  transform: translateX(2px);
}

.menu-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  width: 100%;
  min-width: 0;
}
.hero-content {
  max-width: 620px;
  width: 100%;
  min-width: 0;
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
.hero-trust-item svg {
  color: var(--emerald);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
}
.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
}
.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-image-card:hover img {
  transform: scale(1.03);
}
.floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.floating-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--emerald-bg);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.floating-badge-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}
.floating-badge-text p {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Highlights Ribbon Bar */
.highlights-ribbon {
  background-color: var(--primary);
  color: #ffffff;
  padding: 2.25rem 0;
}
.ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.ribbon-item h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.ribbon-item p {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Reasons / Feature Cards */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.reason-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}
.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(217, 119, 6, 0.4);
}
.reason-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(10, 25, 47, 0.06);
  line-height: 1;
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
}
.reason-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.reason-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.reason-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Program Cards */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.program-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.program-card:hover .program-img-wrap img {
  transform: scale(1.05);
}
.program-chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
}
.program-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.program-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.program-salary {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.program-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.program-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.program-list li svg {
  color: var(--emerald);
  flex-shrink: 0;
}

/* Testimonial Cards */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 1rem;
  right: 1.75rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(10, 25, 47, 0.08);
  line-height: 1;
  pointer-events: none;
}
.star-rating {
  color: #f59e0b;
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.75rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}
.author-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.author-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}
.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.author-info .income-badge {
  display: inline-block;
  background-color: var(--emerald-bg);
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-top: 0.25rem;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: var(--bg-card);
  overflow: hidden;
  transition: all var(--transition-fast);
}
.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.08);
}
.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent);
  color: #ffffff;
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
}
.faq-content p {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CTA Banner Box */
.cta-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-box p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 2.25rem;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Floating WhatsApp Widget */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-wa:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}
.floating-wa svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

/* Site Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.8fr) 1.1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1.25rem;
}
.footer-desc {
  font-size: 0.925rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 1rem;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.footer-social-link svg {
  display: block;
}
.footer-social-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}
.footer-social-link.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(214, 36, 159, 0.35);
}
.footer-social-link.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35);
}
.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: -0.4rem;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a {
  font-size: 0.925rem;
  color: #94a3b8;
}
.footer-links a:hover {
  color: var(--accent-light);
  transform: translateX(3px);
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Quota Checker Form Component (Lead Magnet) */
.quota-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.quota-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: 1.25rem;
}
.form-label {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}
.form-input,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background-color: #ffffff;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}
.quota-result-card {
  display: none;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.75rem;
  animation: fadeInDown 0.35s ease;
}
.quota-badge-avail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.spin-icon {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Program Card Header (Persyaratan) */
.program-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.program-card-flag {
  font-size: 1.5rem;
  margin-right: 0.4rem;
  line-height: 1;
}
.program-card-title {
  flex: 1;
}
.program-card-badge {
  flex-shrink: 0;
}

/* Bank Account Card (for Persyaratan) */
.bank-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  margin: 2rem 0;
}
.bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.bank-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.bank-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
}
.bank-badge {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.copy-account-btn {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
}
.copy-account-btn:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}
.bank-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #f8fafc;
  margin-bottom: 0.5rem;
  font-family: monospace;
}
.bank-holder {
  font-size: 1rem;
  color: #94a3b8;
}
.bank-holder strong {
  color: #ffffff;
}
.bank-footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}
.bank-fee-label {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}
.bank-fee-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fbbf24;
}
.bank-fee-note {
  font-size: 0.85rem;
  color: #cbd5e1;
  max-width: 420px;
  text-align: right;
  line-height: 1.5;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust-row {
    justify-content: center;
  }
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header .navbar {
    height: 4.25rem;
  }
  .site-header.scrolled .navbar {
    height: 3.85rem;
  }
  .brand-logo img {
    height: 38px;
  }
  .nav-menu, .nav-action {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
  .btn {
    white-space: normal;
  }

  /* Hero Section Tablet & Mobile Polish */
  .hero {
    padding: 2.75rem 0 3.25rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero-content {
    max-width: 100%;
    text-align: left;
    width: 100%;
    min-width: 0;
  }
  .hero-title {
    font-size: 2.15rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.35;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
  }
  .hero-trust-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
  }
  .hero-trust-item {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .hero-media {
    width: 100%;
    min-width: 0;
  }
  .hero-image-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-image-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
  }
  .floating-badge {
    position: static;
    margin-top: 0.85rem;
    padding: 0.85rem 1rem;
    gap: 0.75rem;
    border-radius: var(--radius-md);
    width: 100%;
    box-sizing: border-box;
  }
  .floating-badge-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
  .floating-badge-icon svg {
    width: 20px;
    height: 20px;
  }
  .floating-badge-text h4 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }
  .floating-badge-text p {
    font-size: 0.75rem;
    line-height: 1.35;
  }
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .bank-number {
    font-size: 1.4rem;
  }
  .cta-box {
    padding: 3rem 1.5rem;
  }
  .cta-box h2 {
    font-size: 1.85rem;
  }
}

/* ==========================================================================
   DEDICATED MOBILE BOTTOM NAVIGATION BAR & SKELETON UI POLISH
   ========================================================================== */

/* Mobile Bottom App Bar */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.07);
    z-index: 1400;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.725rem;
    font-weight: 600;
    flex: 1;
    height: 100%;
    transition: color 0.2s ease;
    position: relative;
  }

  .bottom-nav-item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    transition: transform 0.2s ease;
  }

  .bottom-nav-item.active,
  .bottom-nav-item:hover {
    color: var(--accent);
  }

  .bottom-nav-item.active svg {
    transform: translateY(-2px);
    stroke: var(--accent);
  }

  .bottom-nav-item.highlight-wa {
    color: #15803d;
  }
  .bottom-nav-item.highlight-wa svg {
    color: #22c55e;
  }

  /* Elevate floating WA button on mobile so it doesn't overlap bottom bar */
  .floating-wa {
    bottom: 4.85rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  }
  .floating-wa span {
    display: none; /* Icon-only on mobile for cleaner look */
  }

  /* Hero Section adjustments on mobile */
  .hero {
    padding: 2.15rem 0 2.6rem;
  }
  .hero-title {
    font-size: clamp(1.65rem, 7vw, 1.95rem);
    line-height: 1.22;
  }
  .hero-desc {
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    padding: 0.85rem 1rem;
    font-size: 0.925rem;
    gap: 0.5rem;
  }
  .hero-actions .btn svg {
    flex-shrink: 0;
  }
  .hero-trust-row {
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
  }
  .hero-trust-item {
    font-size: 0.825rem;
  }
  .hero-image-card img {
    height: 250px;
  }
  .floating-badge {
    position: static;
    margin-top: 0.75rem;
    padding: 0.8rem 0.9rem;
  }

  /* Ribbon Grid Mobile */
  .ribbon-item h3 {
    font-size: 1.65rem;
  }
  .ribbon-item p {
    font-size: 0.775rem;
  }

  /* Reason Card Mobile */
  .reason-card {
    padding: 1.5rem;
  }
  .reason-card[style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }

  /* Program Card Mobile */
  .program-img-wrap {
    height: 200px;
  }
  .program-body {
    padding: 1.5rem;
  }
  .program-title {
    font-size: 1.35rem;
  }

  /* Testimonial Card Mobile */
  .testimonial-card {
    padding: 1.5rem;
  }
  .testimonial-text {
    font-size: 0.95rem;
  }

  /* Map Container Mobile */
  section.bg-subtle div[style*="grid-template-columns: 1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
  }

  /* About layout on mobile */
  div[style*="grid-template-columns: 1.1fr 0.9fr"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Bank Account Card Mobile (Clean Stacked Rows) */
  .bank-card {
    padding: 1.5rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: var(--radius-lg);
  }
  .bank-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }
  .bank-title-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .bank-name {
    font-size: 1.35rem;
  }
  .copy-account-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
  }
  .bank-number {
    font-size: clamp(1.25rem, 5.2vw, 1.65rem);
    letter-spacing: 0.05em;
    word-break: break-all;
    margin-bottom: 0.4rem;
  }
  .bank-holder {
    font-size: 0.925rem;
  }
  .bank-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-top: 1.25rem;
    padding-top: 1.15rem;
  }
  .bank-fee-info {
    width: 100%;
  }
  .bank-fee-amount {
    font-size: 1.4rem;
  }
  .bank-fee-note {
    max-width: 100%;
    text-align: left;
    font-size: 0.825rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    border-left: 3px solid #fbbf24;
  }

  .form-container-card,
  .quota-card {
    padding: 1.5rem 1.25rem !important;
  }
  .quota-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  /* Program Card Header — 3 row mobile layout */
  .program-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    justify-content: flex-start;
  }
  .program-card-flag {
    font-size: 2.75rem;
    margin-right: 0;
    line-height: 1;
  }
  .program-card-title {
    flex: unset;
  }
  .program-card-badge {
    align-self: flex-start;
  }
}

/* Extra Small Screens (<= 380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.55rem;
  }
  .hero-desc {
    font-size: 0.875rem;
    line-height: 1.55;
  }
  .hero-actions .btn {
    padding: 0.75rem 0.85rem;
    font-size: 0.875rem;
  }
  .hero-trust-item {
    font-size: 0.8rem;
  }
  .hero-image-card img {
    height: 210px;
  }
}


