/* style/gcash-faq.css */

/* Base styles for the page content, ensuring proper spacing from the fixed header */
.page-gcash-faq {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #FFFFFF; /* Explicitly set background if not inherited */
}

/* Hero Section */
.page-gcash-faq__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden; /* Contains the absolute positioned image */
    background-color: #000000; /* Dark background for hero to make text pop */
    color: #FFFFFF; /* Light text for dark background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-gcash-faq__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2; /* Subtle background image */
}

.page-gcash-faq__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-gcash-faq__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-gcash-faq__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FCBC45; /* Highlight title with accent color */
    line-height: 1.2;
}

.page-gcash-faq__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #FFFFFF;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gcash-faq__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-gcash-faq__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}

.page-gcash-faq__button--register {
    background-color: #FFFFFF; /* White button */
    color: #000000; /* Black text for white button */
    border-color: #FFFFFF;
}

.page-gcash-faq__button--register:hover {
    background-color: #FCBC45; /* Accent color on hover */
    border-color: #FCBC45;
    color: #000000;
}

.page-gcash-faq__button--login {
    background-color: #FCBC45; /* Accent button */
    color: #000000; /* Black text for accent button */
    border-color: #FCBC45;
}

.page-gcash-faq__button--login:hover {
    background-color: #FFFFFF; /* White on hover */
    border-color: #FFFFFF;
    color: #000000;
}

/* Introduction Section */
.page-gcash-faq__introduction-section {
    padding: 60px 20px;
    background-color: #F8F8F8; /* Light gray background for contrast */
}

.page-gcash-faq__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-gcash-faq__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
}

.page-gcash-faq__section-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

/* FAQ Section */
.page-gcash-faq__faq-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
}

.page-gcash-faq__faq-item {
    background-color: #FDFDFD;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gcash-faq__faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-gcash-faq__faq-question {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 0;
    cursor: pointer; /* Indicates it's clickable for accordion */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
}

.page-gcash-faq__faq-question::after {
    content: '+';
    font-size: 1.2em;
    margin-left: 10px;
    transition: transform 0.3s ease;
    color: #FCBC45;
}

.page-gcash-faq__faq-question.active::after {
    content: '-';
    transform: rotate(0deg); /* No rotation needed for +/- */
}

.page-gcash-faq__faq-answer {
    font-size: 1.05em;
    color: #555555;
    max-height: 0; /* Initially hidden */
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding-top 0.5s ease-out;
    padding-top: 0;
}

.page-gcash-faq__faq-answer.active {
    padding-top: 10px; /* Add padding when active */
}

.page-gcash-faq__faq-answer p {
    margin-bottom: 15px;
}

.page-gcash-faq__faq-answer ul,
.page-gcash-faq__faq-answer ol {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
}

.page-gcash-faq__faq-answer ol {
    list-style: decimal;
}

.page-gcash-faq__faq-answer li {
    margin-bottom: 8px;
}

.page-gcash-faq__faq-answer h4 {
    font-size: 1.2em;
    color: #000000;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-gcash-faq__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
    object-fit: cover;
    /* Enforce minimum size for content images */
    min-width: 200px;
    min-height: 200px;
}

.page-gcash-faq__faq-answer a {
    color: #FCBC45; /* Accent color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-gcash-faq__faq-answer a:hover {
    text-decoration: underline;
}

/* Call to Action Section within FAQ */
.page-gcash-faq__cta-section {
    background-color: #000000; /* Dark background */
    color: #FFFFFF; /* Light text */
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.page-gcash-faq__cta-title {
    font-size: 2em;
    margin-bottom: 15px;
    color: #FCBC45;
}

.page-gcash-faq__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-gcash-faq__button--register-large {
    background-color: #FCBC45; /* Accent button */
    color: #000000; /* Dark text */
    padding: 18px 40px;
    font-size: 1.2em;
    border-color: #FCBC45;
}

.page-gcash-faq__button--register-large:hover {
    background-color: #FFFFFF; /* White on hover */
    border-color: #FFFFFF;
    color: #000000;
}

/* Detail Pages Section */
.page-gcash-faq__detail-pages-section {
    padding: 60px 20px;
    background-color: #F8F8F8;
    text-align: center;
}

.page-gcash-faq__detail-card-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-gcash-faq__detail-card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    width: 100%;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gcash-faq__detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-gcash-faq__detail-card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #000000;
}

.page-gcash-faq__detail-card-title a {
    color: #000000;
    text-decoration: none;
}

.page-gcash-faq__detail-card-title a:hover {
    color: #FCBC45;
    text-decoration: underline;
}

.page-gcash-faq__detail-card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-gcash-faq__button--view-details {
    background-color: #FCBC45;
    color: #000000;
    padding: 10px 20px;
    font-size: 0.9em;
    border-color: #FCBC45;
}

.page-gcash-faq__button--view-details:hover {
    background-color: #000000;
    color: #FCBC45;
    border-color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gcash-faq__hero-title {
        font-size: 3em;
    }
    .page-gcash-faq__hero-description {
        font-size: 1.2em;
    }
    .page-gcash-faq__section-title {
        font-size: 2em;
    }
    .page-gcash-faq__faq-question {
        font-size: 1.4em;
    }
    .page-gcash-faq__cta-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-gcash-faq {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile if needed */
    }
    .page-gcash-faq__hero-section {
        padding: 60px 20px;
        min-height: 400px;
    }
    .page-gcash-faq__hero-title {
        font-size: 2.5em;
    }
    .page-gcash-faq__hero-description {
        font-size: 1.1em;
    }
    .page-gcash-faq__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-gcash-faq__button {
        width: 100%;
        max-width: 300px;
    }
    .page-gcash-faq__section-title {
        font-size: 1.8em;
    }
    .page-gcash-faq__faq-question {
        font-size: 1.2em;
    }
    .page-gcash-faq__faq-answer {
        font-size: 1em;
    }
    .page-gcash-faq__cta-title {
        font-size: 1.5em;
    }
    .page-gcash-faq__button--register-large {
        padding: 15px 30px;
        font-size: 1.1em;
        width: 100%;
        max-width: 300px;
    }
    .page-gcash-faq__detail-card {
        max-width: 100%;
    }

    /* Mobile content image overflow prevention */
    .page-gcash-faq img {
        max-width: 100%;
        height: auto;
        /* Ensure content images are not smaller than 200px if they are not small icons */
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-gcash-faq__hero-title {
        font-size: 2em;
    }
    .page-gcash-faq__hero-description {
        font-size: 1em;
    }
    .page-gcash-faq__section-title {
        font-size: 1.5em;
    }
    .page-gcash-faq__faq-question {
        font-size: 1.1em;
    }
    .page-gcash-faq__cta-title {
        font-size: 1.3em;
    }
}