/* style/support.css */

/* Base Styles & Typography for dark background */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Inherit from body or shared */
}

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

.page-support__section-title {
  font-size: 2.8em;
  color: #FF4500; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, #1E90FF, #0f4c81);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

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

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #FF4500; /* Primary color */
  color: #ffffff;
  border-color: #FF4500;
}

.page-support__btn-primary:hover {
  background-color: #e63900;
  border-color: #e63900;
  transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
  background-color: #ffffff;
  color: #FF4500;
  transform: translateY(-2px);
}

/* Video Section */
.page-support__video-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background for video */
  text-align: center;
}

.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;
  margin: 0 auto;
}

.page-support__video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  max-width: 100%;
  height: auto;
  cursor: pointer;
}

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

/* Channels Section */
.page-support__channels-section {
  padding: 80px 0;
  background-color: #121212; /* Inherit body dark background */
}

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

.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

.page-support__channel-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__channel-icon {
  width: 100%; /* Ensure image fills card width */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 100%;
  display: block;
}

.page-support__card-title {
  font-size: 1.6em;
  color: #FF4500;
  margin-bottom: 15px;
}

.page-support__card-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #1E90FF; /* Secondary color for question background */
  transition: background-color 0.3s ease;
}

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

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

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

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0 25px; /* Initial padding is 0 */
}

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

.page-support__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  color: #e0e0e0;
}

.page-support__cta-buttons--faq {
  margin-top: 40px;
}

/* Commitment Section */
.page-support__commitment-section {
  padding: 80px 0;
  background-color: #121212; /* Inherit body dark background */
}

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

.page-support__commitment-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

.page-support__commitment-icon {
  width: 100%; /* Ensure image fills card width */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 100%;
  display: block;
}

/* Safety Tips Section */
.page-support__safety-tips-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
}

.page-support__safety-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-support__safety-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: #e0e0e0;
}

.page-support__list-icon {
  color: #FF4500;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
}

.page-support__safety-list li p {
  margin: 0;
  text-align: left;
  color: #e0e0e0;
}

.page-support__safety-list li strong {
  color: #ffffff;
}

/* Community Section */
.page-support__community-section {
  padding: 80px 0;
  background-color: #121212; /* Inherit body dark background */
}

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

.page-support__community-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

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

.page-support__community-icon {
  width: 100%; /* Ensure image fills card width */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 100%;
  display: block;
}

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

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__hero-title {
    font-size: 2.5em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-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__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__container {
    padding: 0 15px !important;
  }

  .page-support__video-section,
  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__commitment-section,
  .page-support__safety-tips-section,
  .page-support__community-section {
    padding: 40px 0;
  }

  .page-support__section-title {
    font-size: 1.8em;
  }

  .page-support__section-description {
    font-size: 0.9em;
  }

  .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__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__channel-grid,
  .page-support__commitment-grid,
  .page-support__community-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-support__channel-card,
  .page-support__commitment-card,
  .page-support__community-card {
    padding: 20px;
  }

  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-support__faq-answer {
    padding: 0 20px; 
  }

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

  .page-support__safety-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    gap: 10px;
  }

  .page-support__list-icon {
    align-self: flex-start;
  }
}

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