/* ============================================================
   ENROLL POPUP MODAL
   Shown automatically once per session, shortly after the page
   loader finishes. Reuses design tokens from variables.css so it
   matches the rest of the site (amber = enroll/CTA accent).
   ============================================================ */

.enroll-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(11, 19, 48, .55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}

.enroll-modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.enroll-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--navy-950);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 38px 32px 30px;
  transform: translateY(24px) scale(.96);
  transition: transform .45s var(--ease);
}

.enroll-modal-overlay.is-visible .enroll-modal-card {
  transform: translateY(0) scale(1);
}

.enroll-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(16, 26, 64, .05);
  color: var(--ink-300);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}

.enroll-modal-close:hover {
  background: rgba(232, 153, 46, .14);
  color: var(--amber-300);
  transform: rotate(90deg);
}

.enroll-modal-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 24px;
  background: var(--grad-amber);
  -webkit-background-clip: text;
  background-clip: text;
  color:navy;
}

.enroll-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.enroll-modal-form input,
.enroll-modal-form select,
.enroll-modal-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(16, 26, 64, .14);
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
}

.enroll-modal-form textarea {
  min-height: 90px;
  resize: vertical;
}

.enroll-modal-form input::placeholder,
.enroll-modal-form textarea::placeholder {
  color: var(--ink-500);
}
.btn-amber{
  background: navy;
}
.enroll-modal-form select {
  color: var(--ink-500);
}

.enroll-modal-form select:valid {
  color: var(--white);
}

.enroll-modal-form input:focus,
.enroll-modal-form select:focus,
.enroll-modal-form textarea:focus {
  outline: none;
  border-color: var(--amber-400);
}

.enroll-modal-success {
  display: none;
  text-align: center;
  font-size: .88rem;
  color: var(--amber-300);
  margin: 2px 0 0;
}

.enroll-modal-success.is-visible {
  display: block;
}

@media (max-width: 480px) {
  .enroll-modal-card {
    padding: 30px 22px 24px;
    border-radius: var(--r-md);
  }

  .enroll-modal-title {
    font-size: 1.4rem;
  }
}
