@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    /* background-color: #12151c; */
    background:#0a0e18;
    color: beige;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    height: 100dvh;
    margin: 0;
    overflow: hidden;
}

.research-container {
    max-width: 900px;
    margin: 100px auto;
    padding: 20px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 50px;
    /* You can add the .linear-wipe class here too if you want the title to shine! */
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 75px;
}

.research-card {
    box-sizing: border-box;
    background: rgb(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 15px;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: min(500px, 100vw);
}

.research-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.research-name {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.research-description {
    font-size: 0.95rem;
    color: rgba(245, 245, 220, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.github-link {
    display: inline-block;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: beige;
    text-decoration: none;
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.3s ease;
}

.github-link:hover {
    background: rgb(255, 255, 255, 0.03);
    /* border-color: #3F8FD8; */
    color: white;
}

footer {
    margin-top: auto;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: auto;
}

footer a {
    color: #F5F5DC;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

footer a:hover {
    border-bottom: 1px solid #F5F5DC;
}

.navbar {
    position: fixed;
    z-index: 1;
    box-sizing: border-box;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    background: rgba(10, 14, 24, 0.8); /* Semi-transparent to match background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px); /* Adds a premium frosted glass effect */
    margin-bottom: -50px;
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 5vw, 2rem);
}

.nav-links a {
    color: #F5F5DC;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}