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

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 80px 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}

.page-contact__hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

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

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

.page-contact__cta-button {
  display: inline-block;
  background-color: #007bff; /* Main brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-contact__cta-button:hover {
  background-color: #0056b3;
}

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

/* Contact Methods Section */
.page-contact__contact-methods {
  background-color: #ffffff;
  padding: 60px 0;
}

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

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

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

.page-contact__method-icon {
  width: 250px; /* Ensure minimum size */
  height: 250px; /* Ensure minimum size */
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-contact__method-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-contact__method-button {
  display: inline-block;
  background-color: #dc3545; /* Accent color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__method-button:hover {
  background-color: #c82333;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  text-align: center;
  background-color: #e9ecef;
}

.page-contact__faq-description {
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-contact__faq-button {
  display: inline-block;
  background-color: #007bff; /* Main brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-contact__faq-button:hover {
  background-color: #0056b3;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-contact__form-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  background-color: #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

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

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

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  background-color: #dc3545; /* Accent color */
  color: #ffffff;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__form-submit-button:hover {
  background-color: #c82333;
}

/* Social Media Section */
.page-contact__social-media-section {
  padding: 60px 0;
  background-color: #343a40;
  color: #ffffff;
  text-align: center;
}

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

.page-contact__social-description {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 30px;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.page-contact__social-link {
  display: inline-block;
  background-color: #007bff; /* Main brand color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

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

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

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

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

  .page-contact__method-icon {
    width: 200px; /* Ensure minimum size on mobile */
    height: 200px; /* Ensure minimum size on mobile */
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 24px); /* Adjust for padding on smaller screens */
  }

  .page-contact__social-links {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__social-link {
    width: 80%;
    margin: 0 auto;
  }

  /* Critical: Prevent content overflow on mobile */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-contact__hero-section {
    padding: 60px 15px;
  }

  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-contact__method-card {
    padding: 20px;
  }

  .page-contact__contact-form {
    padding: 20px;
  }
}