.page-contact {
  background-color: #FFFFFF;
  color: #333333;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-contact__hero-section {
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-contact__hero-title {
  font-size: 3.5em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

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

.page-contact__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-contact__button--register, .page-contact__button--register-cta {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-contact__button--register:hover, .page-contact__button--register-cta:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__button--login, .page-contact__button--login-cta {
  background-color: #FCBC45;
  color: #000000;
}

.page-contact__button--login:hover, .page-contact__button--login-cta:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__button--chat, .page-contact__button--email, .page-contact__button--faq {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-contact__button--chat:hover, .page-contact__button--email:hover, .page-contact__button--faq:hover {
  background-color: #333333;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__button--submit {
  background-color: #FCBC45;
  color: #000000;
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
}

.page-contact__button--submit:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__methods-section, .page-contact__form-section, .page-contact__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-contact__section-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__section-intro {
  font-size: 1.1em;
  color: #555555;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

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

.page-contact__method-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 350px; /* Ensure cards have similar height */
}

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

.page-contact__method-icon {
  width: 250px; /* Increased size, min 200px */
  height: 250px; /* Increased size, min 200px */
  object-fit: contain;
  margin-bottom: 25px;
}

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

.page-contact__method-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 500;
}

.page-contact__form-input, .page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1em;
  color: #333333;
  background-color: #FFFFFF;
  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__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 100px 0;
}

.page-contact__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.page-contact__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__section-title {
    font-size: 2.2em;
  }
  .page-contact__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 40px 15px;
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__button {
    width: 100%;
    max-width: 300px; /* Limit width for small buttons */
  }
  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    min-height: auto;
  }
  .page-contact__method-icon {
    width: 200px; /* Minimum size */
    height: 200px; /* Minimum size */
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-intro {
    font-size: 0.95em;
  }
  .page-contact__contact-form {
    padding: 30px 20px;
  }
  .page-contact__cta-section {
    padding: 60px 0;
  }
  .page-contact__cta-title {
    font-size: 2em;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
  }
  /* Mobile content area images must be constrained */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__button--submit {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-actions {
    flex-direction: column;
  }
  .page-contact__button {
    width: 100%;
  }
  .page-contact__cta-title {
    font-size: 1.8em;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
  }
}