/* Contact Form Styles (contact.css) */

.content-card {
  max-width: 880px;
  margin: 32px auto 40px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 20px 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
}

.content-card h1 {
  margin-top: 0;
  margin-bottom: 16px;
}

header {
  padding: 16px 20px; 
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  header {
    padding: 22px 32px; 
  }
}

.content-card p {
  line-height: 1.6;
  margin-bottom: 18px;
  color: #1f2937;
}

@media (min-width: 768px) {
  .content-card {
    padding: 32px 32px 30px;
  }
}

/* Form layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.form-label {
  font-weight: 600;
  color: #111827;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-dark);
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* Submit button – normal sized, not full-width */
.form-submit-btn {
  background: #1e3a8a; /* navy blue */
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
  font-size: 1rem;
  display: inline-flex;        
  align-items: center;
  justify-content: center;
  width: auto;               
}

.form-submit-btn:hover {
  background: #162f6d;
}

/* Header / logo / nav – match main site */

.brand {
  display: flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  max-height: 32px;
  height: auto;
}

/* Navigation links on the right */
.nav-links {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
}

.nav-links a {
  color: #6b7280;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: #2563eb;
}

/* --- Header / logo / nav overrides for contact page --- */

header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  header {
    padding: 22px 32px;
  }
}

.brand {
  display: flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand picture,
.brand img,
.brand-logo {
  display: block;
  height: auto;
  max-height: 32px;
}

@media (min-width: 768px) {
  .brand-logo {
    max-height: 40px;
  }
}

/* Menu on the right with breathing room from the logo */
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto; 
}

.nav-links a {
  color: #6b7280;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: #2563eb;
}



