/* How It Started Section Background and Animations */
.how-started-animated {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    background: rgba(54, 162, 235, 0.1);
}

.shape:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    background: rgba(255, 193, 7, 0.1);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Fade in animations */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 1s ease-out forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s ease-out forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image and card animations */
.animated-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animated-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.animated-card {
    animation: fadeInUp 1s ease-out 0.5s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animated-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

/* Statistics pulse effect - only on stat numbers, not all h3s */
.stat-number {
    animation: pulse 2s infinite;
}

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

/* Projects Slider Styles */
.projects-slider-container {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--element--outline);
    background: transparent !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.projects-slider {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    height: 100%;
    animation: slideInfinite 100s linear infinite;
    gap: 8px;
    width: max-content;
}

.slider-track:hover {
    animation-play-state: paused;
}

.slider-image {
    height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.slider-image:hover {
    transform: scale(1.05);
}

@keyframes slideInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shape {
        display: none;
    }
    
    .projects-slider {
        height: 150px;
    }
    
    .slider-track {
        animation-duration: 150s;
    }
}

@media (max-width: 480px) {
    .projects-slider {
        height: 120px;
    }
    
    .slider-track {
        animation-duration: 140s;
        gap: 4px;
    }
}