:root {
    --primary: #00338D; /* Lions Blue */
    --accent: #F2A900; /* Lions Gold/Yellow */
    --bg-color: #f4f7f6;
    --card-bg: #ffffff;
    --text-main: #2b2b2b;
    --text-muted: #666666;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #001f5c 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 5px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 51, 141, 0.2);
}

.profile-icon {
    width: 120px;
    height: 120px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(242, 169, 0, 0.4);
    border: 4px solid white;
}

img.profile-icon {
    object-fit: cover;
    padding: 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.contact-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-pill i {
    margin-right: 8px;
    color: var(--accent);
}

/* Main Content */
main {
    margin-top: -30px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.card h2 i {
    color: var(--accent);
}

/* Grid Layout */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.info-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.info-group p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.full-width {
    grid-column: 1 / -1;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tags span {
    background: #f0f4fc;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid #dbe4f5;
}

.tags span:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.work-tags span {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: var(--text-main);
}

.work-tags span:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: white;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item h3 {
    font-size: 1.3rem;
    color: var(--text-main);
}

.timeline-item .institution {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Lists */
.org-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.org-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: var(--transition);
}

.org-list li:hover {
    background: #f0f4fc;
    transform: translateX(5px);
}

.org-list li i {
    color: var(--accent);
    font-size: 1.5rem;
    width: 35px;
    text-align: center;
}

.org-list li strong {
    display: block;
    color: var(--text-main);
    font-size: 1.1rem;
}

.org-list li p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
}

/* Gallery */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.image-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 51, 141, 0.9), transparent);
    padding: 30px 20px 20px;
    color: white;
}

.image-overlay h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .card {
        padding: 25px;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
}
