/* ========================================
   SATIKOMO - Modern Redesign Styles (Revised)
   ======================================== */

/* CSS Variables */
:root {
  /* Primary Colors */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;

  /* Accent Colors */
  --accent-500: #f59e0b;
  --accent-600: #d97706;

  /* Rank Colors */
  --gold: #ffd700;
  --silver: #c0c0c0;
  --bronze: #cd7f32;

  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Typography */
  --font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  /* Spacing */
  --container-max: 1280px;
  --section-padding: 5rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 40px -10px var(--primary-500);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--gray-50);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Breadcrumb */
.breadcrumb-wrapper {
  background: var(--gray-100);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

.breadcrumb a {
  color: var(--primary-600);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumb .separator {
  color: var(--gray-400);
  font-size: 0.625rem;
}

.breadcrumb .current {
  color: var(--gray-500);
}

.breadcrumb a:hover {
  color: var(--primary-700);
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
  background: linear-gradient(
    135deg,
    var(--primary-900) 0%,
    var(--primary-800) 100%
  );
  color: white;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 1.5rem;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.9;
}

.top-bar-left i {
  font-size: 0.75rem;
  color: var(--accent-500);
}

.top-bar-right {
  display: flex;
  gap: 1rem;
}

.top-bar-right a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.top-bar-right a:hover {
  background: var(--accent-500);
  transform: translateY(-2px);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  background: white;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

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

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-600);
  background: var(--primary-50);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary-500);
  border-radius: var(--radius-full);
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-icon {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-icon,
.nav-dropdown.active .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 320px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 100;
  border: 1px solid var(--gray-100);
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 30px;
  width: 12px;
  height: 12px;
  background: white;
  border-left: 1px solid var(--gray-100);
  border-top: 1px solid var(--gray-100);
  transform: rotate(45deg);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--primary-50);
  color: var(--primary-600);
}

