/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --text-primary: #e8e8f0;
    --text-secondary: #a8a8b8;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-dark: #4f46e5;
    --gradient-1: #6366f1;
    --gradient-2: #8b5cf6;
    --gradient-3: #ec4899;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Mobile Viewport */
    --vh: 1vh;
    --animation-duration: 0.6s;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   SMOOTH SCROLLING & PERFORMANCE
   ========================================== */
html {
    scroll-behavior: smooth;
}

body {
    overscroll-behavior: none;
}

/* ==========================================
   NAVIGATION DOTS
   ========================================== */
.nav-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.nav-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0;
    transition: opacity 0.3s var(--transition-smooth);
}

.nav-dot:hover::before,
.nav-dot.active::before {
    opacity: 1;
}

.nav-dot.active {
    background: var(--accent);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--gradient-2), var(--gradient-3));
    bottom: -10%;
    right: -10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--gradient-3), var(--gradient-1));
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05) rotate(90deg);
    }
    50% {
        transform: translate(0, -60px) scale(1.1) rotate(180deg);
    }
    75% {
        transform: translate(-30px, -30px) scale(1.05) rotate(270deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-description p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
    opacity: 0;
    transition: opacity 0.3s var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary .arrow {
    position: relative;
    z-index: 1;
}

.arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s var(--transition-smooth);
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    transition: all 0.3s var(--transition-smooth);
    text-decoration: none;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ==========================================
   SECTIONS
   ========================================== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ==========================================
   SKILLS SECTION
   ========================================== */
.skills-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tech-showcase {
    display: grid;
    gap: 4rem;
    margin-bottom: 5rem;
}

.tech-category {
    position: relative;
}

.category-header {
    text-align: left;
    margin-bottom: 2.5rem;
    position: relative;
}

.category-header h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.category-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--gradient-2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-item:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(99, 102, 241, 0.1);
}

.tech-item:hover::before {
    opacity: 0.05;
}

.tech-logo {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tech-item:hover .tech-logo {
    transform: scale(1.1);
}

.tech-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

.tech-name {
    position: relative;
    z-index: 2;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    transition: color 0.3s ease;
}

.tech-item:hover .tech-name {
    color: var(--accent-light);
}

/* Experience Stats */
.experience-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Animations for tech items */
@keyframes techFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.tech-item:nth-child(odd) {
    animation: techFloat 6s ease-in-out infinite;
    animation-delay: 0s;
}

.tech-item:nth-child(even) {
    animation: techFloat 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* ==========================================
   EDUCATION SECTION
   ========================================== */
.education-section {
    background: var(--bg-primary);
    position: relative;
    padding: var(--section-padding) 0;
}

/* Education Timeline */
.education-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.education-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.education-item:hover::before {
    left: 100%;
}

.education-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.education-item.featured-education {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.03) 100%);
    border: 2px solid rgba(99, 102, 241, 0.2);
}

.education-content {
    position: relative;
    z-index: 1;
}

.education-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.education-icon-large {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.education-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.education-info {
    flex: 1;
}

.education-badge-top {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.education-badge-top.current {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
}

.education-badge-top.completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.education-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.education-info .institution {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.education-info .period {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.education-details {
    margin-top: 1rem;
}

.education-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.education-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 25px;
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.highlight-icon {
    font-size: 1rem;
}

/* Education Stats */
.education-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.education-stats .stat-item {
    text-align: center;
}

.education-stats .stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.education-stats .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================
   EXPERIENCE SECTION
   ========================================== */
.experience-section {
    background: var(--bg-secondary);
    position: relative;
}

.experience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* Companies Carousel */
.companies-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 4rem 0 5rem;
    padding: 2rem 0;
    background: linear-gradient(90deg, 
        var(--bg-secondary) 0%, 
        rgba(99, 102, 241, 0.02) 50%, 
        var(--bg-secondary) 100%
    );
}

.companies-carousel::before,
.companies-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.companies-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-secondary) 0%, transparent 100%);
}

.companies-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-secondary) 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 4rem;
    animation: scroll-left 30s linear infinite;
    width: fit-content;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel-track:hover {
    animation-play-state: paused;
}

