/* style/support.css */

/* Base styles for page-support content */
.page-support {
  color: #ffffff; /* Default light text for dark body background */
}

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

.page-support__dark-bg {
  background: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-support__light-bg {
  background: #f0f0f0; /* Light background for sections */
  color: #333333;
}

.page-support__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  text-align: center;
  color: #26A9E0; /* Brand blue for titles */
}

.page-support__text-block {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-support__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-support__description {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-support__btn-secondary {
  background: #EA7C07; /* Login/Register specific color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 80px 0;
  text-align: center;
}

.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: #ffffff; /* White background for contrast */
  color: #333333; /* Dark text on white background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-support__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-support__card-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__email-address,
.page-support__phone-number {
  font-size: 18px;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 15px;
}

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

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

.page-support__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  color: #ffffff;
}

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

.page-support__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-support__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Details element specific styling */
.page-support__faq-item[open] .page-support__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-support__faq-item summary {
  list-style: none;
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  text-align: center;
}

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

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

.page-support__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-support__guide-card .page-support__card-image {
  height: 180px;
  margin-bottom: 20px;
}

.page-support__guide-card .page-support__card-title {
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-support__guide-card .page-support__card-text {
  color: #666666;
  font-size: 15px;
  flex-grow: 1;
}

.page-support__read-more {
  color: #EA7C07;
  font-weight: 600;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-support__read-more i {
  font-size: 14px;
}

/* Security Section */
.page-support__security-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-support__security-feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  color: #ffffff;
}

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

.page-support__feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-support__feature-description {
  font-size: 15px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-support__security-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

/* Final CTA Section */
.page-support__cta-final {
  padding: 80px 0;
  text-align: center;
}

.page-support__cta-final .page-support__section-title {
  color: #26A9E0;
}

.page-support__cta-final .page-support__text-block {
  color: #333333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-support__container,
  .page-support__hero-section,
  .page-support__contact-methods,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__security-section,
  .page-support__cta-final {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-support__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-support__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-support__description {
    font-size: 16px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__section-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-support__text-block {
    font-size: 15px;
  }

  .page-support__card-image,
  .page-support__guide-card .page-support__card-image {
    height: 150px;
  }

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

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

  .page-support__feature-icon {
    width: 80px;
    height: 80px;
  }

  /* Force images to be responsive and not overflow */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all containers with images/videos/buttons are responsive */
  .page-support__contact-card,
  .page-support__guide-card,
  .page-support__security-feature {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__contact-grid,
  .page-support__guide-cards-grid,
  .page-support__security-grid {
    grid-template-columns: 1fr;
  }
}

/* Ensure content area images are not smaller than 200px */
.page-support__contact-card .page-support__card-image,
.page-support__guide-card .page-support__card-image,
.page-support__security-feature .page-support__feature-icon {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow auto width to maintain aspect ratio */
  height: auto;
}

/* Override specific styles for smaller images if they are truly icons and not content images */
/* (This is a safeguard, as the prompt strictly forbids small icons for content images) */
/* If a feature icon is meant to be smaller, it must be explicitly handled and still meet minimum 200x200 if it's a content image */
.page-support__feature-icon {
  width: 200px; /* Enforce minimum 200x200 */
  height: 200px;
  margin-left: auto;
  margin-right: auto;
}