/* Additional styling for testimonials page with luxury elements */

/* Add subtle animation to testimonial cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    backface-visibility: hidden;
}

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

.testimonial-card:nth-child(3) {
    animation-delay: 0.4s;
}

.testimonial-card:nth-child(4) {
    animation-delay: 0.6s;
}

.testimonial-card:nth-child(5) {
    animation-delay: 0.8s;
}

.testimonial-card:nth-child(6) {
    animation-delay: 1s;
}

/* Enhanced card hover effects */
.testimonial-card {
    position: relative;
    background: linear-gradient(145deg, rgba(0, 0, 45, 0.9), rgba(0, 0, 26, 0.9));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 191, 0, 0.05), transparent);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Gold accent for luxury feel */
.testimonial-card {
    border: 1px solid rgba(255, 191, 0, 0.15);
}

.testimonial-card:hover {
    border: 1px solid rgba(255, 191, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 191, 0, 0.1);
}

/* Enhanced typography */
.testimonial-text {
    letter-spacing: 0.3px;
    position: relative;
}

.testimonial-text::after {
    content: '"';
    position: absolute;
    bottom: -10px;
    right: 0;
    font-size: 40px;
    color: rgba(255, 191, 0, 0.1);
    font-family: 'Georgia', serif;
    line-height: 0;
}

/* Add a subtle background pattern */
.testimonials-section {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Responsive improvements */
@media (max-width: 992px) {
    .testimonial-card {
        animation-duration: 0.5s;
    }
}

@media (max-width: 768px) {
    /* Reduce animation for better performance on mobile */
    .testimonial-card {
        animation: fadeInUp 0.4s ease forwards;
    }
    
    /* Tighten up vertical spacing */
    .testimonials-grid {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        /* Smaller shadow on mobile for better performance */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }
    
    .testimonial-card:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 10px rgba(255, 191, 0, 0.08);
    }
}