/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text on light background */
  line-height: 1.6;
  background-color: #f8f9fa; /* Light background for the main content area */
}

/* Hero Section */
.page-support__hero-section {
  display: flex;
  flex-direction: column; /* Default to column for mobile-first, desktop will be row */
  align-items: center;
  gap: 30px;
  padding: 10px 20px 40px; /* Top padding 10px to avoid double header offset */
  background: linear-gradient(135deg, #e0f2f7, #ffffff);
  border-bottom: 1px solid #e0e0e0;
}

.page-support__hero-image-container {
  width: 100%;
  max-width: 800px; /* Limit image width */
  text-align: center;
  order: -1; /* Image appears above content on mobile */
}

.page-support__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensures image doesn't have extra space below */
}

.page-support__hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.page-support__main-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 15px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

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

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

.page-support__btn-primary:hover,
.page-support__submit-btn:hover {
  background-color: #1e87bb;
  border-color: #1e87bb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(38, 169, 224, 0.3);
}

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

.page-support__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87bb;
  border-color: #1e87bb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(38, 169, 224, 0.1);
}

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

.page-support__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

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

/* Methods Section */
.page-support__methods-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Primary color as background */
  color: #FFFFFF; /* White text on primary background */
}

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

.page-support__methods-section .page-support__section-description {
  color: #e0f2f7;
}

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

.page-support__method-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Dark text inside card */
}

.page-support__method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-support__method-icon {
  width: 100%; /* Make image fill card width */
  height: auto;
  max-height: 200px; /* Limit height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-support__method-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-support__method-text {
  font-size: 16px;
  margin-bottom: 25px;
}

.page-support__method-btn {
  background-color: #EA7C07; /* Login button color for action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 6px;
}

.page-support__method-btn:hover {
  background-color: #d16e06;
  border-color: #d16e06;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(234, 124, 7, 0.3);
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px 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: #26A9E0;
}
.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #555555;
}
.page-support__faq-answer p {
  margin: 0;
}

/* Contact Form Section */
.page-support__contact-form-section {
  padding: 60px 0;
  background-color: #f0f8ff; /* Light blue background */
}

.page-support__form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-support__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-support__form-group {
  display: flex;
  flex-direction: column;
}

.page-support__form-label {
  font-size: 16px;
  color: #333333;
  margin-bottom: 8px;
  font-weight: 600;
}

.page-support__form-input,
.page-support__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 16px;
  color: #333333;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-support__form-input:focus,
.page-support__form-textarea:focus {
  border-color: #26A9E0;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.2);
  outline: none;
}

.page-support__form-textarea {
  resize: vertical;
  min-height: 120px;
}}