/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --secondary: #ec4899;
    --accent: #14b8a6;
    --dark: #0a0e27;
    --darker: #050810;
    --light: #f8fafc;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--darker);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f0f1e 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    top: -50%;
    right: -10%;
    animation: float 15s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #14b8a6, #6366f1);
    bottom: -20%;
    left: 5%;
    animation: float 20s ease-in-out infinite reverse;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #ec4899, #14b8a6);
    top: 20%;
    left: 50%;
    animation: float 18s ease-in-out infinite;
}

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

.grid-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(20px);
    background: rgba(10, 14, 39, 0.7);
    padding: 1.2rem 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.9);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Space Mono', monospace;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.logo-bracket {
    opacity: 0.6;
    transition: all 0.3s;
}

.nav-logo:hover .logo-bracket {
    opacity: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Space Mono', monospace;
    position: relative;
    transition: all 0.3s;
    /* text-transform: lowercase; */
    letter-spacing: 1px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

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

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

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

.hamburger span {
    width: 25px;
    height: 2.5px;
    background: var(--primary);
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(12px, 12px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 100px;
    position: relative;
    overflow: hidden;
}

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

.hero-text {
    animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.code-block {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    backdrop-filter: blur(10px);
}

.code-line {
    display: block;
    color: var(--text-primary);
}

.code-tag {
    color: var(--secondary);
    font-weight: 600;
}

.code-var {
    color: var(--primary);
    font-weight: 600;
}

.code-op {
    color: var(--accent);
    margin: 0 0.5rem;
}

.code-str {
    color: #4ade80;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Space Mono', monospace;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 0.8s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-sphere {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.6), rgba(236, 72, 153, 0.3));
    border-radius: 50%;
    filter: blur(40px);
    animation: float 4s ease-in-out infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.floating-cube {
    position: absolute;
    width: 150px;
    height: 150px;
    background: conic-gradient(from 0deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    border-radius: 20px;
    opacity: 0.2;
    animation: rotate 10s linear infinite;
    top: 100px;
    right: 50px;
}

.floating-torus {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 3px solid;
    border-color: transparent var(--accent) transparent var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: spin 8s linear infinite;
    bottom: 80px;
    left: 50px;
}

@keyframes rotate {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes spin {
    0% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(360deg); }
}

.neural-network {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styling */
section {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 5rem;
    letter-spacing: -1px;
}

.title-accent {
    color: var(--primary);
    font-family: 'Space Mono', monospace;
    margin-right: 1rem;
    opacity: 0.6;
}

/* About Section */
.about {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.02) 0%, rgba(236, 72, 153, 0.02) 100%);
    border-top: 1px solid var(--border);
}

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

.about-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.08);
}

.about-card:hover::before {
    opacity: 1;
}

.card-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    opacity: 0.3;
    font-family: 'Space Mono', monospace;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

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

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.card-tags span {
    font-size: 0.8rem;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-family: 'Space Mono', monospace;
}

/* Skills Section */
.skills {
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.02) 0%, rgba(20, 184, 166, 0.02) 100%);
    border-top: 1px solid var(--border);
}

.skills-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.skill-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.08);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-icon {
    font-size: 2rem;
}

.category-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.skill-name {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    animation: fillSkill 1s ease-out forwards;
}

@keyframes fillSkill {
    from {
        width: 0;
    }
}

/* Tech Stack */
.tech-stack {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 15px;
}

.tech-stack h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
}

.tech-badge:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.3));
    transform: translateY(-3px);
}

/* Experience Section */
.experience {
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.02) 0%, rgba(99, 102, 241, 0.02) 100%);
    border-top: 1px solid var(--border);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), transparent);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    gap: 3rem;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: relative;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--dark);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    transition: all 0.3s;
}

.timeline-item:hover .marker-dot {
    width: 30px;
    height: 30px;
    background: var(--secondary);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.6);
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s;
}

.timeline-content:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-5px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.timeline-header h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0;
    font-weight: 700;
}

.timeline-date {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Space Mono', monospace;
}

.timeline-org {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.timeline-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-tags span {
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(20, 184, 166, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-family: 'Space Mono', monospace;
}

/* Education Section */
.education {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.02) 0%, rgba(236, 72, 153, 0.02) 100%);
    border-top: 1px solid var(--border);
}

.education-timeline {
    position: relative;
    padding: 2rem 0;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), transparent);
}

.edu-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 50px;
}

.edu-marker {
    position: absolute;
    left: -15px;
    top: 0;
}

.marker-circle {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--dark);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
}

.edu-item:hover .marker-circle {
    width: 38px;
    height: 38px;
    background: var(--secondary);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
}

.edu-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s;
}

.edu-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.08);
    transform: translateX(10px);
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.edu-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin: 0;
    font-weight: 700;
    flex: 1;
}

.edu-year {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Space Mono', monospace;
}

.edu-institute {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.edu-achievement {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.edu-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.edu-highlights span {
    background: rgba(99, 102, 241, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.02) 0%, rgba(20, 184, 166, 0.02) 100%);
    border-top: 1px solid var(--border);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s;
}

.contact-form-wrapper:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.contact-item:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.08);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary);
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
}

.contact-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-details a,
.contact-details p {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--primary);
}

/* Socials */
.socials {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    margin-top: 1rem;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
    transition: all 0.3s;
    font-size: 1.5rem;
}

.social-link:hover {
    transform: translateY(-8px);
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.social-link.github:hover {
    background: rgba(0, 0, 0, 0.4);
    color: white;
}

.social-link.linkedin:hover {
    background: rgba(0, 119, 181, 0.3);
    color: #0077b5;
}

.social-link.facebook:hover {
    background: rgba(59, 89, 152, 0.3);
    color: #3b5998;
}

.social-link.orcid:hover {
    background: rgba(166, 133, 39, 0.3);
    color: #a68527;
}

/* Footer */
.footer {
    background: rgba(10, 14, 39, 0.8);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content {
    text-align: center;
    flex: 1;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.footer-content p:first-child {
    color: var(--text-primary);
    font-weight: 600;
}

.heart {
    display: inline-block;
    color: var(--secondary);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.scroll-to-top {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    position: absolute;
    right: 2rem;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
}

.scroll-to-top.show {
    opacity: 1;
    pointer-events: all;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 400px;
    }

    .skills-wrapper {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        width: 50px;
    }

    .timeline-item {
        flex-direction: column !important;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.95);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        gap: 1rem;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 1.5rem 50px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

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

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

    .skill-category {
        padding: 1.5rem;
    }

    .footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .scroll-to-top {
        position: fixed;
        right: 1.5rem;
        bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .code-block {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
    }

    .stat {
        text-align: left;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-stats {
        border-bottom: none;
    }

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

    .about-card,
    .skill-category,
    .timeline-content,
    .edu-card {
        padding: 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
    }

    .socials {
        justify-content: center;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .social-link a {
        text-decoration: none;
    }

    .nav-logo {
        font-size: 1.1rem;
    }
}