/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #f8f8f8); /* Inherit from shared, fallback to light grey */
}

/* Ensure body padding-top is handled by shared.css, not here */

/* Section styling */
.page-support__section {
  padding: 60px 20px;
  text-align: center;
}

.page-support__dark-bg {
  background-color: #B71C1C; /* Custom background color */
  color: #FFF5E1; /* Custom text color for dark backgrounds */
}

.page-support__light-bg {
  background-color: #ffffff; /* Default light background */
  color: #333333; /* Default dark text color */
}

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

.page-support__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section (dark/light bg) */
  font-weight: bold;
}

.page-support__text-block {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit; /* Inherit color from parent section */
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Adjust as needed */
  overflow: hidden;
  padding: 60px 20px 0; /* Small top padding, more at bottom */
  padding-top: 10px; /* Small top padding as per instruction */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
  margin-bottom: 30px; /* Space between image and content */
}

.page-support__hero-content {
  position: relative; /* Not absolute to allow normal flow */
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  color: #FFF5E1; /* Text color for dark hero background */
}

.page-support__main-title {
  color: #FFF5E1;
  margin-bottom: 15px;
  font-weight: bold;
  /* No fixed font-size, rely on clamp if needed, otherwise relative */
  font-size: clamp(2em, 5vw, 3.5em); /* Example clamp for responsive H1 */
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF5E1;
}

/* CTA Button */
.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button color */
  color: #7A0E0E; /* Deep Red text for gold button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  font-size: 1.1em;
}

.page-support__cta-button:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

/* Channel Section */
.page-support__channel-section {
  background-color: #ffffff; /* Light background */
}

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

.page-support__channel-card {
  background-color: #D32F2F; /* Card background color */
  color: #FFF5E1; /* Text color for card */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__channel-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__channel-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFF5E1;
}

.page-support__channel-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-support__btn-secondary {
  background: #ffffff;
  color: #C91F17; /* Use brand color for text */
  border: 2px solid #C91F17;
}

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

/* FAQ Section */
.page-support__faq-section {
  background-color: #B71C1C; /* Dark background */
}

.page-support__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-support__faq-item {
  background-color: #D32F2F; /* Card background color */
  color: #FFF5E1; /* Text color for card */
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 0; /* Reset padding for details element */
}

.page-support__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #C91F17; /* Main brand color for summary */
  color: #FFF5E1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-support__faq-question {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-support__faq-answer {
  padding: 20px 30px;
  font-size: 1em;
  color: #FFF5E1;
  background-color: #D32F2F; /* Card background for answer */
}

/* Guides Section */
.page-support__guides-section {
  background-color: #ffffff; /* Light background */
}

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

.page-support__guide-card {
  background-color: #D32F2F; /* Card background color */
  color: #FFF5E1; /* Text color for card */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__guide-image {
  width: 100%;
  max-width: 280px; /* Slightly smaller for guide images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__guide-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFF5E1;
}

.page-support__guide-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  border: none;
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

/* Security Section */
.page-support__security-section {
  background-color: #B71C1C; /* Dark background */
}

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

.page-support__feature-item {
  background-color: #D32F2F; /* Card background color */
  color: #FFF5E1; /* Text color for card */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-support__feature-description {
  font-size: 1em;
  flex-grow: 1;
}

/* Why Choose Section */
.page-support__why-choose-section {
  background-color: #ffffff; /* Light background */
}

.page-support__why-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); /* Two columns for larger screens */
  gap: 20px;
}

.page-support__why-item {
  background-color: #D32F2F; /* Card background color */
  color: #FFF5E1; /* Text color for card */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-support__why-item-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFF5E1;
}

.page-support__why-item-description {
  font-size: 0.95em;
}

/* Bottom CTA Section */
.page-support__cta-bottom-section {
  background-color: #C91F17; /* Main brand color */
  padding: 80px 20px;
}

.page-support__cta-bottom-content {
  max-width: 800px;
}

.page-support__cta-bottom-section .page-support__section-title,
.page-support__cta-bottom-section .page-support__description {
  color: #FFF5E1;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-content {
    padding: 15px;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__description {
    font-size: 1.1em;
  }
  .page-support__channel-card,
  .page-support__guide-card,
  .page-support__feature-item {
    padding: 25px;
  }
  .page-support__faq-item summary {
    padding: 18px 25px;
    font-size: 1.1em;
  }
  .page-support__faq-answer {
    padding: 18px 25px;
  }
  .page-support__why-list {
    grid-template-columns: 1fr; /* Single column on smaller desktops/tablets */
  }
}

@media (max-width: 768px) {
  .page-support__section {
    padding: 40px 15px;
  }
  .page-support__hero-section {
    min-height: auto;
    padding-bottom: 40px;
  }
  .page-support__hero-image {
    margin-bottom: 20px;
    max-height: 400px;
  }
  .page-support__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-support__description {
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__text-block {
    font-size: 0.95em;
  }
  
  /* Images responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-support__channel-icon,
  .page-support__guide-image,
  .page-support__feature-icon {
    max-width: 100% !important;
  }

  /* Videos responsive (if any, though not used in this HTML) */
  .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__video-section {
    padding-top: 10px !important;
  }

  /* Buttons responsive */
  .page-support__cta-button,
  .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; /* Add padding for content */
    padding-right: 15px; /* Add padding for content */
  }
  .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;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  .page-support__channel-card,
  .page-support__guide-card,
  .page-support__feature-item,
  .page-support__why-item {
    padding: 20px;
  }
  .page-support__channel-title,
  .page-support__guide-title,
  .page-support__feature-title {
    font-size: 1.5em;
  }
  .page-support__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-support__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-support__section-title {
    font-size: 1.6em;
  }
  .page-support__main-title {
    font-size: clamp(1.5em, 9vw, 2em);
  }
  .page-support__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-support__channel-card,
  .page-support__guide-card,
  .page-support__feature-item {
    padding: 15px;
  }
  .page-support__channel-title,
  .page-support__guide-title,
  .page-support__feature-title {
    font-size: 1.3em;
  }
  .page-support__faq-item summary {
    font-size: 0.95em;
    padding: 12px 15px;
  }
  .page-support__faq-answer {
    padding: 12px 15px;
  }
}

/* Ensure content area images are not too small by CSS */
.page-support img:not(.page-support__hero-image) {
  min-width: 200px;
  min-height: 200px;
}