/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

/* Hero Section */
.page-faq__hero-section {
    background: linear-gradient(135deg, #CC0000 0%, #FFD700 100%); /* Main to auxiliary color */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FFD700;
}

.page-faq__hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(30deg);
    opacity: 0.3;
    pointer-events: none;
}

.page-faq__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.page-faq__highlight {
    color: #FFD700; /* Auxiliary color for highlight */
}

.page-faq__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.page-faq__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 0 10px;
}

.page-faq__btn--primary {
    background-color: #FFD700; /* Auxiliary color */
    color: #CC0000; /* Main color for text */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-faq__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-faq__btn--secondary {
    background-color: #CC0000; /* Main color */
    color: #FFD700; /* Auxiliary color for text */
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
}

.page-faq__btn--secondary:hover {
    background-color: #a30000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.6);
}

/* Content Section */
.page-faq__content-section {
    padding: 60px 0;
    background-color: #fefefe;
}

.page-faq__faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.page-faq__faq-category {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.page-faq__category-title {
    font-size: 2.2em;
    color: #CC0000; /* Main color */
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-faq__category-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Auxiliary color */
    border-radius: 2px;
}

/* Accordion Styles */
.page-faq__accordion-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

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

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

.page-faq__accordion-header.active {
    background-color: #CC0000; /* Main color */
    color: #fff;
}

.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.4s ease-out, padding 0.4s ease-out;
}

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

.page-faq__accordion-content ul,
.page-faq__accordion-content ol {
    margin-left: 25px;
    margin-bottom: 15px;
    color: #555;
}

.page-faq__accordion-content li {
    margin-bottom: 8px;
}

.page-faq__accordion-content .page-faq__link {
    color: #CC0000;
    text-decoration: underline;
}

.page-faq__accordion-content .page-faq__link:hover {
    color: #FFD700;
}

/* Image styles within categories */
.page-faq__image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__image--left {
    float: left;
    margin-right: 20px;
}

.page-faq__image--right {
    float: right;
    margin-left: 20px;
}

.page-faq__image--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Clearfix for floated images */
.page-faq__faq-category::after {
    content: "";
    display: table;
    clear: both;
}

/* CTA Section */
.page-faq__cta-section {
    background-color: #CC0000; /* Main color */
    color: #fff;
    padding: 60px 40px;
    text-align: center;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(204, 0, 0, 0.3);
}

.page-faq__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
}

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

.page-faq__cta-buttons .page-faq__btn {
    margin: 10px;
}

/* Related Info Section */
.page-faq__related-info {
    padding: 60px 0;
    text-align: center;
    background-color: #f0f0f0;
    border-top: 1px solid #eee;
}

.page-faq__related-title {
    font-size: 2.2em;
    color: #CC0000; /* Main color */
    margin-bottom: 20px;
}

.page-faq__related-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
}

.page-faq__related-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-faq__related-link {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FFD700; /* Auxiliary color */
    color: #CC0000; /* Main color for text */
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.page-faq__related-link:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-faq__faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-faq__image--left {
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .page-faq__image--right {
        float: none;
        margin-left: 0;
        margin-bottom: 20px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .page-faq__main-title {
        font-size: 4em;
    }

    .page-faq__hero-description {
        font-size: 1.4em;
    }

    .page-faq__category-title {
        font-size: 2.5em;
    }

    .page-faq__cta-title {
        font-size: 3em;
    }
}

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

    .page-faq__main-title {
        font-size: 2.5em;
    }

    .page-faq__hero-description {
        font-size: 1.1em;
    }

    .page-faq__btn {
        padding: 12px 25px;
        font-size: 1em;
        margin: 5px;
    }

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

    .page-faq__faq-category {
        padding: 20px;
    }

    .page-faq__category-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

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

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

    .page-faq__cta-section {
        padding: 40px 20px;
    }

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

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

    .page-faq__related-info {
        padding: 40px 0;
    }

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

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

    .page-faq__related-links {
        flex-direction: column;
        align-items: center;
    }

    .page-faq__related-link {
        width: 80%;
    }

    .page-faq__image {
        max-width: 100%;
    }
}