/* 
 * Premium Testimonial Section Styles 
 * Project: SkyDreamix Tech Solution
 */

.testimonial-section {
    padding: 50px 0px;
    background: #f1f5f9;
    position: relative;
    overflow: visible;
}

/* Background accents */
.testimonial-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(46, 163, 214, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonial-heading {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.testimonial-heading h2 {
    font-size: 2.8rem;
    font-weight: 680;
    color: #1e293b;
    margin-bottom: 15px;
}

.testimonial-heading h2 span {
    color: #2ea3d6;
}

.testimonial-heading p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-carousel {
    padding: 20px 0 50px;
}

.testimonial-carousel .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

.testimonial-carousel .owl-item {
    display: flex !important;
    height: auto !important;
}

.testimonial-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 15px;
    position: relative;
    height: 100%;
    width: calc(100% - 30px);
    /* Adjust for margin */
    display: flex;
    flex-direction: column;

}



.owl-stage-outer {
    overflow: hidden;
    padding-bottom: 30px;
}



.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(46, 163, 214, 0.2);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #f1f5f9;
    transition: color 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    color: rgba(46, 163, 214, 0.1);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-owner {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.testimonial-owner img {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8fafc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.owner-info h4 {
    font-size: 1.25rem;
    font-weight: 680;
    color: #1e293b;
    margin-bottom: 4px;
}

.owner-info span {
    font-size: 0.9rem;
    color: #2ea3d6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stars {
    margin-top: 10px;
    color: #fbbf24;
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

/* Custom Owl Dots */
.owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #2ea3d6;
    width: 30px;
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .testimonial-heading h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 375px) {
    .owner-info h4 {
        font-size: 14px;
    }

    .testimonial-card {
        padding: 25px;
    }
}