/* --- Color Palette Variables --- */
:root {
    --bg-color: #ffffff;
    --primary-dark: #2c3e50;
    --primary-light: #f8f9fa;
    --text-dark: #333742;
    --text-light: #f8f9fa;
    --accent-color: #3498db;
    --secondary-accent: #e74c3c;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.05);
}

/* Basic Reset and Font Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-size: 16px;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 2rem;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    margin-top: 8px;
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-accent);
}

/* --- HEADER AND NAVIGATION --- */
header {
    padding: 40px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    text-align: center;
    margin-bottom: 30px;
}

.subtitle {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.affiliation {
    color: var(--text-dark);
    opacity: 0.8;
    font-size: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    position: relative;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

nav a:hover::after,
nav a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
/* --- Profile Section --- */
.profile-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.profile-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.profile-image img {
    width:  300px !important;    /* Force larger size */
    height: 300px !important;   /* Force larger size */
    max-width: none !important; /* Override any max-width constraints */
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
}

.profile-image .social-links {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.profile-image .social-links a {
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
    padding: 12px;
    border-radius: 50%;
    background: var(--primary-light);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px var(--shadow-color);
    border: 2px solid transparent;
}

.profile-image .social-links a:hover {
    color: var(--secondary-accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
    border-color: var(--accent-color);
    background: var(--bg-color);
}

.profile-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.contact-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.contact-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    color: var(--accent-color);
    font-size: 1.4rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--secondary-accent);
    transform: translateY(-2px);
}

/* --- Media Features Section --- */
.media-features {
    margin-bottom: 60px;
}

.media-feature {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.media-feature:last-child {
    border-bottom: none;
}

.media-feature img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 3px 10px var(--shadow-color);
    margin: 15px 0;
}

.media-feature h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.media-feature p {
    line-height: 1.7;
    margin-bottom: 15px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    color: var(--text-dark);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .profile-section {
        grid-template-columns: 1fr;
        align-items: start;
    }
    
    .profile-image {
        margin: 0 auto 30px;
        gap: 15px;
    }
    
    .profile-image img {
        width: 300px;
        height: 300px;
    }
    
    .profile-image .social-links a {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
        padding: 10px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 30px;
    }
}

@media (max-width: 480px) {
    .profile-image img {
        width: 240px;
        height: 240px;
    }
    
    .profile-image .social-links {
        gap: 12px;
    }
    
    .profile-image .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        padding: 8px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    header {
        padding: 30px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .profile-section {
        gap: 20px;
    }
}