.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  background-color: #08160F; /* Background */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-contact__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 800px;
  margin-top: 40px;
}

.page-contact__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__methods-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-contact__method-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact__method-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-contact__method-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__method-text {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__method-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__method-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #f5f5f5; /* Light background for contrast */
}

.page-contact__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-contact__faq-item {
  background-color: #ffffff; /* White background for contrast */
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-contact__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333; /* Dark text for light background */
  list-style: none;
  outline: none;
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-contact__faq-qtext {
  flex-grow: 1;
  color: #333333; /* Dark text */
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #11A84E; /* Main color */
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  content: "−";
}

.page-contact__faq-answer {
  padding: 0 25px 20px;
  color: #555555; /* Slightly darker text for answer */
  font-size: 1em;
  line-height: 1.7;
}

.page-contact__feedback-section,
.page-contact__responsible-gaming-section {
  padding: 80px 0;
  text-align: center;
  background-color: #08160F; /* Background */
}

.page-contact__btn-secondary {
  background: #ffffff;
  color: #11A84E; /* Use brand color */
  border: 2px solid #11A84E;
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-secondary:hover {
  background: #11A84E;
  color: #ffffff;
}

/* Color Contrast Fixes */
.page-contact__dark-bg {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-contact__light-bg {
  color: #333333; /* Dark text for light background */
  background-color: #f5f5f5; /* Light background */
}

.page-contact__card.page-contact__contrast-fix {
  background: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
}

.page-contact__faq-item.page-contact__card.page-contact__contrast-fix summary {
  color: #F2FFF6; /* Text Main */
}

.page-contact__faq-item.page-contact__card.page-contact__contrast-fix .page-contact__faq-qtext {
  color: #F2FFF6; /* Text Main */
}

.page-contact__faq-item.page-contact__card.page-contact__contrast-fix .page-contact__faq-answer {
  color: #A7D9B8; /* Text Secondary */
}

.page-contact__text-contrast-fix {
  color: #333333; /* Dark text for light background */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }

  .page-contact__hero-image {
    max-height: 400px;
  }

  .page-contact__hero-content {
    margin-top: 20px;
  }

  .page-contact__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-contact__description {
    font-size: 1em;
  }

  .page-contact__cta-button,
  .page-contact__method-button,
  .page-contact__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important;
  }

  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__feedback-section,
  .page-contact__responsible-gaming-section {
    padding: 40px 0;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-contact__method-card {
    padding: 20px;
  }

  .page-contact__method-icon {
    max-height: 150px;
  }

  .page-contact__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 0 20px 15px;
  }

  /* Ensure all images are responsive */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all image containers are responsive */
  .page-contact__hero-image-wrapper,
  .page-contact__method-card,
  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-contact__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-content {
    padding: 15px;
  }

  .page-contact__main-title {
    font-size: clamp(1.2em, 8vw, 2em);
  }

  .page-contact__cta-button {
    padding: 10px 20px;
  }

  .page-contact__section-title {
    font-size: 1.5em;
  }

  .page-contact__section-description {
    font-size: 0.95em;
  }

  .page-contact__method-title {
    font-size: 1.3em;
  }

  .page-contact__faq-item summary {
    font-size: 1em;
  }
}