@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-dark: #4b5b5f;
    --light-bg: #dfd8cf;
    --accent-grey: #a4aca7;
    --depth-1: #6c7c84;
    --depth-2: #738484;
    --warm-accent: #e6d9c9;
    --divider-grey: #a4a4a4;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

#hero {
        padding-top: 10rem !important;
    }

/* Navigation Styles */

.glass-navbar {
    background: #4b5b5f !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 0.5rem 0.5rem;
    box-shadow: 0 8px 32px rgba(75, 91, 95, 0.1);
    transition: all 0.3s ease;
}

.glass-navbar:hover {
    background: #4b5b5f !important;
    box-shadow: 0 12px 40px rgba(75, 91, 95, 0.15);
}

.nav-link {
    position: relative;
    color: #ded7ce !important;
    text-decoration: none;
    font-weight: 500;
    padding: 0rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ded7ce;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: #ded7ce !important;
    background: #4b5b5f !important;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

/* Mobile Menu */
.mobile-menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background: rgba(223, 216, 207, 0.95);
    backdrop-filter: blur(20px);
    transition: right 0.3s ease;
    padding: 2rem;
    z-index: 40;
}

.mobile-menu-content.active {
    right: 0;
}

.mobile-nav-links {
    margin-top: 4rem;
}

.mobile-nav-link {
    display: block;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(75, 91, 95, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--depth-1);
    padding-left: 1rem;
}

/* Hero Section */
#hero {
    position: relative;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--warm-accent) 100%);
}

.dna-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(164, 172, 167, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(108, 124, 132, 0.1) 0%, transparent 50%);
    animation: dnaFloat 25s ease-in-out infinite;
}

@keyframes dnaFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.8;
    }
}

.research-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
    min-width: 150px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(75, 91, 95, 0.08);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(75, 91, 95, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--depth-2);
    font-weight: 500;
}

/* Research Tabs */
.research-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1rem 2rem;
    color: var(--primary-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(75, 91, 95, 0.08);
}

.tab-btn:hover,
.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-dark), var(--depth-1));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 91, 95, 0.3);
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.research-area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(75, 91, 95, 0.1);
}

.area-visual {
    position: relative;
}

.research-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-dark), var(--depth-1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(75, 91, 95, 0.3);
    z-index: 10;
}

.area-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(75, 91, 95, 0.2);
}

.area-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.area-description {
    color: var(--depth-2);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.research-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    color: var(--depth-2);
    font-weight: 500;
}

.highlight i {
    color: var(--primary-dark);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.progress-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-label {
    min-width: 100px;
    color: var(--depth-2);
    font-weight: 500;
    font-size: 0.9rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(75, 91, 95, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-dark), var(--depth-1));
    border-radius: 4px;
    transition: width 1s ease;
}

.progress-value {
    min-width: 80px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Publications Section */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.publication-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(75, 91, 95, 0.08);
}

.publication-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(75, 91, 95, 0.15);
}

.publication-type {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-dark), var(--depth-1));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.publication-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.publication-authors {
    color: var(--depth-1);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.publication-journal {
    color: var(--depth-2);
    font-style: italic;
    margin-bottom: 1rem;
}

.publication-abstract {
    color: var(--depth-2);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.publication-metrics {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(75, 91, 95, 0.1);
}

.metric {
    display: flex;
    align-items: center;
    color: var(--depth-2);
    font-size: 0.9rem;
}

.metric i {
    margin-right: 0.5rem;
    color: var(--primary-dark);
}

/* Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(75, 91, 95, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(75, 91, 95, 0.15);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--depth-1));
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(75, 91, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 91, 95, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(75, 91, 95, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 91, 95, 0.2);
}

/* Footer */
.footer-link {
    color: var(--accent-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--accent-grey);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--accent-grey);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .glass-navbar {
        padding: 0.75rem 1rem;
        margin: 0 1rem;
    }
    
    #hero h1 {
        font-size: 3rem !important;
        line-height: 1.1;
    }
    
    #hero p {
        font-size: 1.1rem !important;
        padding: 0 1rem;
    }
    
    .research-stats {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tab-buttons {
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .research-area-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .area-image {
        height: 200px;
    }
    
    .publications-grid {
        grid-template-columns: 1fr;
    }
    
    .publication-card {
        padding: 1.5rem;
    }
    
    .glass-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2.5rem !important;
    }
    
    #hero p {
        font-size: 1rem !important;
    }
    
    .glass-navbar {
        margin: 0 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    .research-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .research-area-content {
        padding: 1.5rem;
    }
    
    .area-title {
        font-size: 1.5rem;
    }
    
    .progress-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .progress-label {
        min-width: auto;
    }
    
    .progress-bar {
        width: 100%;
    }
    
    .publication-metrics {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling enhancement */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--depth-1);
}

.mobile-menu-btn i {
    color: #ded7ce !important;
}