/* 
   SMAN 2 BANDUNG — SPMB 2026 WEBSITE STYLING
   Author: Antigravity AI
   Aesthetics: Premium Education, Modern Portal, Elegant Dark/Light Mode
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & TOKENS --- */
:root {
  /* Color Palette - Light Mode */
  --primary: #0A2E73;
  --primary-rgb: 10, 46, 115;
  --secondary: #123F9C;
  --secondary-rgb: 18, 63, 156;
  --accent-gold: #F4C542;
  --accent-gold-rgb: 244, 197, 66;
  --accent-gold-hover: #e0b02b;
  
  --bg-body: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-navbar: rgba(255, 255, 255, 0.9);
  --border-color: #E2E8F0;
  
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-light: #64748B;
  
  /* Shadows & Radius */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.06), 0 10px 10px -5px rgba(0,0,0,0.03);
  --shadow-glow: 0 0 15px rgba(244, 197, 66, 0.4);
  --shadow-blue-glow: 0 0 20px rgba(18, 63, 156, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Fonts */
  --font-heading: 'Poppins', sans-serif;
  --font-subheading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transition */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Scroll Progress */
  --scroll-progress: 0%;
}

/* Dark Mode Variables */
:root.dark {
  --bg-body: #090D16;
  --bg-card: #111827;
  --bg-navbar: rgba(17, 24, 39, 0.9);
  --border-color: #1F2937;
  
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-light: #6B7280;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.5);
  --shadow-blue-glow: 0 0 25px rgba(18, 63, 156, 0.4);
}

/* --- BASE & TYPOGRAPHY --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

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

button, input, select, textarea {
  font-family: inherit;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* --- GLOBAL UTILITIES & ANIMATIONS --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 45px 0; /* Tightened section padding globally for a compact layout */
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto; /* Reduced from 60px for tighter layout */
}

.section-tag {
  font-family: var(--font-subheading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  display: inline-block;
  margin-bottom: 12px;
  background: rgba(18, 63, 156, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}
.dark .section-tag {
  color: var(--accent-gold);
  background: rgba(244, 197, 66, 0.1);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Glow Elements */
.glow-effect {
  position: relative;
}
.glow-effect::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  box-shadow: var(--shadow-blue-glow);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
  pointer-events: none;
}
.glow-effect:hover::after {
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-subheading);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(10, 46, 115, 0.2);
}
.btn-primary:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 63, 156, 0.35);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #1E293B;
  box-shadow: 0 4px 12px rgba(244, 197, 66, 0.3);
}
.btn-gold:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}
.btn-secondary:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Glassmorphism Panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.dark .glass-panel {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- ANNOUNCEMENT BANNER --- */
.announcement-banner {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #ffffff;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1001;
  font-family: var(--font-subheading);
  transition: transform var(--transition-normal);
}
.announcement-content {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}
.announcement-badge {
  background-color: var(--accent-gold);
  color: #1E293B;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
}
.announcement-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}
.announcement-close:hover {
  color: #ffffff;
}

/* --- SCROLL PROGRESS INDICATOR --- */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1002;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(95deg, var(--accent-gold), var(--secondary));
  width: var(--scroll-progress);
  transition: width 0.1s ease-out;
}

/* --- HEADER & NAVBAR --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
}
.navbar {
  background-color: var(--bg-navbar);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 0;
  transition: padding var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
}
header.scrolled .navbar {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-navbar);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Identity */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.dark .brand-name {
  color: #ffffff;
}
.brand-tagline {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 2px;
}

