﻿:root {
    --testimonial-gradient-bg: linear-gradient(to bottom right, #eef2ff, #e0f2fe, #f3e8ff);
    --testimonial-free-radial-gradient-1: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1), transparent 50%);
    --testimonial-free-radial-gradient-2: radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.1), transparent 50%);
    --testimonial-free-radial-gradient-3: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05), transparent 70%);
    --testimonial-grid-bg: linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    --testimonial-book-icon-color: #93c5fd;
    --testimonial-video-icon-color: #bae6fd;
    --testimonial-gradient-1: linear-gradient(to bottom right, #eff6ff, #dbeafe, #f3e8ff);
    --testimonial-gradient-2: linear-gradient(to bottom right, #faf5ff, #fce7f3, #f5f3ff);
    --testimonial-gradient-3: linear-gradient(to bottom right, #ecfdf5, #d1fae5, #ccfbf1);
    /* Text colors */
    --testimonial-title-color: #1f2937;
    --testimonial-content-color: #6b7280;
    --testimonial-name-color: #2563eb;
    --testimonial-designation-color: #6b7280;
    --testimonial-rating-color: #6b7280;
    --testimonial-link-color: #2563eb;
    --testimonial-link-hover-color: #1d4ed8;
    --testimonial-border-color: #e5e7eb;
    --testimonial-card-bg: #ffffff;
    --testimonial-avatar-border: #ffffff;
    --testimonial-quote-color: #9ca3af;
    --testimonial-star-filled: #f59e0b;
    --testimonial-star-empty: #d1d5db;
    --testimonial-link-icon-bg: #2563eb;
}

[data-bs-theme="dark"] {
    --testimonial-gradient-bg: linear-gradient(to bottom right, #111827, #1e3a8a20, #6b21a820);
    --testimonial-free-radial-gradient-1: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15), transparent 50%);
    --testimonial-free-radial-gradient-2: radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.15), transparent 50%);
    --testimonial-free-radial-gradient-3: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.1), transparent 70%);
    --testimonial-grid-bg: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    --testimonial-book-icon-color: #1e40af30;
    --testimonial-video-icon-color: #0c4a6e30;
    --testimonial-gradient-1: linear-gradient(to bottom right, #1e40af20, #1e3a8a20, #3730a320);
    --testimonial-gradient-2: linear-gradient(to bottom right, #4c1d9520, #6b21a820, #5b21a820);
    --testimonial-gradient-3: linear-gradient(to bottom right, #064e3b20, #065f4620, #0f766e20);
    /* Dark theme text colors */
    --testimonial-title-color: #e3e3e3;
    --testimonial-content-color: #ffffff;
    --testimonial-name-color: #60a5fa;
    --testimonial-designation-color: #9ca3af;
    --testimonial-rating-color: #9ca3af;
    --testimonial-link-color: #60a5fa;
    --testimonial-link-hover-color: #3b82f6;
    --testimonial-border-color: #374151;
    --testimonial-card-bg: #1f2937;
    --testimonial-avatar-border: #4b5563;
    --testimonial-quote-color: #6b7280;
    --testimonial-star-filled: #fdba74;
    --testimonial-star-empty: #4b5563;
    --testimonial-link-icon-bg: #60a5fa;
}

.testimonial-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1rem;
}

@media (min-width: 992px) {
    .testimonial-container {
        padding-top: 4rem;
    }
}

.testimonial-title {
    color: var(--testimonial-title-color);
}

.testimonial-link {
    color: var(--testimonial-link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

    .testimonial-link:hover {
        color: var(--testimonial-link-hover-color);
    }

.testimonial-card {
    transform-origin: center;
    transition: all 0.3s ease;
    margin: 10px;
    background-color: var(--testimonial-card-bg);
    border: 1px solid var(--testimonial-border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    position: relative;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
    }

.testimonial-gradient-1 {
    background: var(--testimonial-gradient-1);
}

.testimonial-gradient-2 {
    background: var(--testimonial-gradient-2);
}

.testimonial-gradient-3 {
    background: var(--testimonial-gradient-3);
}

.testimonial-user-avatar {
    border-radius: 50% !important;
    object-fit: cover;
    aspect-ratio: 1/1;
    width: 2.5rem !important;
    height: 2.5rem !important;
    border: 2px solid var(--testimonial-avatar-border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.testimonial-quote-icon {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    opacity: 0.2;
    color: var(--testimonial-quote-color);
}

.testimonial-content {
    color: var(--testimonial-content-color);
    font-size: 0.875rem;
    line-height: 1.5;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 1.5rem;
}

.testimonial-name {
    color: var(--testimonial-name-color);
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-designation {
    color: var(--testimonial-designation-color);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-rating-text {
    color: var(--testimonial-rating-color);
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.testimonial-border-top {
    border-top: 1px solid var(--testimonial-border-color);
}

.testimonial-link-icon {
    width: 1.25rem;
    height: 1.25rem;
    background-color: var(--testimonial-link-icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

    .testimonial-link-icon:hover {
        background-color: var(--testimonial-link-hover-color);
    }

    .testimonial-link-icon img {
        width: 1.25rem;
        height: 1.25rem;
    }

.owl-nav {
    display: none;
}

.testimonial-star {
    width: 0.875rem;
    height: 0.875rem;
}

.testimonial-star-filled {
    color: var(--testimonial-star-filled);
}

.testimonial-star-half {
    color: var(--testimonial-star-filled);
    opacity: 0.5;
}

.testimonial-star-empty {
    color: var(--testimonial-star-empty);
}

.heading-underline {
    width: 6rem;
    height: .25rem;
    background: linear-gradient(to right, #60a5fa, #2563eb, #60a5fa);
    border-radius: 9999px;
    margin: 0 auto;
}

