.page-contact {
  color: #333333; /* Default text color for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

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

.page-contact__hero-section {
  background-color: #f8f8f8;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-contact__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-contact__hero-image {
  width: 100%;
  max-width: 1000px; /* Constrain hero image width */
  margin-top: 40px;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-contact__methods-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

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

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

.page-contact__card-icon {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  margin: 0 auto 20px;
  display: block;
  border-radius: 4px;
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-contact__card-description {
  color: #555555;
  margin-bottom: 25px;
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
  transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FCBC45;
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
}

.page-contact__button--primary {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Auxiliary color */
}

.page-contact__button--primary:hover {
  background-color: #333333;
}

.page-contact__button--secondary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-contact__button--secondary:hover {
  background-color: #e0a53b;
}

.page-contact__promo-section {
  background-color: #000000;
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-contact__promo-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__promo-title {
  font-size: 2.8em;
  color: #FCBC45;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-contact__promo-section .page-contact__button {
  margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact__hero-section {
    flex-direction: column;
    padding: 60px 0;
  }

  .page-contact__hero-title {
    font-size: 2.5em;
  }

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

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

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

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

  .page-contact__button {
    padding: 12px 24px;
    font-size: 1em;
  }

  .page-contact__promo-title {
    font-size: 2.2em;
  }

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

  .page-contact__promo-section .page-contact__button {
    display: block;
    margin: 15px auto;
    width: 80%;
  }

  /* Ensure all images within .page-contact are responsive and not too small */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

  .page-contact__button {
    width: 90%;
  }
}