/* ================================================
   SIAYA COUNTY PMTS - COMPLETE STYLESHEET (ENHANCED)
   Primary: #60b945 | Secondary: #d1ad64
   ================================================ */

:root {
  --siaya-primary: #60b945;
  --siaya-primary-dark: #4a9a33;
  --siaya-primary-light: #7dcc5e;
  --siaya-secondary: #d1ad64;
  --siaya-secondary-dark: #b8944a;
  --siaya-secondary-light: #e0c080;
  --siaya-bg: #f5f5f5;
  --siaya-text: #333333;
  --siaya-text-gray: #666666;
  --siaya-border: #e0e0e0;
  --siaya-success: #28a745;
  --siaya-warning: #ffc107;
  --siaya-danger: #dc3545;
  --siaya-info: #17a2b8;
  --navbar-bg: #ffffff;
  --menu-text: #020407;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 32px rgba(0,0,0,0.15);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--siaya-bg);
  color: var(--siaya-text);
  line-height: 1.6;
  padding-top: 0px !important;
}

@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

/* ──────────────────────────────────────────────
   UTILITY CLASSES
   ────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.text-white { color: white; }
.text-primary { color: var(--siaya-primary); }
.text-secondary { color: var(--siaya-secondary); }
.text-success { color: var(--siaya-success); }
.text-warning { color: var(--siaya-warning); }
.text-danger { color: var(--siaya-danger); }
.text-gray { color: var(--siaya-text-gray); }

.bg-primary { background: var(--siaya-primary); }
.bg-secondary { background: var(--siaya-secondary); }
.bg-light { background: var(--siaya-bg); }
.bg-white { background: white; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* Flex & Grid Utilities */
.flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gap-5 { gap: 2rem; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

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

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

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Removed kenBurns animation for static natural image */

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.slide-in-right {
  animation: slideInRight 0.6s ease forwards;
}

.slide-in-left {
  animation: slideInLeft 0.6s ease forwards;
}

.zoom-in {
  animation: zoomIn 0.4s ease forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ──────────────────────────────────────────────
   TOP BAR
   ────────────────────────────────────────────── */
.top-bar {
  background: var(--siaya-primary);
  color: white;
  padding: 8px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

.top-bar.hidden {
  transform: translateY(-100%);
}

.top-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.top-bar a:hover {
  color: var(--siaya-secondary);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.welcome-text {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: 20px;
}

.language-switcher select,
.google-translate-element .goog-te-combo {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

.language-switcher select option,
.google-translate-element .goog-te-combo option {
  background: var(--siaya-primary);
  color: white;
}

/* ──────────────────────────────────────────────
   NAVIGATION BAR
   ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 999;
  transition: all 0.4s ease;
  height: 80px;
  display: flex;
  align-items: center;
  background: #ffffff !important;
  top: 40px;
  box-shadow: var(--shadow-sm);
}

.navbar.topbar-hidden {
  top: 0 !important;
  transition: top 0.3s ease-in-out;
}

.navbar.scrolled {
  top: 0;
  background: #ffffff !important;
  box-shadow: var(--shadow-md);
  height: 70px;
}

.navbar.inner-page {
  background: #ffffff !important;
  box-shadow: var(--shadow-md);
  top: 0;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  display: none;
}

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  position: relative;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #020407 !important;
}

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

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--siaya-primary);
  transition: width 0.3s;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--siaya-primary) !important;
}

/* Login/Logout Buttons */
.btn-login,
.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-size: 14px;
}

.btn-login {
  background: var(--siaya-primary);
  color: white;
  border: none;
}

.btn-login:hover {
  background: var(--siaya-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-logout {
  background: transparent;
  color: var(--siaya-primary);
  border: 1px solid var(--siaya-border);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--siaya-primary) !important;
}

/* ──────────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

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

.btn-primary:hover {
  background: var(--siaya-primary-dark);
  border-color: var(--siaya-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(96, 185, 69, 0.3);
}

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

.btn-secondary:hover {
  background: var(--siaya-secondary-dark);
  border-color: var(--siaya-secondary-dark);
  color: white;
  transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
  background: var(--siaya-primary);
  color: white;
  transform: translateY(-2px);
}

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

.btn-outline-secondary:hover {
  background: var(--siaya-secondary);
  color: var(--siaya-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-icon {
  padding: 10px;
  border-radius: 50%;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ──────────────────────────────────────────────
   HERO SECTION - NATURAL IMAGE, NO OPACITY/OVERLAY
   ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  /* Removed animation for static natural display */
}

/* REMOVED - hero-overlay with opacity/gradient */
/* The overlay has been completely removed to show original image */

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  color: white;
  /* Text shadow added for readability on natural images */
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--siaya-secondary);
}

.hero-text p {
  font-size: 20px;
  margin-bottom: 12px;
}

.hero-text .subtitle {
  font-size: 16px;
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: float 6s ease-in-out infinite;
}

.stat-card:nth-child(2) {
  margin-left: 40px;
  animation-delay: 0.5s;
}

.stat-card:nth-child(3) {
  margin-left: 80px;
  animation-delay: 1s;
}

.stat-icon {
  width: 56px;
  height: 56px;
  background: var(--siaya-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--siaya-primary);
  font-size: 24px;
}

.stat-info p:first-child {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.stat-info p:last-child {
  color: white;
  font-size: 28px;
  font-weight: 700;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ──────────────────────────────────────────────
   SECTION STYLES
   ────────────────────────────────────────────── */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--siaya-primary);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--siaya-secondary);
  border-radius: 3px;
}

.section-title span {
  color: var(--siaya-secondary);
}

.section-title.text-center:after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: var(--siaya-text-gray);
  max-width: 600px;
  margin-bottom: 48px;
}

