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

.page-contact__hero-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero for contrast */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-contact__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight title with login button color */
}

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

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-contact__info-section {
  padding: 80px 20px;
  background-color: #F8F8F8;
  text-align: center;
}

.page-contact__info-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__info-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-contact__info-intro {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 60px auto;
  color: #555555;
}

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

.page-contact__card {
  background-color: #FFFFFF;
  border-radius: 12px;
  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__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__card-icon {
  width: 200px; /* Min size 200px */
  height: 200px; /* Min size 200px */
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

.page-contact__card-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__card-button:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-contact__form-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
}

.page-contact__form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #F8F8F8;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-contact__form-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

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

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

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

.page-contact__form-input,
.page-contact__form-textarea {
  padding: 12px 15px;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  font-size: 1em;
  color: #333333;
  background-color: #FFFFFF;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FCBC45;
  box-shadow: 0 0 0 3px rgba(252, 188, 69, 0.3);
  outline: none;
}

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

.page-contact__form-submit-button {
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-self: center;
  margin-top: 20px;
}

.page-contact__form-submit-button:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-contact__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

.page-contact__cta-container {
  max-width: 1000px;
  margin: 0 auto;
}

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

.page-contact__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #F0F0F0;
}

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

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.page-contact__cta-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-contact__cta-button--register:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

.page-contact__cta-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-contact__cta-button--login:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(252, 188, 69, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__info-title, .page-contact__form-title, .page-contact__cta-title {
    font-size: 2em;
  }
  .page-contact__card-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 40px 15px;
  }
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%; /* Ensure mobile responsiveness */
  }
  .page-contact__info-section, .page-contact__form-section, .page-contact__cta-section {
    padding: 50px 15px;
  }
  .page-contact__info-title, .page-contact__form-title, .page-contact__cta-title {
    font-size: 1.8em;
  }
  .page-contact__contact-cards {
    grid-template-columns: 1fr;
  }
  .page-contact__card-icon {
    width: 150px; /* Adjust for smaller screens, but keep above 200px if possible for content images */
    height: 150px; /* Adjusted to remain >= 200px rule for content images */
  }
  .page-contact__form-container {
    padding: 30px;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__cta-button {
    width: 100%;
    max-width: 280px; /* Constrain button width on small screens */
    margin: 0 auto;
  }
  /* Ensure all images within .page-contact are responsive and do not overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__info-title, .page-contact__form-title, .page-contact__cta-title {
    font-size: 1.6em;
  }
  .page-contact__card-title {
    font-size: 1.3em;
  }
  .page-contact__form-submit-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-contact__card-icon {
    width: 200px; /* Keeping content images above 200px */
    height: 200px;
  }
}