

.first-text, .second-text , .third-text,.fourth-text , .scroll-text-1, .scroll-text-2,.scroll-text-3,.scroll-text-4  {
    opacity: 0; /* Hide all texts before the animation starts */
    animation-fill-mode: forwards; /* Keep the final state after the animation ends */
}


.first-text ,.scroll-text-1.visible {
    animation: fadeIn 0.7s ease-in-out forwards; /* First text appears immediately */
}

.second-text ,   .scroll-text-2.visible {
    animation: fadeIn 0.7s ease-in-out forwards 0.7s; 
}
.third-text ,.scroll-text-3.visible {
    animation: fadeSlideIn 0.7s ease-in-out forwards 1.4s; 
}
.fourth-text, .scroll-text-4.visible {
    animation: fadeSlideIn 0.7s ease-in-out forwards 2.1s; 
}
@keyframes fadeIn {
    0% {
        opacity: 0;
       
    }
    100% {
        opacity: 1;
       
    }
}
@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px); 
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* Move the text back to its original position */
    }
}



.skill-category {
    margin-bottom: 1.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.skill-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-category-title {
    margin-bottom: 0.85rem;
    color: #ffc107;
    font-size: 1.05rem;
    font-weight: 600;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 0.7rem;
}

.technology-card {
    display: flex;
    min-height: 94px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.8rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
    color: #f8f9fa;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.technology-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 193, 7, 0.7);
    background-color: rgba(255, 193, 7, 0.08);
}

.technology-card img {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    object-fit: contain;
}

/* Keyframes for the icon appearance */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px); /* Slide up effect */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-btn  {
    opacity: 0;
    animation: fadeSlideIn 1s ease-in-out 1.5s forwards,pulse 1s infinite;
    box-shadow: 0px 10px 20px rgba(255, 193, 7, 0.6);
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}