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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-logo h2 {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

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

.btn-primary {
    background-color: #ff6b6b;
    color: white;
}

.btn-primary:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: white;
    color: #667eea;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 300px;
}

.hero-visual div {
    font-size: 4rem;
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.brain-icon {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.muscle-icon {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.neuron-icon {
    top: 40%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Research Overview */
.research-overview {
    padding: 80px 0;
    background-color: white;
}

.research-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.research-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.research-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.research-card p {
    color: #666;
    line-height: 1.6;
}

/* Lab Info */
.lab-info {
    padding: 50px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    margin-bottom: 90px;
}

.lab-info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.lab-info h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.location-item i {
    font-size: 1.2rem;
    width: 20px;
}

.social-links h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-rat-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.social-rat-title {
    color: white;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.rat-social-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 260px;
    height: 260px;
}

.rat-social-img {
    width: 260px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.rat-social-link {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.rat-social-x {
    left: 38px;
    top: 102px;
}

.rat-social-bsky {
    right: 38px;
    top: 102px;
}

.rat-social-icon {
    width: 48px;
    height: 48px;
    font-size: 48px;
    color: #fff;
    background: #1da1f2;
    border-radius: 50%;
    padding: 8px;
    box-sizing: content-box;
}

.rat-social-x .rat-social-icon {
    background: #000;
    color: #fff;
    border-radius: 50%;
    padding: 8px;
}

.rat-social-link:hover {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #667eea;
    text-align: center;
}

.pi-info h4 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.title {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: #667eea;
    width: 20px;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #23374d 0%, #314e6b 100%);
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 2rem 0 0 0;
    width: 100%;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.footer-divider {
    width: 90%;
    max-width: 500px;
    border: none;
    border-top: 1.5px solid rgba(255,255,255,0.25);
    margin: 2rem auto 1.5rem auto;
}

.copyright {
    color: #bfc9d1;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-contact .contact-item {
    justify-content: center;
    width: 100%;
    color: #fff;
}

/* Related Links Section */
.related-links {
    padding: 80px 0;
    background-color: #f8f9fa;
    margin-top: -100px;
}

.related-links h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.link-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #667eea;
    background-color: #f8f9ff;
}

.link-card::after {
    content: '→';
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #667eea;
    opacity: 0;
    transition: all 0.3s ease;
}

.link-card:hover::after {
    opacity: 1;
    transform: translateX(-5px);
}

.link-card i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.link-card:hover i {
    transform: scale(1.1);
}

.link-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.link-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

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

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

    .hero-text h1 {
        font-size: 2rem;
    }

    .lab-info-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 200px;
    }

    .hero-visual div {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }

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

.lab-social {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 70px 0 90px 0;
    width: 100%;
    text-align: center;
}

.lab-social-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 70px; /* change this when rat chagnes size  to adjust pink area*/
}

.lab-social-title {
    color: #fff;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 3.8rem;
    margin-top: -40px;
}

.lab-social-rat-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 360px;
    height: 260px;
    margin: 0 auto;
}


.lab-social-rat {
    width: 360px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.lab-social-link {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.lab-social-x {
    left: 75px;
    top: 50px;
}

.lab-social-bsky {
    right: 50px;
    top: 40px;
}

.lab-social-icon {
    width: 30px;
    height: 30px;
    font-size: 48px;
    color: #fff;
    /* background: #1da1f2; */
    border-radius: 50%;
    padding: 8px;
    box-sizing: content-box;
}
.lab-social-bsky .lab-social-icon{
    width: 45px;
    height: 45px;
}

.lab-social-x .lab-social-icon {
    background: #000;
    color: #fff;
}

.lab-social-link:hover {
    transform: scale(1.1);
} 

/* Contact Form Section */
.contact-form-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-form-section p {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.contact-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
    .contact-form-section h2 {
        font-size: 1.8rem;
    }
    
    .contact-form-section {
        padding: 30px 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
} 