/* ============================================================
   Contact Us Page  —  contact.css
   Uses tokens from variables.css
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   HERO BANNER
   ══════════════════════════════════════════════════════════ */
.contact-hero {
  position: relative;
  background: var(--grad-navy);
  padding: 72px 0 80px;
  overflow: hidden;
  text-align: center;
}

/* decorative circles */
.contact-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.contact-hero-circle--1 {
  width: 360px;
  height: 360px;
  background: var(--clr-orange);
  top: -120px;
  right: -80px;
}

.contact-hero-circle--2 {
  width: 220px;
  height: 220px;
  background: var(--clr-blue-mid);
  bottom: -60px;
  left: 8%;
  opacity: 0.18;
}

.contact-hero-circle--3 {
  width: 120px;
  height: 120px;
  background: var(--clr-white);
  top: 30px;
  left: 50%;
  opacity: 0.04;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
}

.contact-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--clr-orange-mid);
  background: rgba(255, 108, 44, 0.15);
  border: 1px solid rgba(255, 108, 44, 0.3);
  border-radius: var(--radius-pill);
  padding: 5px 16px;
  margin-bottom: 20px;
}

.contact-hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════
   SECTION WRAPPER
   ══════════════════════════════════════════════════════════ */
.contact-section {
  padding: 60px 0 80px;
  background: var(--clr-blue-bg);
}

/* ══════════════════════════════════════════════════════════
   LAYOUT CARD
   ══════════════════════════════════════════════════════════ */
.contact-layout {
  display: flex;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-blue-lg);
}

/* ══════════════════════════════════════════════════════════
   INFO PANEL  (left / navy)
   ══════════════════════════════════════════════════════════ */
.contact-info-panel {
  background: var(--grad-navy);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}

/* orange circle top-right */
.contact-info-panel::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 108, 44, 0.1);
  pointer-events: none;
}

/* white circle bottom-left */
.contact-info-panel::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

/* heading */
.contact-info-heading {
  font-size: 24px;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: 0;
  position: relative;
  letter-spacing: -0.3px;
}

.contact-info-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--grad-orange);
  border-radius: var(--radius-pill);
  margin-top: 12px;
}

.contact-info-subtitle {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  margin: 12px 0 20px;
  line-height: 1.7;
}

/* ── Section divider ─────────────────────────────────── */
.contact-panel-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 24px 0;
  position: relative;
  z-index: 1;
}

/* contact items */
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  position: relative;
  z-index: 1;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}

.contact-icon-box {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--grad-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--trans-normal);
}

.contact-info-item:hover .contact-icon-box {
  opacity: 0.85;
}

.contact-icon-box svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.contact-item-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.contact-item-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-orange-mid);
}

.contact-item-value {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.contact-item-value a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.contact-item-value a:hover {
  color: var(--clr-orange-mid);
}

/* ── What Happens Next steps ─────────────────────────── */
.contact-steps {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  margin-bottom: 0;
}

.contact-steps-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.contact-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  transition: background var(--trans-fast);
  cursor: default;
}

.contact-step:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* connecting vertical line */
.contact-step-line {
  position: absolute;
  left: 16px;
  top: 42px;
  width: 1.5px;
  height: calc(100% - 8px);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.contact-step-num {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: rgba(255, 108, 44, 0.15);
  border: 1.5px solid rgba(255, 108, 44, 0.5);
  color: var(--clr-orange-mid);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--trans-normal), color var(--trans-normal), border-color var(--trans-normal);
}

.contact-step:hover .contact-step-num {
  background: var(--grad-orange);
  border-color: transparent;
  color: var(--clr-white);
}

.contact-step:hover .contact-step-title {
  color: var(--clr-orange-mid);
}

.contact-step-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 5px;
  padding-bottom: 10px;
}

.contact-step-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.3;
  transition: color var(--trans-fast);
}

.contact-step-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

/* ── Social links ────────────────────────────────────── */
.contact-social {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.contact-social-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}

.contact-social-links {
  display: flex;
  gap: 10px;
}

.contact-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-fast), transform var(--trans-fast);
}

.contact-social-btn:hover {
  background: var(--grad-orange);
  transform: translateY(-2px);
}

.contact-social-btn svg {
  width: 17px;
  height: 17px;
}

.contact-social-empty {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

/* ══════════════════════════════════════════════════════════
   FORM PANEL  (right / white)
   ══════════════════════════════════════════════════════════ */
.contact-form-panel {
  background: var(--clr-white);
  padding: 52px 48px;
  flex: 1;
}

.contact-form-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: 6px;
  position: relative;
}

