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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-alt: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo img {
    width: 5%;
    height: 5%;
    position: center;
    padding:0px;
    margin: 0px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    padding: 80px 20px;
    /* background: linear-gradient(135deg, hsl(229, 100%, 18%) 65%, hsl(358, 99%, 35%) 95%); */
    /* background: linear-gradient(90deg, hsl(229, 100%, 18%) 50%, hsl(0, 2%, 10%) 60%); */
    background: linear-gradient(135deg, hsl(358, 99%, 35%) 0%, hsl(229, 100%, 18%) 25%);


    color: white;
}

/* .hero {
    margin-top: 70px;
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
} */

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* .hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    justify-self: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    display: block;
} */

.profile-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    z-index: 0;
}

/* Sections */
.section {
    padding: 80px 20px;
}

.section-alt {
    padding: 80px 20px;
    background-color: var(--bg-alt);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* About Section */
.about-content {
    max-width: 100%;
    margin: 0 auto;
}

#about .container {
    max-width: 1200px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.skills {
    margin-top: 2rem;
}

.skills h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.research-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.research-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.research-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.research-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Publications Section */
.publications-list {
    max-width: 960px;
    margin: 0 auto;
}

.publication-category-title {
    font-size: 2rem;
    font-weight: 650;
    color: var(--text-color);
    margin: 3rem 0 1.5rem 0;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.publication-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.publication-category-title:first-of-type {
    margin-top: 0;
}

.publication-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.publication-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.publication-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 50px;
}

.publication-year {
    font-size: 1.0rem;
    font-weight: 600;
    color: var(--green-color);
    min-width: 50px;
}

.publication-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--text-color);
}

.publication-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.publication-content h3 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.publication-authors {
    color: var(--text-light);
    margin-bottom: 0.3rem;
    font-style: italic;
}

.publication-venue {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.publication-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.publication-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.publication-link:hover {
    color: var(--secondary-color);
}

/* Education Section */
.education-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.education-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 2rem;
}

.education-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.education-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 150px;
}

.education-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.education-institution {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.education-content p {
    color: var(--text-light);
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    padding: 1.5rem;
    border-radius: 12px;
    background-color: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    min-width: 120px;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.social-link i {
    font-size: 2rem;
    color: var(--primary-color);
}

.social-link span {
    font-weight: 500;
}

/* Links Section */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.link-category {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.link-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.link-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.link-category h3 i {
    color: var(--primary-color);
}

.links-list {
    list-style: none;
    padding: 0;
}

.links-list li {
    margin-bottom: 0.8rem;
}

.links-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.links-list a:hover {
    color: var(--primary-color);
}

.links-list a::before {
    content: '→';
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Software Section */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.6rem;
    margin-top: 1.6rem;
}

.software-card {
    background-color: white;
    padding: 1.6rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.software-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.software-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.software-card h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    text-align: center;
}

.software-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    font-style: italic;
    font-weight: 500;
}

.software-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.software-features {
    margin-bottom: 1.5rem;
}

.software-features h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.software-features ul {
    list-style: none;
    padding: 0;
}

.software-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.software-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.software-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: auto;
}

.software-links .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.software-info {
    max-width: 900px;
    margin: 0 auto;
}

/* Software Links Section */
.software-links-section {
    max-width: 1000px;
    margin: 0 auto;
}

.software-category {
    margin-bottom: 3rem;
}

.software-category-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.software-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.software-list-item {
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    line-height: 1.8;
    height: 100%;
}

.software-list-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.software-link {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.software-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.software-list-item span.software-link {
    color: var(--text-color);
    cursor: default;
}

.software-list-item span.software-link:hover {
    color: var(--text-color);
    text-decoration: none;
}

.software-list-item-highlight {
    padding: 1.5rem;
}

.software-link-title {
    display: block;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.software-list-item-highlight .software-description {
    text-align: left;
    margin-left: 0;
    display: block;
}

.software-list-3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.software-list-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .software-list-3col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .software-list-3col {
        grid-template-columns: 1fr;
    }
    .software-list-2col {
        grid-template-columns: 1fr;
    }
}

.software-description {
    color: var(--text-light);
    margin-left: 0.3rem;
}

/* Active nav link */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 2rem 20px;
    text-align: center;
}

.footer-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .profile-placeholder {
        width: 200px;
        height: 200px;
        font-size: 80px;
    }

    .section-title {
        font-size: 2rem;
    }

    .publication-item {
        flex-direction: column;
        gap: 1rem;
    }

    .education-item {
        flex-direction: column;
        gap: 1rem;
        padding-left: 1rem;
    }

    .education-timeline {
        padding-left: 1rem;
    }

    .education-year {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        min-width: 100px;
        padding: 1rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .software-grid {
        grid-template-columns: 1fr;
    }
}

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

/* Selection Color */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* =====================================================
   TEAM PAGE
   ===================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.member-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.member-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 1rem;
}

