* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2196F3;
  --secondary: #1565C0;
  --light-blue: #64B5F6;
  --dark-blue: #0D47A1;
  --white: #ffffff;
  --light: #f8f9fa;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
  overflow-x: hidden;
  position: relative;
  padding-top: 80px; /* Added to account for fixed navbar */
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-animation::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, #2196F3 0%, #1565C0 50%, #64B5F6 100%);
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-5%, -5%); }
  50% { transform: translate(-10%, 5%); }
  75% { transform: translate(-5%, -10%); }
}

.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float 20s infinite;
}

.shape:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 10%;
  animation-delay: 5s;
}

.shape:nth-child(3) {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 30%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(10deg); }
  66% { transform: translateY(20px) rotate(-10deg); }
}

/* ========== NAVBAR ========== */
.navbar {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 1.2rem 0;
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(33, 150, 243, 0.15);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.navbar.scrolled .navbar-brand {
  color: var(--secondary) !important;
  text-shadow: none;
}

/* Penyesuaian ukuran Logo dinamis di navbar */
.navbar-brand img {
  max-height: 45px;
  object-fit: contain;
}

.nav-link {
  color: rgba(255,255,255,0.95) !important;
  font-weight: 500;
  margin: 0 15px;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 16px !important;
  border-radius: 25px;
}

.navbar.scrolled .nav-link {
  color: var(--secondary) !important;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.navbar.scrolled .nav-link:hover {
  background: rgba(33, 150, 243, 0.1);
}

/* ========== HERO SECTION ========== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 10px 25px;
  border-radius: 50px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-title span {
  background: linear-gradient(45deg, #64B5F6, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-btn {
  background: #fff;
  color: var(--secondary);
  border: none;
  padding: 16px 45px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.2), transparent);
  transition: left 0.5s;
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.hero-btn-outline {
  background: transparent;
  color: #fff;
  border: 3px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
}

.hero-btn-outline:hover {
  background: rgba(255,255,255,0.25);
  border-color: #fff;
}

/* Penyesuaian ukuran logo besar di Hero */
#heroLogoUrl {
  max-width: 220px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.hero-illustration {
  position: relative;
  animation: floatApp 3s ease-in-out infinite;
}

@keyframes floatApp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.hero-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ========== GLASS CARD ========== */
.glass-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 60px rgba(33, 150, 243, 0.15);
  padding: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.08), transparent);
  transition: left 0.6s;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(33, 150, 243, 0.25);
  border-color: rgba(33, 150, 243, 0.3);
}

/* ========== SECTION STYLES ========== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fff, #e3f2fd);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  font-weight: 300;
}

/* ========== FORM STYLES ========== */
.form-label {
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.form-control, .form-select {
  border: 2px solid rgba(33, 150, 243, 0.2);
  border-radius: 15px;
  padding: 14px 20px;
  transition: all 0.3s ease;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.95);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
  background: #fff;
  transform: translateY(-2px);
}

.form-check-input {
  width: 22px;
  height: 22px;
  border: 2px solid var(--primary);
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.2);
}

/* ========== BUTTON STYLES ========== */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.4);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(33, 150, 243, 0.5);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3);
}

/* ========== STATUS CARD ========== */
.status-card {
  border-radius: 25px;
  padding: 40px;
  margin-top: 30px;
  animation: fadeInUp 0.5s ease;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  color: #333; /* Warna default isi teks kartu */
}

.status-card table td {
  color: inherit; /* Supaya mengikuti warna tema kontras status-card */
}

.status-diterima {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border-left: 6px solid #28a745;
  color: #155724;
}

.status-perbaikan {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-left: 6px solid #ffc107;
  color: #856404;
}

.status-ditolak {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  border-left: 6px solid #dc3545;
  color: #721c24;
}

.status-pending {
  background: linear-gradient(135deg, #e8f4fd 0%, #cfe2ff 100%);
  border-left: 6px solid #0d6efd;
  color: #0c4128;
}

/* ========== FILE UPLOAD ========== */
.file-upload-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.file-upload-input {
  position: absolute;
  left: -9999px;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  border: 3px dashed var(--primary);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.05), rgba(100, 181, 246, 0.05));
  cursor: pointer;
  transition: all 0.4s ease;
}

.file-upload-label:hover {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(100, 181, 246, 0.1));
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
}

.file-name {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #28a745;
  font-weight: 500;
}

/* ========== ICON STYLES ========== */
.icon-box {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3);
  transition: all 0.3s ease;
}

.glass-card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
}

/* ========== FOOTER ========== */
.footer {
  background: rgba(13, 71, 161, 0.95);
  backdrop-filter: blur(20px);
  color: #fff;
  padding: 50px 0 30px;
  margin-top: 100px;
  position: relative;
  z-index: 1;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

/* ========== DIVIDER ========== */
.divider {
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.3), transparent);
  margin: 30px 0;
  border-radius: 2px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .glass-card {
    padding: 30px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-btn {
    width: 100%;
  }
  
  .shape {
    display: none;
  }
  
  #heroLogoUrl {
    max-width: 160px;
    margin-bottom: 20px;
  }
}