/* Reset and base styles */
* {
    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: #333;
    background-color: #f8f9fa;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 25px 0;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

header .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-top: 10px;
}

/* Profile Image */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    margin-bottom: 20px;
}

@media (width <= 768px) {
    .profile-image {
        width: 120px;
        height: 120px;
    }
}

@media (width <= 480px) {
    .profile-image {
        width: 100px;
        height: 100px;
    }
}

/* Main content */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Links */
a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.expertise-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.expertise-item h3 {
    color: #1e3a8a;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.expertise-item p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

/* Professional Links */
.professional-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.link-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: white;
}

@media (width <= 768px) {
    .professional-links {
        flex-direction: column;
        align-items: center;
    }
    
    .link-button {
        width: 200px;
        text-align: center;
    }
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

/* Responsive design */
@media (width <= 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    main {
        padding: 40px 20px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 1rem;
    }
}

@media (width <= 480px) {
    header {
        padding: 30px 0;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    main {
        padding: 30px 15px;
    }
}
