/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: #ffffff;
    font-weight: 300;
}

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

/* Header and Navigation - Ultra Minimalist */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
    padding: 2rem 0;
}

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

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    transition: opacity 0.2s ease;
}

.nav-logo a:hover h1 {
    opacity: 0.7;
}

.logo-bold {
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 300;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: #1a1a1a;
}

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

.hamburger span {
    width: 20px;
    height: 1px;
    background: #1a1a1a;
    margin: 4px 0;
    transition: 0.2s ease;
}

/* Hero Section - Minimalist */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 140px 40px 80px;
    background: #ffffff;
    color: #1a1a1a;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 200;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: clamp(-1px, -0.3vw, -2px);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: #1a1a1a;
    text-decoration: none;
    border: 1px solid #1a1a1a;
    font-weight: 300;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #1a1a1a;
    color: #ffffff;
}


/* Section Headers - Minimalist */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 200;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* About Section - Minimalist */
.about {
    padding: 60px 0;
    background: #ffffff;
}

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

.about-text {
    background: transparent;
    padding: 0;
}

.about-text h3 {
    font-size: 1.3rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
    letter-spacing: -0.3px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 300;
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.about-text li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    font-weight: 300;
}

.pi-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1.5rem 0;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.research-areas {
    margin-top: 2rem;
}

.research-area {
    margin-bottom: 1.5rem;
}

.research-area h4 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
    color: #1a1a1a;
}

.research-area p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 300;
    margin-left: 0;
}

/* Team Section - Minimalist */
.team {
    padding: 60px 0;
    background: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    justify-items: center;
}

.team-member {
    background: #ffffff;
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 33, 71, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 33, 71, 0.1);
    max-width: 400px;
    width: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 33, 71, 0.15);
}

.member-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #002147;
}

.member-role {
    color: #0056a3;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.member-bio {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.member-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-contact a {
    color: #666;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    background: rgba(0, 86, 163, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-contact a:hover {
    color: #0056a3;
    background: rgba(0, 86, 163, 0.2);
    transform: translateY(-2px);
}

/* Funding Section - Minimalist */
.funding {
    padding: 60px 0;
    background: #ffffff;
}

.funding-content {
    display: flex;
    justify-content: center;
}

.funding-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 33, 71, 0.1);
    border: 1px solid rgba(0, 33, 71, 0.1);
}

.funding-logo {
    flex-shrink: 0;
}

.logo-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #0056a3, #002147);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 15px 40px rgba(0, 86, 163, 0.3);
}

.funding-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #002147;
}

.funding-info p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.funding-link {
    color: #0056a3;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.funding-link:hover {
    color: #002147;
    border-bottom-color: #ffdd00;
}

/* Collaborators Section - Minimalist */
.collaborators {
    padding: 60px 0;
    background: #ffffff;
}

.collaborators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    justify-items: center;
}

.collaborator {
    background: #ffffff;
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 33, 71, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 33, 71, 0.1);
    max-width: 450px;
    width: 100%;
}

.collaborator:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 33, 71, 0.15);
}

.collaborator-photo {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3.5rem;
    color: white;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.collaborator h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #002147;
}

.collaborator-role {
    color: #0056a3;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.collaborator-affiliation {
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.collaborator-bio {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.collaborator-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.collaborator-contact a {
    color: #666;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    background: rgba(0, 86, 163, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collaborator-contact a:hover {
    color: #0056a3;
    background: rgba(0, 86, 163, 0.2);
    transform: translateY(-2px);
}

/* Work with Us Section - Minimalist */
.workwithus {
    padding: 60px 0;
    background: #ffffff;
}

.workwithus-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.workwithus-text {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 33, 71, 0.1);
    border: 1px solid rgba(0, 33, 71, 0.1);
}

.workwithus-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #002147;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.workwithus-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, #ffdd00, #ffa500);
    border-radius: 2px;
}

.workwithus-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.workwithus-text li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
}

.workwithus-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: #0056a3;
    font-weight: bold;
    font-size: 1.2rem;
}

.workwithus-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Team Section - Minimalist */
.team {
    padding: 60px 0;
    background: #ffffff;
    color: #1a1a1a;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.team-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem 0.8rem;
    text-align: center;
}

