/* style/faq.css */

/* General styling for the FAQ page */
.page-faq {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333; /* Dark gray for general text on light backgrounds */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for the page */
}

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

/* Hero Section */
.page-faq-hero {
    background: linear-gradient(135deg, #003366, #004488); /* Dark blue gradient */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-faq-hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15; /* Subtle background image */
    z-index: 0;
}

.page-faq-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-faq-hero .page-faq-container {
    position: relative;
    z-index: 1;
}

.page-faq-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFCC00; /* Golden yellow for main title */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-faq-subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #e0e0e0;
}

.page-faq-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-faq-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-width: 180px;
}

.page-faq-btn-primary {
    background-color: #FFCC00; /* Golden yellow for primary buttons */
    color: #003366; /* Dark blue text on golden yellow */
    border: 2px solid #FFCC00;
}

.page-faq-btn-primary:hover {
    background-color: #e6b800; /* Slightly darker yellow on hover */
    border-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-faq-btn-secondary {
    background-color: transparent;
    color: #FFCC00; /* Golden yellow text for secondary buttons */
    border: 2px solid #FFCC00;
}

.page-faq-btn-secondary:hover {
    background-color: #FFCC00;
    color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-faq-btn-inline {
    background-color: #003366;
    color: #FFCC00;
    border: 1px solid #FFCC00;
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 15px;
    border-radius: 5px;
}

.page-faq-btn-inline:hover {
    background-color: #004488;
    color: #ffffff;
    border-color: #ffffff;
}

.page-faq-btn-outline {
    background-color: transparent;
    color: #003366;
    border: 2px solid #003366;
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 5px;
}

.page-faq-btn-outline:hover {
    background-color: #003366;
    color: #FFCC00;
    transform: translateY(-1px);
}


/* Sections */
.page-faq-general,
.page-faq-detailed-categories,
.page-faq-responsible-gaming,
.page-faq-contact-us {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-faq-general {
    background-color: #fefefe;
}

.page-faq-heading {
    font-size: 2.5em;
    color: #003366; /* Dark blue for section headings */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.page-faq-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFCC00; /* Golden yellow underline */
    border-radius: 2px;
}

.page-faq-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #555555;
}

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

.page-faq-item {
    background-color: #f0f4f8; /* Light blue-gray for accordion items */
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-faq-question {
    font-size: 1.2em;
    color: #003366;
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e0eaf3; /* Slightly darker for question header */
    transition: background-color 0.3s ease;
}

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

.page-faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    color: #FFCC00;
    transition: transform 0.3s ease;
}

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

.page-faq-answer {
    padding: 0 25px;
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq-item.active .page-faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-faq-answer p {
    margin-bottom: 15px;
    color: #444444;
}

/* Detailed Categories Grid */
.page-faq-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-faq-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.page-faq-card-title {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 15px;
    min-height: 70px; /* Ensure consistent height for titles */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-faq-card-title a {
    color: #003366;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-faq-card-title a:hover {
    color: #FFCC00;
}

.page-faq-card-desc {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow description to take available space */
}

/* Responsible Gaming Section */
.page-faq-responsible-gaming {
    background-color: #f0f8ff; /* Lightest blue background */
    text-align: center;
}

.page-faq-responsible-gaming .page-faq-heading {
    color: #003366;
}

/* Contact Us Section */
.page-faq-contact-us {
    background-color: #e6f2ff; /* Another light blue */
    text-align: center;
}

.page-faq-contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Image styling */
.page-faq-image-general,
.page-faq-image-categories,
.page-faq-image-responsible-gaming,
.page-faq-image-contact {
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
}

.page-faq-general-illustration,
.page-faq-categories-illustration,
.page-faq-responsible-gaming-illustration,
.page-faq-contact-illustration {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-faq-title {
        font-size: 2.5em;
    }
    .page-faq-heading {
        font-size: 2em;
    }
    .page-faq-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-faq-hero {
        padding: 60px 0;
    }
    .page-faq-title {
        font-size: 2em;
    }
    .page-faq-subtitle {
        font-size: 1em;
    }
    .page-faq-btn {
        padding: 12px 20px;
        font-size: 1em;
        min-width: unset;
    }
    .page-faq-cta, .page-faq-contact-options {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq-general,
    .page-faq-detailed-categories,
    .page-faq-responsible-gaming,
    .page-faq-contact-us {
        padding: 40px 0;
        margin-bottom: 30px;
    }
    .page-faq-heading {
        font-size: 1.8em;
    }
    .page-faq-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-faq-item.active .page-faq-answer {
        padding: 15px 20px;
    }
    .page-faq-card {
        padding: 25px;
    }
    .page-faq-card-title {
        font-size: 1.2em;
        min-height: 60px;
    }
    .page-faq-card-desc {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-faq-hero {
        padding: 40px 0;
    }
    .page-faq-title {
        font-size: 1.8em;
    }
    .page-faq-heading {
        font-size: 1.5em;
    }
    .page-faq-btn {
        width: 100%;
        max-width: 250px;
    }
    .page-faq-accordion {
        padding: 0 10px;
    }
    .page-faq-item {
        margin-bottom: 10px;
    }
    .page-faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-faq-item.active .page-faq-answer {
        padding: 10px 15px;
    }
    .page-faq-card {
        padding: 20px;
    }
    .page-faq-card-title {
        font-size: 1.1em;
    }
}