/* =========================================================
   TRAINING PAGE RESET
========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #ffffff;

  color: #111111;

  font-family: Arial, Helvetica, sans-serif;
}

.training-page {
  width: 100%;
}

/* =========================================================
   INTRODUCTION
========================================================= */

.training-intro {
  width: min(1320px, 97%);

  margin: 0 auto;

  padding: 12px 8px 4px;

  background: #fff0fb;
}

.training-intro h1 {
  margin: 0 0 14px;

  color: red;

  font-size: 24px;
  font-weight: 700;

  line-height: 1.3;

  text-align: center;
}

.training-intro p {
  margin: 0 0 16px;

  color: #111111;

  font-size: 14px;
  font-weight: 500;

  line-height: 1.65;

  text-align: left;
}

.training-intro strong {
  font-weight: 700;
}

.training-highlight {
  color: #ff7a00 !important;

  font-size: 15px !important;
  font-weight: 700 !important;
}

/* =========================================================
   BENEFITS
========================================================= */

.benefits-section {
  width: min(1050px, 92%);

  margin: 0 auto;

  padding: 0;
}

.benefits-section h2 {
  margin: 0;

  padding: 0 0 5px;

  color: red;

  font-size: 20px;
  font-weight: 700;

  line-height: 1.2;

  border-bottom: 3px solid #1769e8;
}

.benefit-item {
  width: 100%;

  min-height: 37px;

  display: flex;

  align-items: center;

  border-bottom: 1px solid #222222;

  color: #111111;

  font-size: 18px;
  font-weight: 700;

  line-height: 1.3;
}

/* =========================================================
   REGISTRATION HEADING
========================================================= */

.registration-heading {
  width: min(1050px, 92%);

  margin: 105px auto 0;

  text-align: center;
}

.registration-heading p {
  margin: 0 0 20px;

  color: red;

  font-size: 17px;
  font-weight: 600;
}

.registration-heading h2 {
  margin: 0;

  color: #444444;

  font-size: 28px;
  font-weight: 700;

  line-height: 1.2;
}

/* =========================================================
   FORM SECTION
========================================================= */

.registration-section {
  width: 100%;

  margin: 0;
  padding: 50px 0 35px;
}

.training-form {
  width: min(1050px, 92%);

  margin: 0 auto;
}

/* =========================================================
   PHOTO UPLOAD
========================================================= */

.photo-upload {
  width: 100%;

  margin-bottom: 28px;
}

.photo-upload label,
.form-group label,
.qr-section > label {
  display: block;

  margin-bottom: 6px;

  color: #111111;

  font-size: 14px;
  font-weight: 500;

  line-height: 1.2;
}

.photo-upload input[type="file"],
.form-group input[type="file"] {
  display: block;

  width: auto;

  color: #333333;

  font-size: 14px;
}

/* =========================================================
   FORM GRID
========================================================= */

