/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═════════════════════════════════════════════════════════════════════════════ */

#tab-contact {
  flex-direction: column;
}

.contact-hero {
  background: linear-gradient(135deg, var(--navy) 0%, rgba(15, 30, 60, 0.9) 100%);
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.contact-hero-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-section {
  padding: 60px 40px;
  background: var(--bg);
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--g2);
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  border: 1px solid var(--g6);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--fg);
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
}

.form-input:hover,
.form-textarea:hover {
  border-color: var(--g5);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45, 160, 166, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.contact-submit-btn {
  padding: 14px 32px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-submit-btn:hover {
  background: #219294;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 160, 166, 0.3);
}

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

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

/* Success and Error Messages */
.success-message,
.error-message {
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
}

.success-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.success-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.success-content h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  color: #22c55e;
}

.success-content p {
  margin: 0;
  font-size: 13px;
  color: var(--g2);
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
}

.error-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.error-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.error-content h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  color: #ef4444;
}

.error-content p {
  margin: 0;
  font-size: 13px;
  color: var(--g2);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .contact-hero {
    padding: 40px 20px;
  }

  .contact-hero-content h1 {
    font-size: 36px;
  }

  .contact-section {
    padding: 40px 20px;
  }

  .contact-container {
    max-width: 100%;
  }
}
