/* style/support.css */

/* --- General Page Styles --- */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f8f8f8; /* Light background for content sections */
}

.page-support__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-support__section-title--light {
  color: #ffffff; /* White text for dark backgrounds */
}

.page-support__section-intro {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-support__section-intro--light {
  color: #f0f0f0; /* Light text for dark backgrounds */
}

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

/* --- Hero Section --- */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #017439, #005a2d); /* Darker gradient for hero background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.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; /* Ensure content is above any potential background effects */
}

.page-support__hero-image {
  width: 100%;
  margin-bottom: 30px;
  overflow: hidden; /* Ensure image corners are clipped if border-radius is applied */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.page-support__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color for main title */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-support__description {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Login/Register color */
  color: #FFFF00; /* Register/Login font color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-support__cta-button:hover {
  background: #a30606; /* Slightly darker red on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* --- General Guide Section --- */
.page-support__general-guide {
  background-color: #f8f8f8;
}

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

.page-support__guide-item {
  text-align: left;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
}

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

.page-support__guide-item img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-support__card-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__card-title a:hover {
  color: #005a2d;
}

.page-support__card-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
}

.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

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

/* --- FAQ Section --- */
.page-support__faq-section {
  background-color: #017439; /* Brand color as dark background */
  color: #ffffff;
  padding: 80px 20px;
}

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

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

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #005a2d; /* Slightly darker green for question background */
  border: none;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-support__faq-question:hover {
  background: #004723; /* Even darker green on hover */
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFFF00; /* Yellow for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect, or change to '-' */
  color: #FFFF00;
}