/* style/support.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #1a2a3a;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

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

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

.page-support section {
  padding: 60px 0;
  margin-bottom: 20px;
}

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

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

.page-support .section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support .section-description {
  font-size: 18px;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 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: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Adjusted gradient for better contrast */
  color: var(--text-light);
}

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

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

.page-support .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-support .hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color); /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support .hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support .cta-button:hover {
  background: #e6b300;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Methods Section */
.page-support .contact-methods-section {
  background-color: #ffffff;
}

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

.page-support .contact-card {
  background: var(--card-background);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

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

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

.page-support .card-text {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.page-support .card-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-support .card-text a:hover {
  text-decoration: underline;
}

.page-support .btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-support .btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 1px solid var(--primary-color);
}

.page-support .btn-primary:hover {
  background: #0056b3;
  border-color: #0056b3;
}

.page-support .btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 1px solid var(--secondary-color);
}

.page-support .btn-secondary:hover {
  background: #e6b300;
  border-color: #e6b300;
}

/* Popular Topics Section */
.page-support .popular-topics-section {
  background-color: var(--background-light);
}

.page-support .topic-category {
  background: var(--card-background);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

.page-support .category-description {
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 25px;
  max-width: 700px;
}

.page-support .topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 800px;
}

.page-support .topic-list li {
  background: #f9f9f9;
  border-left: 5px solid var(--secondary-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  text-align: left;
  font-size: 16px;
  color: var(--text-dark);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-support .topic-list li:hover {
  background-color: #eef2f1;
  transform: translateX(5px);
}

.page-support .topic-list li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-support .topic-list li a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-support .faq-section {
  background-color: #ffffff;
}

.page-support .faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-background);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  color: var(--primary-color);
  font-weight: bold;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  color: var(--text-dark);
  font-size: 16px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0 0 10px 0;
}

.faq-answer .page-support.btn-small {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.faq-answer .page-support.btn-small:hover {
  background-color: #0056b3;
}

/* Policies Section */
.page-support .policies-section {
  background-color: var(--background-light);
}

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

.page-support .policy-card {
  background: var(--card-background);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

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

/* Feedback Section */
.page-support .feedback-section {
  background: linear-gradient(135deg, #ffc107 0%, #e6b300 100%);
  color: var(--primary-color);
  text-align: center;
  padding: 80px 20px;
  border-radius: 15px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-support .feedback-section .section-title {
  color: var(--primary-color);
  font-size: 38px;
}

.page-support .feedback-section .section-description,
.page-support .feedback-call-to-action {
  color: var(--primary-color);
  font-size: 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.page-support .feedback-call-to-action {
  font-weight: bold;
  font-size: 20px;
}

.page-support .feedback-section .cta-button {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support .feedback-section .cta-button:hover {
  background: #0056b3;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support .hero-title {
    font-size: 42px;
  }
  .page-support .hero-description {
    font-size: 18px;
  }
  .page-support .section-title {
    font-size: 32px;
  }
  .page-support .section-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-support .hero-section {
    padding: 40px 15px;
  }
  .page-support .hero-title {
    font-size: 34px;
  }
  .page-support .hero-description {
    font-size: 16px;
  }
  .page-support .cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
  .page-support section {
    padding: 40px 0;
  }
  .page-support .section-title {
    font-size: 28px;
  }
  .page-support .section-description {
    font-size: 15px;
  }
  .page-support .contact-grid, .page-support .policy-grid {
    grid-template-columns: 1fr;
  }
  .page-support .topic-icon, .page-support .contact-icon, .page-support .policy-icon {
    width: 80px;
    height: 80px;
  }
  .page-support .card-title, .page-support .category-title {
    font-size: 22px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-answer {
    padding: 10px 20px;
  }
  .page-support .feedback-section {
    padding: 60px 15px;
  }
  .page-support .feedback-section .section-title {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .page-support .hero-title {
    font-size: 28px;
  }
  .page-support .hero-description {
    font-size: 14px;
  }
  .page-support .cta-button {
    padding: 10px 25px;
    font-size: 16px;
  }
  .page-support .section-title {
    font-size: 24px;
  }
  .page-support .contact-card, .page-support .policy-card, .page-support .topic-category {
    padding: 20px;
  }
  .page-support .topic-list li {
    font-size: 14px;
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 15px;
  }
}