/* ==========================================
   APPLY HERO
========================================== */

.apply-hero {
  position: relative;

  width: 100%;

  height: 300px;

  background: url("/images/pexels-tonynojmansk-186688133-12359622.jpg")
    center/cover no-repeat;

  display: flex;

  align-items: center;

  justify-content: center;
}

.apply-hero .overlay {
  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 20px;
}

.apply-hero .overlay h1 {
  color: #fff;

  font-size: 42px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.apply-hero .overlay p {
  color: #e0e0e0;

  font-size: 17px;

  margin-top: 10px;
}

/* ==========================================
   GOOGLE FONT
========================================== */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* ==========================================
   RESET
========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* ==========================================
   BODY
========================================== */

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #f5f6fa;
}

/* ==========================================
   CONTAINER
========================================== */

.job-container {
  width: 100%;
  max-width: 1000px;

  margin: 40px auto;

  background: #ffffff;

  padding: 40px;

  border-radius: 10px;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.job-container h1 {
  text-align: center;

  color: #4274d9;

  margin-bottom: 20px;
}

hr {
  border: none;

  height: 1px;

  background: #ddd;

  margin-bottom: 35px;
}

/* ==========================================
   SECTION TITLE
========================================== */

.section-title {
  margin: 35px 0 20px;

  font-size: 22px;

  color: #4274d9;

  border-left: 5px solid #4274d9;

  padding-left: 12px;
}

/* ==========================================
   ROW
========================================== */

.row {
  display: flex;

  gap: 20px;

  margin-bottom: 20px;
}

/* ==========================================
   FORM GROUP
========================================== */

.form-group {
  flex: 1;

  display: flex;

  flex-direction: column;
}

.form-group.full {
  width: 100%;
}

/* ==========================================
   LABEL
========================================== */

label {
  font-size: 14px;

  font-weight: 600;

  margin-bottom: 8px;

  color: #333;
}

/* ==========================================
   INPUTS
========================================== */

input,
select,
textarea {
  width: 100%;

  padding: 12px 15px;

  border: 1px solid #d7d7d7;

  border-radius: 6px;

  outline: none;

  font-size: 15px;

  transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #1d3557;

  box-shadow: 0 0 5px rgba(29, 53, 87, 0.2);
}

textarea {
  resize: vertical;
}

/* ==========================================
   FILE INPUT
========================================== */

input[type="file"] {
  padding: 10px;
}

/* ==========================================
   CHECKBOX
========================================== */

.checkbox-label {
  display: flex;

  align-items: flex-start;

  gap: 10px;
}

.checkbox-label input {
  width: auto;

  margin-top: 5px;
}

/* ==========================================
   BUTTON
========================================== */

.submit-btn {
  width: 100%;

  padding: 15px;

  border: none;

  border-radius: 6px;

  background: #4274d9;

  color: #fff;

  font-size: 17px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.3s;
}

.submit-btn:hover {
  background: #16304d;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 768px) {
  .job-container {
    width: 95%;

    padding: 25px;

    margin: 20px auto;
  }

  .row {
    flex-direction: column;

    gap: 15px;
  }

  .apply-hero {
    height: 200px;
  }

  .apply-hero .overlay h1 {
    font-size: 32px;
  }

  .apply-hero .overlay p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .apply-hero .overlay h1 {
    font-size: 24px;
  }

  .apply-hero .overlay p {
    font-size: 13px;
  }

  .job-container h1 {
    font-size: 24px;
  }

  .section-title {
    font-size: 18px;
  }
}
