/* ==========================================================================
   Optimized Portfolio Styles - Aditya Awhad
   - Reduced redundancy
   - Optimized animations (transform & opacity only for GPU acceleration)
   - Accessibility support (prefers-reduced-motion)
   - Mobile-first optimizations
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d9ff;
    --primary-dark: #0099cc;
    --secondary: #ff006e;
    --background: #0a0e27;
    --surface: #1a1f3a;
    --surface-light: #252d47;
    --text-primary: #ffffff;
    --text-secondary: #b0b8d4;
    --accent: #00d9ff;
    --success: #00ff88;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--background) 0%, #0f1535 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    will-change: transform;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(10, 14, 39, 0.5), rgba(10, 14, 39, 0.5)), 
                url("images/adityabackdrop.webp") center / cover no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
    padding-left: 10%;
    margin-top: -90px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    will-change: transform;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--background);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 217, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.scroll-arrow {
    width: 2px;
    height: 20px;
    background: var(--primary);
    border-radius: 1px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: 100px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 217, 255, 0.05) 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight {
    background: rgba(26, 31, 58, 0.5);
    border-left: 3px solid var(--primary);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.highlight:hover {
    background: rgba(26, 31, 58, 0.8);
    transform: translateX(10px);
}

.highlight h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.highlight p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.highlight p.small {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(255, 0, 110, 0.05) 100%);
    border: 1px solid rgba(0, 217, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Leadership Section */
.leadership {
    padding: 100px 20px;
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.05) 0%, transparent 100%);
}

.leadership-content {
    max-width: 900px;
    margin: 0 auto;
}

.leadership-card {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.leadership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.leadership-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 217, 255, 0.2);
}

.leadership-card:hover::before {
    left: 100%;
}

.leadership-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 217, 255, 0.15);
}

.leadership-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.leadership-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.organization {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.tenure {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.leadership-achievements {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.leadership-achievements li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.achievement-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.leadership-achievements p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.leadership-achievements strong {
    color: var(--primary);
    font-weight: 600;
}

/* Download CV Section - Strategic placement for maximum visibility */
.download-cv-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(255, 0, 110, 0.05) 0%, rgba(0, 217, 255, 0.05) 100%);
    position: relative;
}

.download-cv-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.download-cv-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(26, 31, 58, 0.8);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 217, 255, 0.15);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.download-cv-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.download-cv-wrapper:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 16px 48px rgba(0, 217, 255, 0.25);
}

.download-cv-wrapper:hover::before {
    opacity: 0.1;
}

.download-cv-content {
    max-width: 600px;
}

.download-cv-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-cv-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.btn-download-cv {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--background);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.4), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    will-change: transform;
}

.btn-download-cv::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-download-cv:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 217, 255, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-download-cv:hover::before {
    left: 100%;
}

.btn-download-cv:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 217, 255, 0.4);
}

.download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-download-cv:hover .download-icon {
    animation: downloadBounce 0.6s ease infinite;
}

.download-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

@keyframes downloadBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .leadership-card {
        padding: 1.5rem;
    }
    
    .leadership-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .leadership-icon {
        font-size: 2.5rem;
    }
    
    .leadership-info h3 {
        font-size: 1.25rem;
    }
    
    .leadership-achievements li {
        gap: 0.75rem;
    }
    
    .achievement-icon {
        font-size: 1.25rem;
    }
    
    .download-cv-wrapper {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .download-cv-title {
        font-size: 1.5rem;
    }
    
    .download-cv-description {
        font-size: 1rem;
    }
    
    .btn-download-cv {
        padding: 14px 32px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .download-cv-section {
        padding: 60px 15px;
    }
    
    .download-cv-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .download-cv-title {
        font-size: 1.25rem;
    }
    
    .download-cv-description {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects {
    padding: 100px 20px;
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.05) 0%, transparent 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 217, 255, 0.2);
}

.project-card:hover::before {
    left: 100%;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.project-link {
    margin-left: auto;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.project-link:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.project-icon {
    font-size: 2.5rem;
}

.project-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-highlights {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.highlight-tag {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.tech-badge:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--primary);
}

.project-details {
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    padding-top: 1.5rem;
}

.project-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.project-details strong {
    color: var(--primary);
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills {
    padding: 100px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 0, 110, 0.05) 100%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.skill-category:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.15);
}

.skill-category h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.skill-bar {
    height: 6px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 3px;
    transform-origin: left;
    will-change: transform;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    padding: 100px 20px;
    background: linear-gradient(180deg, rgba(255, 0, 110, 0.05) 0%, transparent 100%);
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.contact-text {
    text-align: center;
    max-width: 600px;
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
}

.contact-card {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.2);
}

.contact-icon {
    font-size: 2rem;
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid rgba(0, 217, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    will-change: transform;
}

.social-link:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: rgba(10, 14, 39, 0.8);
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    padding: 2rem 20px;
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-credit {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ==========================================================================
   Animations - GPU Accelerated (transform & opacity only)
   ========================================================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes fillBar {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes scrollBackground {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

/* ==========================================================================
   Accessibility - Respect user preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Responsive Design - Mobile Optimizations
   ========================================================================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
    background: linear-gradient(rgba(10, 14, 39, 0.5), rgba(10, 14, 39, 0.5)), 
                url("images/adityabackdrop.webp") center / cover no-repeat;
    animation: scrollBackground 30s linear infinite;
    background-attachment: scroll; /* Remove fixed background on mobile */
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text {
        padding-left: 0;
        margin-top: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }
}