/* DO NOT override global `.container` used by header/footer */
/* Page-specific styling only */

/* =========================
   PAGE WRAPPER (FORM AREA)
========================= */
.contact-container {
  max-width: 900px;
  margin: 50px auto;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-container h1 {
  margin: 0 0 6px 0;
  font-size: 1.7rem;
  color: #111;
}

.contact-container .help-text {
  margin: 0 0 18px 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* =========================
   TOP CONTACT INFO SECTION (KEEP)
========================= */
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px;
  background-color: white;
  max-width: 1200px;
  margin: 20px auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.contact-details {
  flex: 1;
  padding-right: 20px;
}

.contact-details h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.detail { margin-bottom: 15px; }

.detail p {
  margin: 5px 0;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* =========================
   QUOTE-LIKE FORM CARD
========================= */
.contact-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 22px;
  border: 1px solid #eee;
}

/* Use same "feel" as quote form */
.contactForm {
  display: flex;
  flex-direction: column;
}

/* Field wrapper */
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

/* Labels like quote form */
.field label {
  margin-bottom: 8px;
  color: #333;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

/* Required star + optional text */
.required-star {
  color: #b71c1c;
  margin-left: 6px;
  font-weight: 800;
}

.optional-text {
  font-weight: 600;
  color: #666;
  font-size: 0.85rem;
  margin-left: 6px;
}

/* Two-column rows */
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 6px;
}

/* Inputs + textarea like quote form */
.contactForm input[type="text"],
.contactForm input[type="tel"],
.contactForm input[type="email"],
.contactForm textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #222;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Better placeholder contrast */
.contactForm input::placeholder,
.contactForm textarea::placeholder {
  color: #888;
}

/* Focus state */
.contactForm input:focus,
.contactForm textarea:focus {
  border-color: #b71c1c;
  box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.12);
}

/* Textarea styling */
.contactForm textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.45;
}

/* Small tip text under message */
.field .help-text {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #666;
}

/* Turnstile spacing */
.turnstile-wrap {
  margin: 10px 0 14px 0;
}

/* Button (you wanted Submit) */
.submit-button {
  width: 100%;
  padding: 12px;
  background-color: #f04e23;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.05s ease;
}

.submit-button:hover { background-color: #d03e1c; }

.submit-button:active {
  transform: translateY(1px);
}

/* =========================
   MAP SECTION (KEEP)
========================= */
.map-section {
  margin-top: 22px;
  text-align: center;
}

.map-section h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* =========================
   MOBILE FIXES
========================= */
@media screen and (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    padding: 20px;
    margin: 20px;
  }

  .contact-details {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .contact-container {
    margin: 20px;
    padding: 20px;
  }

  .row-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-card {
    padding: 16px;
  }
}
