/* PMI Bengkulu Governance Portal Styles */
:root {
  --primary-red: #dc2626;
  --dark-red: #991b1b;
  --light-red: #fef2f2;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --blue-600: #2563eb;
  --green-600: #059669;
  --yellow-500: #eab308;
  
}

* {
  margin: 0;
  padding: 0;
  
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Header Styles */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--gray-800);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 20px;
}

.logo-text h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-800);
}

.logo-text p {
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 2px;
}

/* Navigation Styles */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: var(--primary-red);
}

.nav-menu li a.active {
  color: var(--primary-red);
  font-weight: 600;
}

.nav-menu li a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-red);
}

/* CTA Button Styles */
.cta-button {
  background-color: var(--primary-red);
  color: var(--white);
  padding: 14px 28px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.cta-button:hover {
  background-color: var(--dark-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(153, 27, 27, 0.5);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray-700);
  cursor: pointer;
}

/* Main Content Styles */
.main {
  min-height: calc(100vh - 80px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--light-red) 0%, var(--gray-50) 100%);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 32px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Card Styles */
.card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.card p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--light-red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary-red);
  font-size: 24px;
}

/* Table Styles */
.table-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
}

.table th,
.table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.table th {
  background-color: var(--gray-50);
  font-weight: 600;
  color: var(--gray-900);
}

.table td {
  color: var(--gray-700);
}

.table tbody tr:hover {
  background-color: var(--gray-50);
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.status-completed {
  background-color: #dcfce7;
  color: var(--green-600);
}

.status-pending {
  background-color: #fef3c7;
  color: var(--yellow-500);
}

.status-active {
  background-color: #dbeafe;
  color: var(--blue-600);
}

/* List Styles */
.list {
  list-style: none;
}

.list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 16px;
}

.list li:last-child {
  border-bottom: none;
}

.list-icon {
  width: 40px;
  height: 40px;
  background-color: var(--light-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 16px;
  flex-shrink: 0;
}

/* Footer Styles */
.footer {
  background-color: var(--gray-900);
  color: var(--white);
  padding: 64px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-section p,
.footer-section a {
  color: var(--gray-300);
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--gray-700);
  text-align: center;
  color: var(--gray-400);
}

/* Page Content Styles */
.page-header {
  background: linear-gradient(135deg, var(--light-red) 0%, var(--gray-50) 100%);
  padding: 64px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  padding: 64px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .page-header h1 {
    font-size: 32px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .card {
    padding: 24px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .header-container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0;
  }
  
  .section {
    padding: 48px 0;
  }
  
  .content-section {
    padding: 48px 0;
  }
  
  .page-header {
    padding: 48px 0;
  }
}