/* style/support.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f8f9fa;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-support {
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark);
}

/* Fixed Navbar Padding */
.page-support__hero-section {
  padding-top: 120px; /* Desktop padding for fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #007bff, #0056b3); /* Darker gradient for hero */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-support__hero-image {
  width: 100%;
  max-width: 800px; /* Adjust max-width for the hero image */
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-support__hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-support__main-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.6;
}

.page-support__hero-description strong {
  color: var(--secondary-color);
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
  border: none;
}

.page-support__cta-button:hover {
  background: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.6);
}

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

.page-support__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.page-support__section-intro {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-support__section-intro strong {
  color: var(--secondary-color);
}

/* Channels Section */
.page-support__channels-section {
  background-color: var(--bg-dark);
  padding: 60px 0;
}

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

.page-support__channel-card {
  background: var(--card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__channel-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-support__channel-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-support__channel-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-support__channel-text strong {
  color: var(--secondary-color);
}

.page-support__channel-text a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

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

.page-support__channel-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-support__channel-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}

/* FAQ Section */
.page-support__faq-section {
  background-color: var(--bg-dark);
  padding: 60px 0;
}

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-bg-dark);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-support__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none;
}

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.page-support__faq-item.active .page-support__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
  background: var(--secondary-color);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-support__faq-answer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.7;
}

.page-support__faq-answer strong {
  color: var(--secondary-color);
}

.page-support__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-support__faq-answer a:hover {
  text-decoration: underline;
}

/* Guides Section */
.page-support__guides-section {
  background-color: var(--bg-dark);
  padding: 60px 0;
}

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

.page-support__guide-card {
  background: var(--card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__guide-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__guide-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-support__guide-title a {
  color: var(--primary-color);
  text-decoration: none;
}

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

.page-support__guide-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__guide-description strong {
  color: var(--secondary-color);
}

.page-support__guide-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-support__guide-button:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

/* Policies Section */
.page-support__policies-section {
  background-color: var(--bg-dark);
  padding: 60px 0;
}

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

.page-support__policy-card {
  background: var(--card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.page-support__policy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__policy-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-support__policy-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.page-support__policy-description strong {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support__main-title {
    font-size: 36px;
  }
  .page-support__section-title {
    font-size: 30px;
  }
  .page-support__hero-description, .page-support__section-intro {
    font-size: 16px;
  }
  .page-support__cta-button {
    font-size: 18px;
    padding: 12px 30px;
  }
  .page-support__channel-title, .page-support__guide-title, .page-support__policy-title {
    font-size: 20px;
  }
  .page-support__channel-text, .page-support__guide-description, .page-support__policy-description,
  .page-support__faq-answer p {
    font-size: 15px;
  }
  .page-support__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: 100px !important; /* Mobile padding for fixed header */
    padding-bottom: 40px;
  }
  .page-support__hero-image {
    margin-bottom: 20px;
  }
  .page-support__main-title {
    font-size: 30px;
  }
  .page-support__section-title {
    font-size: 26px;
  }
  .page-support__container {
    padding: 30px 15px;
  }
  .page-support__channel-grid, .page-support__guide-grid, .page-support__policy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__channel-card, .page-support__guide-card, .page-support__policy-card {
    padding: 25px;
  }
  .page-support__faq-list {
    padding: 0 15px;
  }
  .page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-question h3 {
    font-size: 16px;
  }
  .page-support__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px !important;
  }
  
  /* Mobile image adaptive styles */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-support__hero-container,
  .page-support__channels-section .page-support__container,
  .page-support__faq-section .page-support__container,
  .page-support__guides-section .page-support__container,
  .page-support__policies-section .page-support__container,
  .page-support__channel-card,
  .page-support__guide-card,
  .page-support__policy-card,
  .page-support__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
}