/* Custom animations and styles */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #4F46E5, #0EA5E9);
}

.bg-gradient {
    background: linear-gradient(135deg, #4F46E5 0%, #0EA5E9 100%);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #ffd63a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Animated background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.animated-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.1);
    animation: float 6s infinite;
    z-index: -1;
}

.shape1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -50px;
    animation-delay: 0s;
}

.shape2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 10%;
    animation-delay: 1s;
    background: rgba(14, 165, 233, 0.1);
}

.shape3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 10%;
    animation-delay: 2s;
    background: rgba(245, 158, 11, 0.1);
}

/* Button animation */
.btn-animate {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-animate:hover {
    transform: translateY(-2px);
}

.btn-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-animate:hover::before {
    left: 100%;
}

/* Scroll progress bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, #4F46E5, #0EA5E9);
    width: 0%;
    z-index: 9999;
    transition: width 0.2s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4F46E5;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0EA5E9;
}

/* Testimonial slider styles */
.testimonial-slider {
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .testimonial-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-slide {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.testimonial-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #CBD5E1;
    transition: all 0.3s ease;
}

.testimonial-indicator.active {
    width: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4F46E5 0%, #0EA5E9 100%);
}

.quote-mark {
    font-size: 4rem;
    line-height: 1;
    position: absolute;
    opacity: 0.1;
    font-family: 'Georgia', serif;
}

.quote-mark-left {
    top: 10px;
    left: 10px;
}

.quote-mark-right {
    bottom: 10px;
    right: 10px;
    transform: rotate(180deg);
}