/* style/support.css */

/* Base styles for the page-support scope */
.page-support {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background from shared.css */
    padding-bottom: 60px; /* Space above footer */
}

.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Intro Section */
.page-support__hero-intro {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 60px;
    background-color: #0A2463; /* Primary brand color for hero background */
    text-align: center;
}

.page-support__main-title {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #E3B505; /* Secondary color for main title */
    line-height: 1.2;
}

.page-support__intro-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    color: #f0f0f0;
}

/* Section Titles */
.page-support__section-title {
    font-size: 2.2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #E3B505; /* Secondary color for section titles */
    padding-top: 40px;
}

.page-support__section-description {
    font-size: 1.05em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #cccccc;
}

/* Contact Methods Section */
.page-support__contact-methods {
    padding: 60px 0;
    background-color: rgba(10, 36, 99, 0.8); /* Slightly transparent primary color */
}

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

.page-support__contact-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(227, 181, 5, 0.3); /* Subtle secondary color border */
}

.page-support__contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-support__contact-icon {
    margin-bottom: 20px;
    width: 100px; /* Fixed size for icons */
    height: 100px; /* Fixed size for icons */
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 50%;
    background-color: #E3B505; /* Secondary color background for icons */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-support__contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure icon fits without cropping */
    filter: brightness(0) invert(1); /* Make icons white if they are dark */
}

.page-support__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #E3B505; /* Secondary color for card titles */
}

.page-support__card-text {
    font-size: 0.95em;
    color: #cccccc;
    margin-bottom: 25px;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary {
    background-color: #E3B505; /* Secondary color for primary button */
    color: #0A2463; /* Primary color for text on secondary background */
    border: 2px solid #E3B505;
}

.page-support__btn-primary:hover {
    background-color: #ffc107; /* Slightly brighter yellow */
    color: #0A2463;
    transform: translateY(-2px);
}

.page-support__btn-secondary {
    background-color: transparent;
    color: #E3B505; /* Secondary color for text on transparent background */
    border: 2px solid #E3B505;
}

.page-support__btn-secondary:hover {
    background-color: #E3B505;
    color: #0A2463;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
    background-color: #0a0a0a; /* Dark background */
}

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

/* FAQ item styles (as provided in prompt) */
.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(227, 181, 5, 0.3); /* Subtle secondary color border */
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0A2463; /* Primary color for question background */
  border: 1px solid #0A2463;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-support__faq-question:hover {
  background: #1a3a7c; /* Slightly lighter primary color on hover */
  border-color: #1a3a7c;
}

.page-support__faq-question:active {
  background: #081e4f;
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #E3B505; /* Secondary color for FAQ question text */
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #E3B505; /* Secondary color for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-support__faq-item.active .page-support__faq-toggle {
  color: #ffffff; /* White toggle when active */
  transform: rotate(45deg); /* Plus sign rotates to X */
}

/* Resources Section */
.page-support__resources-section {
    padding: 60px 0;
    background-color: rgba(10, 36, 99, 0.8);
}

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

.page-support__resource-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(227, 181, 5, 0.3);
}

.page-support__resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-support__resource-image {
    width: 100%;
    height: 200px; /* Fixed height for resource images */
    overflow: hidden;
}

.page-support__resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-support__resource-card .page-support__card-title {
    padding: 20px 20px 0 20px;
    font-size: 1.3em;
    color: #E3B505;
}

.page-support__resource-card .page-support__card-title a {
    color: #E3B505;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__resource-card .page-support__card-title a:hover {
    color: #ffc107;
}

.page-support__resource-card .page-support__card-text {
    padding: 0 20px 20px 20px;
    font-size: 0.95em;
    color: #cccccc;
}

/* Feedback Section */
.page-support__feedback-section {
    padding: 60px 0;
    background-color: #0a0a0a;
}

.page-support__feedback-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(227, 181, 5, 0.3);
}

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

.page-support__form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #E3B505;
    font-size: 1.05em;
}

.page-support__form-input,
.page-support__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(227, 181, 5, 0.5);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-support__form-input::placeholder,
.page-support__form-textarea::placeholder {
    color: #aaaaaa;
}

.page-support__form-input:focus,
.page-support__form-textarea:focus {
    border-color: #E3B505;
    background-color: rgba(0, 0, 0, 0.5);
    outline: none;
}

.page-support__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-support__feedback-form .page-support__btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    margin-top: 15px;
}

/* Call to Action Section */
.page-support__cta-section {
    padding: 80px 0;
    background-color: #0A2463;
    text-align: center;
}

.page-support__cta-section .page-support__section-title {
    margin-bottom: 15px;
}

.page-support__cta-section .page-support__section-description {
    margin-bottom: 40px;
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-support__btn-cta {
    padding: 15px 40px;
    font-size: 1.15em;
    border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__main-title {
        font-size: 2.5em;
    }

    .page-support__section-title {
        font-size: 2em;
    }

    .page-support__contact-grid,
    .page-support__resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-support__hero-intro {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }

    .page-support__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-support__intro-description {
        font-size: 1em;
    }

    .page-support__section-title {
        font-size: 1.8em;
        padding-top: 30px;
    }

    .page-support__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-support__contact-methods,
    .page-support__faq-section,
    .page-support__resources-section,
    .page-support__feedback-section,
    .page-support__cta-section {
        padding: 40px 0;
    }

    .page-support__contact-grid,
    .page-support__resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__contact-card,
    .page-support__resource-card,
    .page-support__feedback-form {
        padding: 25px;
    }

    .page-support__card-title {
        font-size: 1.3em;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support a[class*="button"],
    .page-support a[class*="btn"] {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      white-space: normal !important;
      word-wrap: break-word !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}