/* Center Nav Links */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
}
.nav-item {
  position: relative;
}
.nav-link {
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary);
}
.dark .nav-link:hover, .dark .nav-item.active .nav-link {
  color: var(--accent-gold);
}
.nav-link svg {
  transition: transform var(--transition-fast);
}
.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 100;
  animation: fadeInDown var(--transition-fast) forwards;
}
.nav-item:hover .dropdown-menu {
  display: flex;
}
.dropdown-item {
  font-family: var(--font-subheading);
  font-weight: 500;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropdown-item:hover {
  background-color: rgba(18, 63, 156, 0.05);
  color: var(--primary);
}
.dark .dropdown-item:hover {
  background-color: rgba(244, 197, 66, 0.1);
  color: var(--accent-gold);
}

/* Right Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Dark Mode Toggle */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.theme-toggle-btn:hover {
  background-color: var(--border-color);
  color: var(--primary);
}
.dark .theme-toggle-btn:hover {
  color: var(--accent-gold);
}
.theme-toggle-btn .sun-icon {
  display: none;
}
.dark .theme-toggle-btn .moon-icon {
  display: none;
}
.dark .theme-toggle-btn .sun-icon {
  display: block;
}

/* Responsive Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 24px;
  height: 18px;
  justify-content: space-between;
  z-index: 101;
}
.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Hamburger Active States */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  background-color: #0b1426; /* Always dark bg behind */
  color: #ffffff;
  padding: 60px 0 90px 0; /* Reduced top padding to move contents up and optimize vertical space */
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(18, 63, 156, 0.4), transparent 50%),
              linear-gradient(to right, #090e1a 45%, rgba(9, 14, 26, 0.7) 100%);
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.hero-content {
  max-width: 620px;
}
.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 197, 66, 0.15);
  border: 1px solid rgba(244, 197, 66, 0.3);
  color: var(--accent-gold);
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}
.hero-title span {
  color: var(--accent-gold);
  background: linear-gradient(135deg, var(--accent-gold), #FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-subheading);
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Media Viewport */
.hero-media-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-frame {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 40px rgba(18, 63, 156, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.hero-image-frame img,
.hero-image-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.hero-image-frame:hover img,
.hero-image-frame:hover video {
  transform: scale(1.05);
}

/* Floating Video Sound Toggle Button */
.video-sound-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 20;
  background: rgba(10, 46, 115, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}
.video-sound-toggle:hover {
  background: var(--secondary);
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}
.dark .video-sound-toggle {
  background: rgba(17, 24, 39, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}
.dark .video-sound-toggle:hover {
  background: var(--accent-gold);
  color: #1E293B;
}
.video-sound-toggle svg {
  width: 18px;
  height: 18px;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  animation: floatAnim 4s ease-in-out infinite;
}
.badge-accreditation {
  bottom: 30px;
  left: -20px;
  background: rgba(10, 46, 115, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.badge-accreditation .badge-icon {
  background-color: var(--accent-gold);
  color: #1E293B;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
}
.badge-info {
  display: flex;
  flex-direction: column;
}
.badge-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-heading);
}
.badge-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.badge-students {
  top: 30px;
  right: -20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0,0,0,0.05);
  color: #1E293B;
  animation-delay: 2s;
}
.dark .badge-students {
  background: rgba(17, 24, 39, 0.95);
  color: #ffffff;
  border-color: rgba(255,255,255,0.05);
}
.badge-students .badge-icon {
  background-color: var(--primary);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- QUICK ACCESS SECTION --- */
.quick-access-section {
  padding: 40px 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}
.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.quick-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}
.quick-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-blue-glow);
  border-color: rgba(18, 63, 156, 0.3);
}
.dark .quick-card:hover {
  border-color: rgba(244, 197, 66, 0.3);
}
.quick-icon-wrapper {
  background-color: rgba(10, 46, 115, 0.08);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.dark .quick-icon-wrapper {
  background-color: rgba(244, 197, 66, 0.1);
  color: var(--accent-gold);
}
.quick-card:hover .quick-icon-wrapper {
  background-color: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
}
.dark .quick-card:hover .quick-icon-wrapper {
  background-color: var(--accent-gold);
  color: #1E293B;
}
.quick-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}
.quick-card-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
  flex-grow: 1;
}
.quick-card-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  font-family: var(--font-subheading);
}
.dark .quick-card-cta {
  color: var(--accent-gold);
}
.quick-card-cta svg {
  transition: transform var(--transition-fast);
}
.quick-card:hover .quick-card-cta svg {
  transform: translateX(4px);
}

