  /* Modern Testimonial Section Styles */
  .testimonial-three {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.testimonial-three::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: 
        radial-gradient(circle at 20% 20%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 123, 255, 0.08) 0%, transparent 50%); */
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-title__title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--thm-white) 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-title__title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--thm-primary), #00a8ff);
    border-radius: 2px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 123, 255, 0.1);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card__quote {
    font-size: 18px;
    line-height: 1.8;
    color: var(--thm-white);
    margin-bottom: 30px;
    position: relative;
    flex-grow: 1;
    z-index: 1;
}

.testimonial-card__quote::before {
    content: '❝';
    font-size: 80px;
    color: var(--thm-primary);
    position: absolute;
    font-family: var(--thm-font);
    left: -20px;
    top: -40px;
    line-height: 1;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-card__author-info {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.testimonial-card__image {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}



.testimonial-card:hover .testimonial-card__image {
    border-color: var(--thm-primary);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.testimonial-card__author-details {
    flex: 1;
}

.testimonial-card__author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--thm-white);
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.testimonial-card__author-title {
    font-size: 14px;
    color: var(--thm-gray);
    font-weight: 400;
}

.testimonial-card__rating {
    display: flex;
    gap: 4px;
    margin-bottom: 40px;
    justify-content: center;
}

.star {
    color: #ffd700;
    font-size: 1.8rem;
}

/* Floating elements for visual interest */
.floating-element {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.1), transparent);
    filter: blur(40px);
    animation: float 20s infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-three {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 30px;
    }

    .testimonial-card__quote {
        font-size: 16px;
    }

    .testimonial-card__quote::before {
        font-size: 60px;
        left: -15px;
        top: -20px;
    }
}

/* Scroll animation */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

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