
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors */
    --bg-color: #050505;
    --bg-gradient: radial-gradient(ellipse at top, #0a0a1a 0%, #050505 50%, #000000 100%);
    --primary-color: #00f2ff; /* Neon Cyan */
    --secondary-color: #bc13fe; /* Neon Purple */
    --accent-color: #ff6b6b; /* Accent Red */
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --glass-hover-shadow: 0 16px 48px 0 rgba(0, 242, 255, 0.15);
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-color);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 242, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(188, 19, 254, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin: 0 auto 4rem auto;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    display: table;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: rgba(0, 242, 255, 0.1);
    transform: translateY(-3px);
}

/* Glassmorphism Card */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: var(--glass-hover-shadow),
                0 20px 60px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-mono);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-subtitle {
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: block;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title span {
    color: var(--text-muted);
    font-size: 3.5rem;
    display: block;
    margin-top: 10px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeIn 1s ease-out 1s both;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

.arrow {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(45deg);
    animation: arrowMove 1.5s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes arrowMove {
    0%, 100% {
        opacity: 0;
        transform: rotate(45deg) translateY(-10px);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Background Animation Elements */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: 100px;
    left: -100px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* About Section */
#about {
    padding: var(--section-padding);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 242, 255, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    font-size: 1.15rem;
    line-height: 1.9;
}

.about-text p:first-child::first-letter {
    font-size: 3.5rem;
    font-weight: 700;
    float: left;
    line-height: 1;
    margin-right: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.05) 0%, rgba(188, 19, 254, 0.05) 100%);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-mono);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Education Section */
#education {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.02);
}

.education-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

/* Timeline connector line */
.education-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        rgba(188, 19, 254, 0.3) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.education-card-modern {
    position: relative;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out;
}

.education-card-modern:last-child {
    margin-bottom: 0;
}

/* Timeline dot */
.edu-timeline-dot {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(5, 5, 5, 1), 
                0 0 20px rgba(0, 242, 255, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(5, 5, 5, 1), 
                    0 0 20px rgba(0, 242, 255, 0.6);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(5, 5, 5, 1), 
                    0 0 30px rgba(0, 242, 255, 0.9);
    }
}

/* Card content */
.edu-card-content {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin-left: calc(50% + 40px);
    width: calc(50% - 40px);
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Alternate cards to left */
.education-card-modern:nth-child(even) .edu-card-content {
    margin-left: 0;
    margin-right: calc(50% + 40px);
}

.edu-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.edu-card-content:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 242, 255, 0.2),
                0 0 0 1px rgba(0, 242, 255, 0.1);
}

.edu-card-content:hover::before {
    opacity: 1;
}

/* Header section */
.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.edu-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 242, 255, 0.3);
    transition: all 0.3s ease;
}

.edu-icon-modern.secondary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

.edu-icon-modern.tertiary {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    box-shadow: 0 8px 24px rgba(78, 205, 196, 0.3);
}

.edu-card-content:hover .edu-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.edu-year-badge {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Education info */
.edu-info h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.edu-info h4 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.edu-institution {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edu-institution i {
    color: var(--secondary-color);
}

/* Achievement badges */
.edu-achievements {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cgpa-badge, .percentage-badge, .perfect-badge {
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.15), rgba(188, 19, 254, 0.15));
    border: 1px solid rgba(0, 242, 255, 0.3);
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.badge-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-value {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-mono);
}

.perfect-badge .badge-value {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.highlight-badge i {
    color: var(--secondary-color);
}

.achievement-badge:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

/* Highlights section */
.edu-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Education Section */
@media (max-width: 768px) {
    .education-timeline::before {
        left: 30px;
    }
    
    .edu-timeline-dot {
        left: 30px;
    }
    
    .edu-card-content {
        margin-left: 70px !important;
        margin-right: 0 !important;
        width: calc(100% - 70px);
    }
    
    .education-card-modern:nth-child(even) .edu-card-content {
        margin-left: 70px !important;
        margin-right: 0 !important;
    }
    
    .edu-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .edu-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* Skills Section */
#skills {
    padding: var(--section-padding);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.03) 100%);
    position: relative;
}

#skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.3), transparent);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.skill-category {
    position: relative;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.skill-category h3 {
    color: #fff;
    margin-bottom: 25px;
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 600;
    padding-left: 15px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-left: 15px;
}

.skill-tag {
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.08) 0%, rgba(188, 19, 254, 0.08) 100%);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 242, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-tag:hover::before {
    left: 100%;
}

.skill-tag:hover {
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.15) 0%, rgba(188, 19, 254, 0.15) 100%);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 242, 255, 0.2);
}

/* Experience Section */
#experience {
    padding: var(--section-padding);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    padding-left: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-date {
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.timeline-company {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.timeline-list {
    list-style-type: none;
}

.timeline-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.timeline-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Projects Section */
#projects {
    padding: var(--section-padding);
    position: relative;
}

#projects::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(188, 19, 254, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 35px;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.folder-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.3));
}

.project-links a {
    color: var(--text-muted);
    font-size: 1.3rem;
    margin-left: 18px;
    transition: all 0.3s ease;
}

.project-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.5));
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
}

.project-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.project-tech span {
    color: var(--secondary-color);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.project-tech span:hover {
    opacity: 1;
}

/* Achievements Section */
#achievements {
    padding: var(--section-padding);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    position: relative;
}

#achievements::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(188, 19, 254, 0.3), transparent);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.achievement-card {
    text-align: center;
    position: relative;
    padding-top: 20px;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.trophy-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 0 0 30px currentColor;
    display: inline-block;
    transition: transform 0.3s ease;
}

.achievement-card:hover .trophy-icon {
    transform: scale(1.1) rotate(5deg);
}

.achievement-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

/* Contact Section */
#contact {
    padding: var(--section-padding);
    text-align: center;
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-text {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.25rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 50px;
}

.social-icon {
    font-size: 1.8rem;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-8px) scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.6));
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

footer p {
    margin: 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-title span {
        font-size: 2rem;
    }

    .scroll-indicator {
        bottom: 20px;
        transform: translateX(-50%) scale(0.8);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .education-card {
        height: auto;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        height: 100vh; /* Full screen menu */
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    /* Hamburger Toggle Animation */
    .hamburger.toggle .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.toggle .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.toggle .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-dot {
        left: 14px;
    }
}

/* Animations */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Education Section Styling */
.education-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.education-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.education-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.edu-icon {
    min-width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

.edu-details h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.edu-details h5 {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.edu-details p {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-family: var(--font-mono);
    margin-bottom: 0;
}
