.question-answer-section {
max-width: 930px;
width: 90%;
margin: 0 auto;
padding: 60px 0;
display: flex;
flex-direction: column;
gap: 16px;
align-items: center;
justify-content: center;
.main-content {
width: 100%;
display: flex;
flex-direction: column;
gap: 10px;
justify-content: center;
align-items: center;
.row {
max-width: 660px;
width: 100%;
}
h4 {
color: #343434;
font-size: 32px;
font-family: merri-700;
}
span {
font-size: 20px;
color: #b9b9b9;
}

p {
color: #b9b9b9;
}
.question-item {
margin-top: 10px;
background-color: #fff;
border-radius: 8px;
padding: 15px;
display: flex;
flex-direction: column;
gap: 5px;
h5 {
color: #343434;
font-family: merri-700;
}
.desc {
color: #575757;
font-size: 14px;
line-height: 150%;
}
}
}
.input-wrapper {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 5px;
.input-container {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
.input-box {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
border-radius: 16px;
background-color: #fef4eb;
padding: 16px 20px;
input {
width: 100%;
background-color: transparent;
&::placeholder {
color: #b9b9b9;
font-family: poppins-500;
}
}
}
.send-box {
min-width: 48px;
height: 48px;
border-radius: 50%;
background-color: #6f4f1e33;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(5px);
cursor: pointer;
}
img {
cursor: pointer;
}
}
.sub-text {
color: #575757;
font-size: 14px;
font-family: poppins-500;
text-align: center;
.confi {
color: #6f4f1e;
}
}
}
}

@media only screen and (max-width: 767px) {
.question-answer-section {
padding: 40px 0;
.main-content {
.ai-image {
width: 171px;
}
h4 {
font-size: 24px;
}
span {
font-size: 16px;
}
p {
font-size: 14px;
}
}
}
}

/* Swiper */
.swiper {
    width: 100%;
    padding: 20px 0;
}

/* Swiper Arrow Button-lar */
.swiper-button-prev,
.swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Design */
@media (max-width: 768px) {
    .swiper-slide {
        padding: 0 10px;
    }

    /* Question item dizaynı */
    .question-item {
        padding: 15px;
        border-radius: 8px;
        background: #f8f9fa;
        box-shadow: none;
        font-size: 14px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        margin-bottom: 15px; /* Aşağıda boşluq əlavə edir */
    }

    .question-item h5 {
        font-size: 16px; /* Başlıq font ölçüsünü azaldırıq */
        font-weight: bold;
        margin: 0 0 10px; /* Başlıq və cavab arasında məsafə */
        word-wrap: break-word;
        white-space: normal;
    }

    .question-item .desc {
        margin-top: auto;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* 2 sətirə qədər göstərmək */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
    }

    /* Modalın mobil uyğunlaşdırılması */
    .modal-dialog {
        width: 90%;
        max-width: 100%;
        margin: 30px auto;
    }

    /* Modalın içindəki sual və cavab */
    .modal-content {
        padding: 15px;
    }

    .modal-body h5 {
        font-size: 20px; /* Modal başlığı üçün font ölçüsü */
    }

    .modal-body p {
        font-size: 16px; /* Modal cavab üçün font ölçüsü */
    }
}

/* Desktop Design */
@media (min-width: 769px) {
    .swiper-slide .row {
        margin-left: 125px;
    }

    .question-item {
        padding: 20px;
        font-size: 16px;
        height: 100%;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);

    }

    .question-item h5 {
        font-size: 1.2rem;
    }

    .question-item .desc {
        margin-top: auto;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* 2 sətirə qədər göstərmək */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;

    }
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transform: translate(0, -50px);
    transition: transform 0.3s ease-out;
}

.modal.fade.show .modal-dialog {
    transform: translate(0, 0);
}

