/* Hero Section */
.careers-hero {
    background: url('images/career.png') no-repeat center center / cover;
    height: 35vh;
    min-height: inherit;
    background-color: #007fff;
}

/* Job Openings Section Styles */
.job-openings-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-description {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Job Categories */
.job-categories {
  margin-bottom: 80px;
}

.intro-text {
  text-align: center;
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 40px;
  font-weight: 500;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.category-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-left: 5px solid #3b82f6;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card:nth-child(2) {
  border-left-color: #10b981;
}

.category-card:nth-child(3) {
  border-left-color: #8b5cf6;
}

.category-card:nth-child(4) {
  border-left-color: #f59e0b;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), transparent);
  border-radius: 0 0 0 100px;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.category-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.category-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-card ul li {
  padding: 8px 0;
  color: #475569;
  position: relative;
  padding-left: 25px;
  line-height: 1.5;
}

.category-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: #10b981;
  font-weight: bold;
  font-size: 14px;
}

/* Why Work With Us Section */
.why-work-section {
  margin-bottom: 80px;
}

.why-work-section h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-item {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid #3b82f6;
}

.benefit-item:nth-child(2) {
  border-top-color: #10b981;
}

.benefit-item:nth-child(3) {
  border-top-color: #8b5cf6;
}

.benefit-item:nth-child(4) {
  border-top-color: #f59e0b;
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
}

.benefit-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.benefit-item h4 i {
  font-size: 1.3rem;
  color: #3b82f6;
}

.benefit-item:nth-child(2) h4 i {
  color: #10b981;
}

.benefit-item:nth-child(3) h4 i {
  color: #8b5cf6;
}

.benefit-item:nth-child(4) h4 i {
  color: #f59e0b;
}

.benefit-item p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Contact Form Section */
.contact-form-section {
  background: white;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.contact-form-section h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.career-contact-form {
  margin-top: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input[type="file"] {
  padding: 8px;
  background: white;
  border: 2px dashed #d1d5db;
}

.form-group small {
  display: block;
  color: #6b7280;
  font-size: 0.85rem;
  margin-top: 5px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  transform: scale(1.2);
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(59, 130, 246, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}
/* Application Process Section */
.process-steps {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-steps:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background-color: var(--gray);
}

.process-step {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: 25px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.step-content {
  padding-top: 5px;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}
/* Responsive Design */
@media (max-width: 768px) {
  .job-openings-section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form-section {
    padding: 30px 20px;
    margin: 0 20px;
  }
  
  .category-card,
  .benefit-item {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .why-work-section h2 {
    font-size: 1.8rem;
  }
  
  .contact-form-section h2 {
    font-size: 1.8rem;
  }
  
  .category-card h3 {
    font-size: 1.2rem;
  }
  
  .benefit-item h4 {
    font-size: 1.1rem;
  }
}

/* Animation for form submission */
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.submit-btn.loading::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Success message styles */
.form-success {
  background: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
  font-weight: 500;
}

.form-error {
  background: #fee2e2;
  border: 1px solid #ef4444;
  color: #991b1b;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
  font-weight: 500;
}