/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    
    /* Modern Color Palette - Indigo/Violet Theme */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --accent-warm: #f59e0b;
    --success: #10b981;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.nav-logo:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.nav-logo-bracket {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.3s ease;
}

.nav-logo:hover .nav-logo-bracket {
    color: var(--secondary);
}

.nav-logo-text {
    font-size: 18px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    font-family: var(--font-sans);
}

.nav-logo-slash {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    filter: blur(60px);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
    position: relative;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: 40% 60%; /* was 20% 60% */
    border: 4px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}


.hero-avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: 1;
    animation: spin 8s linear infinite;
}

.hero-avatar-ring::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #1e1b4b;
}

.hero-avatar::after {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: 0;
    opacity: 0.3;
    filter: blur(20px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

.hero-badge-top {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: #34d399;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-name {
    font-size: 52px;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 550px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    padding: 14px 28px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-stack {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.stack-item {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 13px;
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.stack-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 10;
}

.scroll-indicator.hidden {
    opacity: 0;
    visibility: hidden;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.5; height: 40px; }
    50% { opacity: 1; height: 50px; }
}

/* ========== SECTION STYLES ========== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-title .emoji {
    font-size: 32px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== ABOUT SECTION ========== */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.highlight-emoji {
    font-size: 40px;
    margin-bottom: 16px;
}

.highlight-number {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    font-family: var(--font-mono);
}

.highlight-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========== EXPERIENCE SECTION ========== */
.experience {
    background: var(--bg-primary);
}

.experience .container {
    text-align: center;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
    text-align: left;
}

.experience-item {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.experience-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.experience-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.experience-date {
    font-size: 13px;
    color: var(--primary);
    font-family: var(--font-mono);
    font-weight: 600;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50px;
    width: fit-content;
}

.experience-role {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.experience-company {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.experience-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.experience-description-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.experience-description-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.experience-description-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.experience-description-list li:last-child {
    margin-bottom: 0;
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    display: inline-block;
    padding: 6px 14px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-weight: 500;
}

.tech-tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.resume-link {
    text-align: center;
}

.btn-resume {
    display: inline-block;
    padding: 16px 36px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-resume:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* ========== PROJECTS SECTION ========== */
.projects {
    background: var(--bg-secondary);
}

.projects .container {
    text-align: center;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.project-item {
    padding: 32px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.project-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

.project-links {
    display: flex;
    gap: 12px;
}

.project-link {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-mono);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.1);
}

.project-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.project-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.project-description-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.project-description-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.project-description-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.project-description-list li:last-child {
    margin-bottom: 0;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ========== TECH STACK SECTION ========== */
.tech-stack {
    background: var(--bg-primary);
}

.tech-stack .container {
    text-align: center;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
    text-align: left;
}

.tech-category {
    padding: 28px;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.tech-category-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-item {
    font-size: 14px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    padding: 10px 14px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tech-item:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateX(8px);
}

/* Code Snippet */
.code-snippet {
    background: #0f172a;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 48px;
    box-shadow: var(--shadow-xl);
    text-align: left;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.code-title {
    font-size: 13px;
    color: #94a3b8;
    font-family: var(--font-mono);
}

.code-copy {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.code-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.code-snippet pre {
    margin: 0;
    padding: 24px;
    overflow-x: auto;
}

.code-snippet code {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.7;
    color: #e2e8f0;
}

/* ========== CONTACT SECTION ========== */
.contact {
    background: var(--bg-secondary);
}

.contact .container {
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.contact-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.contact-icon {
    font-size: 28px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 14px;
    flex-shrink: 0;
}

.contact-label {
    font-size: 13px;
    color: var(--text-light);
    font-family: var(--font-mono);
    text-align: left;
}

.contact-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
    text-align: left;
}

.btn-contact {
    display: inline-block;
    padding: 18px 48px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* ========== FOOTER ========== */
.footer {
    padding: 40px 0;
    background: #0f172a;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: #64748b;
}

/* ========== ANIMATIONS ========== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .nav-logo-text {
        display: none;
    }

    .nav-logo-img {
        width: 38px;
        height: 38px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
        gap: 24px;
        border-top: 1px solid var(--border-color);
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .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(7px, -6px);
    }

    .hero-name {
        font-size: 36px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .hero-avatar {
        width: 110px;
        height: 110px;
    }

    .hero-avatar-ring {
        inset: -6px;
    }

    .hero-avatar::after {
        inset: -12px;
    }

    .section-title {
        font-size: 28px;
    }

    section {
        padding: 80px 0;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: row;
        justify-content: center;
        gap: 24px;
        flex-wrap: wrap;
    }

    .contact-link {
        width: 80px;
        height: 80px;
        padding: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0;
        border-radius: 20px;
    }

    .contact-label,
    .contact-value {
        display: none;
    }

    .contact-icon {
        font-size: 40px;
        width: 100%;
        height: 100%;
        border-radius: 20px;
        margin: 0;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .hero-name {
        font-size: 28px;
    }

    .hero-avatar {
        width: 100px;
        height: 100px;
    }

    .hero-avatar-ring {
        inset: -5px;
    }

    .hero-avatar::after {
        inset: -10px;
    }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    .highlight-item {
        padding: 24px 16px;
    }

    .experience-item,
    .project-item {
        padding: 24px;
    }
}

/* Smooth scroll animation */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
