/* ==========================================================
   BOTTOM APPLY FORM SECTION
========================================================== */

.apply-bottom-section {
  position: relative;

  padding:
    90px
    82px
    115px;

  background: transparent;
}


/* ==========================================================
   MAIN GLASS CARD
========================================================== */

.apply-bottom-card {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(390px, 0.9fr)
    minmax(420px, 1fr);

  align-items: stretch;

  gap: 36px;

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

  margin: 0 auto;

  padding: 32px;

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, 0.2);

  border-radius: 30px;

  background:
    rgba(124, 72, 142, 0.2);

  -webkit-backdrop-filter:
    blur(18px);

  backdrop-filter:
    blur(18px);

  box-shadow:
    0 25px 60px
    rgba(143, 40, 164, 0.22),

    inset 0 1px 0
    rgba(113, 34, 165, 0.08);
}


/* subtle purple atmosphere */

.apply-bottom-card::before {
  content: "";

  position: absolute;

  z-index: 0;

  left: -220px;
  top: -260px;

  width: 600px;
  height: 600px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(118, 81, 247, 0.16) 0%,
      rgba(118, 81, 247, 0.06) 40%,
      transparent 72%
    );

  pointer-events: none;
}


/* subtle warm atmosphere */

.apply-bottom-card::after {
  content: "";

  position: absolute;

  z-index: 0;

  right: -250px;
  bottom: -300px;

  width: 650px;
  height: 650px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 98, 70, 0.11) 0%,
      rgba(210, 65, 135, 0.05) 42%,
      transparent 72%
    );

  pointer-events: none;
}


/* keep content above background effects */

.apply-bottom-card__form,
.apply-bottom-card__visual {
  position: relative;

  z-index: 2;
}


/* ==========================================================
   LEFT SIDE
========================================================== */

.apply-bottom-card__form {
  display: flex;

  min-width: 0;

  flex-direction: column;

  justify-content: center;

  padding:
    28px
    10px
    28px
    14px;
}


/* optional eyebrow if you have one */

.apply-bottom-card__form .apply-section-eyebrow {
  margin:
    0
    0
    14px;

  color: #b98aff;

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 0.08em;
}


.apply-bottom-card__form h2 {
  max-width: 440px;

  margin: 0;

  color: #ffffff;

  font-size:
    clamp(34px, 3.2vw, 50px);

  font-weight: 850;

  line-height: 1.06;

  letter-spacing: -0.055em;
}


.apply-bottom-card__form > p {
  max-width: 420px;

  margin:
    18px
    0
    0;

  color:
    rgba(255, 255, 255, 0.8);

  font-size: 14px;

  font-weight: 500;

  line-height: 1.6;
}


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

.apply-form-card--compact {
  width: 100%;

  max-width: none;

  margin-top: 28px;

  padding: 0;

  border: 0;

  border-radius: 0;

  background: transparent;

  -webkit-backdrop-filter: none;

  backdrop-filter: none;

  box-shadow: none;
}


/* ==========================================================
   FIELDS
========================================================== */

.apply-form-card--compact
.apply-form-card__fields {
  display: grid;

  gap: 15px;

  margin-top: 0;
}


.apply-form-card--compact
.apply-field {
  display: flex;

  flex-direction: column;

  gap: 7px;
}


.apply-form-card--compact
.apply-field span {
  color:
    rgba(255, 255, 255, 0.8);

  font-size: 12px;

  font-weight: 650;
}


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

.apply-form-card--compact
.apply-field input {
  width: 100%;

  height: 54px;

  padding:
    0
    21px;

  outline: none;

  border:
    1px solid
    rgba(255, 255, 255, 0.14);

  border-radius: 999px;

  color: #171126;

  background:
    rgba(255, 255, 255, 0.96);

  font: inherit;

  font-size: 14px;

  box-shadow:
    0 3px 10px
    rgba(0, 0, 0, 0.06);

  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}


.apply-form-card--compact
.apply-field input::placeholder {
  color: #968ea1;
}


.apply-form-card--compact
.apply-field input:focus {
  border-color:
    rgba(202, 127, 255, 0.75);

  box-shadow:
    0 0 0 4px
    rgba(118, 81, 247, 0.13),

    0 5px 16px
    rgba(0, 0, 0, 0.08);
}


/* ==========================================================
   CONSENT
========================================================== */

.apply-form-card--compact
.consent {
  display: flex;

  gap: 9px;

  margin-top: 17px;

  align-items: flex-start;

  color:
    rgba(255, 255, 255, 0.55);

  font-size: 10.5px;

  font-weight: 500;

  line-height: 1.5;
}


.apply-form-card--compact
.consent input {
  width: 15px;
  height: 15px;

  margin-top: 1px;

  flex:
    0
    0
    15px;

  accent-color: #7651f7;

  cursor: pointer;
}


.apply-form-card--compact
.consent span {
  display: block;
}


.apply-form-card--compact
.consent a {
  color: #c49aff;

  font-weight: 700;

  text-decoration: none;
}


.apply-form-card--compact
.consent a:hover {
  text-decoration: underline;
}


/* ==========================================================
   SUBMIT BUTTON
   SAME AS HERO FORM
========================================================== */

.apply-form-card--compact
.apply-form-card__submit {
  display: inline-flex;

  width: 100%;

  height: 54px;

  margin-top: 18px;

  align-items: center;

  justify-content: center;

  gap: 13px;

  border:
    1px solid
    rgba(202, 127, 255, 0.86);

  border-radius: 999px;

  cursor: pointer;

  color: #ffffff;

  background:
    rgba(91, 36, 187, 0.27);

  box-shadow:
    0 10px 24px
    rgba(32, 5, 64, 0.16);

  font: inherit;

  font-size: 14px;

  font-weight: 750;

  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}


