/* style/support.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Deep Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #1a1a1a;
  --background-light: #f5f5f5;
  --card-bg: #2a2a2a;
  --border-color: #444444;
}

.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: 20px;
}

.page-support h1,
.page-support h2,
.page-support h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-support h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
}

.page-support p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-support ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-support li {
  margin-bottom: 8px;
}

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

.page-support a:hover {
  color: var(--primary-color);
}

.page-support .btn-contact,
.page-support .cta-button,
.page-support .btn-small {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-support .btn-contact:hover,
.page-support .cta-button:hover,
.page-support .btn-small:hover {
  background-color: #a00000; /* Slightly darker red */
  transform: translateY(-2px);
}

.page-support .cta-button {
  font-size: 1.1em;
  padding: 15px 30px;
  margin-top: 20px;
}

.page-support .btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 10px;
}

/* Hero Section */
.page-support .hero-section {
  background: linear-gradient(135deg, var(--background-dark) 0%, #333333 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-support .hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-support .hero-content h1 {
  margin-bottom: 15px;
  font-size: 3em;
}

.page-support .hero-content p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 25px auto;
  color: #e0e0e0;
}

/* Content Section */
.page-support .content-section {
  padding: 40px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

/* Contact Channels Section */
.page-support .contact-channels-section {
  background-color: var(--card-bg);
  padding: 50px 0;
  color: var(--text-light);
}

.page-support .contact-channels-section h2,
.page-support .contact-channels-section h3 {
  color: var(--primary-color);
}

.page-support .contact-channels-section p {
  color: #ccc;
}

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

.page-support .channel-card {
  background-color: var(--background-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support .channel-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%;
  background-color: var(--secondary-color);
  padding: 10px;
}

.page-support .channel-card h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-support .channel-card p {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #aaa;
}

.page-support .channel-card .btn-contact {
  width: auto;
  align-self: center;
}

/* Troubleshooting Section */
.page-support .troubleshooting-section {
  padding: 50px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-support .troubleshooting-item {
  background-color: #ffffff;
  padding: 30px;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--primary-color);
}

.page-support .troubleshooting-item h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-support .troubleshooting-item ul {
  list-style-type: square;
  margin-left: 25px;
  padding: 0;
}

.page-support .troubleshooting-item li {
  margin-bottom: 10px;
}

/* FAQ Section */
.page-support .faq-section {
  background-color: var(--background-dark);
  padding: 50px 0;
  color: var(--text-light);
}

.page-support .faq-section h2 {
  color: var(--primary-color);
}

.page-support .faq-section p {
  color: #ccc;
  text-align: center;
  margin-bottom: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

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

.faq-question:hover {
  background: #3a3a3a;
  border-color: var(--primary-color);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-light);
  flex-grow: 1;
}

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

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

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

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
  border-color: var(--primary-color);
}

.faq-answer p {
  color: #e0e0e0;
  margin-bottom: 15px;
}

.faq-answer .page-support.btn-small {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

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

/* Commitment Section */
.page-support .commitment-section {
  padding: 50px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-support .commitment-section h2 {
  color: var(--secondary-color);
}

.page-support .commitment-section ul {
  list-style-type: check;
  margin-left: 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-support .commitment-section li {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--secondary-color);
  font-weight: 500;
  color: var(--text-dark);
}

/* Quick Links Section */
.page-support .quick-links-section {
  background-color: var(--card-bg);
  padding: 50px 0;
  color: var(--text-light);
}

.page-support .quick-links-section h2 {
  color: var(--primary-color);
}

.page-support .quick-links-section p {
  color: #ccc;
  text-align: center;
  margin-bottom: 30px;
}

.page-support .quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-support .quick-link-card {
  background-color: var(--background-dark);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.page-support .quick-link-card:hover {
  transform: translateY(-5px);
  background-color: #3a3a3a;
}

.page-support .quick-link-icon {
  width: 120px; /* Min size 200x200px, but this is an icon, so I'll try to represent it as a larger content image */
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 8px;
}

.page-support .quick-link-card span {
  font-weight: bold;
  font-size: 1.1em;
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support h1 {
    font-size: 2.5em;
  }
  .page-support h2 {
    font-size: 2em;
  }
  .page-support .hero-image {
    max-width: 600px;
  }
  .page-support .channels-grid,
  .page-support .quick-links-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-support h1 {
    font-size: 2em;
  }
  .page-support h2 {
    font-size: 1.8em;
  }
  .page-support h3 {
    font-size: 1.4em;
  }
  .page-support .hero-section {
    padding: 40px 0;
  }
  .page-support .hero-image {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .page-support .hero-content p {
    font-size: 1em;
  }
  .page-support .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-support .channels-grid,
  .page-support .quick-links-grid {
    grid-template-columns: 1fr;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-support .container {
    padding: 15px;
  }
  .page-support h1 {
    font-size: 1.8em;
  }
  .page-support h2 {
    font-size: 1.6em;
  }
  .page-support .channel-icon {
    width: 80px;
    height: 80px;
  }
  .page-support .quick-link-icon {
    width: 100px;
    height: 100px;
  }
}

/* FAQ default state - answer hidden */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 25px;
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  background: #222222;
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Question style */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #3a3a3a;
}

/* Toggle icon */
.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

/* Mobile adaptation */
@media (max-width: 768px) {
  .faq-question {
    padding: 15px;
    flex-direction: row;
    align-items: center;
  }
  
  .faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1em;
  }
  
  .faq-toggle {
    margin-top: 0;
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 15px;
  }
}