/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for default white body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #007bff; /* Fallback background */
  padding-bottom: 40px; /* Space below content */
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 100%;
  z-index: 1;
  opacity: 0.7;
}

.page-contact__hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  min-height: 400px;
  padding: 60px 20px;
}

.page-contact__hero-content {
  max-width: 800px;
  margin-top: 20px;
}

.page-contact__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-contact__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-contact__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-contact__button--primary {
  background-color: #28a745; /* Auxiliary color */
  color: #ffffff;
  border: 2px solid #28a745;
}

.page-contact__button--primary:hover {
  background-color: #218838;
  border-color: #218838;
  transform: translateY(-2px);
}

.page-contact__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-contact__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #007bff; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-contact__methods-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.page-contact__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__method-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Ensure images are not too small */
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-contact__email-address {
  font-weight: bold;
  color: #28a745;
  margin-bottom: 20px;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.page-contact__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #007bff;
  color: #ffffff;
  font-size: 1.2em;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
  background-color: #0056b3;
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__form-group {
  margin-bottom: 20px;
}

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333333;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__button--submit {
  background-color: #007bff;
  color: #ffffff;
  border: none;
  cursor: pointer;
  width: auto;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__button--submit:hover {
  background-color: #0056b3;
}

.page-contact__faq-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-contact__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-contact__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-contact__faq-answer a {
  color: #28a745;
  text-decoration: none;
}

.page-contact__faq-answer a:hover {
  text-decoration: underline;
}

.page-contact__more-help {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
  color: #555555;
}

.page-contact__cta-section {
  background-color: #007bff;
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-contact__cta-section .page-contact__section-title {
  color: #ffffff;
}

.page-contact__cta-section .page-contact__section-intro {
  color: #f0f0f0;
}

.page-contact__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2.2em;
  }

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__button {
    width: 100%;
    max-width: 300px;
  }

  .page-contact__section-title {
    font-size: 2em;
  }

  .page-contact__section-intro {
    margin-bottom: 30px;
  }

  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__method-icon {
    max-width: 200px;
  }

  .page-contact__faq-question {
    font-size: 1.1em;
  }

  /* Ensure all images within .page-contact do not overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }

  .page-contact__hero-container {
    padding: 40px 15px;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__contact-form,
  .page-contact__method-card,
  .page-contact__faq-item {
    padding: 20px;
  }
}