/* ============================================
   SATUDATA MALUKU UTARA - CUSTOM STYLES
   Bootstrap 5 Custom Theme
   ============================================ */

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

/* ============================================
   ROOT VARIABLES - COLOR PALETTE
   ============================================ */
:root {
  /* Primary Colors - Updated to a more vibrant teal-green */
  --primary: #00A88E;
  --primary-dark: #007A68;
  --primary-light: #33C4A8;
  --primary-lighter: #66E0C8;
  --primary-lightest: #E0F8F5;
  
  /* Primary Soft for badges */
  --primary-soft: #E0F8F5;
  --secondary-soft: #E8F5E9;

  --secondary: #2E7D32;
  --secondary-dark: #1B5E20;
  --secondary-light: #388E3C;
  
  --danger: #C62828;
  --danger-dark: #B71C1C;
  --danger-light: #E53935;
  
  --warning: #FFB300;
  --warning-dark: #FF8F00;
  --warning-light: #FFC107;
  
  --info: #00ACC1;
  --info-dark: #00838F;
  --info-light: #00BCD4;
  
  --success: #43A047;
  --success-dark: #2E7D32;
  --success-light: #66BB6A;
  
  /* Neutral Colors */
  --dark: #1A237E;
  --dark-light: #283593;
  --gray-900: #212121;
  --gray-800: #424242;
  --gray-700: #616161;
  --gray-600: #757575;
  --gray-500: #9E9E9E;
  --gray-400: #BDBDBD;
  --gray-300: #E0E0E0;
  --gray-200: #EEEEEE;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--gray-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--primary-dark);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  transition: var(--transition);
  text-transform: none;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--white);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  color: var(--white);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger) 0%, var(--danger-light) 100%);
  color: var(--white);
}

.btn-danger:hover {
  background: linear-gradient(135deg, var(--danger-dark) 0%, var(--danger) 100%);
  color: var(--white);
}

.btn-warning {
  background: linear-gradient(135deg, var(--warning) 0%, var(--warning-light) 100%);
  color: var(--gray-900);
}

.btn-warning:hover {
  background: linear-gradient(135deg, var(--warning-dark) 0%, var(--warning) 100%);
  color: var(--gray-900);
}

.btn-info {
  background: linear-gradient(135deg, var(--info) 0%, var(--info-light) 100%);
  color: var(--white);
}

.btn-success {
  background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
  color: var(--white);
}

.btn-outline-primary {
  color: var(--primary);
  border: 2px solid var(--primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

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

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
}

/* ============================================
   FORM CONTROLS
   ============================================ */
.form-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  letter-spacing: 0.025em;
}

.form-control,
.form-select {
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  transition: var(--transition);
  background-color: var(--white);
  color: var(--gray-800);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-lightest);
  outline: none;
}

.form-control::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}

.form-control:disabled,
.form-select:disabled {
  background-color: var(--gray-100);
  border-color: var(--gray-300);
  color: var(--gray-500);
  cursor: not-allowed;
}

.input-group-text {
  background-color: var(--gray-100);
  border: 2px solid var(--gray-300);
  color: var(--gray-600);
  font-weight: 500;
  border-radius: var(--radius);
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px var(--primary-lightest);
  border-color: var(--primary);
}

.form-check-label {
  font-size: 0.9375rem;
  color: var(--gray-700);
  cursor: pointer;
  margin-left: 0.5rem;
}

/* Form Validation */
.is-invalid {
  border-color: var(--danger) !important;
}

.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15) !important;
}

.is-valid {
  border-color: var(--success) !important;
}

.is-valid:focus {
  box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.15) !important;
}

.invalid-feedback,
.valid-feedback {
  font-size: 0.875rem;
  margin-top: 0.375rem;
  font-weight: 500;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: var(--transition);
  background-color: var(--white);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1.25rem 1.5rem;
  border-bottom: none;
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  background-color: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  padding: 1rem 1.5rem;
}

