/* Careers Page Specific Styles */

/* Hero Section */
.careers-hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.careers-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2071&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.careers-hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%); */
  z-index: 2;
}

.careers-hero-section .container {
  position: relative;
  z-index: 3;
}

.careers-hero-section .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.careers-hero-section .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 400;
}

.text-gradient {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Content Sections */
.careers-content {
  background: #f8f9fa;
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #312e81;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: #34495e;
  margin-bottom: 2rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #6366f1, #8b5cf6);
  margin: 0 auto;
  border-radius: 2px;
}

/* Introduction Section */
.careers-intro {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.careers-intro .lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #2c3e50;
}

.careers-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #5a6c7d;
}

/* No Positions Card */
.no-positions-card {
  margin-bottom: 3rem;
}

.no-positions-card .card {
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.no-positions-card h4 {
  color: #2c3e50;
  font-weight: 600;
}

.contact-methods {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  margin-top: 1.5rem;
}

.contact-item {
  font-size: 1.1rem;
}

.contact-item a {
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #8b5cf6 !important;
}

/* CV Submission Form */
.cv-submission-section .card {
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cv-submission-section .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-label {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.btn-primary {
  background: linear-gradient(45deg, #6366f1, #8b5cf6);
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
  background: linear-gradient(45deg, #5b21b6, #7c3aed);
}

/* Responsive Design */
@media (max-width: 768px) {
  .careers-hero-section .hero-title {
    font-size: 2.5rem;
  }

  .careers-hero-section .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.5rem;
  }

  .careers-intro {
    padding: 2rem;
  }

  .careers-intro .lead {
    font-size: 1.1rem;
  }

  .contact-methods {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .careers-hero-section .hero-title {
    font-size: 2rem;
  }

  .careers-intro {
    padding: 1.5rem;
  }

  .contact-methods {
    padding: 1rem;
  }

  .btn-primary {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* Why Join Section */
.why-join-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2.5rem;
  border-radius: 15px;
  margin-top: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.benefit-item {
  padding: 0.75rem 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #2c3e50;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(5px);
}

.benefit-item i {
  color: #6366f1 !important;
  flex-shrink: 0;
}

.benefit-item span {
  font-weight: 500;
}

/* Animation Enhancements */
.careers-intro,
.no-positions-card .card,
.cv-submission-section .card,
.why-join-section {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.careers-intro {
  animation-delay: 0.2s;
}

.no-positions-card .card {
  animation-delay: 0.4s;
}

.cv-submission-section .card {
  animation-delay: 0.6s;
}

.why-join-section {
  animation-delay: 0.3s;
}

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

/* Form Validation Styles */
.form-control.is-invalid {
  border-color: #dc3545;
}

.form-control.is-valid {
  border-color: #28a745;
}

.invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.valid-feedback {
  display: block;
  color: #28a745;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
