/* style/support.css */

:root {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #0A2239;
  --border-color: #e0e0e0;
  --button-hover-dark: #c0a000;
}

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

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

/* 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-color: var(--background-dark);
  color: var(--text-color-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%;
  margin-bottom: 30px;
}

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

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

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

.page-support .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-support .cta-button:hover {
  background: var(--button-hover-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-support h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-support h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-support p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Why Choose Section */
.page-support .section-why-choose .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-support .feature-item {
  background-color: #ffffff;
  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;
}

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

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

.page-support .feature-item h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-support .feature-item p {
  font-size: 1em;
  color: var(--text-color-dark);
}

/* Contact Channels Section */
.page-support .section-contact-channels {
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

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

.page-support .section-contact-channels h2::after {
  background-color: var(--text-color-light);
}

.page-support .section-contact-channels p {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

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

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

.page-support .contact-item:hover {
  transform: translateY(-10px);
  background-color: #2A4A6A;
}

.page-support .contact-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid var(--secondary-color);
  padding: 8px;
}

.page-support .contact-item h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-support .contact-item p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.page-support .contact-detail {
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-support .btn-contact {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-support .btn-contact:hover {
  background: var(--button-hover-dark);
  transform: translateY(-2px);
}

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

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

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

.page-support .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  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);
}

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

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

.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;
  color: var(--text-color-dark);
}

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

.page-support .faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Guides & Resources Section */
.page-support .section-guides-resources .resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-support .resource-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support .resource-card .card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-support .resource-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.4em;
  margin-bottom: 0;
}

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

.page-support .resource-card h3 a:hover {
  color: var(--secondary-color);
}

.page-support .resource-card p {
  padding: 0 20px 15px;
  font-size: 0.95em;
  color: var(--text-color-dark);
}

.page-support .btn-read-more {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 20px 20px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-support .btn-read-more:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* Feedback Form Section */
.page-support .section-feedback {
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

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

.page-support .section-feedback h2::after {
  background-color: var(--text-color-light);
}

.page-support .section-feedback p {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-support .feedback-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #1A3A5A;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-support .form-group label {
  display: block;
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--secondary-color);
  font-weight: bold;
}

.page-support .form-group input,
.page-support .form-group textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #4A6A8A;
  border-radius: 5px;
  background-color: #0A2239;
  color: var(--text-color-light);
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-support .form-group input::placeholder,
.page-support .form-group textarea::placeholder {
  color: #999;
}

.page-support .form-group input:focus,
.page-support .form-group textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-support .btn-submit {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-support .btn-submit:hover {
  background: var(--button-hover-dark);
  transform: translateY(-2px);
}

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

.page-support .section-commitment p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-support .section-commitment ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto 40px;
}

.page-support .section-commitment ul li {
  background-color: #ffffff;
  border-left: 5px solid var(--secondary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 1.05em;
}

.page-support .section-commitment ul li strong {
  color: var(--primary-color);
}

.page-support .button-group {
  text-align: center;
  margin-top: 40px;
}

.page-support .btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-left: 20px;
  transition: all 0.3s ease;
}

.page-support .btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support .hero-content h1 {
    font-size: 2.8em;
  }

  .page-support h2 {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-support .hero-section {
    padding: 40px 15px;
  }

  .page-support .hero-content h1 {
    font-size: 2.2em;
  }

  .page-support .hero-content p {
    font-size: 1em;
  }

  .page-support .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

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

  .page-support h2 {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-support h3 {
    font-size: 1.5em;
  }

  .page-support p {
    font-size: 0.95em;
  }

  .page-support .features-grid,
  .page-support .contact-grid,
  .page-support .resource-grid {
    grid-template-columns: 1fr;
  }

  .page-support .feature-icon,
  .page-support .contact-icon {
    width: 80px;
    height: 80px;
  }

  .page-support .faq-question {
    padding: 15px 20px;
  }

  .page-support .faq-question h3 {
    font-size: 1.1em;
  }

  .page-support .faq-toggle {
    font-size: 20px;
  }

  .page-support .faq-answer {
    padding: 0 20px;
  }

  .page-support .faq-item.active .faq-answer {
    padding: 15px 20px;
  }

  .page-support .feedback-form {
    padding: 30px;
  }

  .page-support .form-group input,
  .page-support .form-group textarea {
    width: calc(100% - 20px);
  }

  .page-support .btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-support .button-group .cta-button {
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .page-support .hero-content h1 {
    font-size: 1.8em;
  }

  .page-support h2 {
    font-size: 1.6em;
  }

  .page-support h3 {
    font-size: 1.3em;
  }

  .page-support .cta-button,
  .page-support .btn-secondary {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .page-support .button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .page-support .btn-contact {
    width: 100%;
  }

  .page-support .resource-card h3 {
    font-size: 1.2em;
  }

  .page-support .resource-card p {
    font-size: 0.9em;
  }
}