.page-contact {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px);
}

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

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #f4f4f4; /* Matching body background */
  position: relative;
  overflow: hidden;
}

.page-contact__hero-content {
  z-index: 1;
  max-width: 800px;
  margin-bottom: 40px;
}

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

.page-contact__hero-description {
  font-size: 1.3em;
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-contact__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #000000;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 0;
  opacity: 0.1;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

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

.page-contact__methods-description {
  font-size: 1.1em;
  color: #666666;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__method-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 450px; /* Ensure cards have enough height for content and image */
}

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

.page-contact__method-icon {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px; /* Added for consistency */
}

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

.page-contact__card-text {
  font-size: 1em;
  color: #777777;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__card-button {
  display: inline-block;
  background-color: #000000;
  color: #FFD700;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__card-button:hover {
  background-color: #333333;
  color: #FFD700;
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: #f4f4f4;
  text-align: center;
}

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

.page-contact__form-description {
  font-size: 1.1em;
  color: #666666;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px 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: #333333;
  margin-bottom: 8px;
  font-weight: bold;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  outline: none;
}

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  background-color: #FFD700;
  color: #000000;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.2em;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

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

.page-contact__support-center-description {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__support-center-button {
  display: inline-block;
  background-color: #FFD700;
  color: #000000;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__support-center-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__hero-description {
    font-size: 1.1em;
  }
  .page-contact__hero-button {
    font-size: 1.1em;
    padding: 12px 30px;
  }
  .page-contact__methods-title,
  .page-contact__form-title,
  .page-contact__support-center-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__support-center-section {
    padding: 60px 0;
  }
  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    min-height: auto;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 20px);
  }
  /* Mobile content image constraint */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  .page-contact__method-icon {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__methods-title,
  .page-contact__form-title,
  .page-contact__support-center-title {
    font-size: 2em;
  }
  .page-contact__hero-button,
  .page-contact__card-button,
  .page-contact__form-submit-button,
  .page-contact__support-center-button {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-contact__hero-content, .page-contact__methods-description, .page-contact__form-description, .page-contact__support-center-description {
    padding: 0 15px;
  }
  .page-contact__contact-form {
    padding: 20px;
  }
}