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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.header-content {
    display: grid;
    grid-template-columns: auto 2fr 1fr;
    gap: 30px;
    align-items: center;
}

.profile-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.profile-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-info h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.9;
}

.location {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.location i {
    margin-right: 8px;
}

.summary {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.contact-item:hover {
    opacity: 1;
    transform: translateX(5px);
}

.contact-item i {
    width: 20px;
    color: #ffd700;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Section Styles */
section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid #667eea;
}

section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

section h3 i {
    color: #667eea;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.skill-category h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #34495e;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Experience Section */
.company {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.company h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.duration {
    color: #667eea;
    font-weight: 500;
    font-size: 1rem;
}

.project {
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #667eea;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.project-header h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.project-duration {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.role {
    font-size: 1.1rem;
    font-weight: 500;
    color: #667eea;
    margin-bottom: 10px;
}

.technologies {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.achievements h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

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

.achievements li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.achievements li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Personal Section */
.personal-info p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-size: 0.9rem;
    border-top: 1px solid #e9ecef;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
        border-radius: 15px;
    }
    
    .header {
        padding: 25px;
    }
    
    .header-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-image {
        order: -1;
        margin-bottom: 10px;
    }
    
    .profile-pic {
        width: 120px;
        height: 120px;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .profile-info h2 {
        font-size: 1.1rem;
    }
    
    section {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project {
        padding: 20px;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-info {
        order: -1;
    }
}

@media (max-width: 480px) {
    .profile-info h1 {
        font-size: 1.8rem;
    }
    
    .header {
        padding: 20px;
    }
    
    section {
        padding: 15px;
    }
    
    .project {
        padding: 15px;
    }
    
    .skill-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

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

section {
    animation: fadeInUp 0.6s ease-out;
}

.project {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.project:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}
