/* Carousel card styling to match projects.php */
.single-project-area-one {
    background: #141416;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-project-area-one:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.single-project-area-one .thumbnail {
    display: block;
    position: relative;
    overflow: hidden;
}

.single-project-area-one .thumbnail img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: middle;
}

.single-project-area-one .inner-content {
    padding: 20px;
    text-align: center;
    width: 100%;
}

.single-project-area-one .inner-content .title {
    font-size: 22px;
    font-weight: 600;
    color: #efefef;
    margin-bottom: 47px;
    text-decoration: none;
}

.single-project-area-one .inner-content .title:hover {
    color: #ffffff;
}

.single-project-area-one .inner-content .disc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-project-area-one .inner-content .rts-btn.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.single-project-area-one .inner-content .rts-btn.btn-primary:hover {
    background: #0056b3;
}

/* Testimonial card styling */
.single-testimonial-area {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-testimonial-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.single-testimonial-area .thumbnail {
    display: block;
    position: relative;
    overflow: hidden;
}

.single-testimonial-area .thumbnail img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: middle;
}

.single-testimonial-area .inner-content {
    padding: 20px;
    text-align: left;
}

.single-testimonial-area .inner-content .title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.single-testimonial-area .inner-content .disc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.single-testimonial-area .inner-content .name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: block;
}

.single-testimonial-area .inner-content .degic {
    font-size: 14px;
    color: #666;
    display: block;
}

/* Swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #007bff;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }
    .single-testimonial-area .row {
        flex-direction: column;
    }
    .single-testimonial-area .col-lg-5,
    .single-testimonial-area .col-lg-7 {
        width: 100%;
    }
    .single-testimonial-area .thumbnail img {
        height: 200px;
    }
}