/* style/support.css */
/* 
  Màu sắc chính: #0A192F (Dark Blue/Black)
  Màu sắc phụ: #FFD700 (Gold/Bright Yellow)
*/

.page-support {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* Light background for the main content area */
  line-height: 1.6;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px; /* Adjusted padding-top to accommodate header-offset */
  background-color: #0A192F; /* Dark background for hero */
  color: #ffffff;
  overflow: hidden; /* Prevent image overflow */
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

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

.page-support__hero-section .page-support__container {
  position: relative;
  z-index: 1;
}

.page-support__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
  font-weight: bold;
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-support__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: nowrap; /* Prevent text wrapping for primary buttons on desktop */
}

.page-support__cta-button--primary {
  background-color: #FFD700; /* Gold accent color */
  color: #0A192F; /* Dark text for contrast */
}

.page-support__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-support__cta-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-support__section-title {
  font-size: 2.5em;
  color: #0A192F;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-support__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a grid have equal height */
  display: flex;
  flex-direction: column;
}

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

.page-support__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #0A192F;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push button to bottom of card */
  text-align: center;
}

.page-support__btn-primary:hover {
  background-color: #1a2f4a;
}

.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: transparent;
  color: #0A192F;
  border: 2px solid #0A192F;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: auto;
  text-align: center;
}

.page-support__btn-secondary:hover {
  background-color: #0A192F;
  color: #ffffff;
}

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

.page-support__method-item {
  text-align: center;
}

.page-support__method-icon {
  width: 100%; /* Ensure image fills card width */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__method-title {
  font-size: 1.5em;
  color: #0A192F;
  margin-bottom: 15px;
}

.page-support__method-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1; /* Allow description to take available space */
}

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

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

/* FAQ容器样式 */
.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Lighter shadow for FAQ items */
}

/* FAQ默认状态 - 答案隐藏 */
.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;
}