.card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.card-header .card-title{
   color: var(--gray-100) !important;
}

.card-subtitle {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

/* ============================================
   MODALS
   ============================================ */
.modal-content {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 1.5rem 1.75rem;
  border-bottom: none;
}

.modal-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
   color: var(--white);
  font-size: 1.375rem;
}

.modal-body {
  padding: 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--gray-200);
  background-color: var(--gray-100);
}

.btn-close {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 0.5rem;
  transition: var(--transition-fast);
}

.btn-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-backdrop {
  background-color: rgba(26, 35, 126, 0.5);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  border-left: 4px solid;
  margin-bottom: 1.25rem;
}

.alert-primary {
  background-color: var(--primary-lightest);
  color: var(--primary-dark);
  border-left-color: var(--primary);
}

.alert-secondary {
  background-color: #E8F5E9;
  color: var(--secondary-dark);
  border-left-color: var(--secondary);
}

.alert-success {
  background-color: #E8F5E9;
  color: var(--success-dark);
  border-left-color: var(--success);
}

.alert-danger {
  background-color: #FFEBEE;
  color: var(--danger-dark);
  border-left-color: var(--danger);
}

.alert-warning {
  background-color: #FFF8E1;
  color: var(--warning-dark);
  border-left-color: var(--warning);
}

.alert-info {
  background-color: #E0F7FA;
  color: var(--info-dark);
  border-left-color: var(--info);
}

.alert-dismissible .btn-close {
  background-color: transparent;
  opacity: 0.7;
}

.alert-dismissible .btn-close:hover {
  opacity: 1;
  transform: rotate(0);
}

/* ============================================
   BADGES
   ============================================ */
.badge {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

.bg-success {
  background-color: var(--success) !important;
}

.bg-danger {
  background-color: var(--danger) !important;
}

.bg-warning {
  background-color: var(--warning) !important;
  color: var(--gray-900) !important;
}

.bg-info {
  background-color: var(--info) !important;
}

/* ============================================
   TABLES
   ============================================ */
.table {
  font-size: 0.9375rem;
  color: var(--gray-800);
  border-collapse: separate;
  border-spacing: 0;
}

.table thead th {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white); /* Changed to white for better contrast */
  background-color: var(--primary); /* Changed to primary color */
  border-bottom: 2px solid var(--primary);
  padding: 1rem;
  white-space: nowrap;
}

.table tbody tr {
  transition: var(--transition-fast);
}

.table tbody tr:hover {
  background-color: var(--primary-lightest);
}

.table tbody td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 137, 123, 0.03);
}

.table-bordered {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  gap: 0.5rem;
}

.page-link {
  border: 2px solid var(--gray-300);
  color: var(--gray-700);
  font-weight: 600;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  transition: var(--transition-fast);
  margin: 0;
}

.page-link:hover {
  background-color: var(--primary-lightest);
  border-color: var(--primary);
  color: var(--primary);
}

.page-item.active .page-link {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.page-item.disabled .page-link {
  background-color: var(--gray-100);
  border-color: var(--gray-300);
  color: var(--gray-400);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.page-title{
    margin-bottom: 0.1em !important;
}
.breadcrumb {
  display: flex;
  align-items: center;
  background-color: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--gray-400, #6c757d);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0.5rem;
  line-height: 1;
}

.breadcrumb-item a {
  color: var(--gray-600, #495057);
  text-decoration: none;
  transition: var(--transition-fast, 0.2s);
}

.breadcrumb-item a:hover {
  color: var(--primary, #0d6efd);
}

.breadcrumb-item.active {
  color: var(--primary, #0d6efd);
  font-weight: 600;
}

/* ============================================
   DROPDOWNS
   ============================================ */
.dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--primary-lightest);
  color: var(--primary);
}

.dropdown-item:active {
  background-color: var(--primary);
  color: var(--white);
}

.dropdown-divider {
  border-top-color: var(--gray-200);
  margin: 0.5rem 0;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--primary) !important;
  letter-spacing: -0.025em;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gray-700);
  padding: 0.625rem 1rem;
  transition: var(--transition-fast);
  border-radius: var(--radius);
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-lightest);
}

