:root {
  /* Modern Ocean Blue Palette */
  --primary-blue: #0F52BA; /* Sapphire Blue */
  --blue-dark: #0A3370;
  --blue-light: #F0F4FF;
  --blue-grad: linear-gradient(135deg, #0F52BA, #1E88E5);
  
  /* Modern Coral/Crimson Red Palette */
  --primary-red: #E63946;
  --red-hover: #D62828;
  --red-grad: linear-gradient(135deg, #E63946, #D62828);
  
  /* Accents */
  --accent-yellow: #F4A261;
  --yellow-light: #FFF7ED;
  
  /* Neutrals */
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC; /* Slate 50 - Softer white */
  --text-dark: #1E293B; /* Slate 800 - Not pure black */
  --text-muted: #64748B; /* Slate 500 */
  --border-color: #E2E8F0; /* Slate 200 */
  
  /* Shadows & Effects */
  --card-shadow: 0 10px 30px -5px rgba(15, 82, 186, 0.08), 0 4px 10px -3px rgba(15, 82, 186, 0.05);
  --hover-shadow: 0 20px 40px -5px rgba(15, 82, 186, 0.12), 0 10px 15px -3px rgba(15, 82, 186, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
a { text-decoration: none; }
.btn-cta, .btn-download, .btn-nav-login, .btn-manual-download { text-decoration: none !important; }
h1, h2, h3, h4, h5, h6, .brand-font { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.02em; }
/* Native Cross-Document View Transitions (Smooth & Flicker-Free) */
@view-transition {
  navigation: auto;
}

body { 
  background-color: var(--bg-light); 
  color: var(--text-dark); 
  line-height: 1.6; 
  display: flex; 
  flex-direction: column; 
  min-height: 100vh;
}

main { flex: 1; }

/* Global Header & Top-Bar Styling */
.top-bar {
  background: rgba(10, 51, 112, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #E2E8F0;
  padding: 8px 5%;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar-marquee { flex: 1; overflow: hidden; white-space: nowrap; margin: 0 20px; color: var(--accent-yellow); font-weight: 600;}
.top-bar-marquee span { display: inline-block; animation: marquee 25s linear infinite; }
@keyframes marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

#nav-placeholder {
  position: sticky;
  top: 0;
  z-index: 1000;
}

header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
}
.brand img { height: 46px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.brand-text h1 { font-size: 1.2rem; font-weight: 800; color: var(--primary-blue); line-height: 1.1; margin: 0; font-family: 'Plus Jakarta Sans', sans-serif;}
.brand-text p { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; margin: 2px 0 0 0; white-space: nowrap; }

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link.has-dropdown::after {
  content: '▾';
  font-size: 0.8em;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary-blue); background: var(--blue-light); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Simple Red Login Button */
.btn-nav-login {
  background: var(--primary-red);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  padding: 8px 18px;
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.2);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-nav-login:hover {
  background: var(--red-hover, #B71C1C);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(211, 47, 47, 0.35);
}/* DESKTOP NAVIGATION (> 1024px) */
@media (min-width: 1025px) {
  .mobile-toggle {
    display: none !important;
  }
  .mobile-login-item {
    display: none !important;
  }
  .desktop-login-btn {
    display: inline-flex !important;
  }
  .nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 12px 0;
    max-width: 1280px;
    margin: 0 auto;
    gap: 20px;
  }
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-self: center;
  }
  .nav-item { position: relative; }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1001;
    border: 1px solid var(--border-color);
  }
  .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown-link {
    display: block;
    padding: 10px 14px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
  }
  .dropdown-link:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
    padding-left: 18px;
  }
}

/* MOBILE & TABLET NAVIGATION (<= 1024px) */
@media (max-width: 1024px) {
  .desktop-login-btn {
    display: none !important;
  }
  .mobile-login-item {
    display: block !important;
    margin-top: 10px;
    width: 100%;
  }
  .mobile-login-btn {
    width: 100% !important;
    padding: 12px 18px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
  }
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    width: 100%;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-light);
    border: 1px solid rgba(15, 82, 186, 0.2);
    color: var(--primary-blue);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
  }
  .mobile-toggle:hover, .mobile-toggle:active {
    background: var(--primary-blue);
    color: #ffffff;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 5% 24px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--primary-blue);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    z-index: 9999;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    list-style: none;
    margin: 0;
    box-sizing: border-box;
  }
  .nav-menu.active {
    display: flex !important;
    animation: slideDownNav 0.25s ease-out;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    justify-content: space-between;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid var(--border-color);
  }
  .dropdown-menu {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #F0F4FF;
    border-radius: 8px;
    margin: 6px 0 10px 0;
    padding: 8px 12px;
    border-left: 4px solid var(--primary-blue);
    width: 100%;
    box-sizing: border-box;
  }
  .dropdown-menu.mobile-expanded,
  .dropdown-menu.active,
  .dropdown-menu.open {
    display: block !important;
  }
  .dropdown-link {
    display: block;
    padding: 10px 12px;
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 82, 186, 0.1);
  }
  .dropdown-link:last-child {
    border-bottom: none;
  }
  .dropdown-link:hover {
    color: var(--primary-blue);
  }
}

@keyframes slideDownNav {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Utilities & Table Responsive */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.hover-lift {
  transition: var(--transition);
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--hover-shadow);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
}

/* General Section Styling */
.section { padding: 45px 5%; max-width: 1400px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 30px; }
.section-title span { color: var(--primary-red); font-weight: 700; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 2px; }
.section-title h3 { font-size: 2.5rem; color: var(--text-dark); font-weight: 800; margin-top: 8px; line-height: 1.2; }
.section-title h3 span { color: var(--primary-blue); font-size: inherit; text-transform: none; letter-spacing: normal; }
.title-line { width: 60px; height: 5px; background: var(--blue-grad); margin: 16px auto 0; border-radius: 4px; }

