@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500;700&display=swap');

:root {
    --primary-color: rgb(25, 95, 49); /* Deep Forest Green */
    --secondary-color: #56ad99; /* Muted Teal */
    --background-color: #f4f7f6; /* Very Light Gray-Green */
    --text-color: #34495e; /* Wet Asphalt */
    --light-text-color: #7f8c8d; /* Gray */
    --border-color: #e0e6e3; /* Light Greenish Silver */
    --header-font: 'Montserrat', sans-serif;
    --body-font: 'Lora', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
}

/* --- BIRD BACKGROUND --- */
.bird-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bird {
    position: absolute;
    width: 70px; /* Slightly smaller birds */
    height: 70px;
    opacity: 0.15;
    will-change: transform;
    top: 0;
    left: 0;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(2px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

/* --- HEADER --- */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.header h1 {
    font-family: var(--header-font);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 25px;
    font-family: var(--header-font);
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-info .location {
    color: var(--text-color);
}

.contact-info span {
    color: var(--light-text-color);
}

.download-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    font-family: var(--header-font);
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

/* --- SECTION STYLING --- */
.section {
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--header-font);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    padding-bottom: 12px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--secondary-color);
}


/* --- EDUCATION & EXPERIENCE ENTRIES --- */
.entry {
    margin-bottom: 25px;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.entry-title {
    font-family: var(--header-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.entry-info {
    font-family: var(--header-font);
    font-size: 1rem;
    color: var(--light-text-color);
    font-weight: 500;
    text-align: right;
}

.entry-subtitle {
    font-style: italic;
    color: var(--light-text-color);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* --- LISTS --- */
.item-list {
    list-style: none;
    padding-left: 20px;
}

.item-list li {
    position: relative;
    margin-bottom: 8px;
}

.item-list li::before {
    content: '›';
    position: absolute;
    left: -20px;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2em;
}

/* --- PUBLICATIONS --- */
.publication {
    margin-bottom: 15px;
}
.publication strong {
    color: var(--primary-color);
}

/* --- SKILLS --- */
.skills-list {
    list-style: none;
    padding: 0;
}

.skills-list li {
    margin-bottom: 15px;
}

.skills-list strong {
    font-family: var(--header-font);
    display: block;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 2px;
}

/* --- AWARDS --- */
.award {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 5px;
    border-left: 3px solid var(--border-color);
    padding-left: 15px;
    transition: border-color 0.3s ease;
}

.award:hover {
    border-left: 3px solid var(--secondary-color);
}

.award-name {
    color: var(--text-color);
    flex-basis: 70%;
}

.award-year {
    font-family: var(--header-font);
    font-size: 0.95rem;
    color: var(--light-text-color);
    font-weight: 500;
    flex-basis: 25%;
    text-align: right;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    .container {
        margin: 20px;
        padding: 25px;
    }

    .header h1 {
        font-size: 2.5rem;
    }

    .entry-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .entry-info {
        text-align: left;
        margin-top: 5px;
    }

    .award {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }
    .award-name, .award-year {
        flex-basis: 100%;
        text-align: left;
    }
}

