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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    min-height: 100vh;
}

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

/* Header styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    text-align: center;
    margin-bottom: 20px;
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.contact-info, .social-links {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-info a, .social-links a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover, .social-links a:hover {
    color: #764ba2;
}

/* Navigation styles */
.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-list a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Main content styles */
main {
    background: white;
    margin: 40px auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

main h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 10px;
}

main h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

section {
    margin-bottom: 50px;
    padding: 0 20px;
    animation: fadeInUp 0.6s ease;
}

section:first-child {
    padding-top: 40px;
}

section:last-child {
    padding-bottom: 40px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section p {
    font-size: 1.1rem;
    margin-left: 0;
    margin-top: 15px;
    text-align: justify;
    line-height: 1.8;
}

section ul {
    margin-left: 0;
    margin-top: 20px;
}

section li {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
}

/* Skills section enhancements */
#skills h3 {
    font-size: 1.3rem;
    color: #667eea;
    margin: 25px 0 15px 0;
    padding: 10px 0;
    border-bottom: 2px solid #e6e8ff;
}

#skills ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

#skills li {
    background: linear-gradient(135deg, #f8f9ff 0%, #e6e8ff 100%);
    border-left: 4px solid #667eea;
    font-weight: 500;
}

/* Projects section enhancements */
#projects h3 {
    font-size: 1.5rem;
    color: #667eea;
    margin: 20px 0 15px 0;
}

#projects a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

#projects a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 40px 0;
    background: white;
    margin: 40px auto 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

footer h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

footer a {
    text-decoration: none;
    color: #667eea;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #764ba2;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    .nav-list {
        gap: 15px;
    }
    
    .nav-list a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    main h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 0 15px;
    }
    
    #skills ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 15px;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .nav-list {
        gap: 10px;
    }
    
    .nav-list a {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
