/* Contact Page Specific Styles */
/* Note: Base styles and header styles are inherited from term_styles.css */

:root {
  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --input-focus-border: #0ea5e9;
  --button-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.contact-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem;
  width: 100%;
}

.contact-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contact-header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.contact-header p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-wrapper {
  width: 100%;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.05),
    /* Soft drop shadow */
    0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-control {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  /* Left padding for icon */
  border: 2px solid transparent;
  background-color: #f1f5f9;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-sans);
  font-weight: 500;
}

.form-control::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.form-control:hover {
  background-color: #e2e8f0;
}

.form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--input-focus-border);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.input-icon {
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  /* Adjust based on input padding/height */
  color: #64748b;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  background: transparent;
  height: auto;
}

.form-control:focus+.input-icon,
.form-group:focus-within .input-icon {
  color: var(--accent-color);
}

.submit-btn {
  width: 100%;
  padding: 1.25rem;
  background: var(--button-gradient);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.contact-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Specific adjustment for textarea icon positioning if needed */
textarea.form-control {
  padding-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .contact-container {
    padding: 4rem 1rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-header h1 {
    font-size: 2.25rem;
  }
}