.company-logo-item {
    flex-shrink: 0;
    width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.company-logo-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.company-logo-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

.company-logo-item:hover::before {
    opacity: 1;
}

.company-logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.9);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.company-logo-item:hover img {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* GIT + Logo Style */
.company-logo-item.git-logo {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.git-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.9;
}

.git-text img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(1) opacity(0.9);
    transition: all 0.3s ease;
}

.company-logo-item.git-logo:hover .git-text {
    opacity: 1;
}

.company-logo-item.git-logo:hover .git-text img {
    filter: brightness(1.1) opacity(1);
    transform: scale(1.05);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0.6;
    transition: all 0.6s ease;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-item:hover {
    opacity: 1;
}

.timeline-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 3px solid var(--bg-secondary);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-dot {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    transform: scale(1.2);
}

.timeline-line {
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    margin-top: 1rem;
    opacity: 0.3;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.2);
    background: rgba(99, 102, 241, 0.02);
}

.timeline-company {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.company-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 12px;
}

.company-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.company-name {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 0.25rem;
    display: block;
}

.timeline-period {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.timeline-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.375rem 0.875rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gradient-2);
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects-section {
    position: relative;
    background: linear-gradient(135deg, #0a0a0f 0%, #13131a 30%, #1a1a2e 70%, #0f0f17 100%);
    overflow: hidden;
}

.projects-background {
    position: absolute;
    inset: 0;
    opacity: 0.4;
}

.projects-grid-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at center, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
    animation: subtle-float 25s ease-in-out infinite;
}

.projects-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: gentle-float 20s ease-in-out infinite;
    opacity: 0.6;
}

.projects-gradient-orb.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 100%);
    top: -250px;
    right: -250px;
    animation-delay: -7s;
}

.projects-gradient-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, rgba(99, 102, 241, 0.1) 50%, transparent 100%);
    bottom: -200px;
    left: -200px;
    animation-delay: -14s;
}

.projects-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.project-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.featured-project {
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.02);
}

.featured-project:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 
        0 30px 60px rgba(255, 215, 0, 0.1),
        0 0 0 1px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.project-image {
    position: relative;
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-logo {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    transition: transform 0.6s var(--transition-smooth);
}

.project-card:hover .project-logo {
    transform: scale(1.1);
}

/* Code Preview Styles */
.project-code-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

.code-window {
    width: 90%;
    background: #0d1117;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #30363d;
}

.code-header {
    background: #21262d;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #7d8590;
}

.code-buttons {
    display: flex;
    gap: 0.25rem;
}

.code-buttons span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56;
}

.code-buttons span:nth-child(2) {
    background: #ffbd2e;
}

.code-buttons span:nth-child(3) {
    background: #27ca3f;
}

.code-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.75rem;
}

.code-line {
    color: #58a6ff;
}

/* Mockup Styles */
.project-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mockup-phone {
    width: 120px;
    height: 200px;
    background: #1f2937;
    border-radius: 20px;
    padding: 8px;
    position: relative;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: #111827;
    border-radius: 12px;
    overflow: hidden;
}

