
body {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 22px;
    line-height: 1.8;
}


h1 {
    text-align: center;
    font-size: 64px;
    margin-top: 40px;
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    font-size: 44px;
    margin-top: 60px;
    margin-bottom: 30px;
}

h3 {
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 10px;
}

p {
    text-align: center;
    font-size: 28px;
    line-height: 1.7;
}

.intro {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-title {
    font-size: 80px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-logo {
    text-align: center;
    margin: 40px 0;
}

.page-logo img {
    width: 550px;
    height: auto;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.content p {
    font-size: 24px;
    text-align: left;
}

.research-grid {
    display: flex;
    justify-content: center;
    gap: 140px;
    margin: 60px 20px;
}

.research-note {
    text-align: center;
    font-size: 22px;
    margin-bottom: 30px;
    font-style: italic;
}

.research-item {
    width: 450px;
    text-align: center;
}

.research-item h3 {
    text-align: center;
    font-size: 42px;
    margin-top: 40px;
    margin-bottom: 15px;
}

.research-item img {
    width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.footer-icons img {
    width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-icons img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.25));
}

.explore-heading {    margin-top: 80px;}

/* PEOPLE PAGE */



.profile-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 100px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 40px;
}


.profile-text {
    max-width: 600px;
}


.profile-text h3 {
    font-size: 36px;
    text-align: left;
    margin-top: 0;
    margin-bottom: 20px;
}

.profile-text p {
    text-align: left;
    font-size: 24px;
}

.profile-photo img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #4f7f6f;
}



/* MOBILE */

@media (max-width: 1000px) {

    html,
    body {
        overflow-x: hidden;
    }

    .banner {
        height: 160px;
    }

    .page-title {
        font-size: 34px !important;
        line-height: 1.1;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .page-logo img {
        width: 180px !important;
        height: auto;
    }

    .content {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .content p {
        font-size: 18px;
        line-height: 1.5;
        text-align: left;
    }

    h2 {
        font-size: 26px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .research-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 20px 0;
    }

    .research-item {
        width: 95%;
        max-width: 300px;
    }

    .research-item img {
        width: 180px;
        height: auto;
    }

    .research-item h3 {
        font-size: 24px;
        margin-top: 20px;
    }


.glyco-research-grid {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 30px;
    margin: 20px 0;
}



    .glyco-research-grid .research-item {
        width: 95%;
        max-width: 300px;
    }

 
.glyco-research-grid .research-item img {
    width: 180px !important;
    height: auto !important;
}


    .glyco-research-grid .research-item h3 {
        font-size: 24px;
        margin-top: 20px;
    }


    
  .profile-section {
    flex-direction: column-reverse;
    align-items: center;
}

.profile-text {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.profile-text h3 {
    text-align: center;
}

.profile-text p {
    text-align: center;
}

.profile-photo img {
    width: 180px;
    height: 180px;
    object-fit: cover;
}
  .navbar {
        gap: 15px;
        padding: 12px;
    }

    .navbar a {
        font-size: 14px;
    }

.navbar {
    gap: 15px;
    padding: 12px;
}

.navbar a {
    font-size: 14px;
}


.footer-logos {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 0 !important;
}


.footer-logos img {
    height: 90px !important;
    width: auto;
}

.footer-text {
    font-size: 18px;
}

.contact-card {
    margin: 20px;
    padding: 25px;
}
.footer-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.footer-icons img {
    width: 70px;
    height: auto;
}


.banner-text {
    left: 20px;
    bottom: 15px;
}

.banner-text h1 {
    font-size: 38px;
}

.banner-text p {
    font-size: 14px;
}
}

    
/* NAVIGATION */

.navbar {
    background-color: #4f7f6f;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 15px 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.navbar a:hover {
    opacity: 0.7;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #4f7f6f;
    min-width: 280px;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    text-align: left;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.dropdown-content a:hover {
    background-color: rgba(255,255,255,0.15);
}

.dropdown:hover .dropdown-content {
    display: block;
}



/* FOOTER */


.site-footer {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
}

.site-footer hr {
    width: 80%;
    border: none;
    border-top: 1px solid #cccccc;
    margin-bottom: 30px;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;
    margin-bottom: 20px;
}

.footer-logos img {
    height: 200px;
    width: auto;
}

.footer-text {
    text-align: center;
    font-size: 20px;
    color: #666666;
}
/* CONTACT */


.contact-card {
    max-width: 700px;
    margin: 50px auto;
    padding: 40px;
    background-color: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
}

.contact-card h2 {
    margin-top: 40px;
    margin-bottom: 15px;
}

.contact-card p {
    text-align: center;
}

.contact-card a {
    color: #4f7f6f;
    text-decoration: none;
    font-weight: bold;
}

.contact-card a:hover {
    text-decoration: underline;
}
/* PUBLICATIONS */

.publication {
    max-width: 1000px;
    margin: 40px auto;
    padding-bottom: 30px;
    border-bottom: 1px solid #dddddd;
}

.publication p {
    text-align: left;
    font-size: 24px;
}

.pub-links {
    margin-top: 15px;
}

.pub-links img {
    height: 52px !important;
    width: auto;
    opacity: 0.8;
    margin-right: 12px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.pub-links img:hover {
    opacity: 1;
    transform: scale(1.1);
}
.pub-links a {    text-decoration: none;}



.publication-profiles {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    width: 100%;
}



.publication-profiles a {
    color: #4f7f6f;
    font-weight: bold;
    text-decoration: none;
}

.publication-profiles a:hover {
    text-decoration: underline;
}

.publication-profiles span {
    color: #4f7f6f;
  }


/* NEWS */

.news-item {
    max-width: 1000px;
    margin: 30px auto;
    padding-bottom: 20px;
    border-bottom: 1px solid #dddddd;
}

.news-item h2 {
    text-align: left;
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 10px;
}

.news-item p {
    text-align: left;
    font-size: 24px;
    margin-top: 0;
}


.publications-content h2 {
    font-size: 34px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.publications-content .publication p {
    font-size: 20px;
    line-height: 1.5;
}



/* BANNER */

.banner-container {
    position: relative;
}


.banner {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center 60%;
    display: block;
}


.banner-text {
    position: absolute;

    left: 20px;
    bottom: 35px;

    text-align: left;
}

.banner-text h1 {
    margin: 0;
    padding: 0;
    text-align: left;

    color: white;
    font-size: 72px;
    font-weight: 900;
    text-align: left;
    line-height: 1;
}

.banner-text p {
    margin: 0;
    padding: 0;
    text-align: left;

    margin-top: 2px;

    color: white;
    font-size: 22px;
    text-align: left;
}

/* GLYCO RESEARCH GRID */



.glyco-research-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 60px 20px;
    flex-wrap: wrap;
}



.glyco-research-grid .research-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glyco-research-grid .research-item img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    display: block;
}

.glyco-research-grid .research-item h3 {
    font-size: 36px;
    margin-top: 25px;
    margin-bottom: 20px;
    min-height: 90px;
}

.glyco-research-grid .research-item p {
    text-align: center;
}


