/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Sections */
.page-support__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-support__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-support__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register and Login font color for emphasis */
}

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

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

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

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439; /* Brand color for titles */
}

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

/* Why Us Section */
.page-support__why-us-section {
  padding: 80px 0;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff; /* Light background */
}

.page-support__why-us-section .page-support__section-title {
  color: #017439;
}

.page-support__why-us-section .page-support__section-intro {
  color: #555555;
}

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

.page-support__feature-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-support__feature-card:hover {
  transform: translateY(-5px);
}

.page-support__feature-icon {
  width: 100%; /* Ensure image is responsive */
  max-width: 200px; /* Max size for feature icon */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-support__feature-text {
  color: #666666;
}

/* Contact Methods Section */
.page-support__contact-methods-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background from body */
  color: #ffffff;
}

.page-support__contact-methods-section .page-support__section-title {
  color: #ffffff;
}

.page-support__contact-methods-section .page-support__section-intro {
  color: #cccccc;
}

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

.page-support__contact-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
}

.page-support__contact-icon {
  width: 100%; /* Ensure image is responsive */
  max-width: 250px; /* Max size for contact icon */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__contact-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00; /* Yellow for prominence */
}

.page-support__contact-text {
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-support__email-link, .page-support__phone-link {
  color: #FFFF00;
  text-decoration: underline;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-support__faq-section .page-support__section-title {
  color: #017439;
}

.page-support__faq-section .page-support__section-intro {
  color: #555555;
}

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

.page-support__faq-item {
  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: 18px 25px;
  background-color: #f5f5f5;
  color: #017439;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 25px;
}

.page-support__faq-answer p {
  margin: 0;
  padding-bottom: 15px; /* Spacing between paragraphs if any */
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 80px 0;
  background-color: #017439; /* Brand color dark background */
  color: #ffffff;
  text-align: center;
}

.page-support__responsible-gaming-section .page-support__section-title {
  color: #ffffff;
}

.page-support__responsible-gaming-section .page-support__section-intro {
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-support__responsible-gaming-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Quick Links Section */
.page-support__quick-links-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333;
}

.page-support__quick-links-section .page-support__section-title {
  color: #017439;
}

.page-support__quick-links-section .page-support__section-intro {
  color: #555555;
}

.page-support__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-support__quick-link-card {
  display: block;
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  text-decoration: none;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-support__quick-link-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #017439;
}

.page-support__quick-link-text {
  font-size: 0.95em;
  color: #666666;
}

/* CTA Section */
.page-support__cta-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background from body */
  color: #ffffff;
  text-align: center;
}

.page-support__cta-section .page-support__section-title {
  color: #ffffff;
}

.page-support__cta-section .page-support__section-intro {
  color: #cccccc;
  margin-bottom: 30px;
}

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  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: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

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

/* Common dark/light background classes for text contrast */
.page-support__dark-bg {
  color: #ffffff;
}

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

/* 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 {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    min-height: 450px;
  }
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__hero-buttons,
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-intro {
    font-size: 1em;
  }
  .page-support__features-grid,
  .page-support__contact-grid,
  .page-support__links-grid {
    grid-template-columns: 1fr;
  }
  .page-support__feature-card,
  .page-support__contact-card,
  .page-support__quick-link-card {
    padding: 25px;
  }
  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 0.95em;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 20px;
  }

  /* Mobile image and video responsive adaptation */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

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