/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for assumed light body background */
  background-color: var(--secondary-color, #ffffff); /* Fallback to white if --secondary-color is not defined */
  padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 10px 0 40px 0; /* Small top padding, more bottom padding */
  background-color: #f5f5f5; /* Light background for hero section */
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure it takes full width */
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-support__hero-content-wrapper {
  max-width: 900px;
  text-align: center;
  padding: 30px 20px 0;
}

.page-support__main-title {
  color: #017439; /* Brand color for H1 */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-support__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555555;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* General button styles */
.page-support__btn-primary,
.page-support__btn-secondary {
  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;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

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

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

.page-support__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #017439;
}

/* Container for content sections */
.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

.page-support__section-description {
  font-size: 17px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-support__faq-section {
  background-color: #017439; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-support__faq-section .page-support__section-title,
.page-support__faq-section .page-support__section-description {
  color: #ffffff;
}

.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for items */
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #ffffff;
}

.page-support__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  color: #ffffff;
}

.page-support__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 10px;
}

.page-support__faq-answer {
  padding-top: 15px;
  font-size: 16px;
  color: #f0f0f0;
}

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

.page-support__faq-cta {
  text-align: center;
}

.page-support__faq-cta-text {
  font-size: 18px;
  margin-bottom: 20px;
  color: #ffffff;
}

/* Contact Form Section */
.page-support__contact-form-section {
  background-color: #ffffff; /* Light background */
  padding: 60px 0;
}

.page-support__form-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-support__contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-support__form-group {
  margin-bottom: 20px;
}

.page-support__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333333;
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.page-support__form-textarea {
  resize: vertical;
}

.page-support__form-submit-btn {
  background-color: #017439;
  color: #ffffff;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.page-support__form-submit-btn:hover {
  background-color: #005a2e;
}

.page-support__contact-info {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: center;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-support__contact-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-support__contact-heading {
  font-size: 24px;
  color: #017439;
  margin-bottom: 20px;
}

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

.page-support__contact-item {
  font-size: 17px;
  color: #555555;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-support__contact-icon {
  font-size: 22px;
  margin-right: 10px;
  color: #017439;
}

.page-support__contact-cta-btn {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  background-color: #f5f5f5; /* Light background */
  text-align: center;
  padding: 60px 0;
}

.page-support__responsible-gaming-image {
  max-width: 100%;
  height: auto;
  margin-top: 30px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-support__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-support__hero-content-wrapper {
    padding: 20px 15px 0;
  }

  .page-support__main-title {
    font-size: 28px;
  }

  .page-support__intro-text {
    font-size: 16px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    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;
  }

  .page-support__container {
    padding: 30px 15px;
  }

  .page-support__section-title {
    font-size: 26px;
  }

  .page-support__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

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

  .page-support__faq-question {
    font-size: 16px;
  }

  .page-support__faq-answer {
    font-size: 15px;
  }

  .page-support__form-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-support__contact-form,
  .page-support__contact-info {
    max-width: 100%;
    padding: 20px;
  }

  /* Image responsive rules */
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  /* All containers holding images */
  .page-support__hero-image-wrapper,
  .page-support__contact-info,
  .page-support__responsible-gaming-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-support__contact-image,
  .page-support__responsible-gaming-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    display: block !important;
  }
}

/* Contrast Fixes */
.page-support__dark-section {
  background: #017439;
  color: #ffffff;
}

.page-support__light-bg {
  background: #f5f5f5; /* A light background for sections */
  color: #333333;
}