/* style/support.css */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: var(--background-color, #ffffff);
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  background-color: #26A9E0;
}

.page-support__hero-section .page-support__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-support__hero-content {
  max-width: 800px;
  text-align: center;
}

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

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

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

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

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  margin-top: 40px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* General Section Styling */
.page-support__section {
  padding: 60px 0;
}

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

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

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

.page-support__dark-section .page-support__section-title {
  color: #FFFFFF;
}

.page-support__dark-section .page-support__section-intro {
  color: #f0f0f0;
}

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

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

.page-support__feature-card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-support__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__feature-card .page-support__feature-description {
  color: #555555;
}

/* FAQ Section */
.page-support__faq-section {
  background-color: #f8f8f8;
}

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

.page-support__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  color: #333333;
  font-weight: bold;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-item.active .page-support__faq-question {
  background-color: #26A9E0;
  color: #FFFFFF;
  border-bottom: none;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  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; /* Use !important for override */
  padding: 20px 25px;
}

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

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

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

.page-support__contact-card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-support__contact-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-support__contact-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__contact-description {
  color: #555555;
  margin-bottom: 25px;
}

.page-support__email-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-support__email-link:hover {
  color: #EA7C07;
}

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

.page-support__resource-card {
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-support__resource-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-support__resource-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

.page-support__resource-description {
  color: #555555;
  margin-bottom: 15px;
}

.page-support__btn-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

.page-support__full-resources-link {
  text-align: center;
  margin-top: 40px;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling {
  background-color: #f0f0f0;
}

.page-support__responsible-gambling .page-support__section-title {
  color: #26A9E0;
}

.page-support__responsible-gambling .page-support__section-intro {
  color: #555555;
  margin-bottom: 30px;
}

.page-support__responsible-gambling .page-support__btn-secondary {
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-support__responsible-gambling .page-support__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Bottom CTA Section */
.page-support__cta-bottom .page-support__container {
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-support__cta-bottom .page-support__section-title {
  color: #26A9E0;
}

.page-support__cta-bottom .page-support__section-intro {
  color: #555555;
}

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

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-support__hero-title {
    font-size: 2em;
  }
  .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__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-link {
    width: 100%;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__container,
  .page-support__section,
  .page-support__feature-card,
  .page-support__contact-card,
  .page-support__resource-card,
  .page-support__cta-bottom .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* No video elements on this page, so video responsiveness not explicitly needed. */
  /* .page-support__video-section,
  .page-support__video-container,
  .page-support__video-wrapper {
    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__faq-question,
  .page-support__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

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