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

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

.page-faq__hero {
    background: linear-gradient(135deg, #4A0E6B, #6A1A8C);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq__hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    animation: page-faq__pulse 4s infinite alternate;
}

.page-faq__hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    animation: page-faq__pulse 3s infinite alternate reverse;
}

@keyframes page-faq__pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

.page-faq__title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #FFD700;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__search-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.page-faq__search-input {
    width: 70%;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1em;
    outline: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__search-button {
    background-color: #FFD700;
    color: #4A0E6B;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
}

.page-faq__search-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-faq__accordion-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-faq__accordion-section--alt {
    background-color: #f1f1f1;
}

.page-faq__accordion-section .page-faq__container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-faq__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-faq__section-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-faq__accordion-group {
    flex: 2;
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #4A0E6B;
    margin-bottom: 40px;
    text-align: left;
    position: relative;
    padding-bottom: 10px;
}

.page-faq__section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-faq__accordion-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-header {
    width: 100%;
    background-color: #f5f5f5;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.15em;
    font-weight: bold;
    color: #4A0E6B;
    border: none;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-faq__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.page-faq__accordion-header.active {
    background-color: #FFD700;
    color: #4A0E6B;
}

.page-faq__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-faq__accordion-content {
    padding: 0 25px;
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq__accordion-content p {
    padding: 15px 0;
    margin: 0;
    color: #555;
    font-size: 1em;
}

.page-faq__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-align: center;
}

.page-faq__button--primary {
    background-color: #4A0E6B;
    color: #FFD700;
    border: 2px solid #4A0E6B;
}

.page-faq__button--primary:hover {
    background-color: #3a0a5b;
    color: #fff;
    border-color: #3a0a5b;
    transform: translateY(-2px);
}

.page-faq__button--secondary {
    background-color: #FFD700;
    color: #4A0E6B;
    border: 2px solid #FFD700;
}

.page-faq__button--secondary:hover {
    background-color: #e6c200;
    color: #3a0a5b;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-faq__contact-section {
    background-color: #4A0E6B;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq__contact-image {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #FFD700;
    box-shadow: 0 0 0 10px rgba(255, 215, 0, 0.3);
}

.page-faq__contact-section .page-faq__section-title {
    color: #FFD700;
    font-size: 3em;
    margin-bottom: 20px;
    text-align: center;
}

.page-faq__contact-section .page-faq__section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.page-faq__contact-text {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq__accordion-section .page-faq__container {
        flex-direction: column;
        align-items: center;
    }

    .page-faq__image-wrapper {
        margin-bottom: 30px;
        order: -1; /* Image first on smaller screens */
    }

    .page-faq__section-title {
        text-align: center;
        margin-bottom: 30px;
    }

    .page-faq__section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .page-faq__title {
        font-size: 2.5em;
    }

    .page-faq__subtitle {
        font-size: 1.1em;
    }

    .page-faq__search-bar {
        flex-direction: column;
        align-items: center;
    }

    .page-faq__search-input,
    .page-faq__search-button {
        width: 90%;
        max-width: 400px;
    }

    .page-faq__search-input {
        margin-bottom: 10px;
    }

    .page-faq__accordion-section {
        padding: 40px 0;
    }

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

    .page-faq__accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-faq__accordion-content p {
        padding: 10px 0;
    }

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

    .page-faq__contact-section .page-faq__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 480px) {
    .page-faq__hero {
        padding: 60px 0;
    }

    .page-faq__title {
        font-size: 2em;
    }

    .page-faq__subtitle {
        font-size: 0.9em;
        margin-bottom: 30px;
    }

    .page-faq__search-input,
    .page-faq__search-button {
        padding: 12px 15px;
        font-size: 0.9em;
    }

    .page-faq__accordion-section .page-faq__container {
        gap: 20px;
    }

    .page-faq__image-wrapper {
        min-width: unset;
    }

    .page-faq__section-title {
        font-size: 1.8em;
    }

    .page-faq__accordion-header {
        padding: 12px 15px;
    }

    .page-faq__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-faq__contact-section {
        padding: 40px 0;
    }

    .page-faq__contact-section .page-faq__section-title {
        font-size: 1.8em;
    }

    .page-faq__contact-image {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
}