/* Cards */
.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.card-header {
  padding: 20px;
  border-bottom: 1px solid var(--siaya-border);
}

.card-body {
  padding: 20px;
}

.card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--siaya-border);
  background: var(--siaya-bg);
}

/* Stats Cards */
.stats-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
}

.stats-card:hover {
  border-color: var(--siaya-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stats-card .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
}

.stats-card .stat-label {
  font-size: 13px;
  color: var(--siaya-text-gray);
  margin-bottom: 4px;
}

.stats-card .stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--siaya-primary);
  margin-bottom: 8px;
}

/* Finance Section */
.finance-section {
  background: linear-gradient(135deg, var(--siaya-primary), #3a7a2a);
  position: relative;
  overflow: hidden;
}

.finance-section .section-title {
  color: white;
  text-align: center;
}

.finance-section .section-title:after {
  left: 50%;
  transform: translateX(-50%);
}

.finance-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.finance-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s;
}

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

.finance-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
}

.progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 16px;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

/* Projects Grid */
.projects-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.project-stat-card {
  background: var(--siaya-bg);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.project-stat-card:hover {
  border-color: var(--siaya-primary);
  transform: translateY(-4px);
  background: white;
}

.project-stat-card .count {
  font-size: 32px;
  font-weight: 700;
  color: var(--siaya-primary);
}

.project-stat-card .label {
  font-size: 13px;
  color: var(--siaya-text-gray);
  margin: 8px 0;
}

/* Department Grid */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.dept-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

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

.dept-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
  color: white;
}

.dept-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--siaya-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  min-height: 40px;
}

.dept-progress {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 12px;
}

.dept-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}

/* Feedback Section */
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feedback-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--siaya-border);
  transition: all 0.3s;
}

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

.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.feedback-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  background: rgba(96, 185, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--siaya-primary);
  font-size: 18px;
}

