#Faq {
    padding: 4rem 0;
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(14, 6, 2, 0.1);
    overflow: hidden;
}

.faq-header {
    background: linear-gradient(135deg, var(--cocoa-brown), var(--black-brown));
    color: var(--white);
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.faq-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 215, 0, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 215, 0, 0.9), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 215, 0, 0.7), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 3s ease-in-out infinite alternate;
}

@keyframes sparkle {
    0% { 
        opacity: 0.8;
        transform: translateY(0px);
    }
    100% { 
        opacity: 1;
        transform: translateY(-10px);
    }
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.faq-container {
    padding: 2rem;
}

.faq-item {
    border-bottom: 1px solid var(--beige-light);
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Assistant', sans-serif !important;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cocoa-brown);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    color: var(--tropical-green);
    padding-right: 1rem;
}

.faq-question::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--gold);
    transition: height 0.3s ease;
    border-radius: 2px;
}

.faq-question:hover::before {
    height: 60%;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--tropical-green);
    transition: all 0.3s ease;
    background: var(--beige-light);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0; /* מונע כיווץ של האייקון */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--gold);
    color: var(--cocoa-brown);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--light-brown);
    margin: 0 -2rem;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: none; /* שינוי מ-300px ל-none */
    min-height: auto; /* הוספת min-height */
    padding: 2rem;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 10px rgba(74, 48, 33, 0.1);
}

.faq-answer-content {
    color: var(--cocoa-brown);
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease 0.1s;
}

.faq-item.active .faq-answer-content {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-container {
        padding: 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem 0; /* הקטנת הפדינג */
        line-height: 1.4; /* הוספת line-height טוב יותר */
    }

    .faq-icon {
        width: 30px; /* הקטנת האייקון */
        height: 30px;
        font-size: 1.3rem;
    }

    .faq-answer {
        margin: 0 -1rem; /* התאמת המרג'ין לפדינג החדש */
        padding: 0 1rem;
    }

    .faq-item.active .faq-answer {
        max-height: none; /* חשוב! הסרת הגבלת הגובה */
        padding: 1.5rem; /* הקטנת הפדינג */
        margin-bottom: 1rem;
    }

    .faq-answer-content {
        font-size: 0.95rem; /* הקטנת גודל הפונט מעט */
        line-height: 1.6; /* שיפור קריאות */
    }

    #Faq {
        padding: 2rem 0.5rem; /* הוספת פדינג צדדי */
    }

    .faq-section {
        margin: 0 1rem; /* הוספת מרג'ין צדדי */
        border-radius: 15px; /* הקטנת הרדיוס */
    }

    .faq-header {
        padding: 1.5rem 1rem; /* הקטנת הפדינג */
    }
}