/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0d1117;
}

.page-support__hero-section {
  padding-top: 120px; /* Adjusted for fixed header */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #003366, #1a4a82);
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-support__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for prominence */
  font-weight: 700;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

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

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

.page-support__contact-methods {
  background-color: #0d1117; /* Dark background from body */
  color: #f0f0f0;
}

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

.page-support__card {
  background: rgba(0, 51, 102, 0.8); /* Semi-transparent brand blue */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #004080;
  color: #ffffff;
}

.page-support__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-support__card-icon {
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
  max-width: 120px; /* Larger icons */
  height: auto;
  overflow: hidden;
}

.page-support__card-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.page-support__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-support__card-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-support__btn-primary {
  display: inline-block;
  background: #FFD700;
  color: #003366;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  display: inline-block;
  background: #004080; /* Darker blue for contrast */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid #0050a0;
  cursor: pointer;
}

.page-support__btn-secondary:hover {
  background-color: #0050a0;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-support__faq-section {
  background-color: #0d1117; /* Dark background from body */
  color: #f0f0f0;
}

.page-support__faq-list {
  margin-top: 40px;
}

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #004080;
  background: rgba(0, 51, 102, 0.6); /* Slightly lighter brand blue */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #003366; /* Brand blue */
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-support__faq-question:hover {
  background: #004080;
}

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

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: #ffffff;
  transform: rotate(45deg);
}

.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;
  color: #e0e0e0;
  background: rgba(0, 51, 102, 0.6);
}

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

.page-support__faq-answer p {
  margin: 0;
  line-height: 1.7;
  font-size: 1em;
}

/* Guides Section */
.page-support__guides-section {
  background-color: #0d1117; /* Dark background from body */
  color: #f0f0f0;
}

.page-support__guide-card {
  background: rgba(0, 51, 102, 0.8);
  border: 1px solid #004080;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-support__guide-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__guide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-support__guide-card-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-support__guide-card-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__guide-card-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-support__guide-card-text {
  font-size: 0.95em;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Feedback Form Section */
.page-support__feedback-form {
  background-color: #003366; /* Brand blue background */
  color: #ffffff;
  padding-bottom: 80px;
}

.page-support__feedback-form .page-support__section-title {
  color: #FFD700;
}

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

.page-support__form {
  max-width: 700px;
  margin: 40px auto 0;
  background: rgba(0, 0, 0, 0.3); /* Slightly transparent dark background */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #004080;
}

.page-support__form-group {
  margin-bottom: 25px;
}

.page-support__form-label {
  display: block;
  font-size: 1.1em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #0050a0;
  border-radius: 8px;
  background: #002040;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-support__form-input::placeholder,
.page-support__form-textarea::placeholder {
  color: #aaaaaa;
}

.page-support__form-input:focus,
.page-support__form-textarea:focus {
  border-color: #FFD700;
  background: #002545;
  outline: none;
}

.page-support__form-textarea {
  resize: vertical;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__hero-description {
    font-size: 1.1em;
  }
  .page-support__section-title {
    font-size: 2.2em;
  }
  .page-support__section-description {
    font-size: 1em;
  }
  .page-support__container {
    padding: 50px 20px;
  }
  .page-support__card {
    padding: 25px;
  }
  .page-support__card-title {
    font-size: 1.4em;
  }
  .page-support__faq-question h3 {
    font-size: 1.1em;
  }
  .page-support__guide-card-image {
    height: 180px;
  }
  .page-support__guide-card-title {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding-top: 100px; /* Mobile adjusted for fixed header */
    padding-bottom: 40px;
  }
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-support__container {
    padding: 40px 15px;
  }
  .page-support__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__card {
    padding: 20px;
  }
  .page-support__card-icon {
    max-width: 100px;
  }
  .page-support__card-title {
    font-size: 1.3em;
  }
  .page-support__card-text {
    font-size: 0.9em;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-question h3 {
    font-size: 1em;
  }
  .page-support__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px !important;
  }
  .page-support__guide-card-image {
    height: 160px;
  }
  .page-support__guide-card-title {
    font-size: 1.1em;
  }
  .page-support__form {
    padding: 30px 20px;
  }
  .page-support__form-label {
    font-size: 1em;
  }
  .page-support__form-input,
  .page-support__form-textarea {
    padding: 12px;
    font-size: 0.95em;
  }

  /* Mobile image responsive adaptations */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}