.feedback-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.feedback-status.pending { background: #fef3c7; color: #92400e; }
.feedback-status.reviewed { background: #dbeafe; color: #1e40af; }
.feedback-status.resolved { background: #d1fae5; color: #065f46; }

.feedback-category {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 12px;
}

.feedback-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.feedback-rating i {
  font-size: 14px;
  color: #e5e7eb;
}

.feedback-rating i.active {
  color: var(--siaya-secondary);
}

.feedback-comment {
  font-size: 14px;
  color: var(--siaya-text-gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

.feedback-response {
  background: var(--siaya-bg);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 16px;
}

.feedback-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--siaya-border);
}

.feedback-votes {
  display: flex;
  gap: 16px;
}

.feedback-votes button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--siaya-text-gray);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.3s;
}

.feedback-votes button:hover:first-child { color: var(--siaya-success); }
.feedback-votes button:hover:last-child { color: var(--siaya-danger); }

/* Report Section */
.report-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

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

.template-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.template-card:hover {
  border-color: var(--siaya-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.template-icon {
  width: 48px;
  height: 48px;
  background: rgba(96, 185, 69, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--siaya-primary);
  font-size: 20px;
  flex-shrink: 0;
}

.template-card:hover .template-icon {
  background: var(--siaya-primary);
  color: white;
}

.template-format {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.template-format.pdf { background: #fee2e2; color: #dc2626; }
.template-format.excel { background: #d1fae5; color: #059669; }

.report-history {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.history-item {
  padding: 16px;
  border: 1px solid var(--siaya-border);
  border-radius: 12px;
  margin-bottom: 12px;
  transition: all 0.3s;
}

.history-item:hover {
  border-color: var(--siaya-primary);
  box-shadow: var(--shadow-sm);
}

.history-header {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.history-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.history-icon.pdf { background: #fee2e2; color: #dc2626; }
.history-icon.excel { background: #d1fae5; color: #059669; }

.history-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--siaya-border);
}

.history-actions button {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.history-actions button:first-child {
  background: var(--siaya-primary);
  color: white;
  border: none;
}

.history-actions button:first-child:hover {
  background: var(--siaya-primary-dark);
}

.history-actions button:not(:first-child) {
  background: none;
  border: 1px solid var(--siaya-border);
  color: var(--siaya-text-gray);
}

.history-actions button:not(:first-child):hover {
  border-color: var(--siaya-primary);
  color: var(--siaya-primary);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a4a0f, #0d2e08);
  padding: 60px 0 20px;
  position: relative;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col h4 i {
  color: var(--siaya-secondary);
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--siaya-secondary);
  color: var(--siaya-primary);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--siaya-secondary);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.footer-contact li i {
  color: var(--siaya-secondary);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

/* ──────────────────────────────────────────────
   MODAL STYLES
   ────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: zoomIn 0.3s ease;
}

.modal-sm { max-width: 400px; }
.modal-md { max-width: 600px; }
.modal-lg { max-width: 800px; }
.modal-xl { max-width: 1100px; }

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--siaya-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--siaya-bg);
  border-radius: 20px 20px 0 0;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--siaya-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--siaya-text-gray);
  transition: all 0.3s;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--siaya-danger);
  color: white;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--siaya-border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: var(--siaya-bg);
  border-radius: 0 0 20px 20px;
}

/* ──────────────────────────────────────────────
   FORM STYLES
   ────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--siaya-text);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--siaya-danger);
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--siaya-border);
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--siaya-primary);
  box-shadow: 0 0 0 3px rgba(96, 185, 69, 0.1);
}

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

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

/* Star Rating */
.star-rating {
  display: flex;
  gap: 8px;
}

.star-rating button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: var(--siaya-bg);
  color: var(--siaya-text-gray);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 18px;
}

.star-rating button:hover,
.star-rating button.active {
  background: var(--siaya-secondary);
  color: var(--siaya-primary);
}


/* Remove or comment out the floating-secondary-menu styles */

/* ============================================
   SECONDARY MENU - Below Main Navigation
   ============================================ */

.secondary-menu {
    background: #f8f9fa;
    border-top: 1px solid var(--siaya-border);
    border-bottom: 1px solid var(--siaya-border);
    width: 100%;
    position: relative;
    z-index: 998;
}

.secondary-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.secondary-nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.secondary-nav-menu li a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--siaya-text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
    padding: 5px 0;
}

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

.secondary-nav-menu li a i {
    font-size: 12px;
    color: var(--siaya-secondary);
}

/* Mobile Menu Divider */
.mobile-menu-divider {
    height: 1px;
    background: var(--siaya-border);
    margin: 15px 0;
}

.mobile-secondary-menu {
    margin-top: 10px;
}

.mobile-secondary-menu .menu-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--siaya-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0 5px 0;
    border-bottom: 1px solid var(--siaya-border);
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .secondary-nav-menu {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    .secondary-nav-menu li {
        white-space: nowrap;
    }
}

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

/* ──────────────────────────────────────────────
   TABLE STYLES
   ────────────────────────────────────────────── */
.table-responsive {
  overflow-x: auto;
}

.siaya-table {
  width: 100%;
  border-collapse: collapse;
}

.siaya-table thead th {
  background: var(--siaya-bg);
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--siaya-primary);
  text-align: left;
  border-bottom: 2px solid var(--siaya-border);
}

.siaya-table tbody td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--siaya-border);
  vertical-align: middle;
}

.siaya-table tbody tr {
  transition: background 0.2s;
}

.siaya-table tbody tr:hover {
  background: rgba(96, 185, 69, 0.05);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.badge-success { background: rgba(40,167,69,0.1); color: #155724; }
.badge-warning { background: rgba(255,193,7,0.1); color: #856404; }
.badge-danger { background: rgba(220,53,69,0.1); color: #721c24; }
.badge-info { background: rgba(23,162,184,0.1); color: #0c5460; }
.badge-primary { background: rgba(96,185,69,0.1); color: var(--siaya-primary); }

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pagination .page-item {
  list-style: none;
}

.pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--siaya-border);
  background: white;
  color: var(--siaya-text);
  text-decoration: none;
  transition: all 0.3s;
}

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

.pagination .active .page-link {
  background: var(--siaya-primary);
  border-color: var(--siaya-primary);
  color: white;
}

/* Toast Messages */
.toast-message {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  min-width: 320px;
}

.toast {
  background: white;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid;
}

.toast-success { border-left-color: var(--siaya-success); }
.toast-error { border-left-color: var(--siaya-danger); }
.toast-warning { border-left-color: var(--siaya-warning); }
.toast-info { border-left-color: var(--siaya-info); }

.toast-icon {
  font-size: 20px;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 2px;
}

.toast-message-text {
  font-size: 13px;
  color: var(--siaya-text-gray);
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--siaya-text-gray);
}

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

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255,255,255,0.3);
  border-top: 4px solid var(--siaya-secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ──────────────────────────────────────────────
   MOBILE SIDE MENU
   ────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -2px 0 20px rgba(0,0,0,0.1);
  z-index: 2001;
  transition: right 0.3s ease;
  padding: 80px 20px 20px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  margin-bottom: 16px;
}

.mobile-menu li a {
  text-decoration: none;
  color: #020407;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  transition: color 0.3s;
}

.mobile-menu li a:hover,
.mobile-menu li a.active {
  color: var(--siaya-primary);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
}

.menu-overlay.active {
  display: block;
}

/* Floating Secondary Menu */
.floating-secondary-menu {
  position: fixed;
  left: 20px;
  top: 120px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  z-index: 998;
  transition: top 0.3s ease;
  border: 1px solid var(--siaya-border);
}

.floating-secondary-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--siaya-text);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.floating-secondary-menu a i {
  width: 18px;
  color: var(--siaya-secondary);
}

.floating-secondary-menu a:hover {
  background: var(--siaya-bg);
  border-left-color: var(--siaya-secondary);
  color: var(--siaya-primary);
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 0;
  margin-bottom: 20px;
  background: transparent;
}

.breadcrumb-item {
  color: var(--siaya-text-gray);
  font-size: 13px;
}

.breadcrumb-item a {
  color: var(--siaya-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  color: var(--siaya-secondary);
}

.breadcrumb-item.active {
  color: var(--siaya-text);
}

.breadcrumb-separator {
  color: var(--siaya-border);
}

/* Accordion */
.accordion {
  border: 1px solid var(--siaya-border);
  border-radius: 12px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--siaya-border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 16px 20px;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: var(--siaya-bg);
}

.accordion-header h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--siaya-primary);
}

.accordion-icon {
  transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 20px;
  max-height: 500px;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  background: white;
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--siaya-border);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--siaya-text-gray);
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn:hover {
  background: var(--siaya-bg);
  color: var(--siaya-primary);
}

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

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: block;
}

/* Tooltips */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]:before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  background: #333;
  color: white;
  font-size: 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
}
/* Apply margin-top: 40px to all inner pages */
.pageContent {
    margin-top: 122px !important;
}

