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

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

.page-beginner-guide-faq__hero {
    background: linear-gradient(135deg, #007BFF, #4da3ff); /* Adjusted for better contrast */
    color: #FFFFFF;
    padding: 100px 0;
    text-align: center;
}

.page-beginner-guide-faq__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF; /* Ensure high contrast */
}

.page-beginner-guide-faq__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0; /* Slightly off-white for subtle contrast */
}

.page-beginner-guide-faq__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.page-beginner-guide-faq__btn--primary {
    background-color: #FFC107; /* Secondary color for primary action */
    color: #000000; /* High contrast black text */
    border: none;
}

.page-beginner-guide-faq__btn--primary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.page-beginner-guide-faq__btn--secondary {
    background-color: #0056b3; /* Darker blue for secondary action */
    color: #FFFFFF;
    border: 1px solid #0056b3;
    margin-left: 15px;
}

.page-beginner-guide-faq__btn--secondary:hover {
    background-color: #004085;
    transform: translateY(-2px);
}

.page-beginner-guide-faq__intro {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-beginner-guide-faq__intro-content {
    flex: 1;
    padding-right: 30px;
}

.page-beginner-guide-faq__intro-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-beginner-guide-faq__intro-heading {
    font-size: 2.2em;
    color: #007BFF;
    margin-bottom: 20px;
}

.page-beginner-guide-faq__intro p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555555;
}

.page-beginner-guide-faq__intro strong {
    color: #007BFF;
}

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

.page-beginner-guide-faq__section-heading {
    text-align: center;
    font-size: 2.5em;
    color: #007BFF;
    margin-bottom: 40px;
}

.page-beginner-guide-faq__accordion {
    margin-top: 30px;
}

.page-beginner-guide-faq__accordion-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-beginner-guide-faq__accordion-header {
    padding: 20px 25px;
    font-size: 1.3em;
    color: #333333;
    cursor: pointer;
    background-color: #fefefe;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    position: relative;
}

.page-beginner-guide-faq__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    position: absolute;
    right: 25px;
    transition: transform 0.3s ease;
}

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

.page-beginner-guide-faq__accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    background-color: #ffffff;
    color: #555555;
}

.page-beginner-guide-faq__accordion-content.active {
    max-height: 500px; /* Adjust based on content height */
    padding: 20px 25px;
}

.page-beginner-guide-faq__accordion-content p {
    margin-bottom: 15px;
    color: #555555;
}

.page-beginner-guide-faq__accordion-content strong {
    color: #007BFF;
}

.page-beginner-guide-faq__btn--link {
    background-color: #007BFF;
    color: #FFFFFF;
    border: none;
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 10px;
}

.page-beginner-guide-faq__btn--link:hover {
    background-color: #0056b3;
}

.page-beginner-guide-faq__img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-beginner-guide-faq__img-small {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide-faq__cta {
    background: linear-gradient(90deg, #007BFF, #0056b3); /* Primary color gradient */
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.page-beginner-guide-faq__cta-heading {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF; /* High contrast */
}

.page-beginner-guide-faq__cta-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #e0e0e0; /* Slightly off-white for subtle contrast */
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-beginner-guide-faq__hero {
        padding: 80px 0;
    }

    .page-beginner-guide-faq__title {
        font-size: 2.5em;
    }

    .page-beginner-guide-faq__subtitle {
        font-size: 1em;
    }

    .page-beginner-guide-faq__intro .page-beginner-guide-faq__container {
        flex-direction: column;
    }

    .page-beginner-guide-faq__intro-content,
    .page-beginner-guide-faq__intro-image {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .page-beginner-guide-faq__section-heading {
        font-size: 2em;
    }

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

    .page-beginner-guide-faq__accordion-content {
        padding: 15px 20px;
    }

    .page-beginner-guide-faq__cta-heading {
        font-size: 2em;
    }

    .page-beginner-guide-faq__cta-buttons .page-beginner-guide-faq__btn {
        display: block;
        margin: 15px auto;
    }
}

@media (max-width: 480px) {
    .page-beginner-guide-faq__title {
        font-size: 2em;
    }

    .page-beginner-guide-faq__subtitle {
        font-size: 0.9em;
    }

    .page-beginner-guide-faq__intro-heading,
    .page-beginner-guide-faq__cta-heading {
        font-size: 1.8em;
    }

    .page-beginner-guide-faq__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}