.team-member {
    flex: 0 1 280px;
    min-width: 220px;
    max-width: 280px;
    padding: 1rem 0.6rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.team-member h3 {
    font-size: 0.85rem;
    font-weight: 400;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.4rem;
}

.team-member h4 {
    font-size: 1.2rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.team-member h4 a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.2s ease;
}

.team-member h4 a:hover {
    border-bottom-color: #1a1a1a;
}

.team-member p {
    font-size: 0.85rem;
    font-weight: 300;
    color: #777;
    line-height: 1.4;
    max-width: 100%;
    margin: 0;
}

/* Funding Section - Minimalist */
.funding {
    padding: 40px 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.funding-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.nihr-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.microsoft-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.funding-text {
    font-size: 1rem;
    font-weight: 300;
    color: #666;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Contact Section - Minimalist */
.contact {
    padding: 60px 0;
    background: #ffffff;
    color: #1a1a1a;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact .section-header h2 {
    color: #1a1a1a;
}

.contact .section-header p {
    color: #666;
}

.contact-simple {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-simple p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
}

.contact-simple p:first-of-type {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact-simple p:last-of-type {
    font-size: 1.2rem;
    color: #1a1a1a;
    font-weight: 400;
    margin-bottom: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-item i {
    font-size: 1.8rem;
    color: #ffdd00;
    margin-top: 0.3rem;
    background: rgba(255, 221, 0, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(5px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffdd00;
    background: rgba(255, 255, 255, 0.15);
}

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #ffdd00, #ffa500);
    color: #002147;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 221, 0, 0.4);
    background: linear-gradient(135deg, #ffa500, #ffdd00);
}

/* Footer - Minimalist */
.footer {
    background: #ffffff;
    color: #1a1a1a;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    margin: 0;
}

.footer-logo p {
    color: #666;
    font-weight: 300;
    font-size: 0.9rem;
    margin: 0;
}

.footer-url {
    color: #555 !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px;
    margin-top: 0.5rem !important;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.footer-links a:hover {
    color: #1a1a1a;
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.footer-bottom p {
    color: #999;
    font-size: 0.8rem;
    font-weight: 300;
}

/* Responsive Design */
/* Tablet Styles */
@media (max-width: 900px) and (min-width: 769px) {
    .team-content {
        gap: 1rem 0.8rem;
        max-width: 600px;
    }

    .team-member {
        flex: 0 1 250px;
        min-width: 200px;
        max-width: 250px;
        padding: 0.9rem 0.7rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        padding: 0 20px;
    }

    .hero {
        padding: 120px 20px 60px;
        min-height: calc(100vh - 80px);
    }

    .hero-content {
        max-width: 100%;
    }

    .section-header {
        padding-top: 1rem;
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .about-content {
        padding: 0 20px;
    }


    .about-content,
    .workwithus-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .research-areas {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .funding-item {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .collaborators-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        justify-content: center;
    }


    .nav-logo h1 {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    .nav-logo {
        flex: 1;
    }

    .team-content {
        gap: 1rem;
        padding: 0 20px;
        max-width: 400px;
    }

    .team-member {
        flex: 0 1 100%;
        min-width: 280px;
        max-width: 100%;
        padding: 0.8rem 0.6rem;
        margin: 0;
    }

    .team-member h4 {
        font-size: 1.1rem;
    }

    .team-member p {
        font-size: 0.8rem;
    }

    .funding-content {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 20px;
    }

    .nihr-logo {
        height: 35px;
    }

    .funding-text {
        font-size: 0.9rem;
        text-align: center;
    }

    .hamburger {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 15px 40px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .about-content {
        padding: 0 15px;
    }

    .about-text,
    .workwithus-text,
    .contact-form {
        padding: 1.5rem;
    }

    .team-member,
    .collaborator {
        padding: 1.5rem;
    }

    .funding-item {
        padding: 1.5rem;
    }

    .footer-content {
        padding: 0 15px;
    }

    .footer-bottom {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu - Minimalist */
.mobile-menu {
    display: none;
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-menu {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
}

.mobile-menu .nav-link {
    padding: 0;
    font-size: 1rem;
    font-weight: 300;
    color: #666;
}