/* ========== Contact Page Styles ========== */

.contact-page {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom, #eff6ff, #ffffff);
  color: #1f2937;
  padding: 4rem 1rem 2rem;
  line-height: 1.6;
}

/* ---------- Header Section ---------- */
.contact-page .header {
  text-align: center;
  padding: 3rem 1rem;
}

.contact-page .header h1 {
  font-size: 2.5rem;
  color: #2563eb;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-page .header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: #4b5563;
}

/* ---------- Contact Info Section ---------- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.info-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card .icon {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 0.75rem;
}

.info-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-card p {
  font-size: 1rem;
  color: #6b7280;
}

/* ========================================
   Contact Form Section - Fixes & Styling
   ======================================== */

.contact-form-section {
  background: #ffffff;
  max-width: 700px;
  margin: 0 auto 4rem;
  padding: 3rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact-form-section form.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Hide extra line breaks and ugly default spacing */
.contact-form-section form p {
  margin: 0;
}

/* Input and Textarea fields */
.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section textarea {
  width: 94%;
  padding: 1rem 1.25rem;
margin-bottom: .5rem;
  font-size: 1rem;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus {
  border-color: #2563eb;
  background-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

/* Submit button */
.contact-form-section .wpcf7-submit {
  background-color: #2563eb;
width:100%;
  color: #ffffff;
  padding: .5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form-section .wpcf7-submit:hover {
  background-color: #1e3a8a;
}

/* Hide spinner unless active */
.contact-form-section .wpcf7-spinner {
  display: none !important;
}

/* Center the form content inside the section */
.contact-form-section .wpcf7 {
  width: 100%;
}

/* Optional: response messages */
.contact-form-section .wpcf7-response-output {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  display: none; /* Hidden until message appears */
}

.contact-form-section .wpcf7-response-output.wpcf7-mail-sent-ok {
  display: block;
  background: #ecfdf5;
  border: 1px solid #34d399;
  color: #065f46;
}

.contact-form-section .wpcf7-response-output.wpcf7-validation-errors,
.contact-form-section .wpcf7-response-output.wpcf7-mail-sent-ng {
  display: block;
  background: #fef2f2;
  border: 1px solid #f87171;
  color: #7f1d1d;
}

/* ---------- Social Media Section ---------- */
.social-section {
  text-align: center;
  padding: 2rem 1rem;
}

.social-section p {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e0f2fe;
  padding: 0.75rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: #bfdbfe;
}

.social-icons i {
  font-size: 1.5rem;
  color: #2563eb;
}

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

  .contact-form-section {
    padding: 2rem 1rem;
  }
	.contact-form-section input[type="text"],
	.contact-form-section input[type="email"],
	.contact-form-section input[type="tel"],
	.contact-form-section textarea {
		width: 90%;
  }
}
