/* Reset and base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f8f9fa;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main container */
.profile-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Typography */
h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
}

h3 {
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495e;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.25rem;
}

/* Content sections */
.text-content {
    flex: 1;
    min-width: 0;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #3498db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
}

li:last-child {
    border-bottom: none;
}

/* Links */
a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

a:hover, a:focus {
    color: #2980b9;
    text-decoration: underline;
}

/* Email styling */
a[href^="mailto:"] {
    background: #3498db;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    margin: 1rem 0;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

a[href^="mailto:"]:hover {
    background: #2980b9;
    text-decoration: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        padding: 15px;
        min-height: 100vh;
    }
    
    .profile-container {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
        align-items: center;
        max-width: 500px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
        align-self: center;
        order: -1;
    }
    
    h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    h3 {
        text-align: left;
        font-size: 1.1rem;
    }
    
    .text-content {
        text-align: left;
    }
    
    ul {
        text-align: left;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
        min-height: 100vh;
    }
    
    .profile-container {
        padding: 1rem;
        border-radius: 8px;
        align-items: center;
        max-width: 400px;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1rem;
    }
    
    a[href^="mailto:"] {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}
