/* style/support.css */

/* Base styles for page-support */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background-color: #FFFFFF; /* Assuming body background is light */
}

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

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

.page-support__section-title--white {
  color: #FFFFFF;
}

.page-support__subsection-title {
  font-size: clamp(22px, 3vw, 30px); /* Responsive font size for H3 */
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-support__text-block--white {
  color: #FFFFFF;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt to container */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

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

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

.page-support__btn-primary--login {
  background-color: #EA7C07;
  border-color: #EA7C07;
}

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

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

.page-support__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #2087b5;
  border-color: #2087b5;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  overflow: hidden;
  color: #FFFFFF;
  background-color: #26A9E0; /* Brand color for dark background */
}

.page-support__hero-image-container {
  width: 100%;
  max-height: 70vh; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
}

.page-support__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px 0 20px;
  box-sizing: border-box;
}

.page-support__main-title {
  font-size: clamp(36px, 5vw, 56px); /* Responsive H1 */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #FFFFFF;
  max-width: 60ch; /* Limit H1 length */
  margin-left: auto;
  margin-right: auto;
}

.page-support__description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  color: #F0F0F0;
  max-width: 100ch; /* Limit description length */
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-support__introduction-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-support__list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}

.page-support__list-item {
  margin-bottom: 10px;
  font-size: 17px;
}

.page-support__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Channels Section */
.page-support__channels-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-support__card {
  background-color: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 250px;
}

.page-support__card--dark {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark section */
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-support__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: inherit; /* Inherit color from card */
}

.page-support__card-text {
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1;
  color: inherit; /* Inherit color from card */
}

.page-support__btn-primary--white-text {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #FFFFFF;
}

.page-support__btn-primary--white-text:hover {
  background-color: #e0f2f7;
  color: #1e87b5;
  border-color: #e0f2f7;
}

/* Common Issues Section */
.page-support__common-issues-section {
  padding: 60px 0;
  background-color: #F8F8F8;
  color: #333333;
}

.page-support__grid--issues {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-support__issue-card {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  border-left: 5px solid #26A9E0;
}

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

.page-support__issue-title {
  font-size: 20px;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-support__issue-description {
  font-size: 16px;
  color: #555555;
}

/* Security Section */
.page-support__security-section {
  padding: 60px 0;
  background-color: #000000; /* Dark background for security section */
  color: #FFFFFF;
  text-align: center;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #FFFFFF;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-support__faq-item[open] .page-support__faq-question {
  background-color: #E0F2F7;
  color: #26A9E0;
}

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

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

.page-support__faq-item[open] .page-support__faq-toggle {
  content: '−';
}

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

/* Final CTA Section */
.page-support__cta-final-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-support__description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
}

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

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

  .page-support__hero-content {
    padding: 30px 15px 0 15px;
  }

  .page-support__main-title {
    font-size: clamp(28px, 6vw, 40px);
    max-width: 100%;
  }

  .page-support__description {
    font-size: clamp(16px, 3vw, 18px);
    max-width: 100%;
  }

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

  .page-support__btn-primary,
  .page-support__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

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

  .page-support__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 20px;
  }

  .page-support__subsection-title {
    font-size: clamp(20px, 5vw, 26px);
  }

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

  .page-support__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-support__card,
  .page-support__issue-card {
    padding: 20px;
    min-height: auto;
  }

  .page-support__card-title {
    font-size: 20px;
  }

  .page-support__card-text {
    font-size: 15px;
  }

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

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

  /* Ensure all sections and containers handle padding */
  .page-support__hero-section,
  .page-support__introduction-section,
  .page-support__channels-section,
  .page-support__common-issues-section,
  .page-support__security-section,
  .page-support__faq-section,
  .page-support__cta-final-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-support__hero-image-container {
    box-sizing: border-box !important;
    padding: 0 !important; /* Image already has max-width 100% */
  }

  .page-support__hero-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
  }

  .page-support__grid,
  .page-support__grid--issues {
    padding: 0 15px;
  }

  .page-support__faq-list {
    padding: 0 15px;
  }
}