



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



:root {
    --bg-dark: #0a0e27;
    --bg-darker: #060818;
    --primary: #00d4ff;
    --secondary: #7c3aed;
    --accent: #f43f5e;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --card-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --header-height: 70px;
    --container-width: 1200px;
    --glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}


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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}


.bg-gradient-1 {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
    animation: float 20s infinite alternate;
}

.bg-gradient-2 {
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
    animation: float 25s infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 50px);
    }
}


.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(6, 182, 212, 0.1);
}


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

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}


header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-number {
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    margin-right: 0.25rem;
}

.btn-nav {
    color: var(--primary) !important;
    border: 1px solid var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem;
}

.btn-nav:hover {
    background: rgba(6, 182, 212, 0.1);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}


.hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.hero-eyebrow {
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 50%, var(--secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    font-family: 'Outfit', sans-serif;
}

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


.floating-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: floatCard 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.03), transparent);
    animation: shimmer 3s infinite;
}

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

@keyframes floatCard {

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

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

.code-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

pre {
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    line-height: 1.6;
}

code {
    color: #abb2bf;
}

.keyword {
    color: #c678dd;
}

.var {
    color: #e06c75;
}

.string {
    color: #98c379;
}

.key {
    color: #d19a66;
}

.bool {
    color: #56b6c2;
}


section {
    padding: 6rem 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

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

.section-line {
    height: 1px;
    width: 100%;
    max-width: 300px;
    background: var(--glass-border);
}


.summary-card {
    padding: 2.5rem;
    max-width: 800px;
}

.summary-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
}


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

.skill-category {
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.02) 0%, rgba(124, 58, 237, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-category:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 212, 255, 0.15);
}

.skill-category:hover::before {
    opacity: 1;
}

.category-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.skill-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.skill-category:hover .skill-pill,
.skill-pill:hover {
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary);
}


.timeline {
    position: relative;
    border-left: 2px solid var(--glass-border);
    margin-left: 1rem;
}

.timeline-item {
    padding-left: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.timeline-content {
    padding: 2rem;
}

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

.timeline-header h3 {
    font-size: 1.5rem;
    color: white;
}

.company-badge {
    background: var(--primary);
    color: var(--bg-darker);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
}

.timeline-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.timeline-desc {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.achievement-list li {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.achievement-list li i {
    color: var(--primary);
    margin-top: 4px;
}


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

.project-card {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15), 
                0 0 20px rgba(0, 212, 255, 0.1);
}

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

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.folder-icon {
    font-size: 2.5rem;
    color: var(--secondary);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.project-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

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

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'Inter', monospace;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-1px);
}


.education-card {
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.edu-icon {
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.edu-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.edu-inst {
    font-size: 1.1rem;
    color: white;
}

.edu-loc {
    color: var(--text-muted);
}


.contact-box {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-box p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.big-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

footer {
    padding: 2rem 0;
    text-align: center;
}

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

.social-link {
    color: var(--text-muted);
    font-size: 1.5rem;
}

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


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

    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        order: 2;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        z-index: 1000;
        padding: 2rem;
        backdrop-filter: blur(20px);
    }

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

    .nav-links a {
        font-size: 1.5rem;
    }

    .timeline {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
    }

    .timeline-item {
        padding-left: 0;
    }

    .timeline-dot {
        display: none;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

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

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

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

    .education-card {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: calc(var(--header-height) + 2rem);
    }

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

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

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

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .contact-box {
        padding: 2rem 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }
}
