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

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

.page-support__flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.page-support__flex-column {
  flex-direction: column;
}

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

.page-support__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
}

.page-support__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

.page-support__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-support__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
  margin-right: 15px;
}

.page-support__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

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

.page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #005a2e;
}

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

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 20px;
}

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-support__faq-heading {
  font-size: 1.2em;
  margin: 0;
  color: #017439;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 20px;
}

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

/* Contact Methods Section */
.page-support__contact-methods-section {
  padding: 80px 20px;
}

.page-support__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-support__contact-card .page-support__card-title {
  color: #FFFF00;
  font-size: 1.5em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-support__contact-card .page-support__card-description {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-support__contact-icon {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
}

/* Resources Section */
.page-support__resources-section {
  padding: 80px 20px;
}

.page-support__resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-support__resource-card {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__resource-card .page-support__card-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #017439;
}

.page-support__resource-card .page-support__card-title a {
  color: #017439;
  text-decoration: none;
}

.page-support__resource-card .page-support__card-title a:hover {
  text-decoration: underline;
}

.page-support__resource-card .page-support__card-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 80px 20px;
}

.page-support__responsible-gaming-section .page-support__container {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
}

.page-support__responsible-gaming-section .page-support__text-content {
  flex: 1;
}

.page-support__responsible-gaming-section .page-support__image-wrapper {
  flex: 1;
  max-width: 50%;
}

.page-support__responsible-gaming-section .page-support__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-support__responsible-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-support__responsible-list li {
  background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23FFFF00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #f0f0f0;
  font-size: 1.05em;
}

/* CTA Bottom Section */
.page-support__cta-bottom-section {
  padding: 60px 20px;
}

/* General Image styles */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 1.1em;
  }
  .page-support__responsible-gaming-section .page-support__container {
    flex-direction: column;
  }
  .page-support__responsible-gaming-section .page-support__image-wrapper {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
  }
  .page-support__hero-title {
    font-size: 2.5em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-intro {
    font-size: 0.95em;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0;
    margin-bottom: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-support__cta-buttons .page-support__btn-primary,
  .page-support__cta-buttons .page-support__btn-secondary {
    margin-right: 0;
    width: 100%;
  }
  .page-support__contact-grid, .page-support__resource-grid {
    grid-template-columns: 1fr;
  }
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__contact-card,
  .page-support__resource-card,
  .page-support__responsible-gaming-section .page-support__image-wrapper,
  .page-support__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__responsible-gaming-section .page-support__image-wrapper {
    max-width: 100%;
  }
  .page-support__responsible-gaming-section .page-support__text-content {
    text-align: center;
  }
  .page-support__responsible-list li {
    text-align: left;
    padding-left: 30px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
}