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

.page-support__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-support__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-support__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #017439;
}

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

.page-support__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__section-description--white {
  color: #f0f0f0;
}

.page-support__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: left;
  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;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-support__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

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

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

.page-support__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-support__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-login {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-support__btn-login:hover {
  background: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-support__btn-register {
  background: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-support__btn-register:hover {
  background: #005a2d;
  border-color: #005a2d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-support__faq-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-support__faq-item.active .page-support__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #017439;
}

.page-support__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-support__faq-question:active {
  background: #eeeeee;
}

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

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #017439;
  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;
}

.page-support__faq-item.active .page-support__faq-toggle {
  color: #C30808;
  transform: rotate(45deg); /* Change to X */
}

.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: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

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

.page-support__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #555555;
}

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

.page-support__guide-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-support__guide-card img {
  width: 100%;
  height: auto;
  max-width: 200px; /* Adjusted max-width for smaller card images if needed */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-support__guide-card h3 {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__guide-card h3 a {
  color: #017439;
  text-decoration: none;
}

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

.page-support__guide-card p {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-secondary:hover {
  background: #017439;
  color: #ffffff;
}

/* Contact Section */
.page-support__contact-section {
  padding: 80px 0;
}

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

.page-support__contact-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__contact-item img {
  width: 100%;
  height: auto;
  max-width: 200px; /* Adjust max-width for contact icons to meet 200px min requirement */
  margin-bottom: 20px;
  object-fit: cover;
}

.page-support__contact-title {
  font-size: 24px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__contact-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-support__feature-item {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__feature-item img {
  width: 100%;
  height: auto;
  max-width: 200px; /* Enforcing minimum 200px size for all images */
  min-width: 200px; /* Ensure images are not smaller than 200px */
  min-height: 200px;
  border-radius: 8px; /* Apply border-radius for consistency */
  margin-bottom: 15px;
  object-fit: cover; /* Cover to maintain aspect ratio */
}

.page-support__feature-title {
  font-size: 20px;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-support__feature-item p {
  font-size: 15px;
  color: #555555;
  margin: 0;
}

.page-support a {
  color: #017439;
  text-decoration: none;
}

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

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

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__hero-image {
    margin-bottom: 20px;
  }
  .page-support__hero-image img {
    border-radius: 4px;
  }
  .page-support__hero-title {
    font-size: 32px;
    line-height: 1.2;
  }
  .page-support__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-support__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .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;
    padding-right: 15px;
  }
  .page-support__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-support__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }
  .page-support__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-support__faq-answer {
    padding: 0 15px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px !important;
  }
  .page-support__section {
    padding: 40px 0;
  }
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__section-title {
    font-size: 28px;
  }
  .page-support__section-description {
    font-size: 16px;
  }
  .page-support__text-block {
    font-size: 15px;
  }
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__guide-card,
  .page-support__contact-item,
  .page-support__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__guide-card img,
  .page-support__contact-item img,
  .page-support__feature-item img {
    max-width: 200px; /* Ensure minimum 200px display width */
    min-width: 200px;
    min-height: 200px;
    height: auto;
  }
  .page-support__contact-grid, .page-support__guides-grid, .page-support__security-features {
    gap: 20px;
  }
}