/* Clean Professional Design - Government Portal */

/* Professional Hero Section */
.hero-section-professional {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 3px solid var(--pgc-light-green);
  /* padding: 3rem 0; */
  /* background-image: url("../assets/images/pm/slider1.webp"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.government-badge .badge {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title-professional {
  color: #2d8f47;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle-professional {
  font-size: 1rem;
  line-height: 1.6;
  color: #6c757d;
}

.hero-stats-quick {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(45, 143, 71, 0.1);
}

.quick-stat {
  text-align: center;
  padding: 0.5rem;
}

/* PM Image Section */
.pm-image-section {
  position: relative;
}

.pm-image-container {
  position: relative;
  display: inline-block;
}

.pm-image {
  max-width: 100%;
  height: auto;
  border: 3px solid white;
  transition: all 0.3s ease;
}

.pm-image:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.pm-image-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: rgba(45, 143, 71, 0.9);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.pm-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

/* Filter Section */
.filter-section {
  background: #f8f9fa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.filter-card {
  border-radius: 12px;
  border: 1px solid rgba(45, 143, 71, 0.1);
}

.form-select {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.form-select:focus {
  border-color: var(--pgc-light-green);
  box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* Dashboard Section */
.dashboard-section {
  background: white;
}

/* Big Metric Cards */
.metric-card-big {
  transition: all 0.4s ease;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.metric-card-big::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: currentColor;
  opacity: 0.3;
}

.metric-card-big:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
  border-color: rgba(45, 143, 71, 0.3);
}

.metric-icon-big {
  transition: all 0.4s ease;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.metric-card-big:hover .metric-icon-big {
  transform: scale(1.15) rotate(5deg);
}

.metric-number-big {
  font-size: 4.5rem;
  font-weight: 900;
  margin: 1.5rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  line-height: 1;
}

.metric-label-big {
  font-size: 1.4rem;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 1.5rem;
}

.metric-indicator-big .badge {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Secondary Metric Cards */
.metric-card-secondary {
  transition: all 0.3s ease;
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.metric-card-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: currentColor;
  opacity: 0.2;
}

.metric-card-secondary:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1) !important;
  border-color: rgba(45, 143, 71, 0.2);
}

.metric-icon {
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.metric-card-secondary:hover .metric-icon {
  transform: scale(1.1);
}

.metric-number {
  font-size: 3rem;
  font-weight: 900;
  margin: 1rem 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.metric-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #495057;
}

.metric-indicator {
  background: rgba(248, 249, 250, 0.8);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  display: inline-block;
}

/* Gender Analysis */
.gender-analysis-card {
  background: rgba(248, 249, 250, 0.5);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.gender-analysis-card:hover {
  background: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.gender-icon-pro {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.percentage-badge .badge {
  font-size: 0.9rem;
  padding: 0.5rem 0.8rem;
}

.progress-professional {
  height: 8px;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.progress-professional .progress-bar {
  border-radius: 4px;
  transition: width 1s ease;
}

/* Employment Cards */
.employment-overview-card {
  background: rgba(248, 249, 250, 0.5);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.employment-overview-card:hover {
  background: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.employment-icon-pro {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.rate-badge .badge,
.currency-badge .badge {
  font-size: 0.9rem;
  padding: 0.5rem 0.8rem;
}

/* Employment Gender Section */
.employment-gender-section {
  background: rgba(248, 249, 250, 0.3);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.gender-employment-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.gender-employment-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.male-employment-pro {
  border-left: 4px solid var(--bs-primary);
}

.female-employment-pro {
  border-left: 4px solid var(--bs-success);
}

.gender-icon-small {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Subtle Background Colors */
.bg-success-subtle { background-color: rgba(25, 135, 84, 0.08) !important; }
.bg-primary-subtle { background-color: rgba(13, 110, 253, 0.08) !important; }
.bg-info-subtle { background-color: rgba(13, 202, 240, 0.08) !important; }
.bg-warning-subtle { background-color: rgba(255, 193, 7, 0.08) !important; }
.bg-secondary-subtle { background-color: rgba(108, 117, 125, 0.08) !important; }

/* Card Headers */
.card-header {
  background: white !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 15px 15px 0 0;
  padding: 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section-professional {
    padding: 2rem 0;
  }
  
  .hero-title-professional {
    font-size: 2.5rem;
  }
  
  .hero-subtitle-professional {
    font-size: 1.1rem;
  }
  
  .hero-stats-quick {
    padding: 1rem;
  }
  
  .quick-stat {
    margin-bottom: 1rem;
  }
  
  .metric-number {
    font-size: 2rem;
  }
  
  .pm-image {
    margin-top: 2rem;
  }
  
  .employment-gender-section {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title-professional {
    font-size: 2rem;
  }
  
  .metric-number {
    font-size: 1.8rem;
  }
  
  .gender-analysis-card,
  .employment-overview-card,
  .gender-employment-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .employment-gender-section {
    padding: 1rem;
  }
}

/* Animation Classes */
.fade-in-clean {
  animation: fadeInClean 0.6s ease-out;
}

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

/* Loading States */
.spinner-border-sm.text-success {
  color: var(--pgc-light-green) !important;
}

/* Accessibility */
.metric-card:focus-within,
.gender-analysis-card:focus-within,
.employment-overview-card:focus-within {
  outline: 2px solid var(--pgc-light-green);
  outline-offset: 2px;
}
