/* Modern Dark Theme with Purple Glow */
:root {
    --primary-color: #8A2BE2;
    --secondary-color: #4B0082;
    --background-dark: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --glow-shadow: 0 0 10px rgba(138, 43, 226, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.nav-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: var(--glow-shadow);
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 0 5%;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom right, rgba(138, 43, 226, 0.08), rgba(75, 0, 130, 0.06));
}

.hero-content {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: center;
}

.hero-copy {
    max-width: 720px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-pic {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid rgba(138,43,226,0.18);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.25), 0 0 30px rgba(138,43,226,0.1) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 40px rgba(138, 43, 226, 0.35), 0 0 40px rgba(138,43,226,0.15) inset;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.glowing-text {
    text-shadow: var(--glow-shadow);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--primary-color);
    }
    to {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px var(--primary-color);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 1rem 1rem 1rem 0;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--glow-shadow);
}

.btn-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-project {
    background: linear-gradient(90deg, rgba(138,43,226,0.95), rgba(75,0,130,0.95));
    color: #fff;
}

.project-impact {
    margin: 0.8rem 0 1rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.project-actions a {
    margin-right: 0.6rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.6);
}

/* Sections */
section {
    padding: 5rem 5%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
    text-shadow: var(--glow-shadow);
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-shadow);
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tech-stack {
    margin: 1rem 0;
}

.tech-stack span {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    margin: 0.3rem;
    background: rgba(138, 43, 226, 0.2);
    border-radius: 15px;
    font-size: 0.9rem;
}

/* Skills */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-badge {
    padding: 0.8rem 1.5rem;
    background: rgba(138, 43, 226, 0.15);
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--glow-shadow);
}

/* Experience */
.experience-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.experience-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.experience-card h4 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Achievements */
.achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-shadow);
}

.achievement-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

.contact-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 4rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}