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

.page-contact__hero-section {
  background-color: #000080; /* Dark blue background for hero */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid #FFD700; /* Gold accent */
}

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

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

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

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

.page-contact__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.05em;
}

.page-contact__hero-button--primary {
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text */
  border: 2px solid #FFD700;
}

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

.page-contact__hero-button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

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

.page-contact__methods-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__commitment-section,
.page-contact__responsible-gaming-support,
.page-contact__business-inquiries,
.page-contact__careers-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-contact__methods-title,
.page-contact__form-title,
.page-contact__faq-title,
.page-contact__commitment-title,
.page-contact__responsible-gaming-title,
.page-contact__business-title,
.page-contact__careers-title {
  font-size: 2.2em;
  color: #000080; /* Dark blue titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__methods-description,
.page-contact__form-description,
.page-contact__faq-description,
.page-contact__commitment-description,
.page-contact__responsible-gaming-description,
.page-contact__business-description,
.page-contact__careers-description {
  font-size: 1.05em;
  color: #555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-contact__method-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__method-card-icon {
  width: 200px; /* Min size 200px */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-contact__method-card-title {
  font-size: 1.6em;
  color: #000080;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__method-card-text {
  color: #666;
  margin-bottom: 25px;
}

.page-contact__method-card-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000080;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__method-card-button:hover {
  background-color: #e6c200;
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
}

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

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #DC143C; /* Dark red accent button */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-contact__faq-items {
  margin-top: 40px;
}

.page-contact__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-contact__faq-item-question {
  font-size: 1.3em;
  color: #000080;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
  position: relative;
  padding-right: 30px;
}

.page-contact__faq-item-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #FFD700;
}

.page-contact__faq-item-question.active::after {
  content: '-';
}

.page-contact__faq-item-answer {
  font-size: 1em;
  color: #666;
  display: none; /* Hidden by default, shown by JS */
  padding-top: 10px;
  border-top: 1px dashed #eee;
  margin-top: 15px;
}

.page-contact__faq-item-answer a {
  color: #000080;
  text-decoration: underline;
}

.page-contact__faq-item-answer a:hover {
  color: #FFD700;
}

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

.page-contact__commitment-title {
  color: #FFD700;
  margin-bottom: 30px;
}

.page-contact__commitment-description {
  max-width: 900px;
  margin: 0 auto 20px auto;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-contact__responsible-gaming-support {
  background-color: #f8f8f8;
  text-align: center;
  padding: 60px 20px;
}

.page-contact__responsible-gaming-image {
  width: 400px; /* HTML width/height 400x300 */
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__responsible-gaming-description {
  max-width: 800px;
  margin: 0 auto 20px auto;
  color: #555;
}

.page-contact__responsible-gaming-description a {
  color: #000080;
  text-decoration: underline;
}

.page-contact__responsible-gaming-description a:hover {
  color: #FFD700;
}

.page-contact__business-inquiries,
.page-contact__careers-section {
  text-align: center;
  padding: 60px 20px;
}

.page-contact__business-contact-info,
.page-contact__careers-info {
  margin-top: 30px;
}

.page-contact__business-email,
.page-contact__business-affiliate,
.page-contact__careers-email,
.page-contact__careers-note {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #555;
}

.page-contact__business-email a,
.page-contact__business-affiliate a,
.page-contact__careers-email a {
  color: #000080;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__business-email a:hover,
.page-contact__business-affiliate a:hover,
.page-contact__careers-email a:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-contact__business-image,
.page-contact__careers-image {
  width: 400px; /* HTML width/height 400x300 */
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__hero-button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-contact__methods-title,
  .page-contact__form-title,
  .page-contact__faq-title,
  .page-contact__commitment-title,
  .page-contact__responsible-gaming-title,
  .page-contact__business-title,
  .page-contact__careers-title {
    font-size: 1.8em;
  }

  .page-contact__methods-description,
  .page-contact__form-description,
  .page-contact__faq-description,
  .page-contact__commitment-description,
  .page-contact__responsible-gaming-description,
  .page-contact__business-description,
  .page-contact__careers-description {
    font-size: 0.95em;
  }

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

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

  .page-contact__faq-item-question {
    font-size: 1.1em;
  }

  .page-contact__faq-item-answer {
    font-size: 0.9em;
  }

  .page-contact__responsible-gaming-image,
  .page-contact__business-image,
  .page-contact__careers-image {
    max-width: 100%; /* Ensures images do not overflow */
    height: auto;
    width: auto; /* Allow auto width for smaller screens */
  }

  /* Critical: Prevents horizontal overflow for all content images on mobile */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}