/* ===============================
   CONTACT NAVBAR
================================*/
/* Navbar styles are now handled in main.css */
/* Removed old red navbar styles to match home.html design */

/* ===============================
   CONTACT HEADER
================================*/
.contact-area {
  display: block;
  padding: 5% 10%;
  font-family: "Open Sans", sans-serif;
}
.contact-area-header {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}
.contact-header {
  color: var(--red);
  font-size: 2.2rem;
  font-weight: 600;
}
#contact-header-line {
  border: 4px solid var(--red);
  border-radius: 5px;
  width: 80px;
  margin: 1rem auto 2rem;
}

/* ===============================
   CONTACT FORM
================================*/
#contact-form-section {
  margin-top: 2rem;
  padding: 2rem;
  background-color: var(--light-gray);
  color: black;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
#contact-form-section h3 {
  margin-bottom: 1rem;
  color: var(--gray);
  text-align: center;
}

/* Inputs */
.contact-user-info {
  width: 48%;
  display: inline-block;
  margin-bottom: 1rem;
}
#contact-name { float: left; }
#contact-email { float: right; }
#contact-subject, textarea {
  width: 100%;
  margin-bottom: 1rem;
}
.contact-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}
.contact-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 4px rgba(179,7,56,0.4);
}

/* Textarea */
textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
#contact-btn {
  margin-top: 0.5rem;
  font-size: 16px;
  height: 40px;
  width: 120px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}
#contact-btn:hover {
  background-color: var(--gray);
  color: white;
}

/* ===============================
   FEEDBACK SECTION
================================*/
.feedback-section {
  margin-top: 2rem;
  padding: 1.5rem;
  text-align: center;
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
}
.feedback-section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.feedback-section h3 {
  color: var(--red);
  margin-bottom: 0.5rem;
}
.feedback-section p {
  margin-bottom: 1rem;
  font-size: 14px;
  color: var(--gray);
}
.feedback-section a {
  display: inline-block;
  padding: 10px 18px;
  background: var(--red);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}
.feedback-section a:hover {
  background: var(--gray);
}

/* ===============================
   RESPONSIVE STYLES
================================*/

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .contact-header { font-size: 2rem; }
  .contact-input { font-size: 15px; }
  #contact-form-section { padding: 1.5rem; }
}

/* Small tablets / large phones (≤768px) */
@media (max-width: 768px) {
  .contact-area { padding: 40px 20px; }
  .contact-header { font-size: 1.8rem; }
  .contact-user-info {
    width: 100%;
    float: none;
    display: block;
  }
  #contact-name, #contact-email { float: none; }
  #contact-btn { width: 100%; height: 45px; }
}

/* Mobile phones (≤480px) */
@media (max-width: 480px) {
  .contact-header { font-size: 1.5rem; }
  #contact-header-line { width: 50px; }
  .contact-input { font-size: 14px; padding: 0.6rem; }
  textarea { min-height: 100px; }
  .feedback-section h2 { font-size: 1.4rem; }
  .feedback-section p { font-size: 13px; }
  .feedback-section a { width: 100%; font-size: 14px; padding: 12px; }
}