.nav-link.active {
  color: var(--primary) !important;
  background-color: var(--primary-lightest);
}

/* ============================================
   PROGRESS BARS
   ============================================ */
.progress {
  height: 1rem;
  border-radius: var(--radius-lg);
  background-color: var(--gray-200);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  font-weight: 600;
  font-size: 0.75rem;
  transition: width 0.6s ease;
}

.progress-bar-striped {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
}

/* ============================================
   SPINNERS
   ============================================ */
.spinner-border {
  border-color: var(--primary-lightest);
  border-right-color: var(--primary);
}

.spinner-grow {
  background-color: var(--primary);
}

/* ============================================
   TOOLTIPS & POPOVERS
   ============================================ */
.tooltip-inner {
  background-color: var(--gray-900);
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 500;
}

.popover {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.popover-header {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 700;
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion-item {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-800);
  background-color: var(--white);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary);
}

.accordion-button::after {
  transition: var(--transition);
}

.accordion-body {
  padding: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ============================================
   TABS
   ============================================ */
.nav-tabs {
  border-bottom: 2px solid var(--gray-300);
  gap: 0.5rem;
}

.nav-tabs .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--gray-600);
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.875rem 1.5rem;
  transition: var(--transition-fast);
}

.nav-tabs .nav-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary-light);
  background-color: var(--primary-lightest);
}

.nav-tabs .nav-link.active {
  color: var(--primary);
  background-color: transparent;
  border-bottom-color: var(--primary);
}

.tab-content {
  padding: 1.5rem 0;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded { border-radius: var(--radius) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }

/* ============================================
   CUSTOM COMPONENTS
   ============================================ */

/* Stat Card */
.stat-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

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

.stat-card .stat-icon {
  font-size: 2.5rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.stat-card .stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  font-size: 0.9375rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Data Widget */
.data-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.data-widget .widget-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--primary-lightest) 0%, var(--primary-lightest) 100%);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* Loading State */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.empty-state-title {
  font-size: 1.5rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.empty-state-text {
  color: var(--gray-500);
  font-size: 1rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.625rem; }
  h3 { font-size: 1.375rem; }
  
  .card-body {
    padding: 1.25rem;
  }
  
  .modal-body {
    padding: 1.25rem;
  }
  
  .table {
    font-size: 0.875rem;
  }
  
  .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 0.875rem;
  }
  
  h1 { font-size: 1.625rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.125rem; }
  
  .card-body {
    padding: 1rem;
  }
  
  .modal-body {
    padding: 1.25rem;
  }
  
  .stat-card {
    padding: 1.25rem;
  }
  
  .stat-card .stat-value {
    font-size: 1.875rem;
  }
}

/* ============================================
   LIST GROUP
   ============================================ */
.list-group-item {
  border: 1px solid var(--gray-300);
  padding: 1rem 1.25rem;
  transition: var(--transition-fast);
  font-size: 0.9375rem;
}

.list-group-item:hover {
  background-color: var(--primary-lightest);
  border-color: var(--primary-light);
}

.list-group-item.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-color: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.list-group-item-primary {
  background-color: var(--primary-lightest);
  color: var(--primary-dark);
  border-color: var(--primary-light);
}

.list-group-item-secondary {
  background-color: #E8F5E9;
  color: var(--secondary-dark);
  border-color: var(--secondary-light);
}

.list-group-item-success {
  background-color: #E8F5E9;
  color: var(--success-dark);
  border-color: var(--success-light);
}

.list-group-item-danger {
  background-color: #FFEBEE;
  color: var(--danger-dark);
  border-color: var(--danger-light);
}

.list-group-item-warning {
  background-color: #FFF8E1;
  color: var(--warning-dark);
  border-color: var(--warning-light);
}

