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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    height: 100px;
}

.nav-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-shortcuts {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8b5cf6;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #8b5cf6;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.logo-container {
    animation: fadeInUp 1s ease-out;
}

.logo-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.logo-image {
    width: 600px;
    height: 600px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
    max-width: 90vw;
    max-height: 50vh;
}

.logo-image:hover {
    transform: scale(1.05);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-top: -8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: #8b5cf6;
    animation: bounce 2s infinite;
    cursor: pointer;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Gallery Section */
.gallery {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    padding: 2rem 0;
    position: relative;
}

.gallery-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 1rem;
    padding: 0 2rem;
    will-change: transform;
    width: max-content;
}

.gallery-item {
    flex: 0 0 auto;
    height: 400px;
    width: auto;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    line-height: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

@media (max-width: 768px) {
    .gallery-item {
        height: 200px;
        width: 300px;
        flex-shrink: 0;
    }
    
    .gallery-track {
        animation: infiniteScrollMobile 40s linear infinite !important;
    }
    
    @keyframes infiniteScrollMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 180px;
        width: 250px;
        flex-shrink: 0;
    }
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Important Links Section */
.important-links {
    padding: 6rem 0;
    background: #0f0f0f;
}

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

@media (max-width: 768px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .link-card {
        padding: 1.5rem 1rem;
    }
    
    .link-card i {
        font-size: 2rem;
    }
    
    .link-card span {
        font-size: 1rem;
    }
}

.link-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.link-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.link-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #8b5cf6;
}

.link-card span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: #0f0f0f;
}

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

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .project-card {
        padding: 1.5rem 1rem;
    }
    
    .project-card h3 {
        font-size: 1.2rem;
    }
    
    .project-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .project-card {
        padding: 1rem 0.8rem;
    }
    
    .project-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .project-icon i {
        font-size: 1.2rem;
    }
}

.project-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
    color: inherit;
    text-decoration: none;
}

.project-card.placeholder {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

.project-card.placeholder:hover {
    transform: none;
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: none;
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.project-card p {
    color: #9ca3af;
    margin-bottom: 0;
    line-height: 1.6;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.project-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Events Section */
.events {
    padding: 6rem 0;
    background: #0a0a0a;
}

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

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .event-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .event-card {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .event-date {
        min-width: 60px;
        padding: 0.8rem;
    }
    
    .event-date .day {
        font-size: 1.5rem;
    }
    
    .event-title {
        font-size: 1.2rem;
    }
}

.event-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

/* Clickable event cards */
.clickable-event {
    cursor: pointer;
    position: relative;
}

.clickable-event:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.7);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.15);
}

.clickable-event:active {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
}

/* Click hint styling */
.event-click-hint {
    margin-top: 1rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: #8b5cf6;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clickable-event:hover .event-click-hint {
    opacity: 1;
    transform: translateY(-2px);
}

.event-click-hint i {
    font-size: 0.9rem;
    color: #8b5cf6;
}

