.page-support {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Explicitly set for contrast checks */
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  background-color: #f0f0f0; /* Light background for hero section */
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  overflow: hidden; /* Ensure no overflow from image */
}

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

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

.page-support__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: 40px;
  font-weight: 700;
  color: #017439; /* Brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__intro-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

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

/* General button styles */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #C30808; /* Login/Register color */
  color: #FFFF00; /* Login/Register font color */
  border: 2px solid #C30808;
}

.page-support__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #017439; /* Brand color */
  border: 2px solid #017439;
}

.page-support__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Section common styles */
.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-support__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
}

.page-support__section-description {
  font-size: 17px;
  line-height: 1.6;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #333333;
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
  background: #f5f5f5;
}
.page-support__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #017439; /* Brand color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 25px;
  background: #fdfdfd;
  border-radius: 0 0 8px 8px;
  color: #555555;
  font-size: 16px;
  line-height: 1.6;
}
.page-support__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}
.page-support__faq-answer a {
  color: #017439; /* Brand color for links in answers */
  text-decoration: underline;
}
.page-support__faq-answer a:hover {
  color: #029d4c;
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
  background-color: #017439; /* Dark brand color background */
  color: #FFFFFF; /* Light text for dark background */
}

.page-support__contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-support__contact-section .page-support__section-title {
  color: #FFFFFF;
  text-align: left;
  margin-bottom: 20px;
}

.page-support__contact-section .page-support__section-description {
  color: #f0f0f0;
  text-align: left;
  margin: 0 0 40px 0;
}

.page-support__contact-options {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-support__contact-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-support__contact-heading {
  font-size: 22px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: #FFFF00; /* Yellow for headings */
}

.page-support__contact-item p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-support__phone-number {
  font-weight: bold;
  font-size: 18px;
  color: #FFFF00; /* Yellow for phone number */
}

.page-support__social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap; /* Ensure wrapping for large icons on mobile */
}

.page-support__social-icon {
  display: block;
  width: 200px; /* Set to minimum allowed size */
  height: 200px; /* Set to minimum allowed size */
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.page-support__social-icon img {
  width: 100%;
  height: 100%; /* Make image fill the 200x200 container */
  display: block;
  border-radius: 50%; /* Keep round shape */
  object-fit: contain; /* Contain the icon within the circle */
  max-width: 100%; /* Responsive image */
}

.page-support__social-icon:hover {
  transform: translateY(-3px);
}

.page-support__contact-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

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

/* CTA Register Section */
.page-support__cta-register {
  padding: 60px 0;
  background-color: #f0f0f0; /* Light background */
  text-align: center;
}

.page-support__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__cta-register .page-support__section-title {
  color: #017439;
  margin-bottom: 20px;
}

.page-support__cta-register .page-support__section-description {
  color: #555555;
  margin-bottom: 40px;
}

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


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 36px;
  }

  .page-support__intro-text {
    font-size: 17px;
  }

  .page-support__section-title {
    font-size: 28px;
  }

  .page-support__section-description {
    font-size: 16px;
  }

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

  .page-support__contact-section .page-support__section-title,
  .page-support__contact-section .page-support__section-description {
    text-align: center;
  }

  .page-support__contact-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  /* General mobile adaptations */
  .page-support__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }
  .page-support__container {
    padding: 0 15px !important; /* Smaller padding on mobile */
  }

  /* Images */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__hero-image-wrapper,
  .page-support__contact-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Titles and Text */
  .page-support__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-support__intro-text {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-support__section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
  .page-support__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-support p,
  .page-support li {
    font-size: 15px;
    line-height: 1.5;
  }

  /* Buttons */
  .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: 20px !important;
    padding-right: 20px !important;
  }
  .page-support__cta-buttons-hero,
  .page-support__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ Section */
  .page-support__faq-section {
    padding: 40px 0;
  }
  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-qtext {
    font-size: 16px;
  }
  .page-support__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 20px 20px;
  }

  /* Contact Section */
  .page-support__contact-section {
    padding: 40px 0;
  }
  .page-support__contact-grid {
    gap: 30px;
  }
  .page-support__contact-item {
    padding: 20px;
  }
  .page-support__contact-heading {
    font-size: 20px;
  }
  .page-support__contact-item p {
    font-size: 15px;
  }
  .page-support__phone-number {
    font-size: 16px;
  }
  .page-support__social-links {
    gap: 10px;
  }
  .page-support__social-icon {
    width: 150px; /* Adjust for mobile if 200px is too big */
    height: 150px;
  }

  /* CTA Register Section */
  .page-support__cta-register {
    padding: 40px 0;
  }
}