
/* Global Styles */
body  {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding-top: 76px;
  
}
.home-page {
  background: url(images/img.jpeg) ;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.jobs-page {
  background-color: #8EB69B;
}
.admin-page{
  background-color: #8EB69B;
}
.apply-page{
  background-color: #8EB69B;
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Hero Section */
.hero-section {
  margin-top: 0;
  padding-top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-stats {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(128, 116, 116, 0.1);
}

.stat-item h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Page Headers */
.page-header {
  padding: 120px 0 80px;
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

/* Job Cards */
.job-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid #e9ecef;
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.job-header {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: 1rem;
}

.job-header h5 {
  margin: 0;
  color: var(--primary-color);
  font-weight: 600;
}

.job-details p {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.job-description {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

/* Job Card Detailed (for jobs page) */
.job-card-detailed {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: box-shadow 0.3s ease;
}

.job-card-detailed:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.job-info h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.job-tags .badge {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Search Bar */
.search-bar .input-group {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.search-bar .form-control {
  border: none;
  padding: 1rem;
}

.search-bar .btn {
  border: none;
  padding: 1rem 1.5rem;
}

/* Application Form */
.application-form {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-section {
  display: none;
}

.form-section.active {
  display: block;
}

.form-navigation {
  border-top: 1px solid #e9ecef;
  padding-top: 1.5rem;
}

/* Admin Portal */
.admin-sidebar .nav-pills .nav-link {
  color: var(--dark-color);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.admin-sidebar .nav-pills .nav-link:hover {
  background-color: var(--light-color);
}

.admin-sidebar .nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

/* Stat Cards */
.stat-card {
  background: #DAF1DE;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.stat-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark-color);
}

.stat-content p {
  margin: 0;
  color: var(--secondary-color);
  font-size: 0.9rem;
}
.card-header{
  background-color: #DAF1De;
}

/* Job Posting Cards */
.job-posting-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.job-posting-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.job-posting-details p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Candidate Cards */
.candidate-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.candidate-card:hover {
  transform: translateY(-3px);
}

.candidate-header {
  margin-bottom: 1rem;
}

.candidate-details {
  text-align: left;
  margin-bottom: 1rem;
}

.candidate-details p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.candidate-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

/* Avatars */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

/* Contact Page */
.contact-page {
  background-color: #8EB69B;
}
.contact-form {
  background: #DAF1DE;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info {
  background: url(images/img.jpeg);
  border-radius: 15px;
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-details h5 {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.contact-details p {
  margin: 0;
  color: var(--secondary-color);
}

/* Sidebar */
.sidebar .card {
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Progress Bars */
.progress {
  height: 8px;
  border-radius: 10px;
}

.progress-bar {
  border-radius: 10px;
}

/* Position Stats */
.position-stats {
  padding: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 2rem 0;
  }

  .hero-stats {
    margin-top: 2rem;
  }

  .stat-card {
    flex-direction: column;
    text-align: center;
  }

  .stat-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .job-card-detailed .row > div:last-child {
    text-align: left;
    margin-top: 1rem;
  }

  .candidate-actions {
    flex-direction: column;
  }

  .form-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .admin-user-info {
    margin-top: 1rem;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .form-navigation {
    display: none !important;
  }

  body {
    padding-top: 0;
  }

  .page-header {
    padding: 2rem 0;
    background: none !important;
    color: black !important;
  }
}

/* Login Page Styles */
.login-page {
   background-color: #8EB69B;
}

.login-section {
  padding: 2rem 0;
}

.login-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-logo {
  margin-bottom: 1.5rem;
}

.login-header h2 {
  color: #01040a;
  margin-bottom: 0.5rem;
}

.login-header p {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.input-group-text {
  background-color: var(--light-color);
  border-color: #dee2e6;
  color: var(--secondary-color);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}

.demo-credentials {
  border-top: 1px solid #e9ecef;
  padding-top: 1.5rem;
}

.demo-credentials .alert {
  border-radius: 15px;
  border: none;
  background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
}

/* Password Strength Indicator */
.password-strength {
  height: 4px;
  border-radius: 2px;
  margin-top: 0.5rem;
  background-color: #e9ecef;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.strength-weak {
  background-color: #dc3545;
  width: 33%;
}
.strength-medium {
  background-color: #ffc107;
  width: 66%;
}
.strength-strong {
  background-color: #198754;
  width: 100%;
}

/* Authentication Status */
.auth-status {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 1050;
  max-width: 300px;
}

/* Loading Spinner */
.login-loading {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .login-card {
    padding: 2rem;
    margin: 1rem;
  }

  .login-section {
    padding: 1rem 0;
  }
}