.mockup-content {
    padding: 1rem 0.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-header {
    color: #6366f1;
    font-weight: bold;
    font-size: 0.75rem;
    text-align: center;
}

.mockup-event {
    background: rgba(99, 102, 241, 0.1);
    color: #e5e7eb;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.625rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* E-commerce Preview */
.project-ecommerce-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.ecommerce-window {
    width: 90%;
    height: 80%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ecommerce-header {
    background: #1f2937;
    color: white;
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.ecommerce-logo {
    font-weight: bold;
}

.ecommerce-products {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.product-card {
    aspect-ratio: 1;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* IDE Preview */
.project-ide-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1e2e 0%, #2a2a4e 100%);
}

.ide-window {
    width: 95%;
    height: 90%;
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #3a3a5e;
}

.ide-header {
    background: #252545;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3a3a5e;
}

.ide-tabs {
    display: flex;
    gap: 4px;
}

.ide-tab {
    padding: 0.25rem 0.75rem;
    background: #1a1a2e;
    color: #a0a0b0;
    font-size: 0.75rem;
    border-radius: 4px 4px 0 0;
    border: 1px solid #3a3a5e;
}

.ide-tab.active {
    background: #2a2a4e;
    color: #ffffff;
}

.ide-logo {
    color: #6366f1;
    font-weight: bold;
    font-size: 0.875rem;
}

.ide-content {
    display: flex;
    height: calc(100% - 40px);
}

.ide-sidebar {
    width: 30%;
    background: #1a1a2e;
    padding: 0.5rem;
    border-right: 1px solid #3a3a5e;
    font-size: 0.7rem;
}

.folder, .file {
    padding: 0.25rem;
    color: #a0a0b0;
    margin-bottom: 0.125rem;
}

.folder {
    font-weight: bold;
    color: #fbbf24;
}

.ide-editor {
    flex: 1;
    background: #0f0f1f;
    padding: 0.5rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.7rem;
}

.code-line {
    color: #a855f7;
    margin-bottom: 0.125rem;
    line-height: 1.2;
}

.development-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

/* Tool Preview */
.project-tool-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.tool-window {
    width: 90%;
    height: 80%;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #334155;
}

.tool-header {
    background: #1e293b;
    padding: 0.75rem;
    border-bottom: 1px solid #334155;
}

.tool-title {
    color: #10b981;
    font-weight: bold;
    font-size: 0.875rem;
    font-family: 'Monaco', 'Menlo', monospace;
}

.terminal-content {
    padding: 1rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.75rem;
}

.terminal-line {
    color: #94a3b8;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.terminal-line:first-child {
    color: #22c55e;
}

.tool-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(99, 102, 241, 0.2) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s var(--transition-smooth);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.project-link {
    padding: 0.875rem 1.75rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s var(--transition-smooth);
    min-width: 140px;
    text-align: center;
}

.project-link.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.project-link.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.project-link.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.project-link.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.project-status {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse 2s infinite;
}

.project-badge {
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.api-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.mobile-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(2deg);
    }
    66% {
        transform: translateY(10px) rotate(-2deg);
    }
}

@keyframes subtle-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(20px, -30px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-10px, 20px) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(-20px, -10px) scale(1.05);
        opacity: 0.4;
    }
}

@keyframes gentle-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -20px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

.project-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.award-badge,
.academic-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.award-badge svg,
.academic-badge svg {
    flex-shrink: 0;
}

.academic-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.development-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.tool-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.project-status {
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.9);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.375rem 0.875rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-light);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    background: var(--bg-secondary);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--transition-smooth);
}

.contact-method:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 600;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ==========================================
   MOBILE-FIRST PROFESSIONAL DESIGN
   ========================================== */

/* Mobile Navigation Enhancement */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1001;
    width: 52px;
    height: 52px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    cursor: pointer;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.mobile-nav-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.05);
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, 
        rgba(10, 10, 15, 0.97) 0%, 
        rgba(19, 19, 26, 0.97) 100%);
    backdrop-filter: blur(30px);
    z-index: 1000;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-nav-menu.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 300px;
    margin: 0 auto;
}

.mobile-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transform: translateX(8px);
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
    opacity: 0.05;
}