/* --- STATISTICS SECTION --- */
.statistics-section {
  background: linear-gradient(135deg, #091a3c 0%, #050d21 100%);
  color: #ffffff;
  padding: 45px 0; /* Reduced vertical space to match general sections */
  position: relative;
  overflow: hidden;
}
.statistics-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 10% 80%, rgba(244, 197, 66, 0.1), transparent 40%);
  pointer-events: none;
}
.statistics-section .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 24px;
  border-left: 3px solid rgba(244, 197, 66, 0.4);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-subheading);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.stat-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.stats-quote-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
}
.quote-icon {
  color: var(--accent-gold);
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1;
}
.quote-text {
  font-family: var(--font-subheading);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
}
.quote-author {
  display: flex;
  flex-direction: column;
}
.quote-author-name {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.quote-author-role {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* --- MISSION CAROUSEL SLIDER --- */
.mission-slider-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}
.mission-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.mission-badge {
  font-family: var(--font-subheading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
  background: rgba(244, 197, 66, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.mission-slides {
  position: relative;
  flex-grow: 1;
  margin-bottom: 24px;
}
.mission-slide {
  display: none;
  animation: fadeInMission 0.4s ease forwards;
}
.mission-slide.active {
  display: block;
}
@keyframes fadeInMission {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mission-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: rgba(244, 197, 66, 0.15);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.mission-text {
  font-family: var(--font-subheading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  min-height: 80px;
}
.mission-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}
.mission-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mission-nav {
  display: flex;
  gap: 8px;
}
.mission-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mission-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000000;
  transform: translateY(-2px);
}
.mission-btn:active {
  transform: translateY(0);
}

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  aspect-ratio: 1.1/1;
}
.collage-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-card);
  transition: all var(--transition-normal);
}
.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.collage-item:hover {
  transform: scale(1.03) translateY(-4px);
  z-index: 10 !important;
  box-shadow: var(--shadow-xl);
}
.collage-1 {
  grid-column: 1 / 9;
  grid-row: 1 / 9;
  z-index: 1;
}
.collage-2 {
  grid-column: 6 / 13;
  grid-row: 5 / 12;
  z-index: 2;
}
.collage-badge {
  position: absolute;
  bottom: 0;
  left: 20px;
  background-color: var(--accent-gold);
  color: #1E293B;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 3;
  font-family: var(--font-heading);
  text-align: center;
}
.collage-badge .badge-val {
  display: block;
  font-size: 24px;
  font-weight: 800;
}
.collage-badge .badge-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-desc-lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}
.about-history-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 12px 0 24px 0;
  border-left: 2px dashed var(--border-color);
  padding-left: 20px;
  position: relative;
}
.history-item {
  position: relative;
}
.history-item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: var(--secondary);
  border: 2px solid var(--bg-body);
}
.dark .history-item::before {
  background-color: var(--accent-gold);
  border-color: var(--bg-body);
}
.history-year {
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}
.dark .history-year {
  color: var(--accent-gold);
}
.history-text {
  font-size: 13px;
  margin-top: 2px;
}

/* --- SPMB INFORMATION SECTION --- */
.spmb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.spmb-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.spmb-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--secondary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.spmb-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(18, 63, 156, 0.2);
}
.spmb-card:hover::before {
  opacity: 1;
}
.spmb-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.spmb-card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(18, 63, 156, 0.06);
  color: var(--secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dark .spmb-card-icon {
  background-color: rgba(244, 197, 66, 0.1);
  color: var(--accent-gold);
}
.spmb-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.badge-new {
  display: inline-block;
  background: linear-gradient(135deg, #EF4444 0%, #F59E0B 100%);
  color: #FFFFFF;
  font-family: var(--font-subheading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
  animation: pulseBadge 2s infinite;
  line-height: 1.4;
}
@keyframes pulseBadge {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}
.spmb-card-content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex-grow: 1;
}
.spmb-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.spmb-card-list li {
  position: relative;
  padding-left: 20px;
}
.spmb-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 800;
}
.dark .spmb-card-list li::before {
  color: var(--accent-gold);
}
.spmb-card-action {
  font-family: var(--font-subheading);
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 8px;
}
.dark .spmb-card-action {
  color: var(--accent-gold);
}
.spmb-card-action svg {
  transition: transform var(--transition-fast);
}
.spmb-card:hover .spmb-card-action svg {
  transform: translateX(4px);
}

/* Accordion Box style details */
.accordion-wrapper {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-card);
}
.accordion-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-subheading);
}
.accordion-header svg {
  transition: transform var(--transition-normal);
}
.accordion-item.active .accordion-header svg {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}
.accordion-body {
  padding: 0 20px 20px 20px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- TIMELINE SECTION --- */
.timeline-outer {
  position: relative;
  padding: 60px 0;
}
.timeline-line-background {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--border-color);
  transform: translateY(-50%);
  z-index: 1;
}
.timeline-line-progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  width: 0%;
  transform: translateY(-50%);
  z-index: 2;
  transition: width 1s ease-in-out;
}
.timeline-steps {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 120px;
  text-align: center;
  cursor: pointer;
}
.step-node {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 4px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.timeline-step:hover .step-node {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: scale(1.1);
}
.timeline-step.active .step-node {
  background-color: var(--primary);
  border-color: var(--accent-gold);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(10, 46, 115, 0.4);
}
.step-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
}
.step-date {
  font-size: 11px;
  color: var(--text-light);
}

