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

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjusted padding-top for header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

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

.page-support__hero-image,
.page-support__faq-image,
.page-support__contact-image,
.page-support__resources-image,
.page-support__responsible-gambling-image,
.page-support__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.15; /* Subtle background image */
}

.page-support__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

/* General Section Styling */
.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-support__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-support__faq-section,
.page-support__contact-section,
.page-support__resources-section,
.page-support__responsible-gambling-section,
.page-support__video-section,
.page-support__cta-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* FAQ Section */
.page-support__faq-list {
  margin-top: 40px;
}

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

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  outline: none;
  list-style: none;
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-support__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-support__faq-answer {
  padding: 0 25px 18px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-support__faq-answer a {
  color: #EA7C07;
  text-decoration: none;
}

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

/* Contact Section */
.page-support__contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

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

.page-support__contact-card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-support__contact-card p {
  margin-bottom: 25px;
  font-size: 1.05em;
  color: #f0f0f0;
}

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

.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);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-support__resource-card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

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

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

.page-support__resource-card p {
  flex-grow: 1;
  margin-bottom: 20px;
  color: #555555;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling-section .page-support__container {
  text-align: center;
}

.page-support__responsible-gambling-section .page-support__btn-primary {
  margin-top: 40px;
}

/* Video Section */
.page-support__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto 0;
  border-radius: 10px;
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure it behaves as a block element */
}

/* CTA Section */
.page-support__cta-section .page-support__container {
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.5em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    padding-bottom: 40px;
  }
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-support__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-support__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-support__faq-answer {
    padding: 0 20px 15px;
  }

  .page-support__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-support__contact-card {
    padding: 25px;
  }

  .page-support__resource-grid {
    grid-template-columns: 1fr;
  }
  .page-support__resource-card {
    padding: 20px;
  }

  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper,
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-support__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-support__video-wrapper {
    padding-bottom: 56.25% !important;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure all content images are at least 200px wide */
  .page-support__faq-image, 
  .page-support__contact-image, 
  .page-support__resources-image, 
  .page-support__responsible-gambling-image {
    min-width: 200px; 
    min-height: 200px; /* Ensure minimum size */
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__hero-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__resources-section,
  .page-support__responsible-gambling-section,
  .page-support__video-section,
  .page-support__cta-section {
    padding: 60px 0;
  }
}