/* style/support.css */

.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

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

.page-support__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for main 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;
  width: 100%;
  height: 600px; /* Adjusted height for better visibility */
  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 */
  box-sizing: border-box;
}

.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); /* Dark overlay for text readability */
  z-index: 2;
}

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

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for hero title */
  font-weight: bold;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-support__btn-primary {
  background-color: #FFD700; /* Gold primary button */
  color: #1a1a1a; /* Dark text for gold button */
  border: 2px solid #FFD700;
}

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

.page-support__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for secondary button */
  border: 2px solid #FFD700;
}

.page-support__btn-secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a;
}

/* Why Choose Section */
.page-support__why-choose-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #f0f0f0;
}

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

.page-support__feature-card {
  background-color: rgba(30, 144, 255, 0.1); /* Semi-transparent blue */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #1E90FF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.3);
}

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

.page-support__feature-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* 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-description {
  color: #555555;
}

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

.page-support__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  transition: background-color 0.3s ease;
}

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

.page-support__faq-title {
  margin: 0;
  color: #1E90FF; /* Blue for FAQ questions */
}

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #1E90FF;
  transition: transform 0.3s ease;
}

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

.page-support__faq-answer p {
  margin: 15px 0;
  line-height: 1.8;
}

.page-support__faq-item.active .page-support__faq-question {
  background-color: #e9e9e9;
}

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

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
}

.page-support__cta-contact {
  text-align: center;
  margin-top: 50px;
}

.page-support__cta-contact p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #333333;
}

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

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

.page-support__contact-card {
  background-color: rgba(255, 215, 0, 0.1); /* Semi-transparent gold */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #FFD700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.page-support__contact-icon {
  width: 250px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__contact-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

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

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

.page-support__security-section .page-support__section-description {
  color: #555555;
}

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

.page-support__info-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__info-icon {
  width: 250px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__info-title {
  font-size: 1.5em;
  color: #1E90FF; /* Blue for info titles */
  margin-bottom: 10px;
}

.page-support__info-text {
  font-size: 1em;
  color: #555555;
}

/* About km3888b Section */
.page-support__about-km3888b-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #f0f0f0;
  text-align: center;
}

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

  .page-support__hero-description {
    font-size: 1.2em;
  }

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

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-support__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-support__hero-title {
    font-size: 2.2em;
  }

  .page-support__hero-description {
    font-size: 1em;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 15px;
  }

  .page-support__hero-content .page-support__btn-primary {
    margin-top: 20px;
  }

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

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

  .page-support__features-grid,
  .page-support__contact-grid,
  .page-support__info-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  /* Mobile image and video responsive adaptation */
  .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;
  }

  /* Specific overrides for padding if needed */
  .page-support__why-choose-section,
  .page-support__faq-section,
  .page-support__contact-methods-section,
  .page-support__security-section,
  .page-support__about-km3888b-section {
    padding: 40px 0;
  }

  .page-support__contact-icon,
  .page-support__info-icon {
    width: 100%;
    height: auto;
    max-height: 200px;
  }

  .page-support__cta-contact .page-support__btn-secondary {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto;
  }
}

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

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

  .page-support__hero-section {
    height: 400px;
  }
}