.timeline-details-box {
  margin-top: 40px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: none;
  animation: fadeIn 0.4s ease-out;
}
.timeline-details-box.active {
  display: block;
}
.timeline-details-title {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary);
}
.dark .timeline-details-title {
  color: var(--accent-gold);
}
.timeline-details-text {
  font-size: 14px;
  color: var(--text-secondary);
}

/* --- NEWS SECTION --- */
.news-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}
.news-track {
  display: flex;
  gap: 24px;
  transition: transform var(--transition-normal) ease-out;
}
.news-card {
  min-width: calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.news-thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.news-card:hover .news-thumb img {
  transform: scale(1.05);
}
.news-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}
.dark .news-badge {
  background-color: var(--accent-gold);
  color: #1e293b;
}

/* Instagram Style Specifics */
.news-card.instagram-style {
  border-radius: var(--radius-lg);
}
.news-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-card);
}
.news-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--accent-gold);
  object-fit: cover;
  padding: 1px;
  background-color: var(--bg-card);
}
.news-author-info {
  display: flex;
  flex-direction: column;
}
.news-author-name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.news-author-location {
  font-size: 10.5px;
  color: var(--text-light);
  font-weight: 500;
}
.news-header-action {
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}
.news-header-action:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
}
.dark .news-header-action:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.news-card.instagram-style .news-thumb {
  height: auto;
  aspect-ratio: 1 / 1;
}
.news-card.instagram-style .news-thumb .news-badge {
  left: auto;
  right: 16px;
}

.news-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-card);
}
.left-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.action-icon-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), color var(--transition-fast);
}
.action-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.action-icon-btn:hover {
  transform: scale(1.15);
  color: var(--secondary);
}
.dark .action-icon-btn:hover {
  color: var(--accent-gold);
}
.action-icon-btn[aria-label="Suka"]:hover {
  color: #ef4444 !important;
}
.action-icon-btn.liked svg {
  fill: #ef4444;
  stroke: #ef4444;
}
.action-icon-btn.bookmarked svg {
  fill: currentColor;
}

.news-card.instagram-style .news-body {
  padding: 16px 20px 20px 20px;
  gap: 10px;
}
.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.news-date {
  font-size: 11px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.news-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}
.news-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.news-link {
  font-family: var(--font-subheading);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  align-self: flex-start;
  transition: transform var(--transition-fast), color var(--transition-fast);
}
.news-link:hover {
  color: var(--primary);
  transform: translateX(2px);
}
.dark .news-link {
  color: var(--accent-gold);
}
.dark .news-link:hover {
  color: #fff;
}

.carousel-nav-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: all var(--transition-fast);
}
.carousel-nav-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
}
.dark .carousel-nav-btn:hover {
  background-color: var(--accent-gold);
  color: #1E293B;
}
.carousel-prev {
  left: -22px;
}
.carousel-next {
  right: -22px;
}

/* --- GALLERY SECTION --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.filter-btn {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-subheading);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(10, 46, 115, 0.25);
}
.dark .filter-btn:hover, .dark .filter-btn.active {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #1E293B;
  box-shadow: var(--shadow-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: none;
  animation: scaleUp 0.3s ease-out forwards;
}
.gallery-item.show {
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 46, 115, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-icon-view {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--accent-gold);
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-info {
  text-align: center;
  color: #ffffff;
}
.gallery-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}
.gallery-tag {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(9, 13, 22, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox-modal.active {
  display: flex;
}
.lightbox-content-wrapper {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lightbox-image {
  max-height: 70vh;
  width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lightbox-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 20px;
  text-align: center;
}
.lightbox-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
}

/* --- TESTIMONIAL SECTION --- */
.testimonial-carousel-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.testimonial-track {
  display: flex;
  transition: transform var(--transition-normal) ease-out;
}
.testimonial-slide {
  min-width: 100%;
  max-width: 100%;
  padding: 10px;
}
.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  align-items: center;
  position: relative;
}
.testimonial-quote-icon {
  color: rgba(18, 63, 156, 0.08);
  font-size: 80px;
  position: absolute;
  top: 10px;
  left: 40px;
  line-height: 1;
}
.dark .testimonial-quote-icon {
  color: rgba(244, 197, 66, 0.05);
}
.testimonial-quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  font-weight: 500;
  z-index: 1;
}
.testimonial-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow-md);
}
.dark .testimonial-avatar {
  border-color: var(--accent-gold);
}
.testimonial-info {
  display: flex;
  flex-direction: column;
}
.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
}
.testimonial-role {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: var(--border-color);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.testimonial-dot.active {
  background-color: var(--primary);
  width: 24px;
}
.dark .testimonial-dot.active {
  background-color: var(--accent-gold);
}

/* --- CONTACT SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.map-embed-wrapper {
  height: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}
.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.detail-item {
  display: flex;
  gap: 16px;
}
.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: rgba(18, 63, 156, 0.06);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dark .detail-icon {
  background-color: rgba(244, 197, 66, 0.1);
  color: var(--accent-gold);
}
.detail-info {
  display: flex;
  flex-direction: column;
}
.detail-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
}
.detail-value {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Form Styles */
.contact-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 24px;
}
.form-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.form-control {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border-color);
  background-color: var(--bg-body);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px;
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 46, 115, 0.1);
  background-color: var(--bg-card);
}
.dark .form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(244, 197, 66, 0.15);
}
textarea.form-control {
  resize: vertical;
}

