/* style/support.css */
/* 
 * Màu sắc chính: #26A9E0
 * Màu sắc phụ: #FFFFFF
 * Màu nền body: var(--secondary-color) -> #FFFFFF (nhẹ)
 * Do đó, văn bản chính sẽ là màu tối (#333333 hoặc #000000)
 */

.page-support {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  background-color: var(--secondary-color); /* Matches body background */
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #f0f8ff; /* Light background for hero */
}

.page-support__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-support__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-support__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  min-width: 200px; /* Min size enforcement */
  min-height: 200px; /* Min size enforcement */
}

.page-support__hero-image img:hover {
  transform: scale(1.03);
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-support__hero-title {
  font-size: 44px;
  color: #000000; /* Darker text for contrast */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

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

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

.page-support__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-register {
  background: #EA7C07; /* Custom color for register */
  color: #ffffff;
}

.page-support__btn-register:hover {
  background: #d46d06;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-support__btn-login {
  background: #26A9E0; /* Main brand color */
  color: #ffffff;
}

.page-support__btn-login:hover {
  background: #1e87bb;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* General Section Styles */
.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

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

/* Dark Background Sections */
.page-support__dark-bg {
  background-color: #26A9E0; /* Main brand color as background */
  color: #ffffff; /* White text for contrast */
}

.page-support__section-title--light {
  color: #ffffff;
}

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

/* Light Background Sections */
.page-support__light-bg {
  background-color: #ffffff; /* Auxiliary color as background */
  color: #333333; /* Dark text for contrast */
}

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

.page-support__contact-item {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-support__contact-item img {
  width: 100%;
  
  height: auto;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Min size enforcement */
  min-height: 200px; /* Min size enforcement */
}

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

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

.page-support__btn-contact {
  display: inline-block;
  padding: 12px 30px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-contact:hover {
  background: #1e87bb;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-support__faq-list {
  margin-top: 40px;
}

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

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-support__faq-item.active .page-support__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-support__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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