/* FAQ Details Styling to match original Webflow design */

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 1px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.faq-item:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.faq-item:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    cursor: pointer;
    list-style: none;
    margin: 0;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    display: none;
}

.faq-question h3 {
    margin: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-left: 16px;
    flex-shrink: 0;
}

.faq-icon .line-rounded-icon {
    position: relative;
    width: 16px;
    height: 16px;
}

.faq-icon .line-rounded-icon::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 6px solid #666;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon .line-rounded-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
    border-left-color: #007bff;
}

.faq-item[open] .faq-icon {
    background-color: #e3f2fd;
}

.faq-answer {
    padding: 0 32px 24px 32px;
    border-top: 1px solid #f0f0f0;
    animation: slideDown 0.3s ease-out;
}

.faq-answer p {
    margin: 16px 0 0 0;
    color: #666;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-question:hover {
    background-color: #fafafa;
    transform: translateX(8px);
    border-radius: 8px;
}

.faq-question:hover .faq-icon {
    background-color: #e8f4fd;
}

.faq-question:hover .faq-icon .line-rounded-icon::before {
    border-left-color: #007bff;
}

/* Responsive styles */
@media (max-width: 768px) {
    .faq-question {
        padding: 20px 24px;
    }
    
    .faq-answer {
        padding: 0 24px 20px 24px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-icon {
        width: 36px;
        height: 36px;
    }
}