/* =========================================
   PAGE STRUCTURE
========================================= */
main {
  width: 95%;
  max-width: 1200px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* PAGE TITLE */
.page-title {
  color: #013c74;
  text-align: center;
  font-weight: 700;
  margin-bottom: 30px;
  font-size: 1.8em;
  border-bottom: 3px solid #d0e3f5;
  padding-bottom: 8px;
}

/* =========================================
   JOB SECTION
========================================= */
.job-section h3 {
  color: #013c74;
  font-weight: 600;
  margin-bottom: 15px;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* JOB CARD */
.job-card {
  background: linear-gradient(180deg, #f3f9ff 0%, #eaf3fb 100%);
  border: 1px solid #d0e3f5;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 3px 10px rgba(172, 204, 233, 0.1);
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.job-card:hover {
  transform: translateY(-5px);
  border-color: #0254a2;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
  box-shadow: 0 6px 15px rgba(1, 60, 116, 0.15);
}

.job-card h4 {
  color: #012a56;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.05em;
}

.job-card p {
  color: #2e4a6b;
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* APPLY BUTTON */
.job-card button {
  align-self: flex-start;
  background: #ffd700;
  color: #013c74;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.job-card button:hover {
  background: #013c74;
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================
   WHY WORK WITH US
========================================= */
.why-work {
  margin-top: 50px;
}

.why-work h3 {
  color: #013c74;
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 2px solid #d0e3f5;
  padding-bottom: 5px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.why-box {
  background: #f3f9ff;
  border: 1px solid #d0e3f5;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  color: #013c74;
  font-weight: 600;
  font-size: 0.95em;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(1, 60, 116, 0.05);
}

.why-box:hover {
  background: #013c74;
  color: #ffd700;
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(1, 60, 116, 0.15);
}

/* =========================================
   APPLY FORM
========================================= */
.apply-form {
  margin-top: 50px;
  background: #f9fbff;
  border: 1px solid #d0e3f5;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(172, 204, 233, 0.15);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

.apply-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(1, 60, 116, 0.15);
}

.apply-form h3 {
  color: #013c74;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 2px solid #d0e3f5;
  padding-bottom: 5px;
}

/* FORM ELEMENTS */
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #cfd8e6;
  border-radius: 6px;
  background: #fff;
  font-size: 0.95em;
  outline: none;
  transition: all 0.3s ease;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  border-color: #013c74;
  box-shadow: 0 0 5px rgba(1, 60, 116, 0.25);
}

/* SUBMIT BUTTON */
.apply-form button {
  margin-top: 20px;
  width: 100%;
  background: #013c74;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.apply-form button:hover {
  background: #0254a2;
  transform: translateY(-2px);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 992px) {
  main {
    padding: 25px;
  }

  .job-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 600px) {
  main {
    padding: 20px;
  }

  .apply-form {
    padding: 20px;
  }

  .page-title {
    font-size: 1.5em;
  }
}
