/* style/faq.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --body-bg: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

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

.page-faq__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-faq__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    max-width: 100%; /* Ensure responsiveness */
    height: auto; /* Ensure responsiveness */
}

.page-faq__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(8, 22, 15, 0.7); /* Semi-transparent background for readability */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__main-title {
    color: var(--text-main);
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-faq__hero-description {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-faq__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    max-width: 100%;
}

.page-faq__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px var(--glow-color);
}

.page-faq__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-faq__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main);
    box-shadow: 0 0 15px var(--primary-color);
}

.page-faq__faq-section,
.page-faq__trust-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--body-bg);
    box-sizing: border-box;
}

.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-faq__section-title {
    color: var(--text-main);
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-faq__section-description {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-faq__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-main);
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.page-faq__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-faq__faq-item summary:hover {
    background-color: var(--primary-color);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-faq__faq-qtext {
    flex-grow: 1;
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--glow-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
    transform: rotate(45deg);
}

.page-faq__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.page-faq__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-faq__cta-bottom {
    margin-top: 50px;
    padding: 40px 20px;
    background-color: var(--deep-green-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.page-faq__cta-text {
    color: var(--text-main);
    font-size: 1.3em;
    margin-bottom: 25px;
    font-weight: 600;
}

.page-faq__trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-faq__trust-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__trust-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__trust-item img {
    
    
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__trust-title {
    color: var(--gold-color);
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-faq__trust-description {
    color: var(--text-secondary);
    font-size: 0.95em;
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-faq {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-faq__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }

    .page-faq__hero-content {
        padding: 15px;
    }

    .page-faq__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-faq__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-faq__faq-section,
    .page-faq__trust-section {
        padding: 50px 15px;
    }

    .page-faq__section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-faq__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-faq__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-faq__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    .page-faq__cta-bottom {
        margin-top: 30px;
        padding: 30px 15px;
    }

    .page-faq__cta-text {
        font-size: 1.1em;
        margin-bottom: 20px;
    }

    .page-faq__trust-grid {
        gap: 20px;
    }

    .page-faq__trust-item {
        padding: 25px;
    }

    .page-faq__trust-item img {
        
        
    }

    .page-faq__trust-title {
        font-size: 1.3em;
    }

    /* Ensure images, videos, and containers don't overflow */
    .page-faq img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-faq video,
    .page-faq__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__video-section,
    .page-faq__video-container,
    .page-faq__video-wrapper,
    .page-faq__cta-buttons,
    .page-faq__button-group,
    .page-faq__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-faq__video-section {
        padding-top: 10px !important;
    }
    .page-faq__trust-item img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Ensure no CSS filter changes image colors */
.page-faq img {
    filter: none; /* Explicitly disable any filter effects */
}