.page-contact {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Inherited from shared.css, explicitly set for clarity */
}

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

.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Increased height for visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

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

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

.page-contact__hero-cta-button {
  font-size: 1.1em;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-contact__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light background for card content */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-contact__method-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%; /* Make icons round */
  border: 2px solid #26A9E0;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__email-address, .page-contact__phone-number, .page-contact__operating-hours {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 5px;
}

.page-contact__email-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-contact__email-link:hover {
  text-decoration: underline;
}

.page-contact__method-button {
  margin-top: 20px;
  width: auto;
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Darker background for FAQ section */
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
  content: '−'; /* Change content for active state */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px 25px;
}

.page-contact__faq-answer p {
  margin-bottom: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-contact__responsible-gaming-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-contact__responsible-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-contact__responsible-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.page-contact__responsible-text {
  flex: 2 1 500px;
  color: #f0f0f0;
}

.page-contact__responsible-text h3 {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-contact__responsible-text p, .page-contact__responsible-text ul {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-contact__responsible-text ul {
  list-style: disc inside;
  padding-left: 20px;
}

.page-contact__responsible-text li {
  margin-bottom: 8px;
}

.page-contact__link {
  color: #26A9E0;
  text-decoration: none;
}

.page-contact__link:hover {
  text-decoration: underline;
}

.page-contact__feedback-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  text-align: center;
}

.page-contact__feedback-text {
  font-size: 1.1em;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__feedback-cta-button {
  font-size: 1.1em;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__social-media-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  text-align: center;
}

.page-contact__social-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-contact__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
}

.page-contact__social-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
  border-radius: 50%; /* Make social icons round */
  border: 2px solid transparent;
}

.page-contact__social-link:hover .page-contact__social-icon {
  transform: translateY(-5px) scale(1.05);
  border-color: #26A9E0;
}

.page-contact__cta-bottom {
  padding: 80px 0;
  background-color: #26A9E0;
  text-align: center;
}

.page-contact__cta-title {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-contact__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Button styles */
.page-contact__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-contact__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-contact__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

/* General button styles for all CTA/btn classes */
.page-contact__hero-cta-button,
.page-contact__method-button,
.page-contact__feedback-cta-button,
.page-contact__cta-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  display: inline-block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }

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

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

  .page-contact__responsible-content {
    flex-direction: column;
  }
  .page-contact__responsible-image {
    flex: none;
    width: 100%;
  }
  .page-contact__responsible-text {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-contact__hero-title {
    font-size: 2.2em;
  }

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

  .page-contact__hero-cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }

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

  .page-contact__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__responsible-gaming-section,
  .page-contact__feedback-section,
  .page-contact__social-media-section,
  .page-contact__cta-bottom {
    padding: 50px 0;
  }

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

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

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

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

  .page-contact__responsible-text h3 {
    font-size: 1.5em;
  }

  .page-contact__social-icons {
    gap: 20px;
  }

  .page-contact__social-icon {
    width: 60px;
    height: 60px;
  }

  .page-contact__social-link span {
    font-size: 0.9em;
  }

  .page-contact__cta-title {
    font-size: 2em;
  }

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

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__hero-cta-button,
  .page-contact__method-button,
  .page-contact__feedback-cta-button,
  .page-contact__cta-button {
    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;
  }

  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__methods-grid,
  .page-contact__faq-list,
  .page-contact__responsible-content,
  .page-contact__social-icons,
  .page-contact__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-section {
    height: 400px;
  }

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

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

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

/* Ensure color contrast for dark body background */
.page-contact {
  color: #ffffff; /* Light text for dark body */
}

.page-contact__card,
.page-contact__method-card {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-contact__dark-bg {
  background: #1a1a1a;
  color: #ffffff;
}

.page-contact__light-bg {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-contact p,
.page-contact li {
  color: #f0f0f0;
}

.page-contact__btn-primary {
  background: #EA7C07;
  color: #ffffff;
}

.page-contact__btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-contact__feedback-cta-button.page-contact__btn-secondary {
  background: transparent;
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-contact__feedback-cta-button.page-contact__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
}

/* No filter on images */
.page-contact img {
  filter: none; /* Ensure no CSS filter is applied */
}