.form-grid {
  display: grid;

  width: 100%;

  gap: 22px 27px;

  margin-bottom: 25px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.form-group {
  min-width: 0;
}

.full-width {
  width: 100%;

  margin-bottom: 25px;
}

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

.form-group input,
.form-group select {
  display: block;

  width: 100%;

  height: 40px;

  padding: 0 10px;

  border: 1px solid #222222;
  border-radius: 3px;

  background: #ffffff;

  color: #111111;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 14px;

  outline: none;
}

.form-group input::placeholder {
  color: #888888;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #1769e8;
}

/* =========================================================
   SELECT
========================================================= */

.form-group select {
  cursor: pointer;
}

/* =========================================================
   QR CODE
========================================================= */

.qr-section {
  width: 100%;

  margin: 10px 0 35px;
}

.qr-code {
  display: block;

  width: 430px;
  max-width: 100%;

  height: auto;

  margin: 15px auto 0;
}

/* =========================================================
   SUBMIT
========================================================= */

.submit-area {
  width: 100%;

  margin-top: 10px;
}

.submit-button {
  width: 90px;
  height: 36px;

  padding: 0;

  border: 0;

  background: red;
  color: #ffffff;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
}

.submit-button:hover {
  background: #d90000;
}

/* =========================================================
   BOTTOM BUTTONS
========================================================= */

.form-bottom {
  width: 100%;

  margin-top: 35px;

  display: flex;

  align-items: flex-end;
  justify-content: space-between;
}

.edit-form {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 8px;
}

.edit-form span {
  color: #333333;

  font-size: 14px;
}

.edit-form a,
.apply-job-button {
  display: flex;

  align-items: center;
  justify-content: center;

  min-width: 123px;
  height: 37px;

  padding: 0 15px;

  background: #0867e8;
  color: #ffffff;

  border: 2px solid #000000;
  border-radius: 11px;

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.edit-form a:hover,
.apply-job-button:hover {
  background: #0755c2;

  transform: translateY(-1px);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .training-intro {
    width: 96%;
  }

  .training-form,
  .registration-heading,
  .benefits-section {
    width: 92%;
  }

  .three-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qr-code {
    width: 390px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .training-intro {
    width: 94%;

    padding: 12px 10px;
  }

  .training-intro h1 {
    font-size: 20px;
  }

  .training-intro p {
    font-size: 13px;
    line-height: 1.6;
  }

  .benefits-section {
    width: 92%;
  }

  .benefits-section h2 {
    font-size: 18px;
  }

  .benefit-item {
    min-height: 40px;

    font-size: 16px;
  }

  .registration-heading {
    width: 92%;

    margin-top: 65px;
  }

  .registration-heading p {
    font-size: 15px;
  }

  .registration-heading h2 {
    font-size: 25px;
  }

  .registration-section {
    padding-top: 35px;
  }

  .training-form {
    width: 92%;
  }

  .two-columns,
  .three-columns {
    grid-template-columns: 1fr;
  }

  .form-grid {
    gap: 18px;

    margin-bottom: 18px;
  }

  .form-group input,
  .form-group select {
    height: 42px;
  }

  .qr-code {
    width: 320px;
  }

  .form-bottom {
    flex-direction: column;

    align-items: stretch;

    gap: 20px;
  }

  .edit-form {
    align-items: flex-start;
  }

  .apply-job-button {
    align-self: flex-end;
  }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {
  .training-intro h1 {
    font-size: 18px;
  }

  .training-intro p {
    font-size: 12px;
  }

  .benefit-item {
    font-size: 14px;
  }

  .registration-heading p {
    font-size: 14px;
  }

  .registration-heading h2 {
    font-size: 22px;
  }

  .qr-code {
    width: 280px;
  }

  .apply-job-button {
    align-self: stretch;
  }
}

/* =========================================================
   TRAINING HERO
========================================================= */

.training-hero {
  position: relative;

  width: 100%;
  height: 650px;

  overflow: hidden;

  margin: 0;
  padding: 0;
}

/* =========================================================
   VIDEO
========================================================= */

.training-hero-video {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 100%;
  height: 100%;

  transform: translate(-50%, -50%);

  object-fit: cover;

  display: block;
}

/* =========================================================
   OVERLAY
========================================================= */

.training-hero-overlay {
  position: absolute;

  inset: 0;

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

  z-index: 1;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .training-hero {
    height: 550px;
  }

  .training-hero-content h1 {
    font-size: 40px;
  }

  .training-hero-content p {
    font-size: 19px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .training-hero {
    height: 430px;
  }

  .training-hero-content h1 {
    font-size: 30px;
  }

  .training-hero-content p {
    font-size: 16px;
  }
}

/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 480px) {
  .training-hero {
    height: 350px;
  }

  .training-hero-content h1 {
    font-size: 24px;
  }

  .training-hero-content p {
    font-size: 14px;
  }
}