.list-group-item-info {
  background-color: #E0F7FA;
  color: var(--info-dark);
  border-color: var(--info-light);
}

/* ============================================
   OFFCANVAS
   ============================================ */
.offcanvas {
  box-shadow: var(--shadow-xl);
}

.offcanvas-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 1.5rem 1.75rem;
}

.offcanvas-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.offcanvas-body {
  padding: 1.75rem;
}

/* ============================================
   TOAST
   ============================================ */
.toast {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.toast-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.875rem 1.25rem;
  font-weight: 600;
}

.toast-body {
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
}

/* Toast Variants */
.toast-primary .toast-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
}

.toast-success .toast-header {
  background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
  color: var(--white);
}

.toast-danger .toast-header {
  background: linear-gradient(135deg, var(--danger) 0%, var(--danger-light) 100%);
  color: var(--white);
}

.toast-warning .toast-header {
  background: linear-gradient(135deg, var(--warning) 0%, var(--warning-light) 100%);
  color: var(--gray-900);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  min-height: 100vh;
  padding: 2rem 0;
  box-shadow: var(--shadow-lg);
}

.sidebar-brand {
  padding: 0 1.5rem 2rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0rem;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav-item {
  margin-bottom: 0.375rem;
  padding: 0 1rem;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}

.sidebar-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transform: translateX(4px);
}

.sidebar-nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar-nav-icon {
  margin-right: 0.875rem;
  font-size: 1.25rem;
  width: 1.5rem;
  text-align: center;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-300);
}

.timeline-item {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: 1.25rem;
  top: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-lightest);
}

.timeline-content {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.timeline-time {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

/* ============================================
   FILTER SECTION
   ============================================ */
.filter-section {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.filter-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-bar {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-bar .form-control {
  padding-left: 3rem;
  padding-right: 3rem;
  height: 3.25rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  border: 2px solid var(--gray-300);
  transition: var(--transition);
}

.search-bar .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-lightest);
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 1.25rem;
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
  background: none;
  border: none;
  padding: 0.25rem;
}

.search-clear:hover {
  color: var(--danger);
}

/* ============================================
   DATA TABLE WRAPPER
   ============================================ */
.table-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.table-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--gray-900);
  margin: 0;
}

.table-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.table-responsive {
  overflow-x: auto;
}

/* ============================================
   FILE UPLOAD
   ============================================ */
.file-upload {
  position: relative;
  display: inline-block;
  width: 100%;
}

.file-upload-input {
  display: none;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  background-color: var(--gray-100);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.file-upload-label:hover {
  border-color: var(--primary);
  background-color: var(--primary-lightest);
}

.file-upload-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.file-upload-text {
  font-size: 1rem;
  color: var(--gray-700);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.file-upload-hint {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ============================================
   STEP INDICATOR
   ============================================ */
.steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gray-300);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--gray-500);
  transition: var(--transition);
  margin-bottom: 0.75rem;
}

.step-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 600;
  text-align: center;
}

.step.active .step-number {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 0 0 4px var(--primary-lightest);
}

.step.active .step-label {
  color: var(--primary);
}

.step.completed .step-number {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.step.completed .step-label {
  color: var(--success-dark);
}

/* ============================================
   PRICING CARD
   ============================================ */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.pricing-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-period {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.pricing-feature {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.pricing-feature:last-child {
  border-bottom: none;
}

.pricing-feature::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  body {
    background: white;
    font-size: 12pt;
  }
  
  .btn, .navbar, .sidebar, .modal, .dropdown, .scroll-to-top {
    display: none !important;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
}

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

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

.slide-in {
  animation: slideIn 0.3s ease-out;
}

/* ============================================

   END OF SATUDATA MALUKU UTARA STYLES

   ============================================ */



/* ============================================

   LOGIN PAGE STYLES

   ============================================ */

.login-container {

    position: relative;

    height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}



.login-video-bg {

    position: absolute;

    top: 50%;

    left: 50%;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transform: translate(-50%, -50%);

    z-index: 1;

}



.login-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.5);

    z-index: 2;

}



.login-form-container {

    position: relative;

    z-index: 3;

    width: 100%;

    max-width: 450px;

    padding: 2rem;

}



.login-card {

    background-color: rgba(255, 255, 255, 0.95);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-xl);

    overflow: hidden;

    backdrop-filter: blur(10px);

}



