/* ==========================================================
   Contact Section
   ========================================================== */

.contact {
  padding: 100px 5%;
  background: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ==========================================================
   Form Area (now includes Quick Contact inside)
   ========================================================== */

.contact-form-area {
  width: 100%;
  max-width: 750px;
  background: #fff;
  padding: 60px 50px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 35px rgba(169, 169, 169, 0.9);
  border-radius: 12px;
}

.contact-form-area h2 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 10px;
  color: var(--color-text);
  text-align: center;
}

.contact-form-area .section-subtext {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  text-align: center;
}

/* ==========================================================
   Form Elements
   ========================================================== */

form {
  width: 100%;
}

.form-row {
  margin-bottom: 25px;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-text);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

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

/* File input styling */
.form-row input[type="file"] {
  padding: 6px 0;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  cursor: pointer;
}

/* ==========================================================
   Form Actions
   ========================================================== */

.form-actions {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.form-actions .cta-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--color-bg);
  border: 1px solid #000;
  border-radius: 0; /* sharp corners */
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  text-decoration: none;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.form-actions .cta-primary:hover {
  background: #000;
  color: #fff;
}

.alt-contact {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.alt-contact:hover {
  color: var(--color-text);
}

/* ==========================================================
   Quick Contact (inside form card)
   ========================================================== */

.quick-contact {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.quick-contact h3 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 15px;
  color: var(--color-text);
}

.quick-contact p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--color-text-muted);
}

.quick-contact a {
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.quick-contact a:hover {
  color: #000;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 768px) {
  .contact {
    padding: 60px 4%;
  }

  .contact-form-area {
    padding: 40px 25px;
  }

  .form-actions {
    align-items: stretch;
  }

  .form-actions .cta-primary {
    width: 100%;
    text-align: center;
  }
}
