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

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

.page-contact__hero-section {
  background-color: #007bff; /* Primary color background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffc107; /* Secondary color for emphasis */
}

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

.page-contact__hero-button {
  display: inline-block;
  background-color: #ffc107; /* Secondary color for button */
  color: #007bff; /* Primary color for button text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-contact__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure image covers the area without distortion */
  opacity: 0.3; /* Subtle background effect */
  display: block;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color for section titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-contact__methods-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.page-contact__method-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__method-icon {
  width: 250px; /* Enforce minimum size for content images */
  height: 167px; /* Adjusted to maintain aspect ratio for 600x400 */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

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

.page-contact__card-email {
  font-weight: bold;
  color: #007bff;
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-contact__card-button {
  display: inline-block;
  background-color: #ffc107;
  color: #007bff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: auto; /* Push button to the bottom */
}

.page-contact__card-button:hover {
  background-color: #e0a800;
  color: #ffffff;
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-contact__contact-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background-color: #f8f9fa;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1em;
  color: #333333;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

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

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

.page-contact__form-submit-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #e9ecef;
}

.page-contact__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.page-contact__faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-contact__faq-item:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-question {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-contact__cta-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

.page-contact__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #e0f2f7;
}

.page-contact__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  min-width: 180px;
}

.page-contact__cta-button--primary {
  background-color: #ffc107;
  color: #007bff;
}

.page-contact__cta-button--primary:hover {
  background-color: #e0a800;
  color: #ffffff;
  transform: translateY(-3px);
}

.page-contact__cta-button--secondary {
  background-color: #ffffff;
  color: #007bff;
  border: 2px solid #ffffff;
}

.page-contact__cta-button--secondary:hover {
  background-color: #f0f0f0;
  color: #0056b3;
  transform: translateY(-3px);
}

.page-contact__cta-button--tertiary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-contact__cta-button--tertiary:hover {
  background-color: #ffc107;
  color: #007bff;
  transform: translateY(-3px);
}

.page-contact__responsible-gaming-section {
  padding: 60px 0;
  background-color: #f0f0f0;
  text-align: center;
}

.page-contact__responsible-gaming-link {
  display: inline-block;
  margin-top: 20px;
  color: #007bff;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__responsible-gaming-link:hover {
  color: #0056b3;
}

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

@media (max-width: 768px) {
  .page-contact {
    padding-top: var(--header-offset, 100px);
  }
  .page-contact__hero-section {
    padding: 60px 15px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__cta-section,
  .page-contact__responsible-gaming-section {
    padding: 50px 0;
  }
  .page-contact__methods-grid,
  .page-contact__faq-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-icon {
    width: 200px; /* Ensure minimum size for content images */
    height: 133px; /* Adjusted to maintain aspect ratio */
  }
  .page-contact__contact-form {
    padding: 30px 20px;
  }
  .page-contact__form-label {
    font-size: 1em;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
    font-size: 0.95em;
  }
  .page-contact__form-submit-button {
    font-size: 1.1em;
  }
  .page-contact__faq-question {
    font-size: 1.2em;
  }
  .page-contact__faq-answer {
    font-size: 0.95em;
  }
  .page-contact__cta-title {
    font-size: 2em;
  }
  .page-contact__cta-description {
    font-size: 1em;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-contact__cta-button {
    width: 100%;
    max-width: 280px;
  }
  /* Ensure content images do not overflow */
  .page-contact__hero-image img,
  .page-contact__method-icon,
  .page-contact__faq-item img { /* Added to ensure any potential images in FAQ are responsive */
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__section-title {
    font-size: 1.6em;
  }
  .page-contact__cta-title {
    font-size: 1.8em;
  }
  .page-contact__contact-form {
    padding: 20px 15px;
  }
}