.member-avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1rem;
    border: 3px solid var(--border-color);
}

.member-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.member-role {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.member-direction {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.member-links {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.member-link {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    padding: 3px 8px;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.member-link:hover {
    background: var(--primary-color);
    color: white;
}

.team-section-label {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 1rem 0 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.6rem;
}

.team-section-label i {
    color: var(--primary-color);
}

/* Join / Openings */
.openings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.opening-card {
    background: white;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.opening-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.opening-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.opening-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* =====================================================
   PROJECTS PAGE
   ===================================================== */
.project-filter {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-card-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
}

.project-logo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    flex-shrink: 0;
}

.project-title-group {
    flex: 1;
}

.project-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.project-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-beta {
    background: #fef3c7;
    color: #92400e;
}

.status-research {
    background: #ede9fe;
    color: #5b21b6;
}

.project-card-body {
    padding: 1rem 1.5rem;
    flex: 1;
}

.project-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0.7rem;
}

.project-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.project-tag {
    font-size: 0.75rem;
    background: var(--bg-alt);
    color: var(--text-light);
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.project-card-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
}

.project-link-btn {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
    background: var(--bg-alt);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.project-link-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* =====================================================
   NEWS PAGE
   ===================================================== */
.news-filter {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.news-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
}

.news-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.news-item {
    position: relative;
    margin-bottom: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.2rem 1.5rem;
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.news-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 1.2rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.news-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.badge-award   { background: #fef9c3; color: #854d0e; }
.badge-paper   { background: #dbeafe; color: #1e40af; }
.badge-release { background: #d1fae5; color: #065f46; }
.badge-event   { background: #fce7f3; color: #9d174d; }
.badge-talk    { background: #ede9fe; color: #5b21b6; }
.badge-news    { background: #f3f4f6; color: #374151; }

.news-date {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.news-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-title a:hover { color: var(--primary-color); }

.news-body {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.news-year-divider {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem;
    padding-left: 0.5rem;
    position: relative;
}

/* =====================================================
   RESOURCES PAGE
   ===================================================== */
.resource-category {
    margin-bottom: 3.5rem;
}

.resource-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    /* display: flex; */
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.6rem;
}

.resource-category-title i { color: var(--primary-color); }

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.4rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.resource-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.resource-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.resource-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.resource-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.resource-link {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    text-decoration: none;
    background: var(--bg-alt);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
}

.resource-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* =====================================================
   HOME PAGE – team hero + stats
   ===================================================== */
.hero-team-logo {
    display: flex;
    width: 100%;
    max-width: 600px;
    align-self: stretch;
    justify-self: center;
}

.hero-team-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    border: none;
    box-shadow: none;
    display: block;
}


.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 600px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    justify-self: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    display: block;
}



.stats-bar {
    background: white;
    padding: 2rem 20px;
    box-shadow: var(--shadow);
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

/* home news compact list */
.news-compact-list {
    max-width: 860px;
    margin: 0 auto;
}

.news-compact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
}

.news-compact-item:last-child { border-bottom: none; }

.news-compact-date {
    font-size: 0.8rem;
    color: var(--text-light);
    min-width: 80px;
    flex-shrink: 0;
    padding-top: 3px;
}

.news-compact-text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

.news-compact-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.news-compact-text a:hover { text-decoration: underline; }

/* open-source platform strip */
.platforms-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    background: white;
    border-radius: 14px;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-color);
    min-width: 140px;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.platform-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.platform-card span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* =====================================================
   RESPONSIVE additions
   ===================================================== */
@media (max-width: 768px) {
    .team-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .projects-grid { grid-template-columns: 1fr; }
    .news-timeline { padding-left: 2rem; }
    .news-item::before { left: -1.8rem; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .hero-team-logo {
        width: 100%;
        max-width: 560px;
    }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .openings-grid { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .news-compact-item { flex-direction: column; gap: 0.3rem; }
}

