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

:root {
    /* Extending root if needed, but term_styles covers most. 
       Redefining specific contact variables if they differ, or relying on cascade. */
    --input-bg: #ffffff;
    --input-border: #e2e8f0;
    --button-bg: #111827; 
    --button-text: #ffffff;
}

/* Override body to allow sticky footer behavior for this page */
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: 4rem 1.5rem;
  width: 100%;
}

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

.contact-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b; /* Dark navy/slate */
  margin-bottom: 0.5rem;
}

.contact-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.contact-form-wrapper {
  width: 100%;
  max-width: 600px;
}

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

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

.form-group.full-width {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.5rem; /* Left padding for icon */
  border: 1px solid var(--input-border);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--input-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-sans);
}

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

.form-control:focus {
  outline: none;
  border-color: #cbd5e1;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background-color: #1e1e2e;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: #111827;
}

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

/* Responsive adjustments */
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-header h1 {
    font-size: 2rem;
  }
}
