* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.profile h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.profile h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 0.9;
    font-weight: 400;
}

.profile p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.contact {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

main {
    padding: 60px 0;
}

section {
    margin-bottom: 60px;
}

h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
}

.about p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #667eea;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 5px 0;
    color: #666;
}

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

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 25px;
}

.project-info h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.project-info p {
    color: #666;
    margin-bottom: 15px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-stack span {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.project-info a {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.project-info a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.experience-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.experience-item h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.company {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 15px;
}

.experience-item ul {
    list-style: none;
    padding-left: 0;
}

.experience-item li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.experience-item li:before {
    content: "▸";
    color: #667eea;
    position: absolute;
    left: 0;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
}

@media (max-width: 768px) {
    .profile h1 {
        font-size: 2.5rem;
    }
    
    .contact {
        flex-direction: column;
        align-items: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    h3 {
        font-size: 2rem;
    }
}