.apply-form-card--compact
.apply-form-card__submit:hover {
  border-color:
    rgba(216, 168, 255, 1);

  background:
    rgba(118, 81, 247, 0.46);

  box-shadow:
    0 12px 27px
    rgba(74, 28, 157, 0.28),

    0 0 20px
    rgba(202, 127, 255, 0.13);

  transform:
    translateY(-2px);
}


.apply-form-card--compact
.apply-form-card__submit-arrow {
  color: #ca7fff;

  font-size: 19px;

  line-height: 1;

  transition:
    transform 180ms ease;
}


.apply-form-card--compact
.apply-form-card__submit:hover
.apply-form-card__submit-arrow {
  transform:
    translateX(4px);
}


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

.apply-form-card--compact
.apply-form-card__note {
  margin:
    13px
    0
    0;

  color:
    rgba(255, 255, 255, 0.42);

  font-size: 10px;

  font-weight: 500;

  line-height: 1.45;

  text-align: center;
}


/* ==========================================================
   RIGHT VISUAL
========================================================== */

.apply-bottom-card__visual {
  position: relative;

  min-height: 500px;

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, 0.11);

  border-radius: 24px;

  background: #0c021f;

  box-shadow:
    0 16px 38px
    rgba(0, 0, 0, 0.18);
}


.apply-bottom-card__visual img {
  display: block;

  width: 100%;
  height: 100%;

  min-height: 500px;

  object-fit: cover;

  filter:
    brightness()
    saturate(1.1);
}


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

.apply-bottom-card__overlay {
  position: absolute;

  z-index: 1;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(12, 2, 31, 0.04) 0%,
      rgba(12, 2, 31, 0.08) 45%,
      rgba(12, 2, 31, 0.38) 100%
    );

  pointer-events: none;
}


/* ==========================================================
   SLOGAN
========================================================== */

.apply-bottom-card__slogan {
  position: absolute;

  z-index: 2;

  left: 48px;
  bottom: 50px;

  max-width: 370px;

  color: #ffffff;
}


/*
  old lime line replaced
*/

.apply-bottom-card__slogan span {
  display: block;

  width: 58px;
  height: 3px;

  margin-bottom: 20px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      #7651f7,
      #ca7fff
    );
}


.apply-bottom-card__slogan h3 {
  margin: 0;

  color: #ffffff;

  font-size:
    clamp(30px, 3vw, 46px);

  font-weight: 850;

  line-height: 1.08;

  letter-spacing: -0.055em;
}


/* ==========================================================
   SMALL DESKTOP / TABLET
========================================================== */

@media
(max-width: 1000px) {

  .apply-bottom-section {
    padding:
      78px
      48px
      100px;
  }


  .apply-bottom-card {
    grid-template-columns: 1fr;

    gap: 28px;

    padding: 28px;
  }


  .apply-bottom-card__form {
    width: 100%;
    max-width: auto;

    padding:
      14px
      8px
      20px;
  }


  .apply-bottom-card__form h2 {
    max-width: 540px;
  }


  .apply-bottom-card__form > p {
    max-width: 520px;
  }


  .apply-bottom-card__visual {
    min-height: 380px;
  }


  .apply-bottom-card__visual img {
    min-height: 380px;
  }

}


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

@media
(max-width: 760px) {

  .apply-bottom-section {
    padding:
      60px
      22px
      80px;
  }


  .apply-bottom-card {
    gap: 24px;

    padding: 20px;

    border-radius: 26px;
  }


  .apply-bottom-card__form {
    padding:
      8px
      2px
      6px;
  }


  .apply-bottom-card__form h2 {
    font-size:
      clamp(32px, 9vw, 42px);
  }


  .apply-bottom-card__form > p {
    margin-top: 16px;

    font-size: 14px;
  }


  .apply-form-card--compact {
    margin-top: 24px;
  }


  .apply-form-card--compact
  .apply-field input {
    height: 52px;

    padding-inline: 19px;
  }


  .apply-form-card--compact
  .apply-form-card__submit {
    height: 52px;
  }


  .apply-bottom-card__visual {
    min-height: 310px;

    border-radius: 20px;
  }


  .apply-bottom-card__visual img {
    min-height: 310px;
  }


  .apply-bottom-card__slogan {
    left: 28px;
    bottom: 32px;

    max-width: 270px;
  }


  .apply-bottom-card__slogan h3 {
    font-size:
      clamp(28px, 8vw, 38px);
  }

}


/* ==========================================================
   VERY SMALL MOBILE
========================================================== */

@media
(max-width: 430px) {

  .apply-bottom-section {
    padding:
      52px
      16px
      70px;
  }


  .apply-bottom-card {
    padding: 17px;

    border-radius: 23px;
  }


  .apply-bottom-card__form h2 {
    font-size:
      clamp(30px, 9.2vw, 38px);
  }


  .apply-bottom-card__visual {
    min-height: 270px;

    border-radius: 18px;
  }


  .apply-bottom-card__visual img {
    min-height: 270px;
  }


  .apply-bottom-card__slogan {
    left: 22px;
    bottom: 26px;

    max-width: 225px;
  }


  .apply-bottom-card__slogan span {
    width: 48px;

    margin-bottom: 16px;
  }

}