/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-support-section {
  padding: 60px 0;
  border-bottom: 1px solid #e9ecef;
}

.page-support-section:last-of-type {
  border-bottom: none;
}

.page-support h1,
.page-support h2 {
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-support h3 {
  color: #333;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-support p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-support-cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 15px 40px;
  background-color: #ffc107;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-support-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: #007bff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: normal;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Hero Section */
.page-support-hero {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-support-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-support-hero-content h1 {
  color: #ffffff;
  font-size: 3.2em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

.page-support-method-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support-method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support-method-card h3 {
  color: #007bff;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-support-method-card p {
  font-size: 1em;
  color: #555;
  text-align: center;
}

.page-support-method-card a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

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

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

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

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

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

.faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: #333;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #007bff;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #f9f9f9;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 25px;
}

.page-support-faq-button {
  margin-top: 15px;
  display: inline-block;
}

/* Guides Section */
.page-support-guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support-guide-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support-guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-support-guide-item h3 {
  font-size: 1.25em;
  padding: 15px 20px 0;
  margin-bottom: 10px;
  color: #007bff;
  text-align: left;
}

.page-support-guide-item h3 a {
  color: #007bff;
  text-decoration: none;
}

.page-support-guide-item h3 a:hover {
  text-decoration: underline;
}

.page-support-guide-item p {
  font-size: 0.95em;
  color: #555;
  padding: 0 20px 20px;
  text-align: left;
}

/* Responsible Gaming */
.page-support-responsible-gaming {
  background-color: #e6f2ff;
  text-align: center;
}

.page-support-responsible-gaming h2 {
  color: #0056b3;
}

.page-support-responsible-gaming p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}

/* Feedback Form */
.page-support-feedback-form {
  max-width: 600px;
  margin: 40px auto 0;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-support-form-group {
  margin-bottom: 20px;
}

.page-support-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.page-support-form-group input[type="text"],
.page-support-form-group input[type="email"],
.page-support-form-group textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-support-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.page-support-feedback-form .page-support-button {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.page-support-feedback-form .page-support-button:hover {
  background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support-hero-content h1 {
    font-size: 2.5em;
  }
  .page-support-hero-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .page-support-hero {
    padding: 60px 0;
  }
  .page-support-hero-image {
    height: 250px;
    margin-bottom: 30px;
  }
  .page-support-hero-content h1 {
    font-size: 2em;
  }
  .page-support-hero-content p {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-support-section {
    padding: 40px 0;
  }
  .page-support h1,
  .page-support h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-support h3 {
    font-size: 1.3em;
  }
  .page-support-contact-methods {
    grid-template-columns: 1fr;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-answer {
    padding: 20px;
  }
  .page-support-guide-list {
    grid-template-columns: 1fr;
  }
  .page-support-guide-image {
    height: 180px;
  }
  .page-support-feedback-form {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-support-hero-image {
    height: 200px;
  }
  .page-support-hero-content h1 {
    font-size: 1.6em;
  }
  .page-support-hero-content p {
    font-size: 0.9em;
  }
  .page-support-cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-support h1,
  .page-support h2 {
    font-size: 1.5em;
    margin-bottom: 25px;
  }
  .page-support-button {
    padding: 8px 20px;
    font-size: 14px;
  }
  .page-support-form-group input,
  .page-support-form-group textarea {
    padding: 10px;
  }
}