.login-card-header {

    padding: 2rem 2rem 1.5rem;

    text-align: center;

    border-bottom: 1px solid var(--gray-200);

}



.login-title {

    font-family: 'Inter', sans-serif;

    font-weight: 800;

    font-size: 1.75rem;

    color: var(--primary);

    margin-bottom: 0.5rem;

}



.login-subtitle {

    font-size: 1rem;

    color: var(--gray-600);

    margin-bottom: 0;

}



.login-card-body {

    padding: 2rem;

}



.login-btn {

    padding: 0.875rem;

    font-size: 1rem;

    font-weight: 700;

}

/* Custom Landing Page Styles from master.blade.php */
:root {
    --navbar-height: 85px;
}

body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* Navbar Modern Styles */
.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 137, 123, 0.1);
}

.navbar-scrolled {
    height: 75px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 1) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    transform: translateX(5px);
}

.navbar-brand img {
    height: 48px;
    filter: drop-shadow(0 3px 8px rgba(0, 137, 123, 0.25));
    transition: all 0.3s;
}

.navbar-brand:hover img {
    transform: rotate(5deg) scale(1.05);
}

.navbar .nav-link {
    font-weight: 600;
    color: var(--gray-700);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius-md);
    position: relative;
    font-size: 0.95rem;
    margin: 0 0.15rem;
}

.navbar .nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary-lightest) 0%, rgba(224, 242, 241, 0.5) 100%);
}

.navbar .nav-link:hover::before,
.navbar .nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.navbar .dropdown-menu {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 0.75rem;
    margin-top: 0.5rem;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.98);
}

.navbar .dropdown-item {
    border-radius: var(--radius);
    padding: 0.65rem 1rem;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 0.92rem;
}

.navbar .dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-lightest) 0%, rgba(224, 242, 241, 0.5) 100%);
    color: var(--primary);
    transform: translateX(5px);
}

.navbar .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    padding: 0.65rem 1.75rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 137, 123, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.navbar .btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 137, 123, 0.45);
}

.navbar .btn-primary:active {
    transform: translateY(-1px);
}

/* Banner Section Enhanced */
#banner {
    padding-top: calc(var(--navbar-height) + 6rem);
    padding-bottom: 7rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e8f5e9 100%);
    position: relative;
    overflow: hidden; 
}

#banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--primary-lightest) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse 8s ease-in-out infinite;
}

#banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(38, 166, 154, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

/* Section Styling */
.section-title h2 {
    font-weight: 800;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    position: relative;
    display: inline-block;
}

/* Card Styles Enhanced */
.service-card,
.org-card,
.dataset-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: white;
    position: relative;
}

.service-card::before,
.org-card::before,
.dataset-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.org-card:hover,
.dataset-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 137, 123, 0.25);
}

.service-card:hover::before,
.org-card:hover::before,
.dataset-card:hover::before {
    transform: scaleX(1);
}

.service-card a,
.org-card a,
.dataset-card a {
    text-decoration: none;
    color: inherit;
}

.service-card .card-body {
    text-align: center;
    padding: 2rem 1.5rem;
}

.service-card img {
    height: 85px;
    width: 85px;
    object-fit: contain;
    margin-bottom: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 137, 123, 0.2));
}

.service-card:hover img {
    transform: scale(1.15) rotate(8deg);
}

