body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #444;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

header {
    background: #fff;
    color: #333;
    padding-top: 20px;
    min-height: 80px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    float: left;
    margin-top: 10px;
    font-weight: 700;
}

header nav {
    float: right;
    margin-top: 15px;
}

header li {
    float: left;
    display: inline;
    padding: 0 20px 0 20px;
}

header a {
    color: #555;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    transition: color 0.3s ease;
}

header a:hover {
    color: #b31217;
}

section {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

section#about {
    background: #fff;
    padding: 60px 0;
}

h2 {
    color: #333;
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 700;
}

h3 {
    font-weight: 700;
    display: flex;
    align-items: center;
}

.uni-logo {
    height: 40px;
    margin-right: 15px;
}

a {
    color: #b31217;
    text-decoration: none;
}

ul, ol {
    padding: 0;
}

ul {
    list-style: none;
}

.patents-list, .publications-list, .teaching-list {
    list-style-position: inside;
    padding-left: 20px;
}

.education-list {
    list-style: none;
}

.education-list ul {
    list-style: disc inside;
    padding-left: 20px;
    margin-top: 10px;
}

.stanford-color {
    color: #8C1515;
}

.rochester-color {
    color: #003b71;
}

.cufe-color {
    color: #005A9C;
}

li {
    margin-bottom: 15px;
}

.button {
    display: inline-block;
    background: #b31217;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background 0.3s ease;
    margin-bottom: 20px;
}

.button:hover {
    background: #c00;
}

.social-links a {
    font-size: 2em;
    margin-right: 15px;
    color: #555;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #b31217;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    /* Header mobile styles */
    header {
        padding-top: 10px;
        min-height: auto;
    }

    header h1 {
        float: none;
        text-align: center;
        margin: 10px 0;
        font-size: 1.8em;
    }

    header nav {
        float: none;
        text-align: center;
        margin: 10px 0;
    }

    header ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
        margin: 0;
    }

    header li {
        float: none;
        padding: 8px 12px;
        margin: 2px;
    }

    header a {
        font-size: 14px;
    }

    /* Typography mobile adjustments */
    h2 {
        font-size: 1.6em;
        margin-bottom: 15px;
        text-align: center;
    }

    h3 {
        font-size: 1.2em;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    /* Section padding adjustments */
    section {
        padding: 25px 0;
    }

    section#about {
        padding: 40px 0;
        text-align: center;
    }

    /* Button mobile styles */
    .button {
        display: block;
        text-align: center;
        margin: 20px auto;
        width: fit-content;
    }

    /* Lists mobile adjustments */
    .patents-list, .publications-list, .teaching-list {
        padding-left: 15px;
        font-size: 0.95em;
        line-height: 1.6;
    }

    .education-list ul {
        padding-left: 15px;
        font-size: 0.95em;
    }

    /* Social links mobile */
    .social-links {
        text-align: center;
        margin: 20px 0;
    }

    .social-links a {
        font-size: 1.8em;
        margin: 0 20px;
    }

    /* Footer mobile */
    footer {
        padding: 30px 0;
        font-size: 0.9em;
    }
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        width: 90%;
    }

    header li {
        padding: 0 15px;
    }

    header a {
        font-size: 15px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        width: 98%;
        padding: 0 5px;
    }

    header h1 {
        font-size: 1.5em;
    }

    header a {
        font-size: 12px;
    }

    header li {
        padding: 6px 8px;
    }

    h2 {
        font-size: 1.4em;
    }

    h3 {
        font-size: 1.1em;
    }

    .patents-list, .publications-list, .teaching-list {
        font-size: 0.9em;
        padding-left: 10px;
    }

    .social-links a {
        font-size: 1.6em;
        margin: 0 15px;
    }
}
