/* 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: 900px;
    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 {
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    text-align: center;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 12px;
}

.tagline {
    font-size: 1rem;
    color: #718096;
    font-weight: 400;
    max-width: 500px;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-item i {
    color: #667eea;
    font-size: 1.1rem;
    width: 20px;
}

.contact-item span {
    color: #4a5568;
    font-weight: 500;
}

/* Section Styles */
.section {
    margin-bottom: 40px;
    padding: 0 10px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* About Section */
.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    text-align: justify;
}

/* Experience Section */
.experience-item {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    flex: 1;
    min-width: 200px;
}

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

.period {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.job-description {
    list-style: none;
    padding-left: 0;
}

.job-description li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: #4a5568;
}

.job-description li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

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

.skill-category {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.skill-category h4 {
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

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

.skill-category li {
    padding: 6px 0;
    color: #4a5568;
    position: relative;
    padding-left: 20px;
}

.skill-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Education Section */
.education-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.degree {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    flex: 1;
    min-width: 250px;
}

.school {
    color: #667eea;
    font-weight: 500;
}

.year {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Certifications Section */
.certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
}

.cert-item:hover {
    transform: translateY(-2px);
}

.cert-item i {
    color: #667eea;
    font-size: 1.2rem;
}

.cert-item span {
    color: #4a5568;
    font-weight: 500;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 2px solid #f0f0f0;
    color: #718096;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
        border-radius: 15px;
    }

    .header {
        padding: 30px 0;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .name {
        font-size: 2rem;
    }

    .title {
        font-size: 1.1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .job-title {
        min-width: auto;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .education-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .degree {
        min-width: auto;
    }

    .certifications {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 0 5px;
    }

    .about-text {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 5px;
        padding: 10px;
    }

    .name {
        font-size: 1.8rem;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .contact-section {
        padding: 20px;
    }

    .experience-item {
        padding: 20px;
    }

    .skill-category {
        padding: 15px;
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
} 