.service-card h6 {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.service-card:hover h6 {
    color: var(--primary);
}

.org-card .card-body {
    text-align: center;
    padding: 2.25rem 1.75rem;
}

.org-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 3px solid var(--primary-lightest);
    padding: 0.5rem;
    background: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 137, 123, 0.15);
}

.org-card:hover img {
    transform: scale(1.12) rotate(-5deg);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 137, 123, 0.3);
}

.org-card h5 {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
    transition: color 0.3s;
}

.org-card:hover h5 {
    color: var(--primary);
}

.org-card .badge {
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.dataset-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dataset-card:hover .card-img-top {
    transform: scale(1.15);
}

.dataset-card .card-body {
    padding: 1.75rem;
}

.dataset-card .badge {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
}

.dataset-card .card-footer {
    background-color: var(--gray-100);
    padding: 1.25rem 1.75rem;
    border-top: 2px solid var(--gray-200);
}

/* Footer Modern */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, #0d47a1 100%);
    color: var(--gray-400);
    font-size: 0.95rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.75rem;
    font-size: 1.15rem;
    position: relative;
    display: inline-block;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
}

footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
}

footer a:hover {
    color: var(--primary-light);
    transform: translateX(8px);
}

footer .fas {
    color: var(--primary-light);
    transition: all 0.3s;
}

footer a:hover .fas {
    transform: scale(1.2);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    color: var(--gray-500);
    backdrop-filter: blur(10px);
}

/* Scroll to Top Enhanced */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
    line-height: 55px;
    font-size: 1.4rem;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 25px rgba(0, 137, 123, 0.45);
    cursor: pointer;
    border: 3px solid white;
}

.scroll-to-top:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 12px 40px rgba(0, 137, 123, 0.55);
}

.scroll-to-top:active {
    transform: translateY(-4px) scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        height: 42px;
    }

    #banner {
        padding-top: calc(var(--navbar-height) + 4rem);
        padding-bottom: 4rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: auto;
    }

    .navbar-brand img {
        height: 38px;
    }

    #banner {
        padding-top: calc(var(--navbar-height) + 2rem);
        padding-bottom: 3rem;
    }

    .scroll-to-top {
        width: 48px;
        height: 48px;
        line-height: 48px;
        bottom: 20px;
        right: 20px;
    }
}


/* Home Page Specific Styles from home.blade.php */
/* Banner Section with Primary Color Theme */
#banner {
    position: relative;
    z-index: 1;
}

#banner .container {
    position: relative;
    z-index: 2;
}

#banner h1 {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.3rem;
    line-height: 1.15;
    letter-spacing: -1.5px;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 4px 20px rgba(0, 137, 123, 0.1);
}

#banner h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.8rem;
    letter-spacing: -0.7px;
}

#banner p.lead {
    font-size: 1.22rem;
    color: var(--gray-700);
    line-height: 1.9;
    margin-bottom: 3.2rem;
    max-width: 92%;
    font-weight: 500;
}

/* Search Bar Modern with Primary Color */
.search-wrapper {
    position: relative;
    max-width: 680px;
}

.search-wrapper .input-group {
    box-shadow: 0 20px 70px rgba(0, 137, 123, 0.25);
    border-radius: 60px;
    overflow: hidden;
    border: 4px solid var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.search-wrapper .input-group:focus-within {
    border-color: var(--primary-dark);
    box-shadow: 0 25px 90px rgba(0, 137, 123, 0.35);
    transform: translateY(-4px);
}

.search-wrapper .form-control {
    border: none;
    padding: 1.5rem 2.2rem;
    font-size: 1.08rem;
    height: auto;
    background: transparent;
    font-weight: 500;
}

.search-wrapper .form-control:focus {
    box-shadow: none;
    outline: none;
}

.search-wrapper .form-control::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.search-wrapper .btn {
    padding: 1.5rem 2.8rem;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    font-weight: 700;
    font-size: 1.08rem;
    transition: all 0.3s;
    letter-spacing: 0.4px;
}

.search-wrapper .btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(0, 137, 123, 0.4);
}