.contact-form-heading::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--grad-orange);
  border-radius: var(--radius-pill);
  margin-top: 10px;
}

.contact-form-sub {
  font-size: 13px;
  color: var(--clr-text-muted);
  margin-top: 18px;
  margin-bottom: 28px;
}

/* ── Field icon wrapper ───────────────────────────────── */
.cf-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cf-field-icon {
  position: absolute;
  left: 14px;
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: color var(--trans-fast);
  z-index: 1;
}

.contact-form .cf-field-wrap .form-control {
  padding-left: 42px;
}

.cf-field-wrap:focus-within .cf-field-icon {
  color: var(--clr-blue);
}

/* ── Form fields ─────────────────────────────────────── */
.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form .form-control {
  height: 50px;
  background: var(--clr-bg-input);
  border: 1.5px solid var(--clr-border-mid);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--clr-text-base);
  padding: 0 16px;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast), background var(--trans-fast);
  width: 100%;
}

.contact-form .form-control::placeholder {
  color: var(--clr-text-placeholder);
}

.contact-form .form-control:focus {
  border-color: var(--clr-blue);
  background: var(--clr-white);
  box-shadow: 0 0 0 3px rgba(37, 99, 156, 0.1);
  outline: none;
}

.contact-form .form-control.is-invalid {
  border-color: var(--clr-error);
}

/* ── Textarea ─────────────────────────────────────────── */
.cf-textarea-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cf-textarea-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-mid);
}

.cf-textarea-label svg {
  color: var(--clr-blue);
}

.cf-char-counter {
  font-size: 11px;
  color: var(--clr-text-faint);
  font-variant-numeric: tabular-nums;
  transition: color var(--trans-fast);
}

.cf-char-counter--warn {
  color: var(--clr-orange);
  font-weight: 600;
}

.contact-form textarea.form-control {
  height: 150px;
  padding: 14px 16px;
  resize: vertical;
}

/* ── Error messages ──────────────────────────────────── */
.contact-form .error_message {
  font-size: 12px;
  color: var(--clr-error);
  margin-top: 5px;
}

/* ── ReCAPTCHA ───────────────────────────────────────── */
.contact-captcha-wrap {
  margin-bottom: 8px;
}

/* ── Submit button ───────────────────────────────────── */
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: var(--grad-orange);
  color: var(--clr-white);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity var(--trans-normal), transform var(--trans-fast), box-shadow var(--trans-normal);
  box-shadow: 0 4px 14px rgba(255, 108, 44, 0.3);
}

.contact-submit-btn:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 108, 44, 0.4);
}

.contact-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ── Loading spinner ─────────────────────────────────── */
.cf-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--clr-white);
  border-radius: 50%;
  animation: cf-spin 0.7s linear infinite;
}

@keyframes cf-spin {
  to { transform: rotate(360deg); }
}

/* ── Success screen ──────────────────────────────────── */
.cf-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 32px;
  height: 100%;
  gap: 16px;
}

.cf-success-icon {
  color: var(--clr-success);
  margin-bottom: 8px;
}

.cf-success-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--clr-navy);
}

.cf-success-sub {
  font-size: 15px;
  color: var(--clr-text-mid);
  max-width: 340px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   STATS STRIP
   ══════════════════════════════════════════════════════════ */
.contact-stats {
  display: flex;
  gap: 20px;
  margin-top: 36px;
}

.contact-stat-card {
  flex: 1;
  background: var(--grad-navy);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-blue-lg);
  transition: transform var(--trans-normal), box-shadow var(--trans-normal);
  position: relative;
  overflow: hidden;
}

.contact-stat-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 108, 44, 0.08);
  pointer-events: none;
}

.contact-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 25, 60, 0.35);
}

.contact-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-orange);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: opacity var(--trans-normal);
}

.contact-stat-card:hover .contact-stat-icon {
  opacity: 0.85;
}

.contact-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1;
  margin-bottom: 8px;
}

.contact-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .contact-layout {
    flex-direction: column;
  }

  .contact-info-panel {
    padding: 40px 32px;
  }

  .contact-form-panel {
    padding: 40px 32px;
  }

  .contact-stats {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 575px) {
  .contact-hero {
    padding: 52px 0 60px;
  }

  .contact-section {
    padding: 40px 0 56px;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 32px 20px;
  }

  .contact-hero-title {
    font-size: 28px;
  }
}