/* Form inputs */
input, select, textarea {
  font-family: 'Inter', sans-serif;
}

/* --- FOOTER STYLES (COMPACT & SLEEK FULL WIDTH) --- */
.footer-wrapper {
  padding: 0;
  margin: 0;
  width: 100%;
  background: transparent;
  font-family: 'Inter', sans-serif;
}

.footer-card {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: linear-gradient(145deg, #0A3370, #072552);
  border-radius: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -8px 30px rgba(10, 51, 112, 0.15);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bg-lines {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 40px;
  max-width: 1350px;
  margin: 0 auto;
  padding: 40px 5% 30px;
  position: relative;
  z-index: 2;
}

/* Brand Column */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.footer-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.footer-brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.footer-brand-desc {
  color: #94A3B8;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
  max-width: 380px;
  text-align: justify;
}

/* Social Media Icons */
.footer-socials {
  display: flex;
  gap: 12px;
  margin: 0;
}

.footer-socials .social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-socials .social-icon:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  color: #FFFFFF;
}

/* Global Floating Circular Back to Top Button */
.floating-back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0F52BA, #1E88E5);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(15, 82, 186, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.floating-back-to-top:hover {
  background: linear-gradient(135deg, #0A3370, #0F52BA);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(15, 82, 186, 0.55);
}

.floating-back-to-top:active {
  transform: translateY(0) scale(0.95);
}

/* Navigation Links Columns */
.footer-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Gold / Amber Bottom Copyright Banner */
.footer-bottom-banner {
  background: linear-gradient(90deg, #F59E0B, #EAB308);
  color: #1E293B;
  text-align: center;
  padding: 10px 5%;
  font-size: 0.8rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
  letter-spacing: 0.3px;
  font-family: 'Inter', sans-serif;
  width: 100%;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px 5% 24px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 5% 20px;
  }
}

/* ==========================================
   SURVEI KEPUASAN LIKERT 1-5 EMOTICON STYLES
   ========================================== */
.survey-question-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 22px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}
.survey-question-card:hover {
  border-color: rgba(15, 82, 186, 0.3);
  box-shadow: var(--card-shadow);
}
.question-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.question-badge {
  background: var(--blue-light);
  color: var(--primary-blue);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.question-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
}

/* Likert 1-5 Emoticon Selector Grid */
.emoticon-likert-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.emoticon-opt {
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.emoticon-opt .emo-icon {
  font-size: 2.2rem;
  line-height: 1;
  display: block;
  transition: transform 0.25s ease;
  filter: grayscale(25%);
}

.emoticon-opt .emo-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.2;
  transition: color 0.25s ease;
}

.emoticon-opt .emo-num {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #94A3B8;
  background: rgba(255,255,255,0.85);
  padding: 2px 6px;
  border-radius: 10px;
}

.emoticon-opt:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--primary-blue);
  background: var(--blue-light);
}

.emoticon-opt:hover .emo-icon {
  transform: scale(1.2) rotate(-5deg);
  filter: grayscale(0%);
}

/* Selected States per Likert Rating 1 - 5 */
.emoticon-opt.selected[data-val="1"] {
  background: #FEF2F2;
  border-color: #EF4444;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.25);
}
.emoticon-opt.selected[data-val="1"] .emo-label { color: #DC2626; font-weight: 800; }
.emoticon-opt.selected[data-val="1"] .emo-icon { transform: scale(1.3); filter: grayscale(0%); }

.emoticon-opt.selected[data-val="2"] {
  background: #FFF7ED;
  border-color: #F97316;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}
.emoticon-opt.selected[data-val="2"] .emo-label { color: #EA580C; font-weight: 800; }
.emoticon-opt.selected[data-val="2"] .emo-icon { transform: scale(1.3); filter: grayscale(0%); }

.emoticon-opt.selected[data-val="3"] {
  background: #FEFCE8;
  border-color: #EAB308;
  box-shadow: 0 8px 20px rgba(234, 179, 8, 0.25);
}
.emoticon-opt.selected[data-val="3"] .emo-label { color: #CA8A04; font-weight: 800; }
.emoticon-opt.selected[data-val="3"] .emo-icon { transform: scale(1.3); filter: grayscale(0%); }

.emoticon-opt.selected[data-val="4"] {
  background: #F0FDF4;
  border-color: #22C55E;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
}
.emoticon-opt.selected[data-val="4"] .emo-label { color: #16A34A; font-weight: 800; }
.emoticon-opt.selected[data-val="4"] .emo-icon { transform: scale(1.3); filter: grayscale(0%); }

.emoticon-opt.selected[data-val="5"] {
  background: #ECFDF5;
  border-color: #10B981;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}
.emoticon-opt.selected[data-val="5"] .emo-label { color: #059669; font-weight: 800; }
.emoticon-opt.selected[data-val="5"] .emo-icon { transform: scale(1.3); filter: grayscale(0%); }

@media (max-width: 640px) {
  .emoticon-likert-group {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
  .emoticon-opt {
    padding: 8px 4px;
    border-radius: 10px;
  }
  .emoticon-opt .emo-icon { font-size: 1.5rem; }
  .emoticon-opt .emo-label { font-size: 0.62rem; }
}

/* ==========================================
   GLOBAL CUSTOM SELECT DROPDOWN STYLING
   ========================================== */
select, select.form-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 16px 16px !important;
  padding-right: 48px !important;
  cursor: pointer !important;
}
select::-ms-expand, select.form-control::-ms-expand {
  display: none !important;
}

