/* ================================================================
   Contact & Strategy Session Section
   Theme: EarnScholar — Deep Purple #1C085D | Red #EB001B
   ================================================================ */

/* ── Section wrapper ── */
.contact-assignment-section {
  padding: 110px 20px 100px;
  background: #F8F8F8;
  position: relative;
  overflow: hidden;
}

/* Decorative radial orbs */
.contact-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.contact-orb--1 {
  width: 480px;
  height: 480px;
  top: -140px;
  left: -160px;
  background: radial-gradient(circle, rgba(235, 0, 27, 0.08) 0%, transparent 70%);
}
.contact-orb--2 {
  width: 420px;
  height: 420px;
  bottom: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(28, 8, 93, 0.09) 0%, transparent 70%);
}

/* ── Layout container ── */
.contact-assignment-container {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ================================================================
   LEFT COLUMN — Info / CTA
   ================================================================ */
.content-column {
  flex: 1;
  min-width: 320px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

/* Eyebrow badge */
.contact-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(235, 0, 27, 0.10) 0%, rgba(28, 8, 93, 0.08) 100%);
  border: 1px solid rgba(235, 0, 27, 0.20);
  color: #EB001B;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  width: fit-content;
  font-family: 'Arial', sans-serif;
}
.contact-section-badge i {
  font-size: 0.95rem;
}

/* Section heading */
.content-column .section-heading {
  font-size: 2.4rem;
  color: #1C085D;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  font-family: 'Georgia', serif;
  letter-spacing: 0.5px;
  display: block;
}
.content-column .section-heading i {
  color: #EB001B;
  margin-right: 10px;
  font-size: 2rem;
}
.contact-highlight {
  background: linear-gradient(90deg, #EB001B 0%, #1C085D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.content-column .section-subtitle {
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
  font-family: 'Arial', sans-serif;
  font-style: italic;
  margin: 0;
}
.content-column .section-subtitle strong {
  color: #1C085D;
  font-style: normal;
}

/* Trust list */
.contact-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid #ececec;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 3px 14px rgba(28, 8, 93, 0.06);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.22s;
}
.contact-trust-item:hover {
  border-color: #EB001B;
  box-shadow: 0 6px 22px rgba(235, 0, 27, 0.10);
  transform: translateX(4px);
}
.contact-trust-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(235, 0, 27, 0.10) 0%, rgba(28, 8, 93, 0.10) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EB001B;
  font-size: 1rem;
}
.contact-trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-trust-text strong {
  font-size: 0.93rem;
  color: #1C085D;
  font-family: 'Georgia', serif;
}
.contact-trust-text span {
  font-size: 0.83rem;
  color: #777;
  font-family: 'Arial', sans-serif;
}

/* Quick contact pills */
.contact-quick-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #fff;
  border: 1.5px solid #e4e6ee;
  border-radius: 50px;
  color: #1C085D;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(28, 8, 93, 0.05);
}
.contact-quick-link i {
  color: #EB001B;
  font-size: 1rem;
  width: 18px;
  text-align: center;
}
.contact-quick-link:hover {
  border-color: #1C085D;
  background: #1C085D;
  color: #fff;
  box-shadow: 0 6px 20px rgba(28, 8, 93, 0.18);
}
.contact-quick-link:hover i {
  color: #fff;
}
.contact-quick-link--wa:hover {
  background: #25D366;
  border-color: #25D366;
}

/* CTA button */
.content-column .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 38px;
  background: linear-gradient(90deg, #EB001B 0%, #1C085D 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  font-family: 'Georgia', serif;
  transition: all 0.28s cubic-bezier(0.23, 1.01, 0.32, 1);
  box-shadow: 0 6px 20px rgba(235, 0, 27, 0.28);
  align-self: flex-start;
  border: none;
}
.content-column .cta-button:hover,
.content-column .cta-button:focus {
  background: linear-gradient(90deg, #1C085D 0%, #EB001B 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px rgba(28, 8, 93, 0.25);
}

/* ================================================================
   RIGHT COLUMN — Form Card
   ================================================================ */
.form-column {
  flex: 1;
  min-width: 340px;
  background: #fff;
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow:
    0 2px 0 rgba(235, 0, 27, 0.45) inset,
    0 14px 48px rgba(28, 8, 93, 0.10),
    0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1.5px solid rgba(235, 0, 27, 0.12);
  position: relative;
  overflow: hidden;
}

/* Subtle top accent line */
.form-column::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #EB001B 0%, #1C085D 100%);
  border-radius: 20px 20px 0 0;
}

/* Form header row */
.form-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}
.form-header-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EB001B 0%, #1C085D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(235, 0, 27, 0.28);
}

/* Form title */
.form-title {
  font-size: 1.45rem;
  color: #1C085D;
  font-weight: 700;
  font-family: 'Georgia', serif;
  margin: 0 0 4px;
}
.form-subtitle-text {
  font-size: 0.85rem;
  color: #888;
  font-family: 'Arial', sans-serif;
  margin: 0;
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

/* Input group */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1C085D;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Arial', sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
}
.input-label i {
  color: #EB001B;
  font-size: 0.8rem;
}

