@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --primary-beige: #F5F5DC;
    --dark-beige: #E8E5D7;
    --accent-brown: #8B7355;
    --text-dark: #4A4A4A;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --nav-height: 70px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: var(--nav-height);
    background: rgba(245, 245, 220, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-logo {
    flex: 0 0 auto;
}

.nav-logo img {
    height: 35px;
    width: auto;
    transition: var(--transition);
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-main {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
}

.nav-right {
    flex: 0 0 auto;
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-brown);
    background-color: rgba(139, 115, 85, 0.1);
    transform: translateY(-1px);
}

.publicationtitle {
    margin-top: var(--nav-height);
    padding: 4rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--primary-beige), var(--white));
}

.publicationtitle h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    animation: fadeInDown 0.8s ease;
}

.Research_Showcard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 4rem 2rem;
    background: var(--white);
}

.neo, .remittance {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.neo:hover, .remittance:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.Research_Showcard img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.Research_Showcard img:hover {
    transform: scale(1.05);
}

.Research_Showcard h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.Research_Showcard p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.Research_Showcard a {
    color: var(--accent-brown);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.Research_Showcard a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

.quote {
    background: var(--dark-beige);
    padding: 4rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.quoteeeuta h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    line-height: 1.6;
    position: relative;
    padding: 2rem;
}

.quoteeeuta h3:before,
.quoteeeuta h3:after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-brown);
    opacity: 0.2;
    position: absolute;
}

.quoteeeuta h3:before {
    top: -1rem;
    left: 0;
}

.quoteeeuta h3:after {
    bottom: -2rem;
    right: 0;
}

.semi-footer {
    background: var(--accent-brown);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.semi-footer ul {
    display: flex;
    justify-content: center;
    gap: 3rem;
    list-style: none;
    margin-bottom: 2rem;
}

.semi-footer a {
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.semi-footer a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.BYE {
    padding: 1.5rem;
    background: var(--accent-brown);
    color: var(--white);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 1024px) {
    :root {
        --nav-height: 60px;
    }
    
    .Research_Showcard {
        gap: 2rem;
        padding: 3rem 1.5rem;
    }
    
    .neo, .remittance {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }
    
    .mobile-menu-button {
        display: block;
    }

    .nav-main, .nav-right {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(245, 245, 220, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        z-index: 1000;
    }
    
    .nav-main.active, .nav-right.active {
        display: flex;
        animation: slideIn 0.3s ease forwards;
    }
    
    .publicationtitle h1 {
        font-size: 2rem;
    }
    
    .Research_Showcard {
        grid-template-columns: 1fr;
    }
    
    .semi-footer ul {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .publicationtitle {
        padding: 3rem 1rem 1.5rem;
    }
    
    .publicationtitle h1 {
        font-size: 1.8rem;
    }
    
    .Research_Showcard {
        padding: 2rem 1rem;
    }
    
    .quote {
        padding: 2rem 1rem;
    }
    
    .quoteeeuta h3 {
        font-size: 1.5rem;
        padding: 1rem;
    }
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}