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

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

.page-support__container--flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-support__container--flex-reverse {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  gap: 40px;
}

.page-support__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

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

.page-support__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.1em;
}

.page-support__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-support__button--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

.page-support__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

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

.page-support__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-support__faq-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-support__faq-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.page-support__faq-question {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #000000;
  position: relative;
  padding-right: 30px;
}

.page-support__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-question::after {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  font-size: 1em;
  color: #444444;
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-support__faq-item.active .page-support__faq-answer {
  display: block;
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

.page-support__faq-link {
  display: inline-block;
  margin-top: 15px;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

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

.page-support__contact-section {
  padding: 80px 0;
  background-color: #f2f2f2;
}

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

.page-support__contact-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-support__contact-icon {
  width: 250px; /* Ensure minimum size */
  height: 200px; /* Ensure minimum size */
  object-fit: contain;
  margin-bottom: 25px;
}

.page-support__contact-heading {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-support__contact-text {
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__contact-card .page-support__button {
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  width: 100%;
  max-width: 200px;
}

.page-support__contact-card .page-support__button:hover {
  background-color: #333333;
}

.page-support__responsible-gambling-section,
.page-support__app-download-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-support__responsible-gambling-content,
.page-support__app-download-content {
  flex: 1;
  padding: 20px 0;
}

.page-support__responsible-gambling-image-wrapper,
.page-support__app-download-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-support__responsible-gambling-image,
.page-support__app-download-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

.page-support__responsible-gambling-text {
  color: #555555;
  margin-bottom: 30px;
  font-size: 1.1em;
}

@media (max-width: 992px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }

  .page-support__hero-description {
    font-size: 1.1em;
  }

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

  .page-support__container--flex,
  .page-support__container--flex-reverse {
    flex-direction: column;
    text-align: center;
  }

  .page-support__responsible-gambling-content,
  .page-support__app-download-content {
    order: 2;
  }

  .page-support__responsible-gambling-image-wrapper,
  .page-support__app-download-image-wrapper {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-support {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }

  .page-support__hero-section {
    padding: 60px 15px;
  }

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

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

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

  .page-support__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

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

  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__responsible-gambling-section,
  .page-support__app-download-section {
    padding: 50px 0;
  }

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

  .page-support__faq-question {
    font-size: 1.2em;
  }

  .page-support__contact-card {
    padding: 30px 20px;
  }

  /* Ensure all images in content sections are responsive and do not overflow */
  .page-support__hero-image,
  .page-support__contact-icon,
  .page-support__responsible-gambling-image,
  .page-support__app-download-image,
  .page-support img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }
}