:root {
  --text-color: #e5e7eb;
  --card-bg: #0f172a;
  --accent: #3b82f6;
}

/* ---- Section Layout ---- */
.contact-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1rem;
  color: var(--text-color);
  text-align: center;
  font-family: "Poppins", sans-serif;
}

/* ---- Title ---- */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title span {
  color: var(--accent);
}

.section-subtitle {
  color: #9ca3af;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* ---- Form ---- */
.contact-form {
  background: var(--card-bg);
  border: 1px solid #1f2937;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
}

/* ---- Form Groups ---- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #334155;
  background: #0f172a;
  color: #fff;
  font-size: 1rem;
  transition: 0.2s ease;
}

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

/* ---- Button ---- */
.submit-btn {
  width: 100%;
  padding: 0.85rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

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

  .contact-form {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .submit-btn {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
}