/* Exclude margin-top on the homepage */
body.home .pageContent {
    margin-top: 0px !important;
}
.py-4 {
  padding-top: 6.5rem !important;
}
[data-tooltip]:hover:before {
  opacity: 1;
  visibility: visible;
  margin-bottom: 8px;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid var(--siaya-border);
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: none;
  animation: zoomIn 0.2s ease;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--siaya-text);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--siaya-bg);
}

/* Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 28px;
  transition: 0.3s;
}

.switch .slider:before {
  content: '';
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background: var(--siaya-primary);
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}

/* Count Up Animation */
.count-up {
  animation: countUp 1s ease-out;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================
   CONTRACTOR DASHBOARD STYLES
   ============================================ */

.contractor-dashboard {
    padding: 20px 0;
}

.dashboard-header {
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-title h1 {
    font-size: 28px;
    color: var(--siaya-primary);
    margin-bottom: 5px;
}

.header-title p {
    color: var(--siaya-text-gray);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: transparent !important;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgb(135, 173, 53);
    transition: transform 0.3s;
    cursor: pointer;
}

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

.stat-card.active {
    border: 2px solid var(--siaya-primary);
    background: #f0f4f9;
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--siaya-primary);
}

.stat-label {
    color: var(--siaya-text-gray);
    font-size: 13px;
    margin-top: 5px;
}

/* Search Section */
.search-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--siaya-border);
    border-radius: 8px;
    font-size: 14px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--siaya-text-gray);
}