.dropdown-menu a i {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover i {
  background: var(--primary-600);
  color: white;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-login {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-login:hover {
  background: var(--primary-600);
  color: white;
}

.btn-search {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--gray-500);
  transition: all var(--transition-fast);
}

.btn-search:hover {
  background: var(--gray-100);
  color: var(--primary-600);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

/* Search Overlay - SATIKOMO Modern */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-container {
  width: 100%;
  max-width: 800px;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay.active .search-modal-container {
  transform: translateY(0);
}

.search-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.search-badge {
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  opacity: 0.9;
}

.btn-search-close {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-search-close:hover {
  background: var(--error);
  transform: rotate(90deg);
}

.search-box-wrapper {
  perspective: 1000px;
}

.search-input-group {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 1.5rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.search-input-group:focus-within {
  transform: scale(1.02);
  border-color: var(--primary-500);
}

.input-icon {
  margin-left: 0.75rem;
  color: var(--gray-400);
  font-size: 1.25rem;
}

#searchInput {
  flex: 1;
  border: none;
  background: transparent;
  padding: 1rem 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  outline: none;
}

#searchInput::placeholder {
  color: var(--gray-400);
}

.btn-search-go {
  background: var(--primary-600);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-search-go:hover {
  background: var(--primary-700);
  transform: translateX(3px);
}

.search-suggestions {
  margin-top: 2rem;
  animation: fadeIn 0.6s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

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

.suggestion-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.suggestion-tags a {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.suggestion-tags a:hover {
  background: white;
  color: var(--primary-900);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

/* Search Responsive */
@media (max-width: 640px) {
  .search-input-group {
    padding: 0.5rem;
    border-radius: 1rem;
  }
  
  #searchInput {
    padding: 0.75rem;
    font-size: 1rem;
  }
  
  .btn-search-go {
    padding: 0.625rem 1rem;
  }
  
  .search-badge span {
    display: none;
  }
  
  .search-modal-header {
    margin-bottom: 1.5rem;
  }
}

/* ========================================
   Hero Section - Reveal on Scroll Effect
   ======================================== */
.hero {
  position: relative;
  height: 200vh; /* 2x viewport untuk ruang scroll */
  overflow: visible;
}

/* Slideshow container - sticky */
.hero-slideshow {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.5s ease, filter 0.5s ease,
    background-image 1s ease-in-out;
  z-index: 1;
}

/* Overlay gelap yang muncul saat scroll */
.hero-overlay {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  z-index: 2;
  margin-top: -100vh;
  transition: background 0.5s ease;
}

/* Wrapper untuk konten */
.hero-content-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  margin-top: -100vh;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

/* Saat text visible */
.hero-content-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  background: rgba(14, 25, 180, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 3px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-full);
  color: rgb(255, 255, 255);
  font-size: 0.875rem;
  font-weight: 1000;
  text-shadow: #000000 0px 1px 2px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  text-shadow: #000000 0px 1px 2px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-500) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fbbf24;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: rgb(255, 255, 255);
  text-shadow: #000000 0px 1px 2px;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent-500) 0%,
    var(--accent-600) 100%
  );
  color: white;
  box-shadow: 0 4px 14px -4px var(--accent-500);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px var(--accent-500);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-white {
  background: white;
  color: var(--primary-700);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-full {
  width: 100%;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-500);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.stat-content {
  display: flex;
  flex-direction: column; /* Tetap vertikal secara keseluruhan */
  align-items: center; /* Pusatkan elemen secara horizontal */
}

.stat-number-wrapper {
  display: flex; /* Sejajarkan stat-number dan stat-suffix secara horizontal */
  align-items: center; /* Pastikan teks sejajar pada garis dasar */
  gap: 5px; /* Jarak antara stat-number dan stat-suffix */
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-suffix {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-500);
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.15rem;
}

/* Hero Scroll - Modern Design */
.hero-scroll {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hero-scroll.hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-scroll a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.hero-scroll a:hover {
  background: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Mouse Container */
.mouse-wrapper {
  position: relative;
  width: 36px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
}

.mouse {
  width: 32px;
  height: 48px;
  border: 3px solid var(--gray-400);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: 10px;
  background: rgba(255, 255, 255, 0.5);
}

.wheel {
  width: 5px;
  height: 10px;
  background: var(--gray-500);
  border-radius: var(--radius-full);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(12px);
    opacity: 0.4;
  }
}

/* Scroll Text */
.scroll-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  line-height: 1;
}

/* Arrow Animation */
.scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}

.scroll-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--gray-400);
  animation: arrowPulse 1.5s ease-in-out infinite;
  opacity: 0.3;
}

.scroll-arrow:nth-child(1) {
  animation-delay: 0s;
}

.scroll-arrow:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-arrow:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes arrowPulse {
  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0);
  }
  50% {
    opacity: 0.8;
    transform: translateY(3px);
  }
}

/* ========================================
   Section Styles
   ======================================== */
.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header.light {
  color: white;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-badge.light {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.section-header.light .section-title {
  color: white;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
}

.section-header.light .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.section-footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* ========================================
   Informasi Section
   ======================================== */
.informasi {
  background: white;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  background: var(--gray-200);
  color: var(--gray-700);
}

.tab-btn.active {
  background: var(--primary-600);
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.news-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.news-card.featured {
  border: 1px solid var(--gray-200);
}

.news-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.875rem;
  background: var(--accent-500);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.news-content {
  padding: 1.5rem;
}

.news-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.news-meta span {
  font-size: 0.75rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.news-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.news-excerpt {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-600);
  transition: gap var(--transition-fast);
}

.news-link:hover {
  gap: 0.75rem;
}

/* News List */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.news-item:hover {
  background: var(--primary-50);
}

.news-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-date {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.news-info h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.4;
}

/* Announcement List */
.announcement-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--primary-500);
}

.announcement-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.announcement-content {
  flex: 1;
}

.announcement-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.announcement-content p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.announcement-date {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* Infographic Grid */
.infographic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.infographic-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.infographic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.infographic-card:hover img {
  transform: scale(1.1);
}

.infographic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.infographic-card:hover .infographic-overlay {
  opacity: 1;
}

.infographic-overlay h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ========================================
   Subjek Section
   ======================================== */
.subjek {
  background: linear-gradient(
    135deg,
    var(--primary-800) 0%,
    var(--primary-900) 100%
  );
  position: relative;
  overflow: hidden;
}

.subjek::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: var(--accent-500);
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(100px);
}

.subjek-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.subjek-card {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.subjek-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.subjek-header i {
  width: 40px;
  height: 40px;
  background: var(--accent-500);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.subjek-header h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
}

.subjek-list {
  padding: 0.75rem;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.subjek-list::-webkit-scrollbar {
  width: 4px;
}
.subjek-list::-webkit-scrollbar-track {
  background: transparent;
}
.subjek-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.subjek-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.subjek-list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.subjek-list li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.subjek-list li a i {
  font-size: 0.625rem;
  color: var(--accent-500);
}

/* ========================================
   Kategori Dataset Section
   ======================================== */
.kategori {
  background: var(--gray-50);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.category-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary-600);
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.category-card:hover .category-icon {
  background: var(--primary-600);
  color: white;
  transform: scale(1.1);
}

.category-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.category-count {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.category-arrow {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-base);
}

.category-card:hover .category-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--accent-500);
  color: white;
}

/* ========================================
   Top 10 Visualisasi Section
   ======================================== */
.visualisasi {
  background: white;
}

.top-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 1.25rem;
}

.top-visual-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
}

.top-visual-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.top-visual-card.rank-1 {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
}

.top-visual-card.rank-1 .top-visual-image {
  flex: 1;
  min-height: 280px;
}

.rank-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(135deg, var(--gold), #ffb800);
  color: var(--gray-900);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.rank-badge i {
  color: var(--gray-900);
}

.rank-badge.simple {
  background: var(--gray-800);
  color: white;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
}

.top-visual-card.rank-2 .rank-badge {
  background: linear-gradient(135deg, var(--silver), #a0a0a0);
}

.top-visual-card.rank-3 .rank-badge {
  background: linear-gradient(135deg, var(--bronze), #b87333);
  color: white;
}

.top-visual-image {
  position: relative;
  overflow: hidden;
  height: 140px;
}

.top-visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.top-visual-card:hover .top-visual-image img {
  transform: scale(1.05);
}

.top-visual-content {
  padding: 1rem;
}

.top-visual-card.rank-1 .top-visual-content {
  padding: 1.25rem;
}

.top-visual-category {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.top-visual-content h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.top-visual-card.rank-1 .top-visual-content h4 {
  font-size: 1.125rem;
}

.top-visual-stats {
  display: flex;
  gap: 0.75rem;
}

.top-visual-stats span {
  font-size: 0.6875rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}


/* ========================================
   Partner Section (Simplified)
   ======================================== */
.partner-section {
  background: var(--gray-100);
  padding: 3rem 0;
}

.partner-simple {
  text-align: center;
}

.partner-simple h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.partner-logos-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partner-logos {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 3rem;
  padding: 1rem 0;
  animation: scroll-marquee 25s linear infinite;
}

.partner-logos:hover {
  animation-play-state: paused;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1.5rem)); }
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.partner-item img {
  height: 50px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-item:hover img {
  transform: scale(1.05);
}

/* ========================================
   Kontak Section
   ======================================== */
.kontak-section {
  background: var(--gray-50);
}

.kontak-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.kontak-info .section-title,
.kontak-info .section-subtitle {
  text-align: left;
}

.kontak-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.kontak-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.kontak-item i {
  width: 44px;
  height: 44px;
  background: var(--primary-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  font-size: 1rem;
  flex-shrink: 0;
}

.kontak-item h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.kontak-item p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.kontak-form-wrapper {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.kontak-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--gray-900);
  color: white;
}

.footer-main {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-grid.simple {
  grid-template-columns: 2fr 1.2fr 1.5fr 1.5fr;
  gap: 2rem;
}

/* Kuisioner Section */
.footer-kuisioner h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.kuisioner-text {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.qr-code {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Statistik Pengunjung Section */
.footer-statistik h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.statistik-grid {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.statistik-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  text-align: center;
  min-width: 70px;
}

.statistik-number {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.statistik-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}

.statistik-datetime {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary-600);
  color: white;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-contact li i {
  color: var(--primary-500);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 110px;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary-600);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 10000;
}

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

.back-to-top:hover {
  background: var(--primary-700);
  transform: translateY(-4px);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .top-visual-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .top-visual-card.rank-1 {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }

  .top-visual-card.rank-1 .top-visual-image {
    min-height: 220px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card.featured .news-image {
    height: 200px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .top-visual-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-visual-card.rank-1 {
    grid-column: 1 / span 2;
    grid-row: auto;
  }

  .top-visual-card.rank-1 .top-visual-image {
    min-height: 200px;
  }

  .subjek-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kontak-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid,
  .footer-grid.simple {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    padding: 0.875rem 1rem;
  }

  /* Dropdown Mobile Styles */
  .nav-dropdown {
    width: 100%;
    flex-direction: column;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    min-width: auto;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--gray-50);
    margin-top: 0.5rem;
    display: none;
    padding: 0.5rem;
  }

  .dropdown-menu::before {
    display: none;
  }

  .nav-dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .dropdown-menu a i {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-scroll {
    right: 15px;
    top: 40%;
  }

  .hero-scroll a {
    padding: 12px 8px;
  }

  .mouse {
    width: 28px;
    height: 42px;
  }

  .scroll-text {
    font-size: 0.65rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-visual-grid {
    grid-template-columns: 1fr;
  }

  .top-visual-card.rank-1 {
    grid-column: 1;
    grid-row: auto;
  }

  .top-visual-card.rank-1 .top-visual-image {
    min-height: 200px;
  }

  .subjek-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-grid.simple {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tabs {
    flex-wrap: wrap;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    gap: 1.5rem;
  }

  .news-item {
    padding: 0.75rem;
  }

  .news-thumb {
    width: 60px;
    height: 60px;
  }

  .news-info h4 {
    font-size: 0.875rem;
  }

  .announcement-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .category-card {
    padding: 1rem 0.5rem;
  }

  .category-icon {
    width: 44px;
    height: 44px;
    font-size: 1.125rem;
  }

  .infographic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   Utility Classes (Moved from Inline Styles)
   ======================================== */

/* Logo Styles */
.logo-img {
  height: 85px;
  width: auto;
}

.footer-logo-img {
  height: 100px;
  width: auto;
}

/* Section Footer Modifier */
.section-footer-large {
  margin-top: 4rem;
}

/* ========================================
   Animations
   ======================================== */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ========================================
   Star Rating & Penilaian Footer (Added)
   ======================================== */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.25rem;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 1.5rem;
  color: var(--gray-300);
  cursor: pointer;
  transition: color 0.2s ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--warning);
}

.footer-penilaian {
  display: flex;
  flex-direction: column;
}

.footer-penilaian h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.penilaian-marquee-container {
  overflow: hidden;
  position: relative;
  height: 200px;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.penilaian-marquee {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: scrollUp 20s linear infinite;
}

.penilaian-marquee:hover {
  animation-play-state: paused;
}

.penilaian-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--radius-md);
  color: var(--gray-300);
}

.penilaian-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.penilaian-name {
  font-weight: 600;
  color: white;
  font-size: 0.875rem;
}

.penilaian-stars i {
  font-size: 0.75rem;
}
.penilaian-stars .text-warning {
  color: var(--warning);
}
.penilaian-stars .text-gray-400 {
  color: var(--gray-400);
}

.penilaian-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  font-style: italic;
}

@keyframes scrollUp {
  0% { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}

/* Adjust footer grid for 4 columns */
.footer-grid.simple {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 2rem;
}

@media (max-width: 1024px) {
  .footer-grid.simple {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .footer-grid.simple {
    grid-template-columns: 1fr;
  }
}