/* --- FOOTER --- */
footer {
  background-color: #0b111e;
  color: #9CA3AF;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-logo-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-logo-block .brand {
  color: #ffffff;
}
.footer-logo-block .brand-name {
  color: #ffffff;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.6;
}
.footer-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}
.footer-links a:hover {
  color: var(--accent-gold);
}
.footer-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
}
.footer-contacts li {
  display: flex;
  gap: 12px;
}
.footer-contacts svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--transition-fast);
}
.social-btn:hover {
  transform: translateY(-3px);
}
.social-btn svg.social-icon {
  width: 18px;
  height: 18px;
  display: block;
  transition: transform var(--transition-fast);
}
.social-btn:hover svg.social-icon {
  transform: scale(1.1);
}

/* Specific Brand Colors for Social Buttons */
.social-btn.sb-facebook {
  color: #1877F2;
  border-color: rgba(24, 119, 242, 0.4);
  background-color: rgba(24, 119, 242, 0.08);
}
.social-btn.sb-facebook:hover {
  background-color: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.5);
}

.social-btn.sb-instagram {
  color: #E4405F;
  border-color: rgba(228, 64, 95, 0.4);
  background-color: rgba(228, 64, 95, 0.08);
}
.social-btn.sb-instagram:hover {
  background-color: #E4405F;
  border-color: #E4405F;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(228, 64, 95, 0.5);
}

.social-btn.sb-youtube {
  color: #FF0000;
  border-color: rgba(255, 0, 0, 0.4);
  background-color: rgba(255, 0, 0, 0.08);
}
.social-btn.sb-youtube:hover {
  background-color: #FF0000;
  border-color: #FF0000;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.social-btn.sb-twitter {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.08);
}
.social-btn.sb-twitter:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #0b111e;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.footer-copyright {
  color: rgba(255,255,255,0.4);
}

/* --- FLOATING & EXTRA FEATURES --- */
.floating-widgets {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  border: none;
  transition: all var(--transition-fast);
  color: #ffffff;
  position: relative;
}
.float-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-xl);
}
.whatsapp-float {
  background-color: #25D366;
}
.help-chat-float {
  background-color: var(--primary);
}
.dark .help-chat-float {
  background-color: var(--accent-gold);
  color: #1E293B;
}
.scroll-top-float {
  background-color: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  display: none;
}
.scroll-top-float.show {
  display: flex;
}

/* Sticky CTA Banner for Mobile */
.sticky-cta-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 12px 24px;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
  z-index: 998;
  display: none;
  justify-content: space-between;
  align-items: center;
}
.sticky-cta-text {
  font-family: var(--font-subheading);
  font-size: 13px;
}
.sticky-cta-text strong {
  color: var(--primary);
  display: block;
}
.dark .sticky-cta-text strong {
  color: var(--accent-gold);
}

