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

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

/* Hero Section */
.page-faq-hero-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.page-faq-main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffc107; /* Auxiliary color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq-hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.page-faq-hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

.page-faq-btn-primary {
    background-color: #ffc107; /* Auxiliary color */
    color: #0056b3; /* Darker shade of primary for contrast */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq-btn-primary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-faq-btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid #fff;
}

.page-faq-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Content Section */
.page-faq-content-section {
    padding: 60px 0;
    background-color: #fff;
}

.page-faq-section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary color */
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

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

.page-faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.page-faq-accordion-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-faq-accordion-header {
    background-color: #007bff; /* Primary color */
    color: #fff;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-faq-accordion-header:hover {
    background-color: #0056b3; /* Darker shade of primary */
}

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

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

.page-faq-accordion-body {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #fff;
}

.page-faq-accordion-body.active {
    max-height: 500px; /* Adjust based on content */
    padding: 20px 25px;
}

.page-faq-accordion-body p {
    margin-bottom: 15px;
    color: #555;
}

.page-faq-text-link {
    color: #007bff; /* Primary color */
    text-decoration: none;
    font-weight: bold;
}

.page-faq-text-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Detail Pages Section */
.page-faq-detail-pages-section {
    padding: 60px 0;
    background-color: #f4f7f6;
}

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

.page-faq-card {
    background-color: #fff;
    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-faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-faq-card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-faq-card-title {
    font-size: 1.8em;
    color: #007bff; /* Primary color */
    margin-bottom: 15px;
}

.page-faq-card-title a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-faq-card-title a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.page-faq-card-description {
    color: #666;
    margin-bottom: 25px;
}

.page-faq-btn-outline {
    background-color: transparent;
    border: 2px solid #007bff; /* Primary color */
    color: #007bff;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 6px;
}

.page-faq-btn-outline:hover {
    background-color: #007bff;
    color: #fff;
}

/* CTA Section */
.page-faq-cta-section {
    background-color: #0056b3; /* Darker shade of primary */
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.page-faq-cta-content {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.page-faq-cta-title {
    font-size: 2.8em;
    color: #ffc107; /* Auxiliary color */
    margin-bottom: 20px;
}

.page-faq-cta-description {
    font-size: 1.1em;
    opacity: 0.9;
    margin-bottom: 30px;
}

.page-faq-cta-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-faq-btn-download {
    background-color: #28a745; /* Green for download */
    color: #fff;
    margin-left: 20px;
}

.page-faq-btn-download:hover {
    background-color: #218838;
}

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

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

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

    .page-faq-btn {
        width: 80%;
        margin: 0 auto;
    }

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

    .page-faq-card {
        padding: 25px;
    }

    .page-faq-card-title {
        font-size: 1.5em;
    }

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

    .page-faq-btn-download {
        margin-left: 0;
        margin-top: 15px;
    }
}

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

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

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

    .page-faq-card {
        padding: 20px;
    }
}