body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

html {
    scroll-padding-top: 100px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

header h1 {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    letter-spacing: 0.5px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

main {
    max-width: 1200px;
    margin: 90px auto 2rem auto;
    padding: 2rem;
}

section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-content {
    display: flex;
    flex-direction: column;
}

.profile-section {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
}

.profile-text {
    flex: 1;
    min-width: 300px;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.social-link.linkedin {
    background: linear-gradient(45deg, #0077b5, #0099cc);
}

.social-link.github {
    background: linear-gradient(45deg, #333, #555);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.skill-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-weight: 600;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border-left: 4px solid rgba(255, 255, 255, 0.5);
}

h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

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

.project-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.project-header h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.project-description {
    color: #555;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.project-story {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.read-more-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-style: normal;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.tech-stack {
    margin-bottom: 1.5rem;
}

.tech-tag {
    display: inline-block;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0.2rem 0.3rem 0.2rem 0;
}

.project-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-link {
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    font-size: 0.9rem;
    text-align: center;
}

.github-link {
    background: linear-gradient(45deg, #333, #555);
}

.demo-link {
    background: linear-gradient(45deg, #28a745, #34ce57);
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.other-works-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.work-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    border-left: 4px solid;
    border-image: linear-gradient(45deg, #667eea, #764ba2) 1;
    transition: all 0.3s ease;
}

.work-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.work-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.work-details h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.work-details p {
    color: #555;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.work-links {
    display: flex;
    gap: 0.75rem;
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.work-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

footer {
    text-align: center;
    padding: 2rem 0;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image img {
        width: 150px;
        height: 150px;
    }
    
    main {
        padding: 1rem;
        margin-top: 80px;
    }
    
    section {
        padding: 1.5rem;
    }
    
    nav ul {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    nav a {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    #projects-grid {
        grid-template-columns: 1fr;
    }
    
    .work-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .work-icon {
        align-self: center;
    }

    .work-details h3 {
        color: #2c3e50;
        font-size: 1.3rem;
        font-weight: 600;
        margin: 0 0 0.5rem 0;
        text-align: left;
    }

    .work-details p {
        color: #555;
        margin: 0 0 1rem 0;
        line-height: 1.5;
        text-align: left;
    }
}