/* style/resources-faq.css */
.page-resources-faq {
    font-family: Arial, sans-serif;
    color: #f5e6d0; /* Light text for dark background */
    background-color: #0A192F; /* Main dark blue background */
    line-height: 1.6;
}

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

.page-resources-faq .page-resources-faq-narrow {
    max-width: 800px;
}

.page-resources-faq-hero {
    background: linear-gradient(135deg, #0A192F 0%, #1a3a60 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #f5e6d0;
    position: relative;
    overflow: hidden;
}

.page-resources-faq-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    animation: float1 10s infinite ease-in-out;
}

.page-resources-faq-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    animation: float2 12s infinite ease-in-out;
}

@keyframes float1 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
    100% { transform: translate(0, 0); }
}

@keyframes float2 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
    100% { transform: translate(0, 0); }
}

.page-resources-faq-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-resources-faq-hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-resources-faq-hero-actions .page-resources-faq-btn {
    margin: 0 10px;
}

.page-resources-faq-content {
    padding: 60px 0;
}

.page-resources-faq-section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.page-resources-faq-accordion {
    margin-top: 40px;
}

.page-resources-faq-accordion-item {
    background-color: #1a2a40;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-faq-accordion-header {
    margin: 0;
}

.page-resources-faq-accordion-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 25px;
    background-color: #1a2a40;
    color: #FFD700;
    font-size: 1.3em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-faq-accordion-button:hover {
    background-color: #2a3d54;
    color: #fff;
}

.page-resources-faq-accordion-button[aria-expanded="true"] {
    background-color: #2a3d54;
    color: #fff;
}

.page-resources-faq-accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.page-resources-faq-accordion-icon::before,
.page-resources-faq-accordion-icon::after {
    content: '';
    position: absolute;
    background-color: #FFD700;
    transition: background-color 0.3s ease;
}

.page-resources-faq-accordion-button[aria-expanded="true"] .page-resources-faq-accordion-icon::before,
.page-resources-faq-accordion-button[aria-expanded="true"] .page-resources-faq-accordion-icon::after {
    background-color: #fff;
}

.page-resources-faq-accordion-icon::before {
    width: 100%;
    height: 2px;
    top: 9px;
    left: 0;
}

.page-resources-faq-accordion-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 9px;
}

.page-resources-faq-accordion-button[aria-expanded="true"] .page-resources-faq-accordion-icon::after {
    transform: rotate(90deg);
}

.page-resources-faq-accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.page-resources-faq-accordion-collapse.show {
    max-height: 1000px; /* Adjust based on max content height */
}

.page-resources-faq-accordion-body {
    padding: 20px 25px;
    background-color: #0A192F;
    color: #e0e0e0;
    border-top: 1px solid #2a3d54;
}

.page-resources-faq-accordion-body p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-resources-faq-accordion-body strong {
    color: #FFD700;
}

.page-resources-faq-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-resources-faq-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-resources-faq-btn-primary {
    background-color: #FFD700;
    color: #0A192F;
    border: 2px solid #FFD700;
}

.page-resources-faq-btn-primary:hover {
    background-color: #e6c200;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.page-resources-faq-btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-resources-faq-btn-secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.page-resources-faq-btn-download, .page-resources-faq-btn-contact {
    background-color: #FFD700;
    color: #0A192F;
    border: 2px solid #FFD700;
    margin-top: 20px;
}

.page-resources-faq-btn-download:hover, .page-resources-faq-btn-contact:hover {
    background-color: #e6c200;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.page-resources-faq-link-inline {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-faq-link-inline:hover {
    color: #fff;
    text-decoration: underline;
}

.page-resources-faq-conclusion {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: #1a2a40;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-resources-faq-conclusion .page-resources-faq-section-title {
    margin-bottom: 25px;
}

.page-resources-faq-conclusion p {
    font-size: 1.15em;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.page-resources-faq-center-text {
    text-align: center;
}

.page-resources-faq .highlight {
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-faq-hero-title {
        font-size: 2.5em;
    }

    .page-resources-faq-hero-description {
        font-size: 1em;
    }

    .page-resources-faq-hero-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-faq-hero-actions .page-resources-faq-btn {
        margin: 0;
        width: 100%;
    }

    .page-resources-faq-section-title {
        font-size: 2em;
    }

    .page-resources-faq-accordion-button {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-resources-faq-accordion-body {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-faq-hero-title {
        font-size: 2em;
    }

    .page-resources-faq-section-title {
        font-size: 1.8em;
    }

    .page-resources-faq-accordion-button {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-resources-faq-btn {
        padding: 10px 20px;
        font-size: 1em;
    }
}