body.page #content.site-content,
body.page main,
body.page .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page .entry-content p,
body.page .entry-content br {
  margin: 0 !important;
  display: none !important;
}

/* Contact Page Wrapper */
.contact-page-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}

.contact-page-wrapper > * {
  margin: 0;
  padding: 0;
}

.contact-page-wrapper a {
  text-decoration: none !important;
}

/* Container */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 768px) {
  .contact-container {
    padding: 0 1rem;
  }
}

/* Hero Banner */
.contact-hero-banner {
  background: var(--theme-primary-color, #3b82f6);
  padding: 4rem 1rem;
  text-align: center;
  color: white;
}

.contact-hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* Contact Info Section */
.contact-info-section {
  padding: 4rem 1rem;
  background: #f9fafb;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease;
}

.contact-info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-info-icon {
  width: 64px;
  height: 64px;
  background: var(--theme-primary-color, #3b82f6);
  color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.contact-info-icon svg {
  width: 32px;
  height: 32px;
}

.contact-info-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.contact-info-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 0.5rem;
}

.contact-info-link {
  color: var(--theme-primary-color, #3b82f6);
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-info-link:hover {
  color: var(--theme-primary-color, #2563eb);
}

/* Contact Form Section */
.contact-form-section {
  padding: 4rem 1rem;
  background: white;
}

.contact-section-heading {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.contact-section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
}

.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
  background: #f9fafb;
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

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

.contact-form-group {
  display: flex;
  flex-direction: column;
}

.contact-form-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.contact-form-label .required {
  color: #ef4444;
  margin-left: 0.25rem;
}

.contact-form-input,
.contact-form-textarea {
  padding: 0.875rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  color: #1a1a1a;
  background: white;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  outline: none;
  border-color: var(--theme-primary-color, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form-input.error,
.contact-form-textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.contact-form-textarea {
  min-height: 150px;
  resize: vertical;
  font-family: inherit;
}

.contact-form-submit {
  background: var(--theme-primary-color, #3b82f6);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form-submit:hover {
  background: var(--theme-primary-color, #2563eb);
}

.contact-form-submit:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.contact-form-message {
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  margin-top: 1rem;
}

.contact-form-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.contact-form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Map Section */
.contact-map-section {
  padding: 4rem 1rem;
  background: #f9fafb;
}

.contact-map-container {
  border-radius: 12px;
  overflow: hidden;
  height: 450px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 1.125rem;
}

.contact-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* FAQ Section */
.contact-faq-section {
  padding: 4rem 1rem;
  background: white;
}

.contact-faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-faq-item {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.contact-faq-question {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.contact-faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* CTA Banner */
.contact-cta-banner {
  background: var(--theme-primary-color, #3b82f6);
  padding: 4rem 1rem;
  text-align: center;
  color: white;
}

.contact-cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.contact-cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-cta-text {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.contact-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 180px;
}

.contact-cta-primary {
  background: white;
  color: var(--theme-primary-color, #3b82f6);
}

.contact-cta-primary:hover {
  background: #f8f9fa;
  color: var(--theme-primary-color, #3b82f6);
}

.contact-cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.contact-cta-secondary:hover {
  background: white;
  color: var(--theme-primary-color, #3b82f6);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-hero-title {
    font-size: 2rem;
  }

  .contact-hero-subtitle {
    font-size: 1rem;
  }

  .contact-info-section {
    padding: 3rem 1rem;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-form-section {
    padding: 3rem 1rem;
  }

  .contact-section-heading {
    font-size: 2rem;
  }

  .contact-form-container {
    padding: 1.5rem;
  }

  .contact-map-section {
    padding: 3rem 1rem;
  }

  .contact-map-container {
    height: 300px;
  }

  .contact-faq-section {
    padding: 3rem 1rem;
  }

  .contact-cta-banner {
    padding: 3rem 1rem;
  }

  .contact-cta-title {
    font-size: 2rem;
  }

  .contact-cta-text {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .contact-cta-buttons {
    flex-direction: column;
  }

  .contact-cta-btn {
    width: 100%;
    min-width: auto;
  }
}
