/* style/support.css */
:root {
  --primary-color: #007bff; /* Deep Blue */
  --secondary-color: #ffc107; /* Amber/Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #212529;
  --border-color: #e0e0e0;
}

.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

.page-support section {
  padding: 60px 0;
  text-align: center;
}

.page-support section:nth-of-type(even) {
  background-color: #f0f2f5;
}

.page-support .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support .section-description {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support .cta-button:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Banner */
.page-support .hero-banner {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--text-light);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-support .hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-support .hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-support .hero-content {
  text-align: center;
}

.page-support .hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: bold;
  line-height: 1.2;
}

.page-support .hero-description {
  font-size: 1.2em;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Contact Channels */
.page-support .contact-channels {
  padding: 80px 0;
  background-color: var(--background-light);
}

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

.page-support .channel-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-support .channel-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-support .channel-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support .channel-text {
  font-size: 1em;
  color: #555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support .channel-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support .channel-button:hover {
  background: #e0a800;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-support .faq-section {
  padding: 80px 0;
  background-color: #f0f2f5;
}

.page-support .faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-support .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-support .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-support .faq-question:hover {
  background: #f5f5f5;
}

.page-support .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
  font-weight: bold;
  line-height: 1.4;
}

.page-support .faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
  width: 30px;
  text-align: center;
}

.page-support .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-support .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-top: 1px solid var(--border-color);
}

.page-support .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 25px;
  border-radius: 0 0 8px 8px;
}

.page-support .faq-answer p {
  margin: 0;
  font-size: 1.05em;
  color: #444;
  line-height: 1.7;
}

/* Guides Section */
.page-support .guides-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

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

.page-support .guide-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-support .guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-support .guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support .guide-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
}

.page-support .guide-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support .guide-title a:hover {
  color: var(--secondary-color);
}

.page-support .guide-text {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support .guide-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

.page-support .guide-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* Policies Section */
.page-support .policies-section {
  background-color: #f0f2f5;
  padding: 80px 0;
}

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

.page-support .policy-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support .policy-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-support .policy-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-support .policy-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
}

.page-support .policy-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support .policy-title a:hover {
  color: var(--secondary-color);
}

.page-support .policy-text {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: center;
}

.page-support .policy-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-support .policy-link:hover {
  background: #e0a800;
  transform: translateY(-2px);
}

/* Latest News */
.page-support .latest-news {
  padding: 80px 0;
  background-color: var(--background-light);
}

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

.page-support .news-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-support .news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-support .news-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-support .news-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-support .news-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
  line-height: 1.3;
}

.page-support .news-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support .news-title a:hover {
  color: var(--secondary-color);
}

.page-support .news-meta {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 15px;
}

.page-support .news-excerpt {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support .news-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

.page-support .news-link:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.page-support .all-news-link {
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support .hero-title {
    font-size: 2.8em;
  }
  .page-support .hero-description {
    font-size: 1.1em;
  }
  .page-support .section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-support section {
    padding: 40px 0;
  }
  .page-support .hero-title {
    font-size: 2.2em;
  }
  .page-support .hero-description {
    font-size: 1em;
  }
  .page-support .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-support .channels-grid, .page-support .guides-grid, .page-support .policy-grid, .page-support .news-grid {
    grid-template-columns: 1fr;
  }
  .page-support .channel-card, .page-support .guide-card, .page-support .policy-item, .page-support .news-card {
    margin-bottom: 20px;
  }
  .page-support .faq-question {
    padding: 15px 20px;
  }
  .page-support .faq-question h3 {
    font-size: 1.1em;
  }
  .page-support .faq-toggle {
    font-size: 24px;
  }
  .page-support .faq-answer {
    padding: 15px 20px;
  }
  .page-support .guide-image, .page-support .news-image {
    height: 180px;
  }
  .page-support .guide-title, .page-support .policy-title, .page-support .news-title {
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .page-support .container {
    padding: 0 15px;
  }
  .page-support .hero-title {
    font-size: 1.8em;
  }
  .page-support .hero-description {
    font-size: 0.95em;
  }
  .page-support .section-title {
    font-size: 1.8em;
  }
  .page-support .section-description {
    font-size: 0.95em;
  }
  .page-support .channel-icon {
    width: 80px;
    height: 80px;
  }
  .page-support .channel-title {
    font-size: 1.5em;
  }
  .page-support .guide-image, .page-support .news-image {
    height: 150px;
  }
}