.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
}

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

.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding for content below image */
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 60px; /* Push content down to be below the image */
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
  box-sizing: border-box;
}

.page-contact__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2FFF6;
  margin-bottom: 15px;
  /* Using clamp for responsive font size without fixed values */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-contact__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #A7D9B8; /* Text Secondary custom color */
  margin-bottom: 30px;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button custom color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-contact__info-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__responsible-gaming-section {
  padding: 60px 0;
}

.page-contact__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #11A84E; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-contact__text {
  font-size: 1.1rem;
  color: #333333;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.page-contact__card {
  background: #11271B; /* Card BG custom color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main custom color */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #2E7A4E; /* Border custom color */
}

.page-contact__card-title {
  font-size: 1.5rem;
  color: #57E38D; /* Glow custom color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary custom color */
  margin-bottom: 10px;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button custom color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 15px;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: #57E38D; /* Glow custom color */
  border: 2px solid #57E38D; /* Glow custom color */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 15px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-secondary:hover {
  background: #57E38D; /* Glow custom color */
  color: #08160F; /* Background custom color */
}

.page-contact__social-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.page-contact__social-link {
  color: #F2C14E; /* Gold custom color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__social-link:hover {
  color: #57E38D; /* Glow custom color */
}

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

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

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

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

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

.page-contact__commitment-section {
  padding: 80px 0;
}

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

.page-contact__commitment-item {
  background: #11271B; /* Card BG custom color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border custom color */
}

.page-contact__commitment-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold custom color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__commitment-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary custom color */
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-contact__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #11A84E; /* Primary color */
  cursor: pointer;
  background: #fcfcfc;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

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

.page-contact__faq-question:hover {
  background: #f0f0f0;
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #22C768; /* Accent color */
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #333333;
  border-top: 1px solid #eee;
  background: #ffffff;
}

.page-contact__faq-answer p {
  margin-bottom: 0;
}

.page-contact__responsible-gaming-section {
  padding: 80px 0;
}

/* --- Responsive Styles --- */

/* Tablets */
@media (max-width: 1024px) {
  .page-contact__hero-content {
    margin-top: 40px;
    padding: 15px;
  }

  .page-contact__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-contact__description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }

  .page-contact__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-contact__text {
    font-size: 1rem;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__commitment-section,
  .page-contact__responsible-gaming-section {
    padding: 40px 0;
  }

  .page-contact__card {
    padding: 25px;
  }

  .page-contact__commitment-item {
    padding: 25px;
  }

  .page-contact__contact-form {
    padding: 25px;
  }
}

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

  .page-contact__hero-section {
    min-height: 400px;
    padding: 10px 15px 40px;
  }

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

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

  .page-contact__description {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
  }

  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__commitment-section,
  .page-contact__responsible-gaming-section {
    padding: 30px 0;
  }

  .page-contact__container {
    padding: 0 15px;
  }

  .page-contact__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-contact__text {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-contact__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__card {
    padding: 20px;
  }

  .page-contact__card-title {
    font-size: 1.3rem;
  }

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

  .page-contact__form-label {
    font-size: 0.95rem;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px;
    font-size: 0.9rem;
  }

  .page-contact__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__commitment-item {
    padding: 20px;
  }

  .page-contact__commitment-title {
    font-size: 1.2rem;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-contact__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }

  /* Image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__hero-image {
    width: 100% !important;
    height: 100% !important;
  }

  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__contact-form,
  .page-contact__commitment-item,
  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-contact__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}