/* style/support.css */

/* Base styles */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Default body background */
}

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

.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;
  color: #555555;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background-image: url('[GALLERY:hero:1920x1080:ae3888,support,cockfighting,customer_service_hero]');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.page-support__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-support__hero-section .page-support__container {
  position: relative;
  z-index: 2;
}

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

.page-support__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

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

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

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

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

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

/* Guidance Section */
.page-support__guidance-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-support__guidance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-support__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-support__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-support__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-support__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

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

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-support__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  padding: 0;
  color: #333333;
}

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  color: #017439;
  background-color: #f2fff2;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-support__faq-item[open] summary {
  border-bottom: 1px solid #d0d0d0;
}

.page-support__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

/* Contact Section */
.page-support__contact-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

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

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

.page-support__contact-card {
  background-color: #ffffff;
  padding: 30px;
  text-align: center;
  color: #333333;
}

.page-support__contact-card .page-support__card-image {
  margin-bottom: 25px;
}

.page-support__contact-card .page-support__card-title {
  color: #017439;
}

.page-support__contact-card .page-support__card-text {
  color: #666666;
  margin-bottom: 25px;
}

.page-support__contact-card .page-support__btn-primary,
.page-support__contact-card .page-support__btn-secondary {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

/* Policy Section */
.page-support__policy-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-support__policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-support__policy-card {
  background-color: #ffffff;
  padding: 25px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-support__policy-card .page-support__card-title a {
  color: #017439;
}

/* Tips Section */
.page-support__tips-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-support__tips-section .page-support__section-title,
.page-support__tips-section .page-support__section-intro {
  color: #ffffff;
}

.page-support__tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-support__tips-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  color: #ffffff;
}

.page-support__tips-title {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-support__tips-item p {
  color: #f0f0f0;
}

/* Video Section */
.page-support__video-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-support__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

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

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-support__hero-title {
    font-size: 2.5em;
  }
  .page-support__hero-description {
    font-size: 1.1em;
  }
  .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;
  }

  .page-support__container {
    padding: 0 15px;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-intro {
    font-size: 1em;
  }
  .page-support__guidance-grid,
  .page-support__contact-methods,
  .page-support__policy-grid,
  .page-support__tips-list {
    grid-template-columns: 1fr;
  }
  .page-support__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support img,
  .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__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-support__faq-answer {
    padding: 15px 20px;
  }
  .page-support__tips-item {
    padding: 20px;
  }
  .page-support__video-wrapper {
    border-radius: 0;
  }
  .page-support__video {
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 0.95em;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__faq-item summary {
    font-size: 1em;
  }
}