.testimonial-slider {
    background-color: #293356;
    padding: 60px 0;
    position: relative;
}

.carousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform .6s ease-in-out;
}

.carousel-item.active {
    display: block;
}

.testimonial-item {
    text-align: center;
    padding: 20px;
}

.testimonial-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid #ffffff;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    margin: 0 auto;
    max-width: 800px;
}

.testimonial-section {
    padding: 60px 0;
    background-color: #293356;
}

.testimonial-title {
    text-align: center;
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

.testimonial-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #ffc107;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* მედია მოთხოვნები რესპონსიულობისთვის */
@media (max-width: 768px) {
    .testimonial-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .testimonial-title {
        font-size: 1.8rem;
    }
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1.6;
}

.testimonial-author {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 20px;
}

.star-rating {
    color: #ffc107;
    font-size: 24px;
    margin-bottom: 15px;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 60%;
    transform: translateY(-10%);
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    width: 55px;
    height: 55px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-image: none;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border-top: 3px solid black;
    border-left: 3px solid black;
}

.carousel-control-prev-icon::before {
    transform: rotate(-45deg);
}

.carousel-control-next-icon::before {
    transform: rotate(135deg);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    animation: pulse 1.5s infinite;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 768px) {
    .testimonial-text {
        font-size: 16px;
    }

    .testimonial-author {
        font-size: 18px;
    }

    .star-rating {
        font-size: 20px;
    }
}