/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #001e3c;
    --secondary-color: #ffffff;
    --accent-gray: #666666;
    --accent-blue: #007bff;
    --text-color: #333333;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    background: rgba(0, 30, 60, 0.95);
    padding: 1rem 0;
    z-index: 1000;
}

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

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

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-blue);
}

/* Hamburger Menu */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    position: absolute;
    transition: var(--transition);
}

.mobile-menu span:first-child {
    top: 0;
}

.mobile-menu span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu span:last-child {
    bottom: 0;
}

/* Hamburger Menu Animation */
.mobile-menu.active span:first-child {
    transform: rotate(45deg);
    top: 11px;
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:last-child {
    transform: rotate(-45deg);
    bottom: 11px;
}

/* Hero Section */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 30, 60, 0.8), rgba(0, 30, 60, 0.8)),
                url('https://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/City_Lights_2012_-_Flat_map_crop.jpg/1280px-City_Lights_2012_-_Flat_map_crop.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    width: 100%;
}

.hero h2 {
    font-size: 1.2rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    width: 100%;
}

.hero p {
    margin: 0 auto;
    max-width: 600px;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    padding-left: 20px;
}

/* Lemurs Sky Section */
.lemurs-sky {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 4rem 0;
}

.lemurs-sky-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lemurs-sky-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lemurs-sky-text {
    flex: 2;
}

.lemurs-sky-text h2 {
    color: var(--text-color);
}

.logo-text {
    font-size: 3.5rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.yellow {
    color: #FFD700;
}

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

.discover-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.discover-btn i {
    transition: transform 0.3s ease;
}

.discover-btn:hover i {
    transform: translateX(5px);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

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

/* Contact Section */
.contact {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.contact h2 {
    color: var(--secondary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    text-align: left;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.email-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--accent-blue);
}

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

.social-links a {
    color: var(--secondary-color);
    font-size: 2rem;
    transition: var(--transition);
    display: inline-block;
}

.social-links a:hover {
    color: var(--accent-blue);
    transform: translateY(-3px);
}

/* Add specific styling for icons if needed */
.social-links i {
    display: block;
}

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

.publication-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.publication-year {
    font-weight: 600;
    color: var(--accent-blue);
    min-width: 80px;
}

.publication-content {
    flex: 1;
}

.publication-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.publication-content p {
    margin-bottom: 0.5rem;
    color: var(--accent-gray);
}

.publication-link {
    display: inline-block;
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

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

.training-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.training-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.training-card p {
    margin-bottom: 1.5rem;
    color: var(--accent-gray);
}

.course-details {
    list-style: none;
    margin-bottom: 1.5rem;
}

.course-details li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.course-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.course-link:hover {
    background-color: var(--accent-blue);
}

/* Outreach Section */
.outreach-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.outreach-list {
    list-style: none;
}

.outreach-item {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: var(--transition);
}

.outreach-item:hover {
    background-color: #f8f9fa;
}

.outreach-item.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.outreach-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.outreach-item p {
    color: inherit;
    opacity: 0.9;
}

.outreach-image {
    position: sticky;
    top: 100px;
}

.outreach-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 30, 60, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

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

    .hero h2 {
        font-size: 1rem;
    }
    .about-content {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 0;
    }

    h2 {
        font-size: 1.8rem;
    }

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

    .contact-info {
        text-align: center;
    }

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

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

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

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

    .outreach-content {
        grid-template-columns: 1fr;
    }
    
    .outreach-image {
        position: static;
    }
    
    .outreach-image img {
        height: 300px;
    }
    .lemurs-sky-content {
        flex-direction: column;
        text-align: center;
    }
    
    .lemurs-sky-image {
        margin-bottom: 2rem;
    }

    .logo-text {
        font-size: 2.5rem;
    }

}
/* Additional responsive adjustments */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }

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

}

/* Update the logo styling */
.logo {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.5rem;
}  