/* style/faq.css */

/* General Page Styles */
.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;
}

.page-faq-section {
    padding: 60px 0;
}

.page-faq-section-title {
    font-size: 2.5em;
    color: #1A237E; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-faq-hero {
    background: linear-gradient(135deg, #1A237E 0%, #3f4a9b 100%); /* Dark blue gradient */
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.page-faq-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Accent color */
}

.page-faq-hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-faq-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.page-faq-btn-primary {
    background-color: #FFD700; /* Accent color */
    color: #1A237E; /* Main color */
}

.page-faq-btn-primary:hover {
    background-color: #e5c000;
    transform: translateY(-2px);
}

.page-faq-btn-secondary {
    background-color: #1A237E; /* Main color */
    color: #FFD700; /* Accent color */
    border: 2px solid #FFD700;
}

.page-faq-btn-secondary:hover {
    background-color: #0d1250;
    transform: translateY(-2px);
}

.page-faq-btn-small {
    padding: 8px 20px;
    font-size: 0.9em;
    margin-top: 15px;
    background-color: #FFD700;
    color: #1A237E;
}

.page-faq-btn-small:hover {
    background-color: #e5c000;
}

/* Intro Section */
.page-faq-intro {
    background-color: #fff;
}

.page-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-faq-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-faq-intro-content {
        order: 1;
    }
    .page-faq-intro-image {
        order: 2;
    }
}

.page-faq-intro-content h2 {
    text-align: left;
    font-size: 2em;
    margin-bottom: 20px;
    color: #1A237E;
}

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

.page-faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-faq-inline-image {
    max-width: 150px;
    display: block;
    margin: 15px auto;
    box-shadow: none;
    border: 1px solid #eee;
}

/* Accordion Section */
.page-faq-accordion-section {
    background-color: #f4f7f6;
}

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

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

.page-faq-question {
    padding: 20px 25px;
    margin: 0;
    font-size: 1.2em;
    color: #1A237E; /* Main color */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-faq-question:hover {
    background-color: #f0f0f0;
}

.page-faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #FFD700; /* Accent color */
    transition: transform 0.3s ease;
}

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

.page-faq-answer {
    padding: 0 25px 20px 25px;
    background-color: #fafafa;
    border-top: 1px solid #eee;
    display: none;
    overflow: hidden;
    color: #555;
}

.page-faq-answer p {
    margin-bottom: 10px;
}

.page-faq-answer p:last-child {
    margin-bottom: 0;
}

/* Call to Action Bottom */
.page-faq-cta-bottom {
    text-align: center;
    background-color: #1A237E; /* Main color */
    color: #fff;
    padding: 80px 0;
}

.page-faq-cta-bottom .page-faq-section-title {
    color: #FFD700; /* Accent color */
}

.page-faq-cta-bottom p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-faq-hero-title {
        font-size: 2.5em;
    }
    .page-faq-hero-subtitle {
        font-size: 1.1em;
    }
    .page-faq-section-title {
        font-size: 2em;
    }
    .page-faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-faq-hero-title {
        font-size: 2em;
    }
    .page-faq-hero-subtitle {
        font-size: 1em;
    }
    .page-faq-section-title {
        font-size: 1.8em;
    }
    .page-faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-faq-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-faq-intro-content h2 {
        font-size: 1.8em;
    }
}