/* Color palette from https://colorhunt.co/palette/1a2a803b38a07a85c1b2b0e8 */
:root {
    --primary-dark: #3B38A0;
    --primary-blue: #7A85C1;
    --accent-blue: #B2B0E8;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #5a5a5a;
    --shadow: rgba(44, 62, 80, 0.1);
}

* {
    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: var(--text-dark);
    background-color: var(--light-bg);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    
}

.hero-content {
    text-align: left;
    max-width: 550px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bio {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

section {
    margin-bottom: 80px;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.course-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--primary-blue);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.course-card h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.course-card p {
    color: var(--text-light);
    font-size: 1rem;
}

.skills-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.skill-category {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow);
    flex: 1;
    min-width: 300px;
}

.skill-category h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: center;
}

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

.skill-tag {
    background: var(--accent-blue);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary-blue);
}

.experience-container {
    display: grid;
    gap: 40px;
    margin-top: 40px;
}

.experience-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow);
    border-left: 5px solid var(--primary-blue);
    margin-bottom: 30px;
}

.experience-header {
    margin-bottom: 25px;
}

.experience-card h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.experience-company {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 5px;
}

.experience-date {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
}

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

.experience-details li {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.experience-details li::before {
    content: '▸';
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.projects-container {
    display: grid;
    gap: 40px;
    margin-top: 40px;
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow);
    border-left: 5px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow);
}

.project-link-indicator {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-link-indicator {
    opacity: 1;
}

.project-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.project-tech {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.project-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.highlight {
    background: var(--light-bg);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--accent-blue);
}

footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
    margin-top: 80px;
}

.footer-content p {
    margin-bottom: 10px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .skills-container {
        flex-direction: column;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    main {
        padding: 40px 15px;
    }
}