/* ========================================
   TESTIMONIALS PAGE STYLES
   ======================================== */

/* Hero Section */
.testimonials-hero {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(30, 58, 138, 0.92) 50%,
            rgba(59, 130, 246, 0.9) 100%),
        url("../images/services/fesability-study.jpg") center center / cover no-repeat;
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.testimonials-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonials-hero .hero-title i {
    font-size: 2.5rem;
    color: #fbbf24;
    animation: pulse 2s ease-in-out infinite;
}

.testimonials-hero .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
    color: #ff6b35;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.1);
    color: #fbbf24;
    border-color: rgba(255, 255, 255, 0.2);
}

.section-badge i {
    font-size: 0.85rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.section-header.light h2 {
    color: #ffffff;
}

.section-header.light h2::after {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   TESTIMONIALS STRIP SECTION
   ======================================== */
.testimonials-strip-section {
    padding: 5rem 0;
    background: #f8fafc;
    position: relative;
    overflow: visible;
}

.testimonials-strip-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    margin: 0 auto;
}

.testimonials-strip {
    width: 100%;
    overflow: visible;
}

.testimonials-row {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    transition: transform 0.4s ease;
    padding: 1rem 0;
}

/* Testimonial Cards */
.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(30, 58, 138, 0.15);
}

.quote-icon {
    position: absolute;
    top: -15px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.quote-icon i {
    color: #ffffff;
    font-size: 1rem;
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.testimonial-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.author-info h4 {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
}

.author-title {
    color: #64748b;
    font-size: 0.85rem;
}

.rating {
    display: flex;
    gap: 0.15rem;
    margin-top: 0.3rem;
}

.rating i {
    color: #fbbf24;
    font-size: 0.75rem;
}

/* Navigation Arrows */
.strip-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.strip-nav:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    transform: translateY(-50%) scale(1.1);
}

.strip-nav i {
    color: #1e3a8a;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.strip-nav:hover i {
    color: #ffffff;
}

.strip-nav-prev {
    left: 20px;
}

.strip-nav-next {
    right: 20px;
}

.strip-nav.light {
    background: #ff6b35;
    backdrop-filter: blur(10px);
    border: 2px solid #ff6b35;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.strip-nav.light i {
    color: #ffffff;
}

.strip-nav.light:hover {
    background: #ffffff;
    border-color: #ff6b35;
}

.strip-nav.light:hover i {
    color: #ff6b35;
}

/* ========================================
   PROOFS STRIP SECTION
   ======================================== */
.proofs-strip-section {
    padding: 5rem 0;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(30, 58, 138, 0.92) 50%,
            rgba(59, 130, 246, 0.88) 100%);
    position: relative;
    overflow: visible;
}

.proofs-strip-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.proofs-strip-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.proofs-strip {
    width: 100%;
    overflow: hidden;
}

.proofs-row {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

.proof-image {
    width: 320px;
    min-height: 200px;
    max-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proof-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.proof-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.5s ease;
    border-radius: 12px;
}

.proof-image:hover img {
    transform: scale(1.05);
}

.proof-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(59, 130, 246, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.proof-image:hover .proof-overlay {
    opacity: 1;
}

.proof-overlay i {
    color: #ffffff;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.proof-image:hover .proof-overlay i {
    transform: scale(1);
}

/* ========================================
   STATS SECTION
   ======================================== */
.testimonials-stats {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #f8fafc;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.stat-icon i {
    color: #ffffff;
    font-size: 1.8rem;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
}

/* ========================================
   CTA SECTION
   ======================================== */
.testimonials-cta {
    background: linear-gradient(135deg,
            rgba(255, 107, 53, 0.95) 0%,
            rgba(247, 147, 30, 0.95) 100%),
        url("../images/services/cta.png") center center / cover no-repeat;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-cta .cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.testimonials-cta .cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.testimonials-cta .cta-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
}

.testimonials-cta .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: #ffffff;
    color: #ff6b35;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
    color: #ff6b35;
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* ========================================
   LIGHTBOX MODAL
   ======================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #ff6b35;
    transform: rotate(90deg);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        width: 320px;
    }

    .proof-image {
        width: 280px;
        min-height: 150px;
        max-height: 350px;
    }
}

@media (max-width: 991px) {
    .testimonials-hero .hero-title {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .strip-nav {
        width: 40px;
        height: 40px;
    }

    .strip-nav-prev {
        left: 10px;
    }

    .strip-nav-next {
        right: 10px;
    }

    .testimonial-card {
        width: 300px;
        padding: 1.5rem;
    }

    .proof-image {
        width: 250px;
        min-height: 120px;
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .testimonials-hero {
        min-height: 40vh;
        padding: 100px 0 60px;
    }

    .testimonials-hero .hero-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .testimonials-hero .hero-subtitle {
        font-size: 1rem;
    }

    .testimonials-strip-section,
    .proofs-strip-section,
    .testimonials-stats,
    .testimonials-cta {
        padding: 4rem 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .testimonial-card {
        width: 280px;
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-icon {
        width: 55px;
        height: 55px;
    }

    .stat-icon i {
        font-size: 1.4rem;
    }

    .testimonials-cta .cta-title {
        font-size: 2rem;
    }

    .testimonials-cta .cta-subtitle {
        font-size: 1.1rem;
    }

    .testimonials-cta .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .proof-image {
        width: 85vw;
        min-height: 250px;
        max-height: 400px;
    }

    .strip-nav {
        display: flex;
        width: 40px;
        height: 40px;
    }

    .strip-nav i {
        font-size: 0.9rem;
    }

    .strip-nav-prev {
        left: 5px;
    }

    .strip-nav-next {
        right: 5px;
    }

    .testimonials-strip-container {
        padding: 1rem 0;
        overflow: hidden;
    }

    .testimonials-strip {
        overflow: hidden;
    }

    .proofs-strip-container {
        padding: 1rem 0;
        overflow: hidden;
    }

    .proofs-strip {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .testimonials-hero .hero-title {
        font-size: 1.7rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .testimonial-card {
        width: 280px;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .quote-icon {
        width: 35px;
        height: 35px;
        top: -12px;
        right: 15px;
    }

    .quote-icon i {
        font-size: 0.85rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .author-info h4 {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .proof-image {
        width: 85vw;
        min-height: 230px;
        max-height: 380px;
    }

    .strip-nav {
        width: 35px;
        height: 35px;
    }

    .testimonials-strip-container,
    .proofs-strip-container {
        padding: 1rem 0;
        overflow: hidden;
    }
}

/* Animation for pulse effect */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}