/* Help Chat Widget */
.help-chat-widget {
  position: fixed;
  bottom: 96px;
  right: 30px;
  width: 320px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  z-index: 1000;
  display: none;
  flex-direction: column;
  animation: fadeInUp var(--transition-fast) forwards;
}
.help-chat-header {
  background-color: var(--primary);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dark .help-chat-header {
  background-color: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
}
.chat-bot-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--accent-gold);
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.bot-title {
  font-weight: 700;
  font-size: 13px;
}
.bot-status {
  font-size: 10px;
  color: rgba(255,255,255,0.7);
}
.help-chat-body {
  padding: 20px;
  height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: var(--bg-body);
}
.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
}
.chat-msg-bot {
  background-color: var(--bg-card);
  color: var(--text-primary);
  align-self: flex-start;
  border-top-left-radius: 2px;
  border: 1px solid var(--border-color);
}
.chat-msg-user {
  background-color: var(--primary);
  color: #ffffff;
  align-self: flex-end;
  border-top-right-radius: 2px;
}
.dark .chat-msg-user {
  background-color: var(--accent-gold);
  color: #1E293B;
}
.help-chat-footer {
  padding: 12px;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border-color);
}
.chat-input {
  flex-grow: 1;
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}
.chat-send-btn {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dark .chat-send-btn {
  background-color: var(--accent-gold);
  color: #1E293B;
}

/* Modal Popup Window (e.g. Profil/Jadwal) */
.info-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(9, 13, 22, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.info-modal.active {
  display: flex;
}
.info-modal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  max-width: 600px;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
}
.info-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info-modal-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
}
.info-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-secondary);
}
.info-modal-body {
  padding: 24px;
  max-height: 60vh;
  overflow-y: auto;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeInDown {
  from { transform: translateX(-50%) translateY(10px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

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

/* Framer motion replacements / Scroll Reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE ADAPTATIONS --- */

/* Hide mobile-only elements by default on desktop */
.mobile-nav-action {
  display: none !important;
}

@media (max-width: 1024px) {
  .section {
    padding: 35px 0; /* Reduced padding for tablet screens */
  }
  .statistics-section {
    padding: 35px 0;
  }
  .hero-section {
    padding: 50px 0 70px 0; /* Reduced padding for medium screen sizes */
  }
  .navbar-actions .btn-primary {
    padding: 10px 20px;
    font-size: 13px;
  }
  .hero-section .container {
    gap: 32px;
  }
  .hero-title {
    font-size: 38px;
  }
  .quick-access-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .statistics-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .spmb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-card {
    min-width: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Navbar adjustments to prevent overflow */
  .brand-tagline {
    display: none !important; /* Hide tagline to fit name + buttons */
  }
  .brand-name {
    font-size: 16px;
  }
  .brand-logo {
    height: 38px;
    width: 38px;
  }
  .navbar-actions {
    gap: 8px;
  }
  .navbar-actions .btn {
    display: none !important; /* Hide CTA buttons from navbar actions on mobile */
  }
  .navbar-actions .theme-toggle-btn {
    display: flex;
    width: 36px;
    height: 36px;
  }
  .navbar-actions .hamburger {
    display: flex !important;
  }

  .mobile-nav-action {
    display: block !important;
  }

  .hero-section {
    padding: 40px 0 60px 0;
  }
  .section {
    padding: 30px 0;
  }
  .statistics-section {
    padding: 30px 0;
  }
  html {
    font-size: 15px;
  }
  .announcement-banner {
    padding: 8px 16px;
  }
  .announcement-close {
    display: none;
  }
  
  /* Mobile Menu overlay drawer */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-card);
    flex-direction: column;
    padding: 30px 24px;
    gap: 16px;
    z-index: 99;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
  }
  .nav-menu.active {
    transform: translateX(0);
  }
  .nav-link {
    font-size: 16px;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
  }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: rgba(18, 63, 156, 0.02);
    padding: 8px 0 8px 16px;
    margin-top: 4px;
    width: 100%;
  }
  .nav-item:hover .dropdown-menu {
    display: none;
  }
  .nav-item.mobile-open .dropdown-menu {
    display: flex;
  }
  
  .hero-section .container {
    grid-template-columns: 1fr;
  }
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .floating-badge {
    padding: 10px 14px;
  }
  .badge-accreditation {
    left: 0px;
  }
  .badge-students {
    right: 0px;
  }
  .quick-access-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Timeline steps - responsive flow */
  .timeline-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  .timeline-line-background, .timeline-line-progress {
    display: none;
  }
  .timeline-step {
    width: 45%;
  }
  
  .spmb-grid {
    grid-template-columns: 1fr;
  }
  .news-card {
    min-width: 100%;
    max-width: 100%;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-filters {
    flex-wrap: wrap;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .sticky-cta-banner {
    display: flex;
  }
  .floating-widgets {
    bottom: 76px; /* Shift up for the mobile CTA banner */
  }
  
  /* Form-group-grid must stack on mobile/tablet */
  .form-group-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Modal screen space optimizations */
  .info-modal {
    padding: 12px;
  }
  .info-modal-card {
    max-height: 94vh;
    border-radius: var(--radius-md);
  }
  .info-modal-header {
    padding: 14px 16px;
  }
  .info-modal-body {
    padding: 16px 16px 80px 16px;
    max-height: calc(94vh - 110px);
  }
}

@media (max-width: 480px) {
  /* Layout tweaks for small phones */
  .quick-access-grid {
    grid-template-columns: 1fr;
    margin-top: -30px; /* pull up less on mobile to prevent overlapping */
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .form-step-actions {
    flex-direction: column-reverse;
    width: 100%;
    gap: 8px;
  }
  .form-step-actions .btn {
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .about-collage {
    height: 220px;
    margin-bottom: 16px;
  }
  .collage-badge {
    padding: 8px 12px;
    left: 10px;
    bottom: 10px;
  }
  .collage-badge .badge-val {
    font-size: 16px;
  }
  
  /* Hide floating badges completely on small screens to prevent visual overlap */
  .floating-badge {
    display: none !important;
  }

  /* Make mobile timeline vertical and premium */
  .timeline-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .timeline-step {
    width: 100%;
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }
  .step-node {
    flex-shrink: 0;
  }
  .step-info {
    text-align: left;
    gap: 2px;
  }

  /* Modal step indicator text hiding to avoid horizontal wrapping */
  .step-indicator-item span {
    display: none;
  }
  .modal-steps-indicator {
    padding: 12px 16px;
  }
  .step-indicator-line {
    margin-top: 0;
    transform: translateY(-2px);
    align-self: center;
  }
  .step-indicator-item {
    gap: 0;
  }
  
  /* Modal tab buttons styling */
  .modal-tab-btn {
    font-size: 12px;
    padding: 8px;
  }
}

/* --- DAFTAR ULANG SYSTEM STYLES --- */
.daftar-ulang-card {
  max-width: 750px !important;
}

.modal-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px 20px 24px;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(18, 63, 156, 0.02);
}

.dark .modal-steps-indicator {
  background-color: rgba(255, 255, 255, 0.01);
}

.step-indicator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  transition: opacity var(--transition-fast) ease;
}

.step-indicator-item.active {
  opacity: 1;
}

.step-indicator-num {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  border: 2px solid transparent;
}

.step-indicator-item.active .step-indicator-num {
  background-color: var(--primary);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}

.dark .step-indicator-item.active .step-indicator-num {
  background-color: var(--accent-gold);
  color: #1e293b;
}

.step-indicator-item span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-indicator-line {
  flex-grow: 1;
  height: 2px;
  background-color: var(--border-color);
  margin: 0 12px;
  margin-top: -18px;
}

/* Form Steps Handling */
.form-step-content {
  display: none;
  animation: fadeIn var(--transition-fast) ease-out;
}

.form-step-content.active {
  display: block;
}

.form-step-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.dark .form-step-title {
  color: var(--accent-gold);
}

.form-step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-helper {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
  display: block;
}

.form-step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* File Upload drag area */
.file-upload-drag {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  background-color: var(--bg-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast) ease;
}

.file-upload-drag:hover, .file-upload-drag.dragover {
  border-color: var(--primary);
  background-color: rgba(10, 46, 115, 0.02);
}

.dark .file-upload-drag:hover, .dark .file-upload-drag.dragover {
  border-color: var(--accent-gold);
  background-color: rgba(244, 197, 66, 0.02);
}

.upload-icon {
  width: 36px;
  height: 36px;
  color: var(--text-light);
}

.file-upload-drag span {
  font-size: 12px;
  color: var(--text-secondary);
}

.file-upload-drag strong {
  color: var(--primary);
}

.dark .file-upload-drag strong {
  color: var(--accent-gold);
}

.file-selected-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--secondary);
  background-color: rgba(18, 63, 156, 0.05);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

.dark .file-selected-name {
  color: var(--accent-gold);
  background-color: rgba(244, 197, 66, 0.1);
}

/* Modal Alerts */
.modal-alert {
  background-color: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 12px;
  margin: 16px 0 0 0;
  line-height: 1.5;
}

.modal-alert.success {
  background-color: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.modal-alert.info {
  background-color: rgba(18, 63, 156, 0.06);
  border: 1px solid rgba(18, 63, 156, 0.15);
  color: var(--secondary);
}

.dark .modal-alert.info {
  background-color: rgba(244, 197, 66, 0.06);
  border: 1px solid rgba(244, 197, 66, 0.15);
  color: var(--accent-gold);
}

.modal-alert.hidden {
  display: none;
}

/* Ticket Receipt layout */
.receipt-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-card);
  box-shadow: var(--shadow-md);
  margin: 0 auto 16px auto;
  max-width: 380px;
  width: 100%;
}

.receipt-header {
  background-color: var(--primary);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.dark .receipt-header {
  background-color: #1e293b;
  border-bottom: 1px solid var(--border-color);
}

.receipt-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.receipt-header-text h5 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--accent-gold);
}

.receipt-header-text span {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
}

.receipt-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-bottom: 1px dashed var(--border-color);
  background-color: var(--bg-body);
}

