/* style/faq.css */

/* --- General Page Styles --- */
.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for readability on dark body background (#0a0a0a) */
    background-color: transparent; /* Allow body background to show */
    padding-bottom: 60px; /* Space above footer */
}

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

.page-faq__section {
    padding: 60px 0;
    margin-bottom: 30px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark body */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__section:last-of-type {
    margin-bottom: 0;
}

.page-faq h1,
.page-faq h2,
.page-faq h3 {
    color: var(--secondary-color, #FFCC00); /* Use accent color for headings */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-faq h1 {
    font-size: 3.2em;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #ffffff; /* Main H1 can be white on dark background */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq h2 {
    font-size: 2.5em;
    margin-top: 40px;
    margin-bottom: 30px;
    color: var(--secondary-color, #FFCC00);
}

.page-faq h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff;
}

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

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

.page-faq a:hover {
    color: #ffffff;
}

/* --- Video Section --- */
.page-faq__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: var(--primary-color, #003366); /* Dark background for video section */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-faq__video-link {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.page-faq__video-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-faq__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #000; /* Fallback for video area */
}

.page-faq__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    object-fit: cover;
    pointer-events: none; /* Prevent video controls from interfering with click event */
}

.page-faq__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.page-faq__video-link:hover .page-faq__video-overlay {
    opacity: 1;
}

.page-faq__video-click-hint {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    padding: 12px 25px;
    background: rgba(255, 204, 0, 0.8); /* Using accent color for hint */
    border-radius: 5px;
    white-space: nowrap;
    text-align: center;
}

.page-faq__video-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.page-faq__play-now-button {
    display: inline-block;
    padding: 18px 50px;
    background: var(--secondary-color, #FFCC00); /* Use accent color for CTA */
    color: var(--primary-color, #003366); /* Dark text on accent background */
    text-decoration: none;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-faq__play-now-button:hover {
    background: #e6b800; /* Slightly darker accent on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__play-now-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- Title Section --- */
.page-faq__title-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--primary-color, #003366); /* Dark blue background */
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__title-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__main-title {
    font-size: 3.5em;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

.page-faq__title-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-faq__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.page-faq__cta-button--primary {
    background: var(--secondary-color, #FFCC00);
    color: var(--primary-color, #003366);
}

.page-faq__cta-button--primary:hover {
    background: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-button--secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--secondary-color, #FFCC00);
}

.page-faq__cta-button--secondary:hover {
    background: var(--secondary-color, #FFCC00);
    color: var(--primary-color, #003366);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* --- FAQ Section --- */
.page-faq__faq-section {
    padding: 80px 20px;
    background-color: rgba(255, 255, 255, 0.03); /* Lighter translucent background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-faq__faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__faq-main-title {
    color: var(--secondary-color, #FFCC00);
    margin-bottom: 20px;
}

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

.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.08); /* Darker translucent for item */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.page-faq__faq-item.active {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #ffffff; /* White background for question */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #333333; /* Dark text on white background */
}

.page-faq__faq-item.active .page-faq__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: var(--secondary-color, #FFCC00);
    background-color: #f5f5f5;
}

.page-faq__faq-question:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
}

.page-faq__faq-question:active {
    background: #eeeeee;
}

.page-faq__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click */
    color: #333333; /* Dark text on white background */
    text-align: left;
}

.page-faq__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color, #003366); /* Use primary color for toggle */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent toggle from blocking click */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--primary-color, #003366);
    border-radius: 50%;
    background-color: transparent;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
    color: var(--secondary-color, #FFCC00);
    transform: rotate(45deg); /* Rotate for 'x' effect, or just change text */
    border-color: var(--secondary-color, #FFCC00);
}

.page-faq__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #f9f9f9; /* Light grey background for answer */
    color: #333333; /* Dark text on light grey background */
    border-radius: 0 0 8px 8px;
    border: 1px solid #e0e0e0;
    border-top: none;
}

.page-faq__faq-item.active .page-faq__faq-answer {
    max-height: 2000px !important; /* Crucial for expand, use !important */
    padding: 20px 25px !important;
    opacity: 1;
}

/* --- Brand Section --- */
.page-faq__brand-section {
    padding: 80px 20px;
    background-color: var(--primary-color, #003366); /* Brand primary color background */
    color: #ffffff;
    text-align: center;
}

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

.page-faq__brand-title {
    color: var(--secondary-color, #FFCC00);
    margin-bottom: 50px;
}

.page-faq__brand-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-faq__brand-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-faq__brand-item h3 {
    font-size: 1.5em;
    color: var(--secondary-color, #FFCC00);
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-faq__brand-item p {
    color: #f0f0f0;
    font-size: 1em;
    line-height: 1.7;
}

.page-faq__brand-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* --- Blog Section --- */
.page-faq__blog-section {
    padding: 80px 20px;
    background-color: rgba(255, 255, 255, 0.03); /* Lighter translucent background */
}

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

.page-faq__blog-title {
    color: var(--secondary-color, #FFCC00);
    margin-bottom: 20px;
}

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

.page-faq__blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-faq__blog-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-faq__blog-link {
    display: block;
    padding: 25px;
    color: #ffffff;
    text-decoration: none;
}

.page-faq__blog-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-faq__blog-item-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--secondary-color, #FFCC00);
    text-align: left;
}

.page-faq__blog-item-excerpt {
    font-size: 0.95em;
    color: #cccccc;
    margin-bottom: 15px;
    text-align: left;
}

.page-faq__blog-item-date {
    font-size: 0.85em;
    color: #888888;
    display: block;
    text-align: left;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-faq h1 {
        font-size: 2.8em;
    }
    .page-faq h2 {
        font-size: 2em;
    }
    .page-faq h3 {
        font-size: 1.6em;
    }
    .page-faq__main-title {
        font-size: 3em;
    }
    .page-faq__title-description {
        font-size: 1.1em;
    }
    .page-faq__play-now-button {
        padding: 15px 40px;
        font-size: 18px;
    }
    .page-faq__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-faq__faq-question h3 {
        font-size: 1.1em;
    }
    .page-faq__brand-icon {
        width: 100px;
        height: 100px;
    }
    .page-faq__blog-item-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    /* General Mobile Adjustments */
    .page-faq {
        font-size: 15px;
        line-height: 1.5;
        padding-bottom: 40px;
    }
    .page-faq__section {
        padding: 40px 0;
        margin-bottom: 20px;
    }
    .page-faq__container {
        padding: 0 15px;
    }

    /* Video Section Mobile */
    .page-faq__video-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-faq__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-faq__video-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-faq__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 4px;
        overflow: hidden !important;
    }
    .page-faq__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
        object-fit: contain; /* Ensure video is fully visible */
    }
    .page-faq__video-click-hint {
        font-size: 16px !important;
        padding: 10px 20px !important;
    }
}