/* ===== BASE ===== */
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; }

/* ===== GRADIENT TEXT ANIMATION ===== */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animated-gradient {
    background: linear-gradient(-45deg, #8b5cf6, #ec4899, #3b82f6, #8b5cf6);
    background-size: 300% 300%;
    animation: gradient 4s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== FLOATING ANIMATION ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
.floating { animation: float 4s ease-in-out infinite; }

/* ===== GLOW ===== */
.glow { box-shadow: 0 0 40px rgba(139, 92, 246, 0.4); }

/* ===== CURSOR BLINK ===== */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.cursor { animation: blink 1s infinite; }

/* ===== NAVBAR ===== */
nav a { position: relative; }
nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8b5cf6;
    transition: width 0.3s ease;
}
nav a:hover::after { width: 100%; }

/* ===== CARDS ===== */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

/* ===== SKILL TAGS ===== */
.skill-tag {
    transition: all 0.3s ease;
}
.skill-tag:hover {
    border-color: #8b5cf6;
    color: #a78bfa;
    transform: scale(1.05);
}

.mt-10{
        margin-top: 4.5rem !important;
}
.icon-pr{
    width: 100%;
    height: auto;
    margin: auto;
    display: flex;
    justify-content: center;
}

