/* Testimonial Card Styles */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color var(--transition-speed) ease;
    border: none;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(76, 175, 80, 0.1);
}

.dark-mode .testimonial-avatar {
    background-color: rgba(76, 175, 80, 0.2);
}

.testimonial-client h5 {
    font-weight: 700;
    color: var(--text-color);
}

/* Hero Section Enhancements */
.hero-logo {
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

.dark-mode .hero-logo {
    filter: drop-shadow(0px 5px 10px rgba(255, 255, 255, 0.1));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* CTA Section Enhancements */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.cta-buttons .btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-buttons .btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.cta-buttons .btn:hover::after {
    height: 100%;
}

/* Dark Mode Specific Styles for Testimonials */
.dark-mode .testimonial-card {
    background-color: var(--card-bg);
}

.dark-mode .testimonial-rating i {
    color: #FFD700;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .testimonial-card::before {
        font-size: 3rem;
    }
    
    .cta-buttons {
        justify-content: center;
        margin-top: 1rem;
    }
}
