/* === General Careers Page Styles === */
.careers-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  padding-top: 15vh; /* Space for fixed navbar */
}

.careers-header {
  text-align: center;
  margin-bottom: 4rem;
}

.careers-header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.careers-header p {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* === Main Careers Body Layout === */
.careers-body {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.careers-left {
  flex: 2;
  min-width: 300px;
}

.careers-right {
  flex: 1;
  min-width: 300px;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  align-self: flex-start; /* Aligns to the top */
  position: sticky;
  top: 15vh;
}

/* === Job Listings === */
.careers-left h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.job-listing {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.job-listing h3 {
  font-size: 1.3rem;
  color: #343a40;
  margin-bottom: 0.5rem;
}

.job-listing p {
  color: #6c757d;
  line-height: 1.7;
}

/* === Benefits Section === */
.benefits-title {
  margin-top: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
}

.benefit-item i {
  font-size: 2.5rem;
  color: #90ce70; /* Green accent color */
  margin-bottom: 1rem;
}

.benefit-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  font-size: 0.9rem;
  color: #6c757d;
}

/* === Application Form === */
.careers-right h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #343a40;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid #ced4da;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #90ce70;
  box-shadow: 0 0 0 3px rgba(144, 206, 112, 0.25);
}

.careers-right button {
  width: 100%;
  padding: 0.8rem 2rem;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.careers-right button:hover {
  background-color: #90ce70;
}

/* === Responsive Design === */
@media (max-width: 992px) {
  .careers-body {
    flex-direction: column;
  }
  .careers-right {
    position: static; /* Unstick the form on smaller screens */
  }
}
