/* Enhanced Testimonials Section */
.testimonials {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.2), transparent);
    z-index: 0;
    animation: float-reverse 10s infinite ease-in-out;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 81, 255, 0.15), transparent);
    z-index: 0;
    animation: float 12s infinite ease-in-out;
}

.testimonials h2 {
    font-size: 3rem;
    color: #ff6f00;
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    animation: fade-in 1.5s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonials h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #007bff;
    margin: 10px auto 0;
    border-radius: 5px;
}

.testimonials .card-panel {
    padding: 30px;
    margin-bottom: 1.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.testimonials .card-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff, #f2f2f2);
}

.testimonials .card-panel p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonials .card-panel strong {
    font-weight: bold;
    font-size: 1.3rem;
    color: #007bff;
    display: block;
    margin-top: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 123, 0.2);
}

.testimonials .card-panel::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(0, 123, 255, 0.1);
    z-index: 0;
}

.testimonials .card-panel::after {
    content: '”';
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 4rem;
    color: rgba(0, 123, 255, 0.1);
    z-index: 0;
}

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

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

@media (max-width: 768px) {
    .testimonials {
        padding: 40px 15px;
    }

    .testimonials h2 {
        font-size: 2.5rem;
    }

    .testimonials .card-panel {
        padding: 25px;
    }

    .testimonials .card-panel p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .testimonials h2 {
        font-size: 2rem;
    }

    .testimonials .card-panel p {
        font-size: 1rem;
    }

    .testimonials .card-panel strong {
        font-size: 1.1rem;
    }
}