/* ===============================
   CONTACT PAGE - CLEAN UI
=============================== */

.contact-container {
  max-width: 650px;
  margin: 20px auto;
  padding: 20px;
}

/* Header */
.contact-header {
  text-align: center;
  margin-bottom: 35px;
}

.contact-header h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--logo-color);
}

.contact-header p {
  color: #6b7280;
  /* Subtle grey for subtitle */
  font-size: 0.95rem;
  margin-top: 8px;
}

/* Form Box - Clean, white card with a soft, elegant shadow */
.contact-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #eaeaea;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

/* Section title - Darker for balance */
.contact-box h3 {
  margin-bottom: 24px;
  font-size: 1.4rem;
  color: #1a1a1a;
}

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

/* Form group */
.form-group {
  display: flex;
  flex-direction: column;
}

/* Labels - Dark grey is much easier to read */
.form-group label {
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black-color);
}

/* Inputs - Clean, outlined, modern */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1.5px solid #d1d5db;
  /* Subtle grey border */
  background: #ffffff;
  /* White background */
  color: #1a1a1a;
  /* Dark text when typing */
  outline: none;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
}

/* Focus effect - Turns brand green ONLY when the user clicks to type */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--logo-color);
  box-shadow: 0 0 0 4px rgba(0, 255, 153, 0.15);
  /* Modern soft focus ring */
}

/* Placeholder text */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--logo-color);
  /* Standard light grey */
  opacity: 1;
}

/* Textarea specific */
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Button */
.btn-submit {
  margin-top: 10px;
  padding: 14px;
  background: var(--logo-color);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--white-color, #ffffff);
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Button hover */
.btn-submit:hover {
  box-shadow: 0 4px 15px rgba(0, 255, 153, 0.3);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Success message - Clean, modern alert style */
.success-msg {
  margin-top: 15px;
  color: #065f46;
  background: #d1fae5;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  border: 1px solid #a7f3d0;
}

/* ===============================
   RESPONSIVE FIXES
=============================== */

@media (max-width: 768px) {
  .contact-container {
    margin: 30px auto;
    padding: 15px;
  }

  .contact-box {
    padding: 24px;
  }

  .contact-header h2 {
    font-size: 1.8rem;
  }

  .contact-header p {
    font-size: 0.9rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px;
    font-size: 0.95rem;
  }

  .btn-submit {
    padding: 12px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .contact-container {
    margin: 20px auto;
  }

  .contact-header h2 {
    font-size: 1.6rem;
  }

  .contact-box {
    padding: 20px;
    border-radius: 12px;
  }
}