/* =========================================================
   MEMBERSHIP PAGE
========================================================= */

* {
  box-sizing: border-box;
}

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

body {
  background: #ffffff;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
}

/* =========================================================
   MEMBERSHIP HEADER
========================================================= */

.membership-header {
  width: 100%;

  background: #ffffff;

  padding: 8px 0 24px;
}

.membership-brand {
  width: min(1050px, 92%);

  margin: 0 auto;

  display: grid;

  grid-template-columns: 150px 1fr;

  align-items: center;

  gap: 20px;
}

.membership-logo {
  width: 145px;
  height: 150px;

  display: flex;

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

.membership-logo img {
  width: 145px;
  height: 150px;

  display: block;

  object-fit: contain;
}

.membership-brand-content {
  text-align: center;
}

.membership-brand-content h1 {
  margin: 0;

  color: #119fe4;

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

  line-height: 1.08;

  text-transform: uppercase;
}

.registration-number {
  margin: 8px 0 0;

  color: #111111;

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

.membership-tagline {
  margin: 12px 0 0;

  color: red;

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

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

.membership-form-section {
  width: 100%;

  background: #ffffff;

  padding: 5px 0 45px;
}

.membership-form-container {
  width: min(1010px, 92%);

  margin: 0 auto;
}

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

.membership-form-title {
  margin: 0 0 28px;

  color: #222222;

  font-size: 42px;
  font-weight: 400;

  line-height: 1.2;
}

/* =========================================================
   LETTER
========================================================= */

.membership-letter {
  color: #222222;

  font-size: 14px;
  line-height: 1.8;
}

.membership-letter p {
  margin: 0 0 22px;
}

.membership-letter .letter-space {
  margin-top: 100px;
}

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

.membership-form {
  width: 100%;

  margin-top: 15px;
}

.member-grid {
  width: 100%;

  display: grid;

  gap: 20px 27px;

  margin-bottom: 25px;
}

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

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

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

.full-width {
  width: 100%;

  margin-bottom: 25px;
}

.member-form-group label,
.member-file-field label,
.membership-payment > label {
  display: block;

  margin-bottom: 6px;

  color: #222222;

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

  line-height: 1.2;
}

.form-small-label {
  display: block;

  margin-bottom: 6px;

  color: #222222;

  font-size: 14px;
}

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

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

  width: 100%;
  height: 40px;

  padding: 0 10px;

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

  background: #ffffff;

  color: #111111;

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

  font-size: 14px;

  outline: none;
}

.member-form-group input::placeholder {
  color: #8a8a8a;
}

.member-form-group input:focus,
.member-form-group select:focus {
  border-color: #0879d1;
}

/* =========================================================
   FILE UPLOAD
========================================================= */

.member-file-field {
  width: 100%;

  margin-bottom: 28px;
}

.member-file-field input[type="file"] {
  display: block;

  width: auto;

  color: #333333;

  font-size: 11px;
}

.member-file-field input[type="file"]::file-selector-button {
  height: 36px;

  margin-right: 10px;

  padding: 0 13px;

  border: 0;

  background: red;
  color: #ffffff;

  cursor: pointer;

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

/* =========================================================
   INTERESTED POST
========================================================= */

.interested-post {
  margin-top: 10px;
}

.interested-post select {
  height: 56px;

  padding-left: 10px;

  font-size: 14px;
}

/* =========================================================
   FEES
========================================================= */

.membership-fees {
  margin-top: 30px;

  padding-bottom: 10px;
}

.membership-fees h2 {
  margin: 0 0 6px;

  color: red;

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

  line-height: 1.2;
}

.membership-fees > p {
  margin: 0;

  color: #222222;

  font-size: 13px;

  line-height: 1.5;
}

.membership-fee-highlight {
  margin-top: 95px;
}

.membership-fee-highlight p {
  margin: 0 0 8px;

  color: #0000ff;

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

  line-height: 1.45;
}

.membership-fees h3 {
  margin: 22px 0 0;

  color: #111111;

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

  line-height: 1.45;
}

/* =========================================================
   PAYMENT QR
========================================================= */

.membership-payment {
  width: 100%;

  margin-top: 35px;
}

.membership-qr {
  width: 100%;

  display: flex;

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

  margin-top: 15px;
}

.membership-qr img {
  display: block;

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

  height: auto;

  object-fit: contain;
}

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

.membership-submit {
  margin-top: 20px;
}

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

  border: 0;

  background: #eeeeee;
  color: #222222;

  font-size: 13px;

  cursor: pointer;
}

.membership-submit button:hover {
  background: #dddddd;
}

/* =========================================================
   BOTTOM NAVIGATION
========================================================= */

.membership-bottom {
  width: 100%;

  margin-top: 38px;

  display: flex;

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

.membership-bottom > div {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 8px;
}

.membership-bottom span {
  color: #333333;

  font-size: 11px;
}

.membership-bottom a {
  display: flex;

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

  min-width: 120px;
  height: 38px;

  padding: 0 15px;

  background: #0870e8;
  color: #ffffff;

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

  text-decoration: none;

  font-size: 13px;
  font-weight: 700;
}

.membership-bottom a:hover {
  background: #0756c2;
}

.membership-contact-button {
  min-width: 108px;
}

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

@media (max-width: 900px) {
  .membership-brand {
    width: 92%;

    grid-template-columns: 120px 1fr;
  }

  .membership-logo {
    width: 115px;
    height: 125px;
  }

  .membership-logo img {
    width: 115px;
    height: 125px;
  }

  .membership-brand-content h1 {
    font-size: 40px;
  }

  .membership-form-container {
    width: 92%;
  }
}

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

@media (max-width: 768px) {
  .membership-brand {
    width: 92%;

    grid-template-columns: 80px 1fr;

    gap: 10px;
  }

  .membership-logo {
    width: 78px;
    height: 90px;
  }

  .membership-logo img {
    width: 78px;
    height: 90px;
  }

  .membership-brand-content h1 {
    font-size: 27px;
  }

  .registration-number {
    font-size: 10px;
  }

  .membership-tagline {
    font-size: 9px;
  }

  .membership-form-title {
    font-size: 32px;
  }

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

  .member-grid {
    gap: 18px;

    margin-bottom: 20px;
  }

  .membership-letter .letter-space {
    margin-top: 55px;
  }

  .membership-fee-highlight {
    margin-top: 55px;
  }

  .membership-fee-highlight p {
    font-size: 18px;
  }

  .membership-fees h3 {
    font-size: 18px;
  }

  .membership-qr img {
    width: 290px;
  }

  .membership-bottom {
    flex-direction: column;

    align-items: stretch;

    gap: 25px;
  }

  .membership-contact-button {
    align-self: flex-end;
  }
}

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

@media (max-width: 480px) {
  .membership-brand {
    grid-template-columns: 65px 1fr;
  }

  .membership-logo {
    width: 62px;
    height: 75px;
  }

  .membership-logo img {
    width: 62px;
    height: 75px;
  }

  .membership-brand-content h1 {
    font-size: 21px;
  }

  .registration-number {
    font-size: 8px;
  }

  .membership-tagline {
    font-size: 8px;
  }

  .membership-form-title {
    font-size: 27px;
  }

  .membership-fees h2 {
    font-size: 22px;
  }

  .membership-fee-highlight p {
    font-size: 16px;
  }

  .membership-fees h3 {
    font-size: 16px;
  }

  .membership-qr img {
    width: 240px;
  }
}
