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

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

.page-contact__hero-section {
  background-color: #000000; /* Main brand color for hero background */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
  white-space: nowrap;
}

.page-contact__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

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

.page-contact__button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FFFFFF;
}

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

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

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

.page-contact__methods-section,
.page-contact__form-section,
.page-contact__social-section,
.page-contact__additional-info-section {
  padding: 60px 0;
}

.page-contact__methods-section {
  background-color: #f8f8f8;
}

.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: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 450px; /* Ensure cards have enough height */
}

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

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

.page-contact__method-text {
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__form-section {
  background-color: #FFFFFF;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 5px 15px 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: #000000;
}

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

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

.page-contact__button--submit {
  background-color: #000000; /* Main brand color */
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
}

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

.page-contact__social-section {
  background-color: #f8f8f8;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-contact__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__social-link img {
  width: 250px; /* Minimum 200px */
  height: 250px; /* Minimum 200px */
  object-fit: contain;
  margin-bottom: 10px;
}

.page-contact__social-link span {
  font-size: 1.1em;
}

.page-contact__social-link:hover {
  color: #FCBC45;
}

.page-contact__additional-info-section {
  background-color: #FFFFFF;
}

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

.page-contact__info-card {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
  min-height: 280px; /* Ensure cards have enough height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-contact__info-text {
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #000000;
  color: #FFFFFF;
  border: none;
}

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

.page-contact__cta-banner {
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    margin-top: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-contact__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-contact__cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-contact__cta-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #FCBC45; /* Highlight color */
}

.page-contact__cta-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

@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: 1.8em;
  }
  .page-contact__section-description {
    font-size: 1em;
  }
  .page-contact__methods-grid,
  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__contact-form {
    padding: 20px;
  }
  .page-contact__social-links {
    flex-direction: column;
    gap: 20px;
  }
  .page-contact__social-link img {
    width: 200px; /* Minimum 200px for mobile */
    height: 200px; /* Minimum 200px for mobile */
  }
  .page-contact__method-card, .page-contact__info-card {
    min-height: auto;
  }
  .page-contact__method-icon {
    width: 200px; /* Minimum 200px for mobile */
    height: 200px; /* Minimum 200px for mobile */
  }
  .page-contact__cta-title {
    font-size: 1.8em;
  }
  /* Ensure all images within .page-contact are responsive and don't overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__hero-image {
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-section {
    padding: 60px 0;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-contact__cta-title {
    font-size: 1.5em;
  }
}