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

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

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

.page-faq__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-faq__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
}

.page-faq__hero-description {
    font-size: 1.2em;
    opacity: 0.9;
    margin-bottom: 30px;
}

.page-faq__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-faq__section-subtitle {
    font-size: 1.1em;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

.page-faq__categories {
    padding: 60px 0;
    background-color: #fff;
}

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

.page-faq__category-card {
    background-color: #f1f7ff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-faq__category-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-faq__card-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-faq__card-description {
    color: #555;
    font-size: 0.95em;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-faq__button {
    display: inline-block;
    background-color: #ffc107;
    color: #333;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-faq__button:hover {
    background-color: #e0a800;
    color: #000;
}

.page-faq__button--secondary {
    background-color: #007bff;
    color: #fff;
}

.page-faq__button--secondary:hover {
    background-color: #0056b3;
    color: #fff;
}

.page-faq__general-qa {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.page-faq__accordion-wrapper {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-faq__accordion-item {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.page-faq__accordion-item:last-child {
    border-bottom: none;
}

.page-faq__accordion-header {
    padding: 20px 30px;
    cursor: pointer;
    font-size: 1.2em;
    color: #007bff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
    background-color: #f1f7ff;
}

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

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

.page-faq__accordion-content {
    padding: 0 30px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: #555;
    font-size: 1em;
}

.page-faq__accordion-content p {
    margin-top: 0;
}

.page-faq__accordion-content.open {
    max-height: 500px; /* Adjust as needed */
    padding-top: 10px;
}

.page-faq__cta {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq__cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.page-faq__cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    text-align: left;
}

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

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

.page-faq__cta-image {
    width: 350px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq__hero-title {
        font-size: 2.8em;
    }
    .page-faq__section-title {
        font-size: 2em;
    }
    .page-faq__cta-title {
        font-size: 2.4em;
    }
    .page-faq__cta-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-title {
        font-size: 2.2em;
    }
    .page-faq__hero-description {
        font-size: 1em;
    }
    .page-faq__category-grid {
        grid-template-columns: 1fr;
    }
    .page-faq__accordion-header {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-faq__accordion-content {
        padding: 0 20px 15px;
    }
    .page-faq__cta {
        padding: 60px 0;
    }
    .page-faq__cta-title {
        font-size: 2em;
    }
    .page-faq__cta-image {
        width: 250px;
    }
}

@media (max-width: 576px) {
    .page-faq__hero {
        padding: 60px 0;
    }
    .page-faq__hero-title {
        font-size: 1.8em;
    }
    .page-faq__section-title {
        font-size: 1.8em;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
    }
    .page-faq__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}