/* Touch-Optimized Interactions */
@media (hover: none) and (pointer: coarse) {
    .btn-primary {
        min-height: 52px;
        padding: 1.25rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .social-link {
        min-width: 52px;
        min-height: 52px;
        padding: 14px;
    }
    
    .contact-method {
        min-height: 68px;
        padding: 1.75rem;
    }
    
    .project-card {
        min-height: 320px;
    }
    
    .tech-item {
        min-height: 120px;
        padding: 1.5rem;
    }
    
    /* Enhanced tap targets */
    .timeline-item {
        padding: 1rem;
        margin: 1rem 0;
    }
}

/* Professional Mobile Layout */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-width: 100%;
    }
    
    /* Enhanced Container */
    .container {
        padding: 0 1.25rem;
    }
    
    /* Mobile Navigation */
    .nav-dots {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .mobile-nav-menu {
        display: block;
    }
    
    /* Hero Section Mobile Optimization */
    .hero {
        min-height: 100svh; /* Use small viewport height for mobile */
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        margin-bottom: 2rem;
    }
    
    .hero-description p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .scroll-indicator {
        bottom: 2rem;
        font-size: 0.875rem;
    }
    
    /* Reduce orb animations on mobile for performance */
    .gradient-orb {
        animation-duration: 40s;
        filter: blur(60px);
    }
    
    .orb-1, .orb-2 {
        width: 300px;
        height: 300px;
    }
    
    .orb-3 {
        width: 250px;
        height: 250px;
    }
    
    /* Projects Section Mobile Enhancement */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    .project-card {
        border-radius: 20px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .project-image {
        height: 200px;
        border-radius: 16px 16px 0 0;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .project-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .projects-gradient-orb {
        display: none;
    }
    
    /* Mobile-friendly hover states */
    .project-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    .project-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(8px);
    }
    
    .project-overlay-content {
        opacity: 1;
        transform: translateY(0);
    }
    
    .project-tech {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Skills Section Mobile */
    .tech-category {
        margin-bottom: 2.5rem;
    }
    
    .category-header {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .category-header h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .category-header p {
        font-size: 0.9rem;
        opacity: 0.8;
    }
    
    /* Education Section Mobile */
    .education-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .education-icon-large {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .education-info h3 {
        font-size: 1.25rem;
    }
    
    .education-highlights {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .highlight-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .education-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .education-stats .stat-number {
        font-size: 1.75rem;
    }
    
    /* Contact Section Mobile */
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-method {
        padding: 1.5rem;
        border-radius: 16px;
        min-height: 80px;
    }
    
    .contact-icon {
        width: 48px;
        height: 48px;
    }
    
    .contact-info {
        flex: 1;
    }
    
    .contact-value {
        font-size: 0.95rem;
    }
    
    /* Section Headers Mobile */
    .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .section-description {
        font-size: 1rem;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .tech-item {
        padding: 1.5rem 1rem;
    }
    
    .tech-logo {
        width: 36px;
        height: 36px;
    }
    
    .experience-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .category-header h3 {
        font-size: 1.5rem;
    }
    
    /* Reduce parallax on mobile for performance */
    .gradient-orb {
        animation-duration: 30s;
    }
    
    /* Education responsive */
    .education-minimal {
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .education-item {
        grid-template-columns: 50px 1fr auto;
        gap: 1rem;
        padding: 1rem;
    }
    
    .education-icon {
        width: 50px;
        height: 50px;
    }
    
    .education-text h3 {
        font-size: 1rem;
    }
    
    .education-text p {
        font-size: 0.8rem;
    }
    
    .education-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    /* Experience responsive */
    .timeline {
        padding: 0 1rem;
    }
    
    .timeline-item {
        grid-template-columns: 40px 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .timeline-marker {
        margin-top: 0.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    /* Companies Carousel responsive */
    .companies-carousel {
        margin: 3rem 0 4rem;
        padding: 1.5rem 0;
    }
    
    .carousel-track {
        gap: 2rem;
        animation-duration: 20s;
    }
    
    .company-logo-item {
        width: 150px;
        height: 60px;
        padding: 0.75rem 1.5rem;
    }
    
    .companies-carousel::before,
    .companies-carousel::after {
        width: 80px;
    }
    
    .timeline-company {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
        align-self: flex-start;
    }
    
    .timeline-line {
        height: 80px;
    }
    
    /* Mobile Performance & UX Optimizations */
    .projects-background {
        display: none; /* Remove complex backgrounds on mobile */
    }
    
    /* iOS Safe Area Support */
    .hero {
        padding-top: env(safe-area-inset-top);
        min-height: calc(100vh - env(safe-area-inset-top));
        min-height: calc(100svh - env(safe-area-inset-top));
    }
    
    .mobile-nav-toggle {
        top: calc(1.5rem + env(safe-area-inset-top));
        right: calc(1.5rem + env(safe-area-inset-right));
    }
    
    .mobile-nav-menu {
        padding-top: calc(6rem + env(safe-area-inset-top));
        padding-left: calc(2rem + env(safe-area-inset-left));
        padding-right: calc(2rem + env(safe-area-inset-right));
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }
    
    /* Improved touch targets */
    .project-link {
        min-height: 44px;
        padding: 12px 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better readability on mobile */
    body {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
        word-wrap: break-word;
    }
    
    /* Smoother scrolling on mobile */
    html {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Optimize for mobile interactions */
    .hero-cta .btn-primary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Mobile-first loading states */
    .project-card {
        background: var(--bg-secondary);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    /* Better mobile contrast */
    .section-description {
        color: rgba(232, 232, 240, 0.9);
    }
    
    .project-content p {
        color: rgba(168, 168, 184, 0.95);
    }
    
    /* Mobile-specific animations */
    .project-card {
        animation: slideInUp 0.6s ease forwards;
        opacity: 0;
        transform: translateY(30px);
    }
    
    .project-card:nth-child(1) { animation-delay: 0.1s; }
    .project-card:nth-child(2) { animation-delay: 0.2s; }
    .project-card:nth-child(3) { animation-delay: 0.3s; }
    .project-card:nth-child(4) { animation-delay: 0.4s; }
    .project-card:nth-child(5) { animation-delay: 0.5s; }
    .project-card:nth-child(6) { animation-delay: 0.6s; }
    
    @keyframes slideInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Mobile Typography Refinements */
    .timeline-description p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .skill-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin: 0.2rem;
    }
    
    /* Mobile Footer */
    .footer {
        padding: 2rem 0;
        text-align: center;
    }
    
    .footer-content p {
        font-size: 0.875rem;
        color: var(--text-secondary);
    }
}

/* Ultra-small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .mobile-nav-toggle {
        top: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-content {
        padding: 1.25rem;
    }
    
    .contact-method {
        padding: 1.25rem;
    }
    
    .mobile-nav-menu {
        padding: 5rem 1.5rem 2rem;
    }
}

/* Large mobile screens / small tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-title {
        font-size: clamp(3.5rem, 8vw, 5rem);
    }
    
    .nav-dots {
        display: flex;
    }
    
    .mobile-nav-toggle,
    .mobile-nav-menu {
        display: none;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-scroll] {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .gradient-orb {
        animation: none !important;
    }
}

/* ==========================================
   ANIMATIONS & PARALLAX
   ========================================== */
[data-scroll] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

[data-scroll].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Container */
.parallax-element {
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Performance optimizations */
.hero-bg {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.gradient-orb {
    will-change: transform;
    backface-visibility: hidden;
    transition: transform 0.1s linear;
}

/* Smooth scrolling improvements */
.hero-content > * {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced easing for better feel */
.project-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-method {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Ensure sections always visible */
.skills-section,
.projects-section,
.contact-section {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Only hero elements should fade */
.hero [data-scroll-speed] {
    transition: transform 0.1s linear, opacity 0.3s ease;
}

/* ==========================================
   MODERN PROJECTS SHOWCASE STYLES
   ========================================== */

/* Projects Showcase Container */
.projects-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

/* Featured Project */
.project-showcase.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    transition: all 0.4s ease;
}

.project-showcase.featured:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
}

.project-showcase.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project-showcase.featured:hover::before {
    opacity: 1;
}

/* Standard Projects Grid */
.projects-grid-standard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-showcase.standard {
    background: rgba(19, 19, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.project-showcase.standard:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
}

.project-showcase.standard.award {
    border-color: rgba(255, 215, 0, 0.3);
}

.project-showcase.standard.award:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 20px 40px -12px rgba(255, 215, 0, 0.2);
}

/* Project Preview */
.project-preview {
    position: relative;
    overflow: hidden;
}

.preview-container {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.featured .preview-container {
    border-radius: 16px;
    overflow: hidden;
}

.standard .preview-container {
    border-radius: 0;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-showcase:hover .preview-image {
    transform: scale(1.05);
}

/* Code Preview for JavaMerge */
.code-preview {
    background: #0d1117;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.terminal-window {
    background: #161b22;
    border-radius: 12px;
    overflow: hidden;
    max-width: 350px;
    width: 100%;
    border: 1px solid #30363d;
}

.terminal-header {
    background: #21262d;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.terminal-title {
    color: #f0f6fc;
    font-size: 0.875rem;
    font-weight: 500;
}

.terminal-body {
    padding: 1rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

.terminal-line {
    color: #8b949e;
    margin-bottom: 0.5rem;
}

.terminal-line.success {
    color: #7c3aed;
}

/* API Preview Styles */
.api-preview {
    background: #0d1117;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.api-window {
    background: #161b22;
    border-radius: 12px;
    overflow: hidden;
    max-width: 380px;
    width: 100%;
    border: 1px solid #30363d;
}

.api-header {
    background: #21262d;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.api-controls {
    display: flex;
    gap: 0.5rem;
}

.api-title {
    color: #f0f6fc;
    font-size: 0.875rem;
    font-weight: 500;
}

.api-body {
    padding: 1rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
}

.api-endpoint {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(56, 139, 253, 0.1);
    border-radius: 6px;
    border-left: 3px solid #388bfd;
}

.api-endpoint .method {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    min-width: 45px;
    text-align: center;
}

.method.get {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.method.post {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.method.put {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.api-endpoint .path {
    color: #f0f6fc;
    font-weight: 500;
}

.api-response {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 6px;
    border-left: 3px solid #10b981;
}

.api-response .status-code {
    color: #10b981;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.api-response .jwt-token {
    color: #8b949e;
    font-size: 0.75rem;
    word-break: break-all;
}

/* Preview Overlay */
.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(99, 102, 241, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-showcase:hover .preview-overlay {
    opacity: 1;
}

/* Preview Actions */
.preview-actions {
    display: flex;
    gap: 1rem;
    align-self: flex-start;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn.primary {
    background: rgba(99, 102, 241, 0.9);
    color: white;
    border: 1px solid rgba(99, 102, 241, 0.5);
}

.action-btn.primary:hover {
    background: rgba(99, 102, 241, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.action-status {
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fbbf24;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Status Badges */
.project-status-badge {
    align-self: flex-end;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.project-status-badge.enterprise {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.project-status-badge.live {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.project-status-badge.api {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.project-status-badge.mobile {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.project-status-badge.award {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-status-badge.development {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.project-status-badge.tool {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.project-status-badge.ai {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Project Award Banner */
.project-award-banner {
    margin: 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 193, 7, 0.1) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.project-award-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.award-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.award-icon {
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.award-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.award-text strong {
    color: #ffd700;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.award-text span {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Project Details */
.project-details {
    padding: 2rem 0;
}

.project-details.compact {
    padding: 1.5rem;
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--gradient-2));
    border-radius: 12px;
    flex-shrink: 0;
}

.project-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* Project Logo Containers */
.project-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
    padding: 8px;
    transition: all 0.3s ease;
}

.project-logo-container:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

.project-logo-container.featured-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 10px;
}

.project-logo-container.java-logo {
    background: linear-gradient(135deg, rgba(247, 147, 30, 0.1), rgba(247, 147, 30, 0.05));
    border: 1px solid rgba(247, 147, 30, 0.2);
}

.project-logo-small {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

.project-logo-featured {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2);
}

.project-title-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.project-details.compact .project-title-section h3 {
    font-size: 1.25rem;
}

.project-category {
    font-size: 0.875rem;
    color: var(--accent-light);
    font-weight: 500;
}

.project-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.project-details.compact .project-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Project Highlights */
.project-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.highlight-item {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-light);
}

/* Technology Stack */
.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stack-item {
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.stack-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--accent-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .project-showcase.featured {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-grid-standard {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .projects-showcase {
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .project-showcase.featured {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .projects-grid-standard {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .preview-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .action-btn {
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .project-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .project-highlights {
        justify-content: center;
    }
    
    .project-stack {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .project-showcase.featured {
        padding: 1rem;
    }
    
    .project-details.compact {
        padding: 1rem;
    }
    
    .preview-overlay {
        padding: 1rem;
    }
    
    .terminal-window {
        max-width: 280px;
    }
    
    .terminal-body {
        padding: 0.75rem;
        font-size: 0.75rem;
    }
}