.form-grid input[type="text"],
.form-grid input[type="email"],
.form-grid input[type="tel"] {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.92rem;
  color: #333;
  font-family: 'Arial', sans-serif;
  background: #FAFAFA;
  border: 1.5px solid #E0E0E0;
  border-radius: 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
  outline: none;
}
.form-grid input::placeholder {
  color: #b0b0b0;
  font-size: 0.88rem;
}
.form-grid input:focus {
  border-color: #EB001B;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(235, 0, 27, 0.10);
}
.form-grid input:valid:not(:placeholder-shown) {
  border-color: #4CAF50;
}

/* Submit button */
.submit-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(90deg, #EB001B 0%, #1C085D 100%);
  color: #fff;
  font-size: 0.97rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 12px;
  font-family: 'Georgia', serif;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.23, 1.01, 0.32, 1);
  box-shadow: 0 5px 18px rgba(235, 0, 27, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.submit-btn:hover:not(:disabled),
.submit-btn:focus:not(:disabled) {
  background: linear-gradient(90deg, #1C085D 0%, #EB001B 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28, 8, 93, 0.28);
}
.submit-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}
.submit-btn-text,
.submit-btn-loading {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Privacy note */
.form-privacy-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.78rem;
  color: #aaa;
  font-family: 'Arial', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.form-privacy-note i { color: #1C085D; }

/* ================================================================
   SUCCESS & WARNING CARDS
   ================================================================ */
.success-card,
.warning-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 52px 32px 44px;
  border-radius: 16px;
  animation: slideUpFade 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  position: relative;
  overflow: hidden;
}

.success-card {
  background: linear-gradient(145deg, #0d8f3c 0%, #17a34a 100%);
  color: #fff;
}
.warning-card {
  background: linear-gradient(145deg, #1C085D 0%, #EB001B 100%);
  color: #fff;
}

/* Shimmer overlay */
.success-card::before,
.warning-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Icons */
.result-icon {
  font-size: 4rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  animation: bounceIn 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.15s both;
}
.success-icon { color: #fff; }
.warning-icon { color: #FFD700; }

/* Titles */
.success-title,
.warning-title {
  font-size: 1.7rem;
  font-weight: 700;
  font-family: 'Georgia', serif;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  color: #fff;
  animation: fadeUpDelay 0.6s ease 0.35s both;
}

/* Messages */
.success-message,
.warning-message {
  font-size: 1rem;
  line-height: 1.65;
  font-family: 'Arial', sans-serif;
  color: rgba(255,255,255,0.92);
  max-width: 380px;
  position: relative;
  z-index: 2;
  margin-bottom: 26px;
  animation: fadeUpDelay 0.6s ease 0.5s both;
}
.success-message strong { color: #fff; }
.warning-link {
  color: #FFD700;
  text-decoration: underline;
}
.warning-link:hover { color: #fff; }

/* Reset button */
.result-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Arial', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
  animation: fadeUpDelay 0.6s ease 0.65s both;
}
.result-reset-btn:hover {
  background: rgba(255,255,255,0.30);
  border-color: rgba(255,255,255,0.65);
  transform: translateY(-2px);
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(36px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}
@keyframes bounceIn {
  0%   { opacity: 0; transform: scale(0.3); }
  55%  { opacity: 1; transform: scale(1.08); }
  75%  { transform: scale(0.93); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes fadeUpDelay {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ================================================================
   RESPONSIVE — Tablet ≤ 1024px
   ================================================================ */
@media (max-width: 1024px) {
  .contact-assignment-container { gap: 36px; }
  .content-column .section-heading { font-size: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   RESPONSIVE — Mobile ≤ 768px
   ================================================================ */
@media (max-width: 768px) {
  .contact-assignment-section { padding: 80px 16px 72px; }

  .contact-assignment-container {
    flex-direction: column;
  }

  .content-column {
    max-width: 100%;
    align-items: flex-start;
  }

  .content-column .section-heading {
    font-size: 1.7rem;
  }

  .form-column {
    padding: 32px 24px;
    min-width: 0;
  }

  .form-header-row { gap: 12px; }
  .form-title { font-size: 1.2rem; }

  .content-column .cta-button {
    align-self: stretch;
    justify-content: center;
  }

  .success-card,
  .warning-card { padding: 40px 20px 34px; }
  .result-icon  { font-size: 3rem; }
  .success-title,
  .warning-title { font-size: 1.4rem; }
  .success-message,
  .warning-message { font-size: 0.92rem; }
}

/* ================================================================
   RESPONSIVE — Small Mobile ≤ 480px
   ================================================================ */
@media (max-width: 480px) {
  .contact-assignment-section { padding: 60px 12px 56px; }

  .content-column .section-heading {
    font-size: 1.4rem;
  }
  .content-column .section-heading i {
    font-size: 1.4rem;
  }

  .form-column { padding: 24px 16px; }
  .form-header-icon { width: 42px; height: 42px; font-size: 1.1rem; }
  .form-title { font-size: 1.1rem; }

  .submit-btn { font-size: 0.88rem; padding: 14px 16px; }

  .success-card,
  .warning-card { padding: 32px 16px 28px; }
  .result-icon { font-size: 2.5rem; margin-bottom: 14px; }
  .success-title,
  .warning-title { font-size: 1.2rem; }
  .success-message,
  .warning-message { font-size: 0.88rem; }
}