@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.animate-blink {
    animation: blink 1s ease-in-out infinite;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}


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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(85, 124, 250, 0.5); }
    50% { box-shadow: 0 0 40px rgba(85, 124, 250, 0.8); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}



.tech-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.tech-card:hover::before {
    left: 100%;
}

.code-snippet {
    background: #1e293b;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    color: #10b981;
    overflow-x: auto;
}

.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, #557CFA, transparent);
}

.process-step:last-child::after {
    display: none;
}

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: rgb(209, 22, 22);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.6);
}

.gradient-text {
    background: linear-gradient(135deg, #557CFA, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out;
}


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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes drawLine {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.process-step {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.process-step:nth-child(1) {
    animation-delay: 0.1s;
}

.process-step:nth-child(2) {
    animation-delay: 0.3s;
}

.process-step:nth-child(3) {
    animation-delay: 0.5s;
}

.process-step:nth-child(4) {
    animation-delay: 0.7s;
}

.step-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-card::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: left 0.6s;
}

.step-card:hover::before {
    left: 100%;
}

.step-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.check-item {
    opacity: 0;
    animation: slideInLeft 0.4s ease-out forwards;
}

.step-card:hover .check-item {
    animation: slideInLeft 0.4s ease-out forwards;
}

.check-item:nth-child(1) {
    animation-delay: 0.1s;
}

.check-item:nth-child(2) {
    animation-delay: 0.2s;
}

.check-item:nth-child(3) {
    animation-delay: 0.3s;
}

.check-item:nth-child(4) {
    animation-delay: 0.4s;
}

.number-badge {
    animation: scaleIn 0.5s ease-out;
}

.connector-line {
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, currentColor, transparent);
    z-index: -1;
    animation: drawLine 1s ease-out forwards;
    animation-delay: 0.8s;
}

@media (max-width: 1024px) {
    .connector-line {
        display: none;
    }
}

.title-animate {
    animation: fadeInUp 0.8s ease-out;
}

.subtitle-animate {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.icon-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.pulse-ring {
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}