/* Testimonials Page Styles */
:root {
    --primary-color: #5B0000;
    --secondary-color: #C18E11;
    --bg-color-light: #f8f5ec;
    --bg-color-dark: #2D0000;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .page-hero {
    min-height: 300px;
    height: 40vh;
    background-attachment: scroll;
    /* Disable parallax on mobile for better performance */
  }

  .page-hero h1 {
    font-size: 2.5rem;
  }

  .page-hero .breadcrumb {
    font-size: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 250px;
    height: 35vh;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}
/* Testimonials Section */
.testimonials-section {
    padding: 40px 8%;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-color-light) 100%);
    min-height: 60vh;
}

.testimonials-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--secondary-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Carousel Container */
.testimonials-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-wrapper {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

/* Testimonial Card */
.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.testimonial-card.prev {
    transform: translateX(-100px);
}

.testimonial-card.next {
    transform: translateX(100px);
}

.testimonial-content {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Quote Icon */
.quote-icon {
    position: absolute;
    top: 25px;
    left: 30px;
    font-size: 2.5rem;
    color: var(--secondary-color);
    opacity: 0.3;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-top: 20px;
    text-align: justify;
    font-style: italic;
}

/* Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.author-image {
    width: 200px;
    height: 130px;
    /* border-radius: 50%; */
    overflow: hidden;
    border: 2px solid var(--secondary-color);
    flex-shrink: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.author-title {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.carousel-btn:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .testimonials-section {
        padding: 60px 4%;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }

    .testimonial-content {
        padding: 30px;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 50px 4%;
    }

    .testimonials-wrapper {
        min-height: 450px;
    }

    .testimonial-content {
        padding: 25px;
    }

    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .quote-icon {
        font-size: 2rem;
        top: 20px;
        left: 20px;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 40px 4%;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .testimonials-wrapper {
        min-height: 500px;
    }

    .testimonial-content {
        padding: 20px;
    }

    .author-image {
        width: 60px;
        height: 60px;
    }

    .carousel-controls {
        gap: 15px;
        margin-top: 30px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .testimonial-card {
        transition: opacity 0.3s ease;
    }
    
    .testimonial-card.prev,
    .testimonial-card.next {
        transform: none;
    }
}
