:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: rgba(26, 26, 37, 0.6);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    
    --accent-primary: #00d4aa;
    --accent-secondary: #0ea5e9;
    --accent-gradient: linear-gradient(135deg, #00d4aa 0%, #0ea5e9 100%);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 212, 170, 0.3);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.15);
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --nav-height: 80px;
    --container-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

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

/* Selection */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Gradient Text */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 2.8rem;
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Section Styles */
section {
    padding: 10rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 4.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.section-description {
    font-size: 1.8rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-normal);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.gradient-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.3) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.gradient-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

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

.hero-subtitle .highlight {
    color: var(--accent-primary);
}

.hero-description {
    font-size: 1.8rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

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

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

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

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 16px; }
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 6rem;
    align-items: start;
}

.about-image {
    position: sticky;
    top: 120px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.image-border {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--accent-primary);
    border-radius: 25px;
    opacity: 0.5;
}

.about-content {
    padding-top: 1rem;
}

.about-text {
    font-size: 1.7rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
}

.skills-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.skills-title,
.cert-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.skill-category h4 {
    font-size: 1.4rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

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

.skill-tag {
    padding: 0.6rem 1.4rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 1.3rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.skill-tag:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.certifications {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.cert-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.cert-badge:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.cert-badge i {
    font-size: 2rem;
    color: var(--accent-primary);
}

.cert-badge span {
    font-size: 1.4rem;
    font-weight: 500;
}

.cert-badge.view-all {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.3);
}

.cert-badge.view-all:hover {
    background: var(--accent-gradient);
}

.cert-badge.view-all:hover i,
.cert-badge.view-all:hover span {
    color: var(--bg-primary);
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */
.experience {
    background: var(--bg-primary);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 4rem;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
}

.marker-dot {
    width: 42px;
    height: 42px;
    background: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-dot::after {
    content: '';
    width: 14px;
    height: 14px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

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

.company-name {
    font-size: 2.2rem;
    color: var(--text-primary);
}

.job-title {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 50px;
}

.timeline-description {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.timeline-highlights {
    list-style: none;
    margin-bottom: 2rem;
}

.timeline-highlights li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.timeline-highlights li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.timeline-tech span {
    padding: 0.4rem 1.2rem;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 50px;
    font-size: 1.2rem;
    color: var(--accent-primary);
}

/* ============================================
   OPEN SOURCE SECTION
   ============================================ */
.opensource {
    background: var(--bg-secondary);
}

.oss-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.oss-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.oss-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.oss-card.featured {
    grid-column: 1 / -1;
}

.oss-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: var(--bg-tertiary);
}

.oss-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oss-icon i {
    font-size: 2rem;
    color: var(--bg-primary);
}

.oss-status {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oss-status.merged {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.oss-status.closed {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.oss-status.open {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.oss-card-body {
    padding: 2rem;
    flex: 1;
}

.oss-project {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.project-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.project-info h3 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.project-repo-link {
    transition: color var(--transition-fast);
}

.project-repo-link:hover h3 {
    color: var(--accent-primary);
}

.project-repo-link h3 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-repo-link h3::after {
    content: '↗';
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.project-repo-link:hover h3::after {
    opacity: 1;
}

.project-stars {
    font-size: 1.3rem;
    color: var(--text-muted);
}

.project-stars i {
    color: #fbbf24;
    margin-right: 0.3rem;
}

.oss-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.oss-description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.oss-impact {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

.impact-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.impact-label {
    font-size: 1.2rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.impact-value {
    font-size: 1.4rem;
    color: var(--text-secondary);
}

.oss-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--text-muted);
}

.stat-item i {
    margin-right: 0.5rem;
}

.text-green { color: #22c55e; }
.text-red { color: #ef4444; }

.oss-card-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.oss-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

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

.oss-link i {
    font-size: 2rem;
}

.oss-cta {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    flex-wrap: wrap;
    gap: 2rem;
}

.github-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.github-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
}

.github-info h4 {
    font-size: 1.8rem;
    color: var(--text-primary);
}

.github-info p {
    font-size: 1.4rem;
    color: var(--text-secondary);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    background: var(--bg-primary);
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

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

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 212, 170, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.project-card.featured-project {
    border: 1px solid rgba(0, 212, 170, 0.3);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
}

.project-card.featured-project::before {
    content: '★ FEATURED';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    z-index: 10;
    letter-spacing: 0.5px;
}

.spark-proxy-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #e25a1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.spark-proxy-bg img {
    width: 80%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(226, 90, 28, 0.5));
}

.project-overlay i {
    font-size: 3rem;
    color: var(--bg-primary);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.project-content p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    gap: 0.8rem;
}

.project-tech span {
    padding: 0.4rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 50px;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.projects-cta {
    text-align: center;
    margin-top: 4rem;
}

/* ============================================
   EDUCATION SECTION
   ============================================ */
.education {
    background: var(--bg-secondary);
}

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

.education-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    gap: 2rem;
    transition: all var(--transition-normal);
}

.education-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.edu-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edu-icon i {
    font-size: 2.4rem;
    color: var(--bg-primary);
}

.edu-content {
    flex: 1;
}

.edu-year {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin-bottom: 0.8rem;
}

.edu-content h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.edu-content h4 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.edu-content p {
    font-size: 1.4rem;
    color: var(--text-muted);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all var(--transition-normal);
}

.contact-card:hover {
    border-color: var(--border-hover);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 2.2rem;
    color: var(--bg-primary);
}

.contact-details h3 {
    font-size: 1.4rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.contact-details a,
.contact-details p {
    font-size: 1.6rem;
    color: var(--text-primary);
}

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

.social-links {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
}

.social-links h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

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

.social-link i {
    font-size: 2rem;
}

.social-link span {
    font-size: 1.4rem;
    font-weight: 500;
}

.social-link.github:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

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

.social-link.linkedin:hover i {
    color: #0077b5;
}

.social-link.twitter:hover {
    border-color: #1da1f2;
    background: rgba(29, 161, 242, 0.1);
}

.social-link.twitter:hover i {
    color: #1da1f2;
}

.social-link.instagram:hover {
    border-color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.social-link.instagram:hover i {
    color: #e4405f;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-content p {
    font-size: 1.4rem;
    color: var(--text-muted);
}

.footer-links a {
    font-size: 1.4rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .section-title {
        font-size: 3.5rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-image {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .oss-grid {
        grid-template-columns: 1fr;
    }
    
    .oss-card.featured {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .oss-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .github-profile {
        flex-direction: column;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 45px;
    }
    
    .marker-dot {
        width: 32px;
        height: 32px;
    }
    
    .marker-dot::after {
        width: 10px;
        height: 10px;
    }
    
    .timeline-content {
        padding: 2rem;
    }
    
    .education-card {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
 }