/* Banner Image Animation */
#banner img {
    filter: drop-shadow(0 30px 90px rgba(0, 137, 123, 0.25));
    animation: float 7s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-18px) rotate(3deg);
    }

    50% {
        transform: translateY(-30px) rotate(0deg);
    }

    75% {
        transform: translateY(-18px) rotate(-3deg);
    }
}

/* Section with Primary Color Backgrounds */
#sektoral {
    background: linear-gradient(135deg, var(--primary-lightest) 0%, #ffffff 30%, var(--primary-lightest) 100%);
    padding: 6.5rem 0;
    position: relative;
}

#sektoral::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}

#organisasi {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-lightest) 50%, #ffffff 100%);
    padding: 6.5rem 0;
    position: relative;
}

#organisasi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

#dataset-terbaru {
    background: linear-gradient(135deg, var(--primary-lightest) 0%, #ffffff 30%, var(--primary-lightest) 100%);
    padding: 6.5rem 0;
    position: relative;
}

#dataset-terbaru::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}

/* Section Title Enhanced with Primary Color */
.section-title {
    margin-bottom: 4.5rem;
    position: relative;
}

.section-title h2 {
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    letter-spacing: -1.2px;
    font-family: 'Inter', sans-serif;
}

.section-title p.lead {
    font-size: 1.22rem;
    color: var(--gray-600);
    font-weight: 500;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 137, 123, 0.3);
}

/* Cards Enhancement with Primary Color */
.service-card h6,
.org-card h5,
.dataset-card h6 {
    transition: all 0.3s;
}

.org-card .text-muted {
    color: var(--gray-600) !important;
    font-size: 0.94rem;
    margin-top: 1.3rem;
    font-weight: 500;
}

.org-card .text-muted i {
    color: var(--primary);
}

.dataset-card .card-text {
    color: var(--gray-600);
    font-size: 0.92rem;
    font-weight: 500;
}

.dataset-card .card-text i {
    color: var(--primary);
}

.dataset-card .card-footer {
    transition: all 0.3s;
}

.dataset-card:hover .card-footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.dataset-card .card-footer img {
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 137, 123, 0.2);
    transition: all 0.3s;
}

.dataset-card:hover .card-footer img {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 137, 123, 0.4);
}

.dataset-card .card-footer .small {
    color: var(--gray-700);
    font-weight: 600;
}

.dataset-card:hover .card-footer .small {
    color: var(--white);
}

/* Decorative Elements */
#sektoral::after,
#organisasi::after,
#dataset-terbaru::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: 0.08;
    pointer-events: none;
}

#sektoral::after {
    top: 10%;
    right: 5%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

#organisasi::after {
    bottom: 10%;
    left: 5%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
}

#dataset-terbaru::after {
    top: 15%;
    left: 8%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    #banner h1 {
        font-size: 3.5rem;
    }

    #banner h2 {
        font-size: 2.1rem;
    }

    .section-title h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    #banner h1 {
        font-size: 3rem;
    }

    #banner h2 {
        font-size: 1.85rem;
    }

    #banner p.lead {
        font-size: 1.15rem;
    }

    .section-title h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    #banner h1 {
        font-size: 2.4rem;
        letter-spacing: -0.7px;
    }

    #banner h2 {
        font-size: 1.6rem;
    }

    #banner p.lead {
        font-size: 1.05rem;
        max-width: 100%;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title p.lead {
        font-size: 1.05rem;
    }

    #sektoral,
    #organisasi,
    #dataset-terbaru {
        padding: 4.5rem 0;
    }

    .search-wrapper .form-control,
    .search-wrapper .btn {
        padding: 1.1rem 1.5rem;
        font-size: 0.98rem;
    }
}

@media (max-width: 576px) {
    #banner h1 {
        font-size: 2rem;
    }

    #banner h2 {
        font-size: 1.35rem;
    }

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