.receipt-info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.receipt-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.receipt-value {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.receipt-value.text-highlight {
  color: var(--secondary);
}

.dark .receipt-value.text-highlight {
  color: var(--accent-gold);
}

.receipt-qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-card);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  width: 100%;
  box-sizing: border-box;
}

.receipt-qr-block img {
  width: 120px;
  height: 120px;
}

.qr-info-text {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
}

.receipt-footer {
  padding: 12px 20px;
  background-color: rgba(18, 63, 156, 0.02);
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  font-style: italic;
}

/* CSS Print stylesheet modifications */
@media print {
  body * {
    visibility: hidden;
  }
  #print-receipt-area, #print-receipt-area *, #print-ppid-area, #print-ppid-area * {
    visibility: visible;
  }
  #print-receipt-area, #print-ppid-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: none;
    box-shadow: none;
  }
}

/* Modal Tabs Navigation for Requirements */
.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}
.modal-tab-btn {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.modal-tab-btn:hover {
  color: var(--secondary);
}
.dark .modal-tab-btn:hover {
  color: var(--accent-gold);
}
.modal-tab-btn.active {
  border-bottom-color: var(--secondary);
  color: var(--secondary);
}
.dark .modal-tab-btn.active {
  border-bottom-color: var(--accent-gold);
  color: var(--accent-gold);
}

.requirement-tab-content {
  display: none;
}
.requirement-tab-content.active-content {
  display: block;
}

/* =============================================
   INSTAGRAM LIVE FEED — Section Styles
   ============================================= */

.ig-feed-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.ig-feed-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 12px 4px 24px;
  flex: 1;
  /* Hide scrollbar visually */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ig-feed-track::-webkit-scrollbar {
  display: none;
}

.ig-embed-card {
  flex: 0 0 auto;
  width: 328px;
  scroll-snap-align: start;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
@media (max-width: 480px) {
  .ig-embed-card { width: calc(100vw - 80px); }
}

/* Override Instagram embed inner styles to integrate with website */
.ig-embed-card .instagram-media {
  width: 100% !important;
  min-width: unset !important;
  max-width: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.ig-embed-card iframe {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  width: 100% !important;
  display: block;
}

/* Skeleton loading cards */
.ig-skeleton-card {
  flex: 0 0 auto;
  width: 328px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  scroll-snap-align: start;
  animation: igSkeletonFade 1.4s ease infinite alternate;
}
@media (max-width: 480px) {
  .ig-skeleton-card { width: calc(100vw - 80px); }
}

.ig-skeleton-header {
  height: 60px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: igSkeletonShimmer 1.4s ease infinite;
}

.ig-skeleton-image {
  aspect-ratio: 1 / 1;
  background: linear-gradient(90deg, #d0d0d0 25%, #e8e8e8 50%, #d0d0d0 75%);
  background-size: 200% 100%;
  animation: igSkeletonShimmer 1.4s ease infinite;
}

.ig-skeleton-body {
  height: 80px;
  background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
  background-size: 200% 100%;
  animation: igSkeletonShimmer 1.4s ease infinite;
}

@keyframes igSkeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes igSkeletonFade {
  from { opacity: 0.7; }
  to   { opacity: 1; }
}

/* Dark mode adjustments for skeleton */
.dark .ig-skeleton-card { background: var(--bg-card); }
.dark .ig-skeleton-header,
.dark .ig-skeleton-body {
  background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
  background-size: 200% 100%;
  animation: igSkeletonShimmer 1.4s ease infinite;
}
.dark .ig-skeleton-image {
  background: linear-gradient(90deg, #222 25%, #333 50%, #222 75%);
  background-size: 200% 100%;
  animation: igSkeletonShimmer 1.4s ease infinite;
}

/* Instagram embed overrides — ensure full width inside card */
.ig-embed-card .instagram-media {
  width: 100% !important;
  min-width: unset !important;
  max-width: 100% !important;
}

