/* --- GOD MODE 3.0 STYLES (CORRECTED & FINAL) --- */

/* CSS Variables */
:root {
    --bg-color: #0f172a;
    --primary-color: #6366f1;
    /* Indigo 500 */
    --secondary-color: #818cf8;
    /* Indigo 400 */
    --card-bg-color: rgba(30, 41, 59, 0.5);
    --border-color: rgba(71, 85, 105, 0.3);
}

/* Animated Gradient Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(-45deg, #0f172a, #1e293b, #334155, #4f46e5);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Section Titles Underlines */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 9999px;
}

.section-title-left::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 1rem 0 0;
    border-radius: 9999px;
}

/* Navigation Link Underline Effect */
.nav-link {
    position: relative;
    color: #cbd5e1;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section - Typing Effect Cursor */
.typed-cursor {
    color: var(--secondary-color);
    font-size: 2.25rem;
}

@media (min-width: 768px) {
    .typed-cursor {
        font-size: 3.75rem;
    }
}

/* NEW - Skills Container & Grid */
.skills-container {
    background-color: rgba(15, 23, 42, 0.5);
    /* bg-slate-900/50 */
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    /* rounded-2xl */
    padding: 2rem;
    /* p-8 */
    backdrop-filter: blur(10px);
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 2rem 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    /* gap-6 */
}

@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* gap-3 */
    color: #cbd5e1;
    /* text-slate-300 */
    transition: color 0.3s ease;
}

.skill-item:hover {
    color: white;
}

.skill-item i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    /* text-xl */
}

/* Project Card */
.project-card {
    background-color: var(--card-bg-color);
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}

.tag {
    background-color: #334155;
    color: #a5b4fc;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* Experience Timeline */
.experience-item {
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -54px;
    top: 8px;
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--bg-color);
    border-radius: 9999px;
    border-width: 4px;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Social Icons */
.social-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: #1e293b;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}
