/* ===== TESTIMONIALS PAGE STYLES - FIXED VERSION ===== */

/* Testimonials Hero Banner */
.testimonials-hero {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://plus.unsplash.com/premium_photo-1661775817073-a129c05a9534?q=80&w=1333&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    color: white;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.testimonials-hero .container {
    position: relative;
    z-index: 3;
}

.testimonials-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.page-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 50px;
    animation: fadeIn 1s ease 0.6s both;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb span {
    color: white;
    font-weight: 600;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
                rgba(0, 0, 0, 0.8) 0%, 
                rgba(0, 0, 0, 0.6) 50%, 
                rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Section Title Styles */
.section-title {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: #000;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #000;
}

.section-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Testimonials Stats */
.testimonials-stats {
    padding: 100px 0 80px;
    background: white;
}

.stats-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.stats-intro h2 {
    font-size: 2.8rem;
    color: #000;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.stats-intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #000;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #000 0%, #333 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Testimonials */
.featured-testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
}

.featured-testimonial {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.client-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #000;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-info {
    flex: 1;
}

.client-info h4 {
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 5px;
}

.client-position {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 5px;
}

.client-industry {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

.testimonial-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #000;
    font-size: 1.2rem;
}

.testimonial-rating span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.testimonial-content {
    flex: 1;
    position: relative;
    padding: 0 20px;
    margin-bottom: 30px;
}

.testimonial-content i.fa-quote-left {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.1);
}

.testimonial-content i.fa-quote-right {
    position: absolute;
    bottom: -10px;
    right: 0;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    font-style: italic;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.service-tags span {
    background: #f8f9fa;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.testimonial-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #000;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #000;
    color: white;
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    background: #000;
    opacity: 0.3;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #000;
}

/* Industry Testimonials */
.industry-testimonials {
    padding: 100px 0;
    background: white;
}

.industry-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-button {
    background: #f8f9fa;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: #000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tab-button.active {
    background: #000;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Video Testimonials */
.video-testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-item:hover .play-button {
    background: #000;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.video-item:hover .video-overlay {
    transform: translateY(0);
}

.video-overlay p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.video-info {
    padding: 25px;
    text-align: center;
}

.video-info h4 {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 10px;
}

.video-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Client Logos */
.client-logos {
    padding: 100px 0;
    background: white;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.logo-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #000;
}

.logo-img i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.logo-img span {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

/* CTA Section */
.testimonials-cta {
    background: linear-gradient(135deg, #000 0%, #222 100%);
    color: white;
    padding: 100px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-text {
    flex: 1;
}

.cta-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: rgb(0, 0, 0);
    color: #ffffff;
    border: 2px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: rgb(0, 0, 0);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #000;
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
    text-align: center;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 60px 0;
}

.video-placeholder i {
    font-size: 5rem;
    color: #000;
}

.video-placeholder p {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.video-placeholder .note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .section-title h2 {
        font-size: 2.3rem;
    }
    
    .stats-intro h2 {
        font-size: 2.3rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .testimonial-rating {
        flex-direction: row;
        gap: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-buttons {
        gap: 5px;
    }
    
    .tab-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .service-tags {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stats-intro h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .featured-testimonial {
        padding: 30px 20px;
    }
    
    .testimonial-content {
        padding: 0;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 100%;
        max-width: 300px;
    }
    
    .logos-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-text h3 {
        font-size: 2rem;
    }
}

/* Rating stars */
.rating-stars {
    color: #ffc107;
    margin: 10px 0;
}

.star-rating {
    display: inline-flex;
    direction: rtl;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #ddd;
    font-size: 1.5rem;
    padding: 0 2px;
    cursor: pointer;
    transition: color 0.3s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
}

/* Testimonial form styles */
.testimonial-form-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-form-container h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #eaeaea;
    border-radius: 10px;
}

.form-section h4 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Industry filter pills */
.industry-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 40px 0;
}

.industry-pill {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.industry-pill:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.industry-pill.active {
    background: #000;
    border-color: #000;
    color: white;
}

.industry-pill .count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.industry-pill:not(.active) .count {
    background: rgba(0, 0, 0, 0.1);
    color: #495057;
}

/* Parallax Section Base Styles */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
    padding: 100px 0;
}

/* Disable fixed background on mobile for performance */
@media (max-width: 768px) {
    .testimonials-hero,
    .parallax-section {
        background-attachment: scroll !important;
    }
}
