/* style.css */
/* Modern Dark Neon Glassmorphism Theme */
:root {
    /* Core Colors */
    --bg-dark: #050510;
    --bg-card: rgba(15, 15, 25, 0.6);
    --primary: #00f7ff;
    --secondary: #b537f2;
    --accent: #ff0055;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);

    /* Gradients */
    --neon-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --glass-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Animation */
.background-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(181, 55, 242, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 247, 255, 0.08) 0%, transparent 25%);
    filter: blur(60px);
    animation: pulseBackground 10s ease-in-out infinite alternate;
}

/* Typography & Utilities */
.gradient-text {
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--neon-gradient);
    width: 0%;
    z-index: 2000;
    transition: width 0.1s;
}

/* Navigation - Glassmorphic */
.nav-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 1rem 2rem;
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Updated Profile Image Style with Glow */
.profile-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: morph 8s ease-in-out infinite alternate;
    box-shadow: 0 0 50px rgba(0, 247, 255, 0.2);
}

.profile-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-badge {
    position: absolute;
    background: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.badge-1 {
    top: 10%;
    right: 0;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 15%;
    left: -20px;
    animation-delay: 2s;
}

.badge-3 {
    bottom: 40%;
    right: -30px;
    animation-delay: 4s;
}

.badge-4 {
    top: 15%;
    left: -10px;
    animation-delay: 1s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    background: transparent;
}

.btn-primary {
    background: var(--neon-gradient);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.5);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
}

/* Featured Projects */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.projects {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.project-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.tech-pill {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    border: 1px solid rgba(0, 247, 255, 0.2);
}

/* Experience & Skills Split */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 5%;
}

.glass-panel {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
}

.timeline-item {
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

.timeline-item h4 {
    color: #fff;
    font-size: 1.1rem;
}

.timeline-item .date {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
}

.skill-category {
    margin-bottom: 2.5rem;
}

.skill-category h4 {
    margin-bottom: 1.2rem;
    color: var(--primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    row-gap: 1.2rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-tag:hover {
    border-color: var(--secondary);
    background: rgba(181, 55, 242, 0.1);
}

/* Contact */
.contact {
    text-align: center;
    padding: 6rem 5%;
    max-width: 800px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: 0.3s;
}

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

/* Responsive */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .profile-wrapper {
        width: 250px;
        height: 250px;
    }

    .split-section {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 150px;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem 1.5rem;
        border-radius: 15px;
        width: 95%;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 0;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 0.2rem 0;
    }
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

@keyframes pulseBackground {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--neon-gradient);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.5);
}