
.faq-wrapper {
    background: transparent; 
    border-radius: 0;
    padding: 20px;
    margin: 50px auto;
    display: flex;
    max-width: 1600px;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}


.faq-section {
    flex: 1;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: hidden;
}

.faq-section h1 {
    text-align: left;
    margin-bottom: 20px;
}

.faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 12px;
    border-bottom: 1px solid #ddd;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.faq-question {
    background: linear-gradient(90deg, #007BFF, #0056b3);
    color: #ffffff;
    width: 100%;
    text-align: left;
    padding: 15px;
    padding-right: 40px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 6px;
    position: relative;
}


.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-question:hover {
    background-color: #0056b3;
}


.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.faq-answer, 
.faq-answer p {
    color: #000000 !important;
    background-color: #ffffff;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-item.active .faq-answer p {
    color: #000000 !important;
    background-color: #f0f8ff;
    padding: 15px;
    margin: 0;
    transition: background-color 0.3s ease;
}


.faq-image {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; 
    height: auto;
    transition: transform 0.3s ease;
}

.faq-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.faq-image img:hover {
    transform: scale(1.03);
}


@media (max-width: 1024px) {
    .faq-wrapper {
        flex-direction: column;
        gap: 10px;
        padding: 15px 10px;
    }

    .faq-image {
        order: -1;
        margin-bottom: 5px !important;
    }

    .faq-section {
        padding-top: 10px;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .faq-wrapper {
        margin: 20px auto;
        gap: 10px;
        padding: 15px;
    }

    .faq-question {
        font-size: 16px;
        padding: 12px;
    }

    .faq-answer p {
        font-size: 14px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .faq-wrapper {
        margin: 10px auto;
        gap: 8px;
        padding: 10px;
    }

    .faq-section {
        padding-top: 5px;
    }

    .faq-question {
        font-size: 14px;
        padding: 10px;
        padding-right: 35px;
    }

    .faq-answer p {
        font-size: 13px;
        padding: 10px;
    }

    .faq-image {
        margin-bottom: 5px !important;
    }
}

section.faq-wrapper .faq-section .faq-item .faq-answer,
section.faq-wrapper .faq-section .faq-item .faq-answer p {
    color: #000000 !important;
    background-color: #ffffff !important;
}
section.faq-wrapper .faq-section .faq-item.active .faq-answer,
section.faq-wrapper .faq-section .faq-item.active .faq-answer p {
    color: #000000 !important;
    background-color: #f0f8ff !important;
}

