﻿body {
    font-family: 'Iranian Sans', sans-serif;
}
.faq-sec-mehrad {
    font-family: "Vazirmatn", sans-serif;
    max-width: 900px;
    margin: 60px auto;
    padding: 20px;
    background: #fff;
    color: #0a1f44;
    direction: rtl;
}

.faq-sec-mehrad__title {
    text-align: center;
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 30px;
}

.faq-sec-mehrad__container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.faq-sec-mehrad__items {
    flex: 1;
}

.faq-sec-mehrad__image img {
    max-width: 500px;
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.faq-sec-mehrad__item {
    background: #fff;
    border: 1px solid #d9e8ff;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,123,255,0.1);
}

.faq-sec-mehrad__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 18px 20px;
    background: linear-gradient(to left,#e8f1ff,#fff);
    transition: background 0.3s ease;
}

    .faq-sec-mehrad__question:hover {
        background: #dbeaff;
    }

.faq-sec-mehrad__answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: #f9fcff;
    font-size: 1rem;
    line-height: 1.7;
    transition: max-height 0.4s ease,padding 0.4s ease;
}

.faq-sec-mehrad__item.active .faq-sec-mehrad__answer {
    padding: 15px 20px 25px;
    max-height: 500px;
}

.faq-sec-mehrad__icon {
    font-size: 1.3rem;
    color: #007bff;
    transition: transform 0.3s ease;
}

.faq-sec-mehrad__item.active .faq-sec-mehrad__icon {
    transform: rotate(45deg);
}

@media (max-width:768px) {
    .faq-sec-mehrad__container {
        flex-direction: column;
        align-items: center;
    }

    .faq-sec-mehrad__image {
        margin-top: 20px;
    }

        .faq-sec-mehrad__image img {
            max-width: 100%;
        }
}


