/* style/faq.css */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
}

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

/* Hero Section */
.page-faq__hero-section {
    background: linear-gradient(135deg, #007bff, #4da3ff); /* Primary blue with a lighter shade for gradient */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

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

.page-faq__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-faq__hero-button {
    display: inline-block;
    background-color: #ffc107; /* Secondary color for buttons */
    color: #333333; /* Dark text for light button background */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-faq__hero-button:hover {
    background-color: #e0a800; /* Darker secondary color on hover */
    transform: translateY(-2px);
}

/* Content Section */
.page-faq__content-section {
    padding: 60px 0;
    background-color: #f8f9fa; /* Light background for content area */
}

.page-faq__section-title {
    font-size: 2.2em;
    color: #007bff; /* Primary blue for section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-faq__section-title--spacing {
    margin-top: 60px;
}

/* Categories */
.page-faq__categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

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

.page-faq__category-card:hover {
    transform: translateY(-5px);
}

.page-faq__category-image {
    width: 100%; /* Ensure images take full width of card */
    max-width: 300px; /* Limit max width for larger screens */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Cover the area, cropping if necessary */
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-faq__category-text {
    font-size: 1em;
    color: #555555;
}

/* Accordion */
.page-faq__accordion {
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__accordion-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-header {
    margin: 0;
    padding: 0;
}

.page-faq__accordion-button {
    width: 100%;
    background-color: #007bff; /* Primary blue for accordion headers */
    color: #ffffff;
    padding: 20px 25px;
    border: none;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    position: relative;
    outline: none; /* Remove outline on focus */
}

.page-faq__accordion-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

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

.page-faq__accordion-button[aria-expanded="true"]::after {
    content: '-';
    transform: rotate(0deg); /* No rotation for '-' */
}

.page-faq__accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.page-faq__accordion-collapse.page-faq__accordion-collapse--show {
    max-height: 1000px; /* Increased max-height to accommodate more content */
    transition: max-height 0.5s ease-in;
}

.page-faq__accordion-body {
    padding: 25px;
    background-color: #fefefe;
    border-top: 1px solid #e0e0e0;
    color: #333333;
}

.page-faq__accordion-body p {
    margin-bottom: 15px;
    font-size: 1em;
}

.page-faq__accordion-body ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 15px;
}

.page-faq__accordion-body li {
    margin-bottom: 5px;
}

.page-faq__accordion-body a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-faq__accordion-body a:hover {
    text-decoration: underline;
}

/* Call to Action Section */
.page-faq__cta-section {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
    margin-top: 60px;
}

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

.page-faq__cta-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 0 10px;
}

.page-faq__button--primary {
    background-color: #007bff;
    color: #ffffff;
}

.page-faq__button--primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.page-faq__button--secondary {
    background-color: #ffc107;
    color: #333333;
}

.page-faq__button--secondary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-faq__hero-title {
        font-size: 2em;
    }

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

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

    .page-faq__categories {
        grid-template-columns: 1fr;
    }

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

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

    .page-faq__accordion-body {
        padding: 15px 20px;
    }

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

    .page-faq__button {
        margin: 10px 0;
        width: calc(100% - 20px); /* Full width minus padding */
        display: block;
    }
}