/* style/faq.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A2B3C; /* Dark Blue */
    --text-color-dark: #1A2B3C;
    --text-color-light: #FFFFFF;
    --bg-color-light: #F8F8F8;
    --bg-color-dark: #0F1D2C; /* Slightly darker than secondary for contrast */
    --border-color: #E0E0E0;
    --accent-color: #FFC107; /* Brighter gold for highlights */
    --link-color: #FFD700;
    --link-hover-color: #FFC107;
}

.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--bg-color-light);
}

.page-faq a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-faq a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

/* Hero Section */
.page-faq .hero-faq-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0F1D2C 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--text-color-light);
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--primary-color);
}

.page-faq .hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-faq .hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-faq .hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-faq .cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq .cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-color-dark);
}

/* FAQ Content Section */
.page-faq .faq-content-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-faq .container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-faq .section-title {
    font-size: 2.2em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-faq .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-faq .section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

.page-faq .accordion-wrapper {
    margin-bottom: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    background-color: #FFFFFF;
}

.page-faq .accordion-item {
    border-bottom: 1px solid var(--border-color);
}

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

.page-faq .accordion-header {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 20px 30px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.page-faq .accordion-header:hover {
    background-color: #2A3B4C; /* Slightly lighter secondary for hover */
}

.page-faq .accordion-title {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.3em;
    flex-grow: 1;
}

.page-faq .accordion-icon {
    font-size: 1.8em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.page-faq .accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.page-faq .accordion-body {
    padding: 0 30px;
    background-color: #FDFDFD;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #333;
    font-size: 1.05em;
}

.page-faq .accordion-body.active {
    max-height: 500px; /* Adjust based on expected content height */
    padding: 20px 30px;
}

.page-faq .accordion-body p {
    margin-bottom: 15px;
}

.page-faq .accordion-body ul, .page-faq .accordion-body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.page-faq .accordion-body ul li, .page-faq .accordion-body ol li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.page-faq .list-style-check li {
    list-style-type: none;
    position: relative;
    padding-left: 25px;
}

.page-faq .list-style-check li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.page-faq .list-style-ordered li {
    list-style-type: decimal;
}

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

.page-faq .btn-small {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95em;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.page-faq .btn-small:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-color-dark);
}

/* Floating CTA Section */
.page-faq .floating-cta-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.page-faq .floating-cta-section .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    max-width: 400px; /* Limit width for mobile floating buttons */
}

.page-faq .floating-cta-button {
    flex: 1;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    padding: 12px 15px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.page-faq .floating-cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--text-color-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq .hero-title {
        font-size: 2.8em;
    }
    .page-faq .hero-subtitle {
        font-size: 1.1em;
    }
    .page-faq .section-title {
        font-size: 1.8em;
    }
    .page-faq .accordion-header {
        font-size: 1.1em;
        padding: 18px 25px;
    }
    .page-faq .accordion-title {
        font-size: 1.1em;
    }
    .page-faq .accordion-body {
        font-size: 0.95em;
        padding: 0 25px;
    }
    .page-faq .accordion-body.active {
        padding: 15px 25px;
    }
    .page-faq .content-image {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .page-faq .hero-faq-section {
        padding: 60px 15px;
    }
    .page-faq .hero-title {
        font-size: 2.2em;
    }
    .page-faq .hero-subtitle {
        font-size: 1em;
    }
    .page-faq .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-faq .faq-content-section {
        padding: 40px 15px;
    }
    .page-faq .section-title {
        font-size: 1.6em;
    }
    .page-faq .section-description {
        font-size: 0.95em;
    }
    .page-faq .accordion-header {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-faq .accordion-title {
        font-size: 1em;
    }
    .page-faq .accordion-icon {
        font-size: 1.5em;
    }
    .page-faq .accordion-body {
        padding: 0 20px;
    }
    .page-faq .accordion-body.active {
        padding: 15px 20px;
    }
    .page-faq .floating-cta-section .container {
        flex-direction: column;
        gap: 10px;
        max-width: 300px;
    }
    .page-faq .floating-cta-button {
        width: 100%;
        padding: 10px 15px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-faq .hero-title {
        font-size: 1.8em;
    }
    .page-faq .hero-subtitle {
        font-size: 0.9em;
    }
    .page-faq .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-faq .section-title {
        font-size: 1.4em;
    }
    .page-faq .accordion-header {
        font-size: 0.9em;
        padding: 12px 15px;
    }
    .page-faq .accordion-title {
        font-size: 0.9em;
    }
    .page-faq .accordion-icon {
        font-size: 1.2em;
    }
    .page-faq .accordion-body {
        padding: 0 15px;
    }
    .page-faq .accordion-body.active {
        padding: 10px 15px;
    }
    .page-faq .content-image {
        margin: 15px 0;
    }
}