/* style/support.css */

/* --- General Styles for .page-support --- */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background #121212 */
  background-color: #121212; /* Ensure consistency with body background */
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-support__section-title {
  font-size: 36px;
  color: #ffc107; /* Gold/Amber for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-support__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #007bff; /* Primary blue underline */
  border-radius: 2px;
}

.page-support__main-title {
  font-size: 48px;
  color: #ffffff; /* White for main hero title */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__description,
.page-support__text-block {
  font-size: 18px;
  color: #e0e0e0; /* Slightly off-white for body text */
  text-align: center;
  margin-bottom: 30px;
}

.page-support__text-block {
  text-align: left; /* Default text blocks can be left-aligned */
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-support__text-block a {
  color: #ffc107; /* Link color for body text */
  text-decoration: none;
  font-weight: bold;
}

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

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: #007bff; /* Primary blue for CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  border: none;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-support__cta-button:hover {
  background: #0056b3; /* Darker blue on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.page-support__cta-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* --- Hero Section --- */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #007bff, #0056b3); /* Gradient background */
}

.page-support__hero-section .page-support__container {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 15px;
  max-width: 900px;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Subtle background image */
}

/* --- Contact Section --- */
.page-support__contact-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

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

.page-support__contact-item {
  background: #222222; /* Darker card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-support__contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-support__contact-icon {
  width: 120px; /* Adjust size for content image, not icon */
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px; /* Example border-radius */
  object-fit: contain; /* Ensure image fits */
  max-width: 100%;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-support__contact-method-title {
  font-size: 24px;
  color: #ffc107; /* Gold/Amber for method titles */
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-support__contact-item .page-support__btn-primary {
  margin-top: auto; /* Push button to bottom */
  width: auto; /* Auto width for buttons in grid */
  padding: 12px 20px;
  font-size: 16px;
}

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

.page-support__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: #222222; /* Darker card background for FAQ items */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #2a2a2a; /* Slightly lighter background for question */
  border: 1px solid #333333;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-support__faq-question:hover {
  background: #3a3a3a;
  border-color: #444444;
}

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

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #007bff; /* Primary blue for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  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 {
  color: #ffffff; /* White when active */
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.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;
  padding: 0 25px;
  opacity: 0;
  background: #222222; /* Darker background for answer */
  color: #e0e0e0;
  font-size: 16px;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important; /* Sufficiently large for content */
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 10px 10px;
}

.page-support__faq-answer p {
  margin-bottom: 10px;
  text-align: left;
}

.page-support__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-support__faq-answer a {
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
}

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

/* --- Guides Section --- */
.page-support__guides-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}