/* Page Hero Section */
.page-hero {
  position: relative;
  height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/careers-hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-top: 80px;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.2s forwards;
}

/* Why Join Us Section */
.why-join-section {
  padding: 4rem 0;
  background: #f8fafc;
}

.why-join-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.benefit-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
  font-size: 2.5rem;
  color: #2563eb;
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: #4b5563;
}

/* Current Openings Section */
.current-openings {
  padding: 4rem 0;
  background: #fff;
}

.current-openings h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 3rem;
}

.openings-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 2px solid #2563eb;
  border-radius: 5px;
  color: #2563eb;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #2563eb;
  color: #fff;
}

.job-listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.job-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.job-header h3 {
  font-size: 1.3rem;
  color: #1f2937;
}

.job-type {
  background: #2563eb;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.job-details {
  margin-bottom: 1.5rem;
}

.job-details p {
  color: #4b5563;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.job-details i {
  margin-right: 0.5rem;
  color: #2563eb;
}

.job-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
}

.btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* Employee Benefits Section */
.employee-benefits {
  padding: 4rem 0;
  background: #f8fafc;
}

.employee-benefits h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 3rem;
}

/* Application Process Section */
.application-process {
  padding: 4rem 0;
  background: #fff;
}

.application-process h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 3rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.3rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.step p {
  color: #6b7280;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-hero {
    height: 300px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .openings-filter {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 100%;
    max-width: 300px;
  }

  .job-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .benefit-card,
  .job-card {
    padding: 1.5rem;
  }

  .benefit-card i {
    font-size: 2rem;
  }

  .job-type {
    font-size: 0.8rem;
  }
}