/* Success Stories Section */
.success-stories {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.success-stories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(66, 153, 225, 0.1), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.section-description {
    color: #4a5568;
    font-size: 1.125rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;

}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: rgba(66, 153, 225, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    margin-bottom: 1.5rem;
    color: #ECC94B;
    display: flex;
    gap: 0.25rem;
}

.testimonial-rating i {
    opacity: 0;
    transform: scale(0.5);
    animation: scaleIn 0.3s ease forwards;
}

.testimonial-rating i:nth-child(2) { animation-delay: 0.1s; }
.testimonial-rating i:nth-child(3) { animation-delay: 0.2s; }
.testimonial-rating i:nth-child(4) { animation-delay: 0.3s; }
.testimonial-rating i:nth-child(5) { animation-delay: 0.4s; }

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2D3748;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    padding: 0 0.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    padding: 2px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-author img {
    transform: scale(1.1);
}

.author-info h4 {
    color: #2D3748;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info p {
    color: #718096;
    font-size: 0.9rem;
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .success-stories {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-text {
        font-size: 1rem;
    }
}

.client-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.story-title {
    flex: 1;
}

.story-title h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.story-title p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.story-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.story-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.story-metrics::before {
    content: '';
    position: absolute;
    inset: -1rem;
    background: linear-gradient(180deg, rgba(0, 166, 255, 0.05) 0%, rgba(0, 166, 255, 0) 100%);
    border-radius: 20px;
    z-index: -1;
}

.metric {
    text-align: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.metric:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    border-color: rgba(0, 166, 255, 0.3);
}

.metric .number {
    font-size: 2.2rem;
    background: linear-gradient(120deg, #00A6FF 0%, #00F0FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
    animation: numberPulse 2s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.metric .label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.story-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.story-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.story-tag {
    padding: 0.6rem 1.2rem;
    background: rgba(0, 166, 255, 0.1);
    border: 1px solid rgba(0, 166, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.story-tag:hover {
    background: rgba(0, 166, 255, 0.15);
    transform: translateY(-1px);
}

.story-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.story-cta:hover {
    gap: 0.75rem;
}

.success-stories-cta {
    text-align: center;
    margin-top: 3rem;
}

.success-stories-cta .primary-button {
    background: linear-gradient(120deg, #00A6FF 0%, #0066FF 100%);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-weight: 500;
    transition: all 0.3s ease;
}

.success-stories-cta .primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #0066FF 0%, #00A6FF 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.success-stories-cta .primary-button:hover::before {
    opacity: 1;
}

.success-stories-cta .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 166, 255, 0.2);
}

@media (max-width: 1200px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .success-stories {
        padding: 4rem 0;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .story-card {
        padding: 1.5rem;
    }

    .client-logo {
        width: 48px;
        height: 48px;
    }

    .story-title h3 {
        font-size: 1.1rem;
    }

    .metric .number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .success-stories {
        padding: 3rem 0;
    }

    .story-metrics {
        grid-template-columns: 1fr;
    }

    .story-tags {
        justify-content: center;
    }
}