.event-date {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    min-width: 80px;
    height: fit-content;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.event-content {
    flex: 1;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.event-description {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.event-details {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.event-details i {
    color: #8b5cf6;
}

/* Events Loading and Error States */
.events-loading,
.events-error {
    text-align: center;
    padding: 3rem 0;
    color: #9ca3af;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(139, 92, 246, 0.2);
    border-top: 4px solid #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.events-error {
    color: #ef4444;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #0f0f0f;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.icon-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.icon-item:hover {
    transform: translateY(-10px);
}

.icon-item i {
    font-size: 3rem;
    color: #8b5cf6;
    margin-bottom: 1rem;
    display: block;
}

.icon-item span {
    font-weight: 600;
    color: #e5e7eb;
}

/* Lab Button */
.about-cta {
    margin-top: 3rem;
    text-align: center;
}

.lab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.lab-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.lab-btn i {
    font-size: 1.2rem;
}

/* Membership Section */
.membership {
    padding: 6rem 0;
    background: #0a0a0a;
}

.membership-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.membership-intro h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
}

.membership-intro p {
    font-size: 1.2rem;
    color: #e5e7eb;
    margin-bottom: 4rem;
    line-height: 1.8;
}

.membership-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.membership-type {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: left;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.membership-type:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.membership-header h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.membership-access {
    color: #8b5cf6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.membership-why h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

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

.membership-why li {
    color: #e5e7eb;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.membership-why li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.membership-btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.membership-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.general-btn {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
}

/* Executives Section */
.executives {
    padding: 6rem 0;
    background: #0a0a0a;
}

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

.exec-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.exec-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.exec-avatar-link {
    text-decoration: none;
    transition: transform 0.3s ease;
    display: block;
}

.exec-avatar-link:hover {
    transform: scale(1.1);
}

.exec-avatar {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 4rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    overflow: hidden;
}

.exec-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Fallback for missing images */
.exec-avatar:has(.exec-photo[src=""]),
.exec-avatar:has(.exec-photo:not([src])) {
    font-size: 4rem;
}

.exec-avatar:has(.exec-photo[src=""]):before,
.exec-avatar:has(.exec-photo:not([src])):before {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.exec-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.exec-position {
    color: #8b5cf6;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #0f0f0f;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8b5cf6;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #8b5cf6;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    color: #6b7280;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .nav-container {
        height: 70px;
        padding: 0 1.5rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .nav-shortcuts {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    }
    
    .nav-shortcuts.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 1.2rem;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 70px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-top: -4rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .logo-image {
        width: 300px;
        height: 300px;
    }
    
    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .about-icons {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .membership-leadership-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .membership-section,
    .leadership-section {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .exec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-top: -2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .logo-image {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .exec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .exec-card {
        padding: 1rem;
    }
    
    .exec-avatar {
        width: 100px;
        height: 100px;
    }
    
    .project-card,
    .event-card,
    .link-card {
        padding: 1.5rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .icon-item {
        flex: 1;
        min-width: 120px;
    }
    
    .icon-item i {
        font-size: 2rem;
    }
    

}

/* iPhone specific optimizations */
@media (max-width: 390px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .logo-image {
        width: 200px;
        height: 200px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .link-card {
        padding: 1rem 0.8rem;
    }
    
    .about-icons {
        gap: 1rem;
    }
    
    .icon-item i {
        font-size: 1.8rem;
    }
    
    .membership-leadership-grid {
        gap: 1rem;
    }
    
    .membership-section,
    .leadership-section {
        padding: 1.2rem;
    }
    
    .about-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Initiative Detail Pages */
.initiative-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.initiative-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.initiative-hero-content {
    position: relative;
    z-index: 2;
}

.initiative-icon-large {
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.initiative-title-large {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.initiative-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

.initiative-details {
    padding: 80px 0;
    background: #0a0a0a;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.details-main h2 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.details-main h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.details-main p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.project-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.project-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: #667eea;
    transform: translateY(-2px);
}

.project-item h4 {
    color: #667eea;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.project-item p {
    color: #cccccc;
    margin: 0;
}

.research-areas {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
}

.research-areas li {
    color: #cccccc;
    padding: 0.5rem 0;
    border-left: 3px solid #667eea;
    padding-left: 1rem;
    transition: all 0.3s ease;
}

.research-areas li:hover {
    color: #ffffff;
    border-left-color: #764ba2;
}

.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: #667eea;
}

.sidebar-card h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.sidebar-card p {
    color: #cccccc;
    margin-bottom: 1rem;
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-card li {
    color: #cccccc;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    padding-left: 1.5rem;
}

.sidebar-card li:before {
    content: '▸';
    color: #667eea;
    position: absolute;
    left: 0;
}

.sidebar-card li:last-child {
    border-bottom: none;
}

.sidebar-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Responsive Design for Initiative Pages */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .initiative-title-large {
        font-size: 2rem;
    }
    
    .initiative-icon-large {
        font-size: 3rem;
    }
    
    .details-main h2 {
        font-size: 2rem;
    }
    
    .research-areas {
        grid-template-columns: 1fr;
    }
}

/* Project Page Styles */
.project-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.project-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.project-icon-large {
    font-size: 4rem;
    color: #42d692;
    margin-bottom: 1rem;
}

.project-title-large {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.project-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    font-weight: 300;
}

.project-content {
    padding: 80px 0;
    background: #0a0a0a;
}

.project-layout {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-main {
    color: white;
}

.project-main h2 {
    font-size: 2rem;
    color: #42d692;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.project-main h3 {
    font-size: 1.5rem;
    color: #42d692;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.project-main p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(66, 214, 146, 0.1);
    border-radius: 8px;
    border-left: 4px solid #42d692;
}

.requirement-item i {
    color: #42d692;
    font-size: 1.2rem;
}

.requirement-item span {
    color: #e0e0e0;
    font-size: 1rem;
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 280px;
}

.project-images {
    margin-bottom: 2rem;
}

.project-images h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.project-media-item {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-height: 300px;
}

.project-media-item:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.1);
}

.project-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 200px;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    display: block;
    object-fit: contain;
}

.project-video {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 200px;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    display: block;
    position: relative;
    object-fit: contain;
}

.video-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-height: 200px;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-play-overlay:hover {
    background: rgba(139, 92, 246, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-overlay::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.project-media-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #9ca3af;
    font-weight: 500;
}

.media-link {
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.media-link:hover {
    color: #a78bfa;
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    max-width: 90%;
    max-height: 90%;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(139, 92, 246, 0.8);
    transform: scale(1.1);
}

#modalMediaContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

#modalMediaContainer img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 8px;
}

#modalMediaContainer video {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        max-width: 95%;
        max-height: 85%;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
}

/* Responsive Design for Project Pages */
@media (max-width: 768px) {
    .project-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-title-large {
        font-size: 2rem;
    }
    
    .project-icon-large {
        font-size: 3rem;
    }
    
    .project-hero {
        padding: 100px 0 60px;
    }
    
    .project-content {
        padding: 60px 0;
    }
    
    .project-media-item {
        max-height: 250px;
    }
    
    .project-image,
    .project-video {
        max-height: 150px;
    }
    
    .video-container {
        max-height: 150px;
    }
}

@media (max-width: 480px) {
    .project-media-item {
        max-height: 200px;
        padding: 0.5rem;
    }
    
    .project-image,
    .project-video {
        max-height: 120px;
    }
    
    .video-container {
        max-height: 120px;
    }
    
    .image-placeholder {
        height: 150px;
        padding: 1rem 0.5rem;
    }
    
    .image-placeholder i {
        font-size: 1.5rem;
    }
}

.image-placeholder {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 2px dashed rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 2rem 1rem;
    text-align: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-placeholder:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
}

.image-placeholder i {
    font-size: 2rem;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
}

.image-placeholder p {
    margin: 0;
    color: #9ca3af;
    font-weight: 500;
}

.project-contact {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(66, 214, 146, 0.2);
    text-align: center;
}

.project-contact h4 {
    color: #42d692;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-contact p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
}

.contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, #42d692 0%, #369970 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 214, 146, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 214, 146, 0.4);
}

/* Lab Page Styles */
.lab-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lab-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.lab-hero-content {
    position: relative;
    z-index: 1;
}

.lab-icon-large {
    font-size: 4rem;
    color: #8b5cf6;
    margin-bottom: 2rem;
}

.lab-title-large {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.lab-subtitle {
    font-size: 1.5rem;
    color: #9ca3af;
    font-weight: 300;
}

.lab-content {
    padding: 6rem 0;
    background: #0f0f0f;
}

.lab-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.lab-main h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lab-main h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 3rem 0 2rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
    padding-bottom: 0.5rem;
}

.lab-main p {
    font-size: 1.1rem;
    color: #e5e7eb;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.research-area-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.research-area-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.research-area-card i {
    font-size: 2.5rem;
    color: #8b5cf6;
    margin-bottom: 1rem;
}

.research-area-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.research-area-card p {
    color: #9ca3af;
    font-size: 0.95rem;
    margin: 0;
}

.facilities-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.facility-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.facility-item:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.1);
}

.facility-item i {
    font-size: 2rem;
    color: #8b5cf6;
    margin-top: 0.5rem;
}

.facility-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.facility-content p {
    color: #9ca3af;
    margin: 0;
    font-size: 1rem;
}

.lab-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lab-hours {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

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

.hour-item .day {
    font-weight: 600;
    color: #ffffff;
}

.hour-item .time {
    color: #8b5cf6;
    font-weight: 500;
}

.lab-gallery {
    padding: 6rem 0;
    background: #0a0a0a;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: #9ca3af;
    margin: 0;
    font-size: 0.9rem;
}

.lab-get-involved {
    padding: 6rem 0;
    background: #0f0f0f;
    text-align: center;
}

.get-involved-content p {
    font-size: 1.2rem;
    color: #e5e7eb;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.involvement-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.involvement-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.involvement-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.involvement-btn i {
    font-size: 1.1rem;
}

/* Responsive Design for Lab Page */
@media (max-width: 768px) {
    .lab-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .lab-title-large {
        font-size: 2.5rem;
    }
    
    .lab-icon-large {
        font-size: 3rem;
    }
    
    .lab-hero {
        padding: 6rem 0 4rem;
    }
    
    .lab-content {
        padding: 4rem 0;
    }
    
    .research-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .involvement-options {
        flex-direction: column;
        align-items: center;
    }
    
    .involvement-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Lab Location Styles */
.lab-location {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.location-item:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
}

.location-item i {
    font-size: 1.5rem;
    color: #8b5cf6;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.room-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.building {
    font-size: 0.95rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Lab Photos Section */
.lab-photos {
    margin-top: 3rem;
}

.lab-photos h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.photo-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    aspect-ratio: 4/3;
    height: 250px;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.photo-overlay p {
    color: #9ca3af;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Responsive adjustments for lab photos */
@media (max-width: 768px) {
    .photos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .lab-photos h3 {
        font-size: 1.5rem;
    }
    
    .photo-item {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .photos-grid {
        grid-template-columns: 1fr;
    }
    
    .photo-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .photo-item {
        height: 180px;
    }
} 

/* Add CSS for new Membership & Leadership grid layout */
.membership-leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.membership-section,
.leadership-section {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.membership-section:hover,
.leadership-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

.membership-section h3,
.leadership-section h3 {
    color: #8b5cf6;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
}

.membership-section p,
.leadership-section p {
    color: #e2e8f0;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
}

.leadership-link {
    display: inline-block;
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.leadership-link:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

@media (max-width: 768px) {
    .membership-leadership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .membership-section,
    .leadership-section {
        padding: 2rem;
    }
} 