/* Testimonials Page Specific Styles */

.testimonials-hero {
    background: linear-gradient(rgba(44, 44, 44, 0.7), rgba(44, 44, 44, 0.7)), url('../images/testimonials-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.testimonials-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.testimonials-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Testimonials Carousel */
.featured-testimonials {
    padding: 80px 0;
    background: white;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.testimonial-slide {
    display: none;
    background: #fafafa;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-slide.active {
    display: block;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.stars {
    margin-bottom: 2rem;
}

.stars i {
    color: #d4af37;
    font-size: 1.2rem;
    margin: 0 0.2rem;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: #2c2c2c;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Carousel Navigation */
.carousel-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
}

.carousel-btn i {
    color: #2c2c2c;
    font-size: 1.2rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #d4af37;
    transform: scale(1.2);
}

/* All Testimonials Grid */
.all-testimonials {
    padding: 80px 0;
    background: #fafafa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    color: #2c2c2c;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.client-info span {
    color: #666;
    font-size: 0.9rem;
}

.rating {
    display: flex;
    gap: 0.2rem;
}

.rating i {
    color: #d4af37;
    font-size: 0.9rem;
}

.testimonial-card p {
    color: #555;
    line-height: 1.6;
    font-style: italic;
}

/* Client Statistics */
.client-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    color: white;
}

.client-stats .section-title {
    color: white;
}

.client-stats .section-title::after {
    background: linear-gradient(90deg, #d4af37, #f4e37a);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4af37, #f4e37a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #2c2c2c;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
    opacity: 0.9;
}

/* Video Testimonials */
.video-testimonials {
    padding: 80px 0;
    background: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.video-item {
    background: #fafafa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(212, 175, 55, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: #2c2c2c;
    font-size: 1.5rem;
    margin-left: 0.2rem;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Review Form */
.review-form-section {
    padding: 80px 0;
    background: #fafafa;
}

.review-form-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.review-form-content h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.review-form-content p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.review-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.rating-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
    font-weight: 500;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
}

.star:hover,
.star.active {
    color: #d4af37;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-hero-content h1 {
        font-size: 2.5rem;
    }

    .testimonials-hero-content p {
        font-size: 1.1rem;
    }

    .testimonial-slide {
        padding: 2rem;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .review-form {
        padding: 2rem;
    }

    .review-form-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonials-hero-content h1 {
        font-size: 2rem;
    }

    .testimonial-slide {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .star-rating {
        justify-content: center;
    }
}

/* Animation Effects */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.testimonial-card:nth-child(2) { animation-delay: 0.1s; }
.testimonial-card:nth-child(3) { animation-delay: 0.2s; }
.testimonial-card:nth-child(4) { animation-delay: 0.3s; }
.testimonial-card:nth-child(5) { animation-delay: 0.4s; }
.testimonial-card:nth-child(6) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auto-play indicator */
.carousel-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #d4af37;
    z-index: 10;
    animation: progressBar 5s linear infinite;
}

@keyframes progressBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}