/* ═══════════════════════════════════════════════════════
   PCU CORPORATION — CONTACT PAGE STYLES (contact.css)
   ═══════════════════════════════════════════════════════ */

.contact-section {
  padding: 140px 0 100px;
  background-color: var(--color-white);
}

.contact-hero-wrapper {
  position: relative;
  border-radius: 32px;
  min-height: 720px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 56px 60px;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Subtle overlay on the image to ensure high contrast */
.contact-hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 19, 52, 0.4) 0%, rgba(1, 19, 52, 0.1) 60%, rgba(1, 19, 52, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ── Left Hero Headline ───────────────────────────────────── */
.contact-hero-left {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.contact-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  margin: 0;
}

/* ── Right Floating Dark Card Form ────────────────────────── */
.contact-hero-right {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
}

.contact-form-card {
  background-color: var(--color-primary);
  border-radius: 28px;
  padding: 44px 40px;
  box-sizing: border-box;
  box-shadow: 0 24px 60px rgba(1, 19, 52, 0.45);
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 0;
}

.contact-form-title .highlight {
  color: #6CA5FA;
}

.contact-form-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 24px 0 28px;
}

/* ── Form Inputs ─────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-input-pill {
  width: 100%;
  background-color: var(--color-white);
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--color-primary);
  box-sizing: border-box;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-input-pill::placeholder {
  color: #718096;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: -0.01em;
}

.contact-input-pill:focus {
  border-color: #6CA5FA;
  box-shadow: 0 0 0 3px rgba(108, 165, 250, 0.3);
}

/* ── Combined E-mail + Submit Button Pill ─────────────────── */
.contact-pill-combined {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-white);
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 5px 6px 5px 24px;
  box-sizing: border-box;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-pill-combined:focus-within {
  border-color: #6CA5FA;
  box-shadow: 0 0 0 3px rgba(108, 165, 250, 0.3);
}

.contact-input-combined {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--color-primary);
  min-width: 0;
}

.contact-input-combined::placeholder {
  color: #718096;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: -0.01em;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #6CA5FA;
  color: var(--color-white);
  border: none;
  border-radius: 100px;
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.contact-submit-btn:hover {
  background-color: #3D86E9;
  transform: scale(1.02);
}

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

.contact-submit-arrow {
  font-size: 18px;
  line-height: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .contact-hero-wrapper {
    flex-direction: column;
    gap: 40px;
    padding: 44px 32px;
    min-height: auto;
  }

  .contact-hero-left,
  .contact-hero-right {
    max-width: 100%;
  }

  .contact-form-card {
    padding: 36px 28px;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 120px 0 60px;
  }

  .contact-form-row--2col {
    grid-template-columns: 1fr;
  }

  .contact-pill-combined {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 12px;
    gap: 12px;
  }

  .contact-submit-btn {
    width: 100%;
    padding: 12px;
    border-radius: 100px;
  }
}
