/* style/resources-ev99-faq.css */

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

.page-resources-ev99-faq__container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.page-resources-ev99-faq__hero-section {
    background: linear-gradient(135deg, #007bff, #28a745);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.page-resources-ev99-faq__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-ev99-faq__cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.page-resources-ev99-faq__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-size: 1em;
    cursor: pointer;
    border: 2px solid transparent;
}

.page-resources-ev99-faq__btn--primary {
    background-color: #28a745; /* Auxiliary color */
    color: #fff;
    border-color: #28a745;
}

.page-resources-ev99-faq__btn--primary:hover {
    background-color: #218838;
    border-color: #218838;
}

.page-resources-ev99-faq__btn--secondary {
    background-color: #007bff; /* Primary color */
    color: #fff;
    border-color: #007bff;
}

.page-resources-ev99-faq__btn--secondary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.page-resources-ev99-faq__btn--outline {
    background-color: transparent;
    color: #007bff; /* Primary color */
    border-color: #007bff;
}

.page-resources-ev99-faq__btn--outline:hover {
    background-color: #007bff;
    color: #fff;
}

/* Content Section */
.page-resources-ev99-faq__content-section {
    padding: 50px 0;
}

.page-resources-ev99-faq__faq-list {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-resources-ev99-faq__faq-item {
    border-bottom: 1px solid #eee;
    padding: 25px 30px;
}

.page-resources-ev99-faq__faq-item:last-child {
    border-bottom: none;
}

.page-resources-ev99-faq__faq-heading {
    font-size: 1.8em;
    color: #007bff; /* Primary color */
    margin-bottom: 20px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-resources-ev99-faq__faq-heading::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-resources-ev99-faq__faq-heading.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-resources-ev99-faq__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 0;
}

.page-resources-ev99-faq__faq-answer.active {
    max-height: 1000px; /* Adjust as needed for content length */
    padding: 15px 0 0;
}

.page-resources-ev99-faq__sub-heading {
    font-size: 1.3em;
    color: #28a745; /* Auxiliary color */
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-resources-ev99-faq__faq-answer p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1em;
}

.page-resources-ev99-faq__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-resources-ev99-faq__faq-answer .page-resources-ev99-faq__cta-buttons {
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-resources-ev99-faq__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-ev99-faq__conclusion {
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
    background-color: #e9ecef;
    border-radius: 8px;
}

.page-resources-ev99-faq__conclusion p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #343a40;
}

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

    .page-resources-ev99-faq__hero-description {
        font-size: 1em;
    }

    .page-resources-ev99-faq__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-resources-ev99-faq__btn {
        width: 80%;
        margin: 0 auto;
    }

    .page-resources-ev99-faq__faq-heading {
        font-size: 1.5em;
    }

    .page-resources-ev99-faq__sub-heading {
        font-size: 1.1em;
    }
}

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

    .page-resources-ev99-faq__hero-section {
        padding: 50px 0;
    }

    .page-resources-ev99-faq__faq-item {
        padding: 20px 15px;
    }
}