/* 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: #1a1a1a;
    background-color: #ffffff;
    font-size: 16px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
.header {
    padding: 40px 0 20px;
    position: relative;
}

.back-arrow {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s ease;
}

.back-arrow:hover {
    color: #1a1a1a;
}

.name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 0 auto;
}

/* Main content */
.main-content {
    flex: 1;
    padding: 40px 0;
}

/* Profile section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.profile-image {
    position: relative;
}

.headshot {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8fafc;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.headshot:hover {
    transform: scale(1.05);
}

.achievements {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.achievement-icon {
    font-size: 20px;
    color: #f59e0b;
}

.achievement-text h3 {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 2px;
}

.achievement-text p {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Content divider */
.content-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 40px 0;
}

/* Bio section */
.bio-section {
    margin-bottom: 40px;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Role section */
.role-section {
    margin-bottom: 40px;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.current-role {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0;
}

/* Skills section */
.skills-section {
    margin-bottom: 40px;
}

.skills-grid {
    margin-top: 20px;
}

.skill-item {
    display: block;
    padding: 8px 0;
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.3s ease;
}

.skill-item:last-child {
    border-bottom: none;
}

.skill-item:hover {
    color: #1a1a1a;
}

.skill-item i {
    display: none;
}

.skill-item span {
    font-weight: 400;
}

/* Contact section */
.contact-section {
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #374151;
    transform: translateY(-2px);
}

.contact-link.linkedin {
    background: #0077b5;
}

.contact-link.linkedin:hover {
    background: #005885;
}

.contact-link i {
    font-size: 18px;
}

/* Philosophy section */
.philosophy-section {
    margin-bottom: 40px;
    text-align: center;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #374151;
    border-left: 4px solid #3b82f6;
    padding-left: 20px;
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
}

/* Footer */
.footer {
    padding: 30px 0;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .bio-text {
        font-size: 1rem;
    }
    
    .current-role {
        font-size: 1.3rem;
    }
    

    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .achievements {
        flex-direction: column;
        align-items: center;
    }
    
    .quote {
        font-size: 1.1rem;
        padding-left: 15px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px 0;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .headshot {
        width: 150px;
        height: 150px;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .content-divider {
        margin: 30px 0;
    }
    
    .bio-section,
    .role-section,
    .skills-section,
    .contact-section,
    .philosophy-section {
        margin-bottom: 30px;
    }
}

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

/* Focus styles for accessibility */
.back-arrow:focus,
.contact-link:focus,
.skill-item:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

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

.main-content > * {
    animation: fadeInUp 0.6s ease-out;
}

.main-content > *:nth-child(1) { animation-delay: 0.1s; }
.main-content > *:nth-child(2) { animation-delay: 0.2s; }
.main-content > *:nth-child(3) { animation-delay: 0.3s; }
.main-content > *:nth-child(4) { animation-delay: 0.4s; }
.main-content > *:nth-child(5) { animation-delay: 0.5s; }
.main-content > *:nth-child(6) { animation-delay: 0.6s; }
.main-content > *:nth-child(7) { animation-delay: 0.7s; }
.main-content > *:nth-child(8) { animation-delay: 0.8s; }
