/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #e0e0e0; /* Light grey for general text on dark background */
    background-color: #0A1931; /* Main background color */
    line-height: 1.6;
    padding-bottom: 50px; /* Space for footer */
}

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

/* Hero Section */
.page-faq__hero-section {
    background: linear-gradient(135deg, #0A1931 0%, #1a3a6b 100%); /* Dark blue gradient */
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq__main-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

.page-faq__subtitle {
    font-size: 1.4em;
    color: #ffffff; /* White for subtitle */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__hero-image {
    max-width: 90%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    margin-top: 30px;
    transition: transform 0.3s ease-in-out;
}

.page-faq__hero-image:hover {
    transform: translateY(-5px);
}

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

.page-faq__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.page-faq__section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    border-radius: 2px;
}

.page-faq__section-title--cta {
    margin-top: 80px;
}

.page-faq__text-block {
    font-size: 1.1em;
    color: #c0c0c0; /* Lighter grey for paragraph text */
    margin-bottom: 25px;
    text-align: justify;
    line-height: 1.8;
}

.page-faq__text-block strong {
    color: #FFD700;
}

.page-faq__image-illustration {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 40px auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Accordion Styles */
.page-faq__accordion-group {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__accordion-item {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-faq__accordion-header {
    background-color: #1a2c4a; /* Slightly lighter dark blue for headers */
    color: #FFD700; /* Gold for accordion headers */
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.3em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-faq__accordion-header:hover {
    background-color: #2a416a;
    color: #ffe066; /* Lighter gold on hover */
}

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

.page-faq__accordion-item.active .page-faq__accordion-header::after {
    content: '-';
    transform: rotate(180deg);
}

.page-faq__accordion-content {
    background-color: #0A1931; /* Main dark blue for content */
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

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

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

.page-faq__accordion-content ul,
.page-faq__accordion-content ol {
    color: #e0e0e0;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-faq__accordion-content ul li,
.page-faq__accordion-content ol li {
    margin-bottom: 8px;
}

/* Buttons */
.page-faq__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin-top: 15px;
    cursor: pointer;
    text-align: center;
}

.page-faq__btn--primary {
    background-color: #FFD700; /* Gold for primary action */
    color: #0A1931; /* Dark blue text on gold */
    border: 2px solid #FFD700;
}

.page-faq__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-faq__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text for secondary action */
    border: 2px solid #FFD700;
    margin-left: 20px;
}

.page-faq__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A1931;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-faq__btn--link {
    background-color: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 8px 15px;
    font-size: 0.95em;
    border-radius: 5px;
}

.page-faq__btn--link:hover {
    background-color: #FFD700;
    color: #0A1931;
    border-color: #FFD700;
}

.page-faq__cta-buttons {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Detail Links Section */
.page-faq__detail-links {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-faq__detail-links li {
    background-color: #1a2c4a; /* Darker background for list items */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq__detail-links li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-faq__detail-links h3 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-faq__detail-links h3 a {
    color: #FFD700; /* Gold for detail link titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-faq__detail-links h3 a:hover {
    color: #ffffff;
}

.page-faq__detail-links p {
    color: #c0c0c0;
    font-size: 0.95em;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq__main-title {
        font-size: 2.8em;
    }
    .page-faq__subtitle {
        font-size: 1.2em;
    }
    .page-faq__section-title {
        font-size: 2em;
    }
    .page-faq__accordion-header {
        font-size: 1.2em;
        padding: 18px 20px;
    }
    .page-faq__accordion-content {
        padding: 15px 20px;
    }
    .page-faq__detail-links {
        grid-template-columns: 1fr;
    }
    .page-faq__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 60px 0 30px;
    }
    .page-faq__main-title {
        font-size: 2.2em;
    }
    .page-faq__subtitle {
        font-size: 1em;
    }
    .page-faq__section-title {
        font-size: 1.8em;
    }
    .page-faq__content-section {
        padding: 40px 0;
    }
    .page-faq__text-block {
        font-size: 1em;
    }
    .page-faq__accordion-header {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-faq__accordion-content {
        padding: 10px 15px;
    }
    .page-faq__btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-faq__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-faq__btn--secondary {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .page-faq__main-title {
        font-size: 1.8em;
    }
    .page-faq__subtitle {
        font-size: 0.9em;
    }
    .page-faq__section-title {
        font-size: 1.5em;
    }
    .page-faq__container {
        padding: 0 15px;
    }
    .page-faq__accordion-header {
        font-size: 1em;
        padding: 12px 10px;
    }
    .page-faq__accordion-content {
        padding: 8px 10px;
    }
    .page-faq__btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}