.swiper-container {
    width: 100%;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-content {
    text-align: center;
    max-width: 80%;
}

.swiper-title, .swiper-subtitle, .swiper-description {
    animation: fadeInUp 0.6s ease-in-out;
}

/* Keyframes for animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Pagination boyutunu ve konumunu ayarlama */
.swiper-pagination {
    position: absolute;
    bottom: -40px; /* Alt kenardan uzaklık */
    transform: translateX(-50%); /* Ortalamak için */
    z-index: 20; /* Üstte kalması için */
    width: 100% !important; /* Ortalamayı bozmasın diye genişliği ayarla */
}

/* Pagination noktalarını büyütme */
span.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: white;
    opacity: 0.7;
    transition: opacity 0.3s;
    margin-right: 10px;
}

.slider-text {
    position: absolute;
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.slider-text h2,
.slider-text h3,
.slider-text p {
    color: white;
    font-family: Poppins;
}

.slider-text h2 {
    font-size: 40px;
}
.slider-text h3 {
    font-size: 32px;
    font-weight: 400;
}


.slide-content img {
    width: 100%;
    object-fit: cover;
    object-position: bottom;
}

.slide-content {
    width: 100%;
    max-width: unset;
}


    .slide-content {
      position: relative; /* Before ile eklenen içeriğin konumlandırılmasını sağlar */
    }
    
    .slide-content::before {
      content: ''; /* Pseudo elementin görünmesi için boş içerik */
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.2); /* Siyah arka plan ve opaklık */
      z-index: 1;
    
      
    }
    
    .qa-widget {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    align-items: center;
}

.qa-answer-area {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    background-color: #f9f9f9;
}

.qa-answer-image {
    max-width: 100%;
    margin-bottom: 15px;
}

.qa-answer-title {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'Roboto Serif';

}

.qa-answer-description {
    font-size: 16px;
    color: #555;
    font-family: 'Roboto Serif';

}

.qa-question-area {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
}

.qa-question-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qa-question {
    font-size: 18px;
    margin: 10px 0;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 30px;
    background: #58ac9c;
    color: white;
    border-radius: 8px;
    font-family: 'Roboto Serif';
}

.qa-question.active {
    background: #835ba1;
}

body .qa-answer-content img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
}


/* Pagination boyutunu ekranlara göre ayarlamak (isteğe bağlı) */
@media (max-width: 768px) {
    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
    }
    
    .qa-widget {
        flex-wrap: wrap;
        flex: unset;
    }
    
    .qa-question-area {
        flex: unset;
        padding: 0;
        order: -1;
    }
    
    .qa-question {
        padding: 10px;
        font-size: 14px;
    }
}


@media (max-width: 576px) {
    .slider-text h2{
        font-size: 24px;
        line-height: 1;
    }
    
    .slider-text h3{
        font-size: 18px;
        line-height: 1;
    }
    
    .slider-text {
        width: 100%;
        padding: 0 10px;
    }
    
        
    .slide-content img {
        min-height: 220px;
    }
}