.filter-select {
    padding: 12px 16px;
    border: 1px solid var(--siaya-border);
    border-radius: 8px;
    font-size: 14px;
    min-width: 150px;
}

/* Table */
.table-container {
    background: white;
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: var(--siaya-bg);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--siaya-primary);
    border-bottom: 2px solid var(--siaya-border);
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid var(--siaya-border);
    vertical-align: middle;
}

.data-table tr:hover {
    background: var(--siaya-bg);
}

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

.status-ACTIVE { background: #d1fae5; color: #065f46; }
.status-PRE_QUALIFIED { background: #dbeafe; color: #1e40af; }
.status-INACTIVE { background: #fef3c7; color: #92400e; }
.status-SUSPENDED { background: #fee2e2; color: #991b1b; }
.status-BLACKLISTED { background: #fecaca; color: #7f1d1d; }
.status-UNDER_REVIEW { background: #e0e7ff; color: #3730a3; }

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--siaya-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--siaya-border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: white;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--siaya-text-gray);
}

.close-btn:hover {
    color: var(--siaya-danger);
}

/* Form */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--siaya-primary);
    font-size: 13px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--siaya-border);
    border-radius: 8px;
    font-size: 14px;
}

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

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

/* Toast Alert */
.toast-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1100;
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2 !important;

  background: linear-gradient(
    135deg,
    rgba(20, 70, 140, 0.45) 0%,   /* softened blue */
    rgba(30, 120, 90, 0.35) 50%,  /* green blend */
    rgba(20, 70, 140, 0.25) 100%  /* lighter blue fade */
  ) !important;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-success { border-left: 4px solid var(--siaya-success); }
.toast-error { border-left: 4px solid var(--siaya-danger); }
.toast-warning { border-left: 4px solid var(--siaya-warning); }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: var(--siaya-text-gray);
    margin-bottom: 16px;
}

/* Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--siaya-border);
    border-top-color: var(--siaya-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .data-table th,
    .data-table td {
        padding: 10px;
    }
}
/* ================================================
   RESPONSIVE BREAKPOINTS
   ================================================ */
@media (max-width: 1200px) {
  .container {
    max-width: 95%;
  }
  
  .grid-5 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-stats {
    display: none;
  }
  
  .finance-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .projects-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .dept-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .feedback-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .report-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .floating-secondary-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }
  
  .navbar {
    top: 0;
    height: 70px;
  }
  
  .top-bar {
    padding: 4px 0;
  }
  
  .top-bar-content {
    flex-direction: column;
    text-align: center;
  }
  
  .top-bar-contact {
    justify-content: center;
  }
  
  .top-bar-right {
    justify-content: center;
  }
  
  .hero-text h1 {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .finance-cards {
    grid-template-columns: 1fr;
  }
  
  .projects-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feedback-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .template-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .grid-3, .grid-4, .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .logo-icon {
    width: 60px;
    height: 60px;
  }
  
  .modal {
    max-width: 95%;
  }
  
  .toast-message {
    left: 20px;
    right: 20px;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 24px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .dept-grid,
  .projects-stats-grid,
  .grid-2, .grid-3, .grid-4, .grid-5 {
    grid-template-columns: 1fr;
  }
  
  .logo-icon {
    width: 50px;
    height: 50px;
  }
  
  .navbar {
    height: 60px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .stats-card .stat-value {
    font-size: 24px;
  }
  
  .finance-extras {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-btn {
    white-space: nowrap;
  }
}

/* Print Styles */
@media print {
  .top-bar,
  .navbar,
  .footer,
  .hero-buttons,
  .btn,
  .mobile-menu-btn,
  .floating-secondary-menu,
  .toast-message,
  .modal-overlay {
    display: none !important;
  }
  
  body {
    padding-top: 0;
    background: white;
  }
  
  .hero {
    min-height: auto;
    padding: 20px 0;
  }
  
  .hero-overlay {
    background: none;
  }
  
  .hero-text {
    color: black;
    text-shadow: none;
  }
  
  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  a {
    text-decoration: none;
    color: black;
  }
}