/* =========================================================
   EYF APPLY PAGE — Figma Match CSS
   File: css/apply.css
   This CSS is only for apply.html
   ========================================================= */

/* -----------------------------
   Apply Page Base
------------------------------ */

.page-apply {
    min-height: 100vh;
    overflow-x: hidden;
    background:
      radial-gradient(circle at 70% 3%, rgba(245, 197, 66, 0.08), transparent 23%),
      radial-gradient(circle at 18% 18%, rgba(184, 134, 11, 0.06), transparent 28%),
      #050505;
    color: #ffffff;
    font-family: "Inter", sans-serif;
  }
  
  .page-apply *,
  .page-apply *::before,
  .page-apply *::after {
    box-sizing: border-box;
  }
  
  .page-apply a {
    color: inherit;
    text-decoration: none;
  }
  
  .page-apply img,
  .page-apply svg {
    display: block;
  }
  
  .page-apply svg {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  .page-apply .container {
    width: 100%;
    max-width: 1410px;
    margin-inline: auto;
    padding-inline: 28px;
  }
  
  .page-apply .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  /* Submit dialog (centered modal shown on the Apply page after submitting) */
  .apply-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: applyDialogFade 0.25s ease forwards;
  }

  @keyframes applyDialogFade {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .apply-dialog-card {
    width: 100%;
    max-width: 440px;
    text-align: center;
    padding: 40px 32px 34px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 16px;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(245, 197, 66, 0.14), transparent 60%),
      #0b0b0b;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  }

  .apply-dialog-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.05));
    color: var(--color-metallic-gold);
  }

  .apply-dialog-icon svg {
    width: 34px;
    height: 34px;
  }

  .apply-dialog-spinner {
    display: inline-block;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border: 3px solid rgba(212, 175, 55, 0.25);
    border-top-color: var(--color-metallic-gold);
    border-radius: 50%;
    animation: applyDialogSpin 0.8s linear infinite;
  }

  @keyframes applyDialogSpin {
    to { transform: rotate(360deg); }
  }

  .apply-dialog-card h2 {
    margin: 0 0 10px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    color: #ffffff;
  }

  .apply-dialog-card p {
    margin: 0;
    color: rgba(242, 242, 242, 0.76);
    font-size: 14px;
    line-height: 1.65;
  }

  .apply-dialog-close {
    margin-top: 26px;
    min-width: 140px;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #c9a030, #e8c547, #d4af37);
    color: #000000;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .apply-dialog-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
  }

  @media (prefers-reduced-motion: reduce) {
    .apply-dialog-overlay { animation: none; }
    .apply-dialog-spinner { animation-duration: 1.2s; }
  }
  
  /* Navbar uses the shared global styles from style.css for consistency
     across all pages. Apply-page-specific navbar overrides were removed. */
  
  /* -----------------------------
     Top Main Layout
  ------------------------------ */
  
  .page-apply .apply-top-section {
    padding: 34px 0 28px;
  }
  
  .page-apply .apply-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(36px, 4.5vw, 70px);
    align-items: start;
  }
  
  /* -----------------------------
     Left Intro Panel
  ------------------------------ */
  
  .page-apply .apply-intro-panel {
    padding-top: 24px;
  }
  
  .page-apply .apply-label-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
  }
  
  .page-apply .apply-label-row span {
    color: #f5c542;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
  }
  
  .page-apply .apply-label-row i {
    display: block;
    width: 48px;
    height: 1px;
    background: rgba(212, 175, 55, 0.75);
  }
  
  .page-apply .apply-heading {
    margin: 0;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(44px, 4.1vw, 62px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.055em;
  }
  
  .page-apply .apply-heading span,
  .page-apply .gold-text {
    color: #d4af37;
  }
  
  .page-apply .apply-intro-text {
    max-width: 505px;
    margin: 30px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.78;
  }
  
  .page-apply .apply-feature-list {
    display: flex;
    flex-direction: column;
    gap: 34px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
  }
  
  .page-apply .apply-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }
  
  .page-apply .apply-circle-icon,
  .page-apply .apply-small-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: #f5c542;
    border: 1px solid rgba(212, 175, 55, 0.62);
    border-radius: 999px;
    background:
      radial-gradient(circle at center, rgba(245, 197, 66, 0.11), rgba(184, 134, 11, 0.02));
    box-shadow:
      inset 0 0 22px rgba(212, 175, 55, 0.07),
      0 0 24px rgba(212, 175, 55, 0.05);
  }
  
  .page-apply .apply-circle-icon {
    width: 72px;
    height: 72px;
  }
  
  .page-apply .apply-circle-icon svg {
    display: block;
    width: 32px;
    height: 32px;
  }
  
  .page-apply .apply-feature-item h3 {
    margin: 5px 0 7px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
  }
  
  .page-apply .apply-feature-item p {
    max-width: 315px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.62;
  }
  
  .page-apply .apply-quote-box {
    position: relative;
    max-width: 390px;
    margin: 58px 0 0;
    padding: 28px 30px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    align-items: start;
    border: 1px solid rgba(212, 175, 55, 0.48);
    border-radius: 7px;
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 214, 107, 0.18), transparent 16%),
      linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
      rgba(10, 10, 10, 0.96);
    box-shadow:
      inset 0 1px 0 rgba(255, 241, 168, 0.05),
      0 18px 55px rgba(0, 0, 0, 0.38);
  }
  
  .page-apply .apply-quote-box span {
    margin-top: -8px;
    color: #f5c542;
    font-family: Georgia, serif;
    font-size: 70px;
    line-height: 0.9;
  }
  
  .page-apply .apply-quote-box p {
    margin: 0;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.42;
  }
  
  /* -----------------------------
     Application Form Card
  ------------------------------ */
  
  .page-apply .apply-form-card {
    position: relative;
    overflow: hidden;
    padding: 34px 38px 18px;
    border: 1px solid rgba(212, 175, 55, 0.46);
    border-radius: 10px;
    background:
      radial-gradient(circle at 52% -2px, rgba(255, 214, 107, 0.20), transparent 12%),
      radial-gradient(circle at 95% 10%, rgba(212, 175, 55, 0.05), transparent 30%),
      linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
      rgba(10, 10, 10, 0.96);
    box-shadow:
      inset 0 1px 0 rgba(255, 241, 168, 0.04),
      0 32px 75px rgba(0, 0, 0, 0.55),
      0 0 36px rgba(212, 175, 55, 0.07);
  }
  
  .page-apply .apply-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 38%;
    right: 38%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd66b, transparent);
    opacity: 0.95;
    pointer-events: none;
  }
  
  .page-apply .apply-card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 214, 107, 0.11), transparent 18%),
      radial-gradient(circle at 100% 60%, rgba(212, 175, 55, 0.05), transparent 25%);
  }
  
  .page-apply .apply-form-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    color: #f5c542;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
  }
  
  .page-apply .apply-form {
    position: relative;
    z-index: 1;
  }
  
  .page-apply .apply-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 15px;
  }
  
  .page-apply .apply-field {
    min-width: 0;
  }
  
  .page-apply .apply-field-full {
    margin-top: 14px;
  }
  
  .page-apply .apply-field label {
    display: block;
    margin: 0 0 7px;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
  }
  
  .page-apply .apply-field label span {
    color: #ff5f35;
  }
  
  .page-apply .apply-field label em {
    color: rgba(255, 255, 255, 0.75);
    font-style: normal;
  }
  
  .page-apply .apply-input-wrap {
    position: relative;
    width: 100%;
  }
  
  .page-apply .apply-input-wrap > svg {
    position: absolute;
    left: 15px;
    top: 50%;
    z-index: 2;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.68);
    pointer-events: none;
  }
  
  .page-apply .apply-textarea-wrap > svg {
    top: 18px;
    transform: none;
  }
  
  .page-apply .apply-field input,
  .page-apply .apply-field select,
  .page-apply .apply-field textarea {
    width: 100%;
    min-height: 49px;
    padding: 0 16px 0 46px;
    border: 1px solid rgba(212, 175, 55, 0.30);
    border-radius: 6px;
    outline: none;
    color: #ffffff;
    background: rgba(6, 6, 6, 0.68);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    transition:
      border-color 0.25s ease,
      box-shadow 0.25s ease,
      background 0.25s ease;
  }
  
  .page-apply .apply-field textarea {
    min-height: 108px;
    padding-top: 15px;
    resize: vertical;
  }
  
  .page-apply .apply-field select {
    appearance: none;
    padding-right: 42px;
    cursor: pointer;
    background-image:
      linear-gradient(45deg, transparent 50%, #d4af37 50%),
      linear-gradient(135deg, #d4af37 50%, transparent 50%);
    background-position:
      calc(100% - 18px) 21px,
      calc(100% - 13px) 21px;
    background-size: 5px 5px;
    background-repeat: no-repeat;
  }
  
  .page-apply .apply-field input::placeholder,
  .page-apply .apply-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.58);
  }
  
  .page-apply .apply-field input:focus,
  .page-apply .apply-field select:focus,
  .page-apply .apply-field textarea:focus {
    border-color: rgba(245, 197, 66, 0.85);
    background: rgba(8, 8, 8, 0.9);
    box-shadow:
      0 0 0 3px rgba(212, 175, 55, 0.10),
      0 0 18px rgba(212, 175, 55, 0.09);
  }
  
  /* Upload */
  .page-apply .apply-upload-box {
    position: relative;
    min-height: 92px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(245, 197, 66, 0.65);
    border-radius: 6px;
    background:
      radial-gradient(circle at 50% 0%, rgba(245, 197, 66, 0.09), transparent 50%),
      rgba(212, 175, 55, 0.035);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
  }
  
  .page-apply .apply-upload-box:hover,
  .page-apply .apply-upload-box.is-dragover {
    border-color: #ffd66b;
    background: rgba(212, 175, 55, 0.07);
  }
  
  .page-apply .apply-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0;
    cursor: pointer;
  }
  
  .page-apply .apply-upload-content {
    display: grid;
    justify-items: center;
  }
  
  .page-apply .apply-upload-content svg {
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
    color: #f5c542;
  }
  
  .page-apply .apply-upload-content p {
    margin: 0;
    color: #f5c542;
    font-size: 14px;
    line-height: 1.3;
  }
  
  .page-apply .apply-upload-content span {
    margin-top: 3px;
    color: rgba(245, 197, 66, 0.78);
    font-size: 12px;
  }
  
  .page-apply .apply-upload-content strong {
    margin-top: 5px;
    color: #ffffff;
    font-size: 12px;
    word-break: break-all;
  }
  
  /* Checkbox + Button */
  .page-apply .apply-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0 16px;
    cursor: pointer;
  }
  
  .page-apply .apply-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  
  .page-apply .apply-checkbox span {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    background: transparent;
  }
  
  .page-apply .apply-checkbox input:checked + span {
    border-color: #f5c542;
    background:
      linear-gradient(135deg, #b8860b, #ffd66b);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
  }
  
  .page-apply .apply-checkbox p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.45;
  }
  
  .page-apply .apply-checkbox a {
    color: #f5c542;
  }
  
  .page-apply .apply-submit-btn {
    width: 100%;
    min-height: 55px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    border-radius: 5px;
    color: #050505;
    background: linear-gradient(135deg, #ffd66b, #d99924, #b8860b);
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  
  .page-apply .apply-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.28);
  }
  
  .page-apply .apply-secure-note {
    margin: 14px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: rgba(245, 197, 66, 0.72);
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
  }
  
  .page-apply .apply-secure-note svg {
    width: 15px;
    height: 15px;
  }
  
  /* -----------------------------
     Lower Cards Section
  ------------------------------ */
  
  .page-apply .apply-cards-section {
    padding: 0 0 30px;
  }
  
  .page-apply .apply-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: clamp(24px, 2.2vw, 34px);
    align-items: stretch;
  }
  
  .page-apply .apply-contact-card,
  .page-apply .apply-benefits-card {
    position: relative;
    overflow: hidden;
    min-height: 338px;
    padding: clamp(30px, 2.7vw, 44px) clamp(30px, 3.4vw, 58px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 9px;
    background:
      radial-gradient(circle at 96% 2%, rgba(212, 175, 55, 0.07), transparent 28%),
      linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
      rgba(8, 8, 8, 0.97);
    box-shadow:
      inset 0 1px 0 rgba(255, 241, 168, 0.04),
      0 22px 65px rgba(0, 0, 0, 0.42);
  }
  
  .page-apply .apply-contact-card h2 {
    max-width: 440px;
    margin: 0 0 18px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(34px, 3.45vw, 54px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em;
  }
  
  .page-apply .apply-contact-card h2 span {
    color: #f5c542;
  }
  
  .page-apply .apply-contact-desc {
    max-width: 500px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.62;
  }
  
  .page-apply .apply-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .page-apply .apply-contact-list li {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .page-apply .apply-small-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }
  
  .page-apply .apply-small-icon svg {
    display: block;
    width: 24px;
    height: 24px;
  }
  
  .page-apply .apply-contact-list strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
  }
  
  .page-apply .apply-contact-list div a,
  .page-apply .apply-contact-list div span {
    display: block;
    margin-top: 2px;
    color: #f5c542;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
  }
  
  .page-apply .apply-social-row {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: clamp(22px, 4vw, 40px);
    flex-wrap: wrap;
  }
  
  .page-apply .apply-social-row > strong {
    color: #ffffff;
    font-size: 17px;
  }
  
  .page-apply .apply-social-row div {
    display: flex;
    align-items: center;
    gap: 17px;
  }
  
  .page-apply .apply-social-row a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 999px;
    color: #f5c542;
    font-size: 16px;
    font-weight: 800;
    transition: 0.25s ease;
  }

  .page-apply .apply-social-row a svg {
    display: block;
  }
  
  .page-apply .apply-social-row a:hover {
    background: #f5c542;
    color: #050505;
  }
  
  /* Benefits card */
  .page-apply .apply-benefits-card {
    padding-bottom: 24px;
  }
  
  .page-apply .apply-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }
  
  .page-apply .apply-benefit-item {
    min-height: 140px;
    display: grid;
    grid-template-columns: 66px 1fr;
    gap: 22px;
    align-items: start;
    padding: 0 36px 28px 0;
  }
  
  .page-apply .apply-benefit-item:nth-child(2),
  .page-apply .apply-benefit-item:nth-child(4) {
    padding-left: 34px;
    padding-right: 0;
    border-left: 1px solid rgba(212, 175, 55, 0.24);
  }
  
  .page-apply .apply-benefit-item:nth-child(1),
  .page-apply .apply-benefit-item:nth-child(2) {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  }
  
  .page-apply .apply-benefit-item h3 {
    margin: 2px 0 9px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
  }
  
  .page-apply .apply-benefit-item p {
    max-width: 245px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.65;
  }
  
  /* -----------------------------
     FAQ Section
  ------------------------------ */
  
  .page-apply .apply-faq-section {
    padding: 0 0 28px;
  }
  
  .page-apply .apply-faq-title-row {
    margin: 0 0 16px;
    padding-left: 48px;
  }
  
  .page-apply .apply-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    padding-inline: 48px;
  }
  
  .page-apply .faq-item {
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.40);
    border-radius: 5px;
    background: rgba(8, 8, 8, 0.94);
  }
  
  .page-apply .faq-trigger {
    width: 100%;
    min-height: 49px;
    padding: 10px 15px;
    display: grid;
    grid-template-columns: 30px 1fr 22px;
    align-items: center;
    gap: 11px;
    border: 0;
    color: #ffffff;
    background: transparent;
    font-family: "Inter", sans-serif;
    text-align: left;
    cursor: pointer;
  }
  
  .page-apply .faq-q-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.58);
    border-radius: 999px;
    color: #f5c542;
    font-size: 14px;
    font-weight: 800;
  }
  
  .page-apply .faq-question {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 500;
  }
  
  .page-apply .faq-toggle-icon {
    color: #f5c542;
    font-size: 24px;
    line-height: 1;
    transition: transform 0.25s ease;
  }
  
  .page-apply .faq-item.is-open .faq-toggle-icon {
    transform: rotate(45deg);
  }
  
  .page-apply .faq-answer {
    padding: 0 16px 15px 56px;
  }
  
  .page-apply .faq-answer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.6;
  }
  
  /* -----------------------------
     Footer
  ------------------------------ */
  
  .page-apply .apply-footer {
    position: relative;
    overflow: hidden;
    padding: 36px 0 34px;
    border-top: 1px solid rgba(212, 175, 55, 0.30);
    background:
      radial-gradient(circle at 94% 84%, rgba(245, 197, 66, 0.10), transparent 22%),
      #050505;
  }
  
  .page-apply .apply-footer::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -90px;
    width: 390px;
    height: 260px;
    opacity: 0.42;
    pointer-events: none;
    background:
      repeating-radial-gradient(
        ellipse at center,
        rgba(212, 175, 55, 0.25) 0 2px,
        transparent 2px 18px
      );
    transform: rotate(-7deg);
  }
  
  .page-apply .apply-footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.45fr 0.72fr 1fr 1.12fr;
    gap: 58px;
  }
  
  .page-apply .apply-footer-brand img {
    width: 170px;
    height: auto;
    margin-bottom: 18px;
  }
  
  .page-apply .apply-footer h3 {
    margin: 0 0 18px;
    color: #f5c542;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
  }
  
  .page-apply .apply-footer p,
  .page-apply .apply-footer li,
  .page-apply .apply-footer a,
  .page-apply .apply-footer small {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.65;
  }
  
  .page-apply .apply-footer-brand p {
    max-width: 315px;
    margin: 0 0 16px;
  }
  
  .page-apply .apply-footer-brand small {
    display: block;
    max-width: 280px;
  }
  
  .page-apply .apply-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .page-apply .apply-footer li + li {
    margin-top: 6px;
  }
  
  .page-apply .apply-footer a:hover {
    color: #f5c542;
  }
  
  .page-apply .apply-newsletter-input {
    width: 100%;
    max-width: 330px;
    min-height: 54px;
    margin-top: 19px;
    display: grid;
    grid-template-columns: 1fr 58px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 5px;
    background: rgba(7, 7, 7, 0.96);
  }
  
  .page-apply .apply-newsletter-input input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 18px;
    color: #ffffff;
    background: transparent;
    font-size: 14px;
  }
  
  .page-apply .apply-newsletter-input input::placeholder {
    color: rgba(255, 255, 255, 0.50);
  }
  
  .page-apply .apply-newsletter-input button {
    border: 0;
    color: #050505;
    background: linear-gradient(135deg, #ffd66b, #b8860b);
    font-size: 18px;
    cursor: pointer;
  }
  
  .page-apply .apply-privacy-note {
    display: inline-flex;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
  }
  
  /* -----------------------------
     Reveal Animation Backup
  ------------------------------ */
  
  .page-apply .reveal-up,
  .page-apply .reveal-left,
  .page-apply .reveal-right {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.75s ease,
      transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .page-apply .reveal-left {
    transform: translateX(-28px);
  }
  
  .page-apply .reveal-right {
    transform: translateX(28px);
  }
  
  .page-apply .reveal-up.active,
  .page-apply .reveal-up.is-visible,
  .page-apply .reveal-left.active,
  .page-apply .reveal-left.is-visible,
  .page-apply .reveal-right.active,
  .page-apply .reveal-right.is-visible {
    opacity: 1;
    transform: translate(0, 0);
  }
  
  /* -----------------------------
     Responsive — Large Desktop
  ------------------------------ */
  
  @media (min-width: 1440px) {
    .page-apply .container {
      max-width: 1420px;
    }
  }
  
  /* -----------------------------
     Responsive — Laptop / Tablet
  ------------------------------ */
  
  /* Intermediate step: rebalance columns + tighten gaps so the two-column
     layout degrades smoothly through tablet-landscape widths (1181–1280px)
     before it collapses to a single column at 1180px. Prevents right-side
     clipping under body { overflow-x: hidden }. */
  @media (max-width: 1280px) {
    .page-apply .apply-main-grid {
      grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
      gap: clamp(30px, 3.4vw, 48px);
    }
  
    .page-apply .apply-lower-grid {
      grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
      gap: clamp(22px, 2.4vw, 28px);
    }
  }
  
  @media (max-width: 1180px) {
    .page-apply .apply-main-grid,
    .page-apply .apply-lower-grid {
      grid-template-columns: 1fr;
      gap: 34px;
    }
  
    .page-apply .apply-intro-panel {
      max-width: 820px;
    }

    .page-apply .apply-contact-card {
      max-width: 860px;
    }
  
    .page-apply .apply-heading {
      max-width: 720px;
    }
  
    .page-apply .apply-intro-text {
      max-width: 760px;
    }
  
    .page-apply .apply-feature-list {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }
  
    .page-apply .apply-feature-item {
      flex-direction: column;
    }
  
    .page-apply .apply-quote-box {
      max-width: 520px;
    }
  
    .page-apply .apply-footer-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  /* Mobile navbar also uses the shared global styles from style.css. */
  
  /* -----------------------------
     Responsive — Mobile / Tablet
  ------------------------------ */
  
  @media (max-width: 768px) {
    .page-apply .container {
      padding-inline: 20px;
    }
  
    .page-apply .apply-top-section {
      padding-top: 28px;
    }
  
    .page-apply .apply-main-grid {
      gap: 28px;
    }
  
    .page-apply .apply-intro-panel {
      padding-top: 0;
    }
  
    .page-apply .apply-label-row {
      margin-bottom: 20px;
    }
  
    .page-apply .apply-heading {
      font-size: clamp(36px, 10vw, 48px);
      line-height: 1.08;
    }
  
    .page-apply .apply-intro-text {
      margin-top: 20px;
      font-size: 15.5px;
    }
  
    .page-apply .apply-feature-list {
      grid-template-columns: 1fr;
      gap: 22px;
      margin-top: 30px;
    }
  
    .page-apply .apply-feature-item {
      flex-direction: row;
    }
  
    .page-apply .apply-circle-icon {
      width: 62px;
      height: 62px;
    }
  
    .page-apply .apply-circle-icon svg {
      width: 28px;
      height: 28px;
    }
  
    .page-apply .apply-quote-box {
      max-width: none;
      margin-top: 34px;
      grid-template-columns: 42px 1fr;
      padding: 24px 22px;
    }
  
    .page-apply .apply-quote-box span {
      font-size: 58px;
    }
  
    .page-apply .apply-quote-box p {
      font-size: 18px;
    }
  
    .page-apply .apply-form-card,
    .page-apply .apply-contact-card,
    .page-apply .apply-benefits-card {
      padding: 28px 22px;
      border-radius: 12px;
    }

    .page-apply .apply-contact-card {
      max-width: none;
    }

    .page-apply .apply-contact-card h2 {
      max-width: 100%;
      font-size: clamp(33px, 8.6vw, 46px);
      line-height: 1.09;
    }

    .page-apply .apply-contact-desc {
      max-width: 100%;
      margin-bottom: 24px;
      font-size: 15px;
    }

    .page-apply .apply-contact-list {
      gap: 19px;
    }

    .page-apply .apply-contact-list li {
      align-items: center;
      gap: 17px;
    }

    .page-apply .apply-small-icon {
      width: 58px;
      height: 58px;
      min-width: 58px;
    }

    .page-apply .apply-social-row {
      margin-top: 32px;
      gap: 20px;
    }
  
    .page-apply .apply-form-grid {
      grid-template-columns: 1fr;
    }
  
    .page-apply .apply-field-full {
      margin-top: 13px;
    }
  
    .page-apply .apply-field input,
    .page-apply .apply-field select {
      min-height: 52px;
    }
  
    .page-apply .apply-lower-grid {
      gap: 22px;
    }
  
    .page-apply .apply-benefits-grid {
      grid-template-columns: 1fr;
    }
  
    .page-apply .apply-benefit-item,
    .page-apply .apply-benefit-item:nth-child(2),
    .page-apply .apply-benefit-item:nth-child(4) {
      grid-template-columns: 58px 1fr;
      min-height: auto;
      padding: 0 0 22px;
      margin-bottom: 22px;
      border-left: 0;
      border-bottom: 1px solid rgba(212, 175, 55, 0.16);
    }
  
    .page-apply .apply-benefit-item:last-child {
      margin-bottom: 0;
      padding-bottom: 0;
      border-bottom: 0;
    }
  
    .page-apply .apply-faq-title-row {
      padding-left: 0;
    }
  
    .page-apply .apply-faq-grid {
      grid-template-columns: 1fr;
      padding-inline: 0;
    }
  
    .page-apply .apply-footer-grid {
      grid-template-columns: 1fr;
      gap: 34px;
    }
  }
  
  /* -----------------------------
     Responsive — Small Phones
  ------------------------------ */
  
  @media (max-width: 576px) {
    .apply-dialog-card {
      padding: 32px 22px 28px;
    }

    .page-apply .apply-heading {
      font-size: clamp(34px, 10vw, 42px);
    }
  
    .page-apply .apply-intro-text {
      font-size: 15px;
      line-height: 1.7;
    }
  
    .page-apply .apply-feature-item {
      gap: 16px;
    }
  
    .page-apply .apply-feature-item h3 {
      font-size: 16.5px;
    }
  
    .page-apply .apply-feature-item p {
      font-size: 13.5px;
    }
  
    .page-apply .apply-circle-icon {
      width: 56px;
      height: 56px;
    }
  
    .page-apply .apply-form-card,
    .page-apply .apply-contact-card,
    .page-apply .apply-benefits-card {
      padding: 24px 18px;
    }
  
    .page-apply .apply-form-card h2 {
      font-size: 13px;
    }
  
    .page-apply .apply-contact-card h2 {
      font-size: clamp(30px, 8.2vw, 38px);
      letter-spacing: -0.04em;
    }
  
    .page-apply .apply-social-row {
      align-items: center;
      flex-direction: row;
      justify-content: flex-start;
      gap: 18px;
    }

    .page-apply .apply-social-row > strong {
      min-width: 96px;
    }

    .page-apply .apply-social-row div {
      gap: 14px;
    }
  
    .page-apply .faq-trigger {
      grid-template-columns: 28px 1fr 20px;
      gap: 9px;
      padding-inline: 12px;
    }
  
    .page-apply .faq-question {
      font-size: 13.5px;
    }
  
    .page-apply .apply-newsletter-input {
      max-width: none;
    }
  }
  
  /* -----------------------------
     Motion Safety
  ------------------------------ */
  
  @media (prefers-reduced-motion: reduce) {
    .page-apply *,
    .page-apply *::before,
    .page-apply *::after {
      scroll-behavior: auto !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  
    .page-apply .reveal-up,
    .page-apply .reveal-left,
    .page-apply .reveal-right {
      opacity: 1;
      transform: none;
    }
  }