* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    padding-top: 80px;
    color: #1e293b;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.brand-link {
    text-decoration: none;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
}

.brand-link i {
    color: #3b82f6;
    font-size: 1.4rem;
}

.adapt-logo{
    border-radius: 15px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-left: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
    padding: 4px 0;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-link.active {
    color: #3b82f6;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #3b82f6;
    border-radius: 2px;
}
.user-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    background: transparent;
    color: #3b82f6;
    border: 1.5px solid #3b82f6;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.btn-signup {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-signup:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 6px 12px 6px 6px;
    border-radius: 40px;
    border: 1px solid #e2e8f0;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.user-name {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.95rem;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1e293b;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mobile-menu-btn:hover {
    background: #f1f5f9;
}

@keyframes float {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(-100px) rotate(10deg); }
}


header {
    text-align: center;
    padding: 40px 0;
    font-size: x-large;
    color: white;
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.95;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.event-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}



.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.event-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    text-transform: lowercase;
}

.event-tag::first-letter {
    text-transform: uppercase;
}
.card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-title h2 {
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.card-date {
    font-size: 0.9em;
    color: #666;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 20px;
}

.card-location {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 15px;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.card-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.card-id {
    color: #999;
    font-size: 0.85em;
}

.event-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9em;
}

.card-location, .event-capacity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.status-upcoming {
    background: #e3f2fd;
    color: #1976d2;
}

.status-ongoing {
    background: #c8e6c9;
    color: #388e3c;
}

.status-completed {
    background: #ffebee;
    color: #c62828;
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: white;
    font-size: 1.2em;
}

.error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: #ff6b6b;
    background: white;
    border-radius: 10px;
    font-size: 1.2em;
}
.search-box {
    position: relative;
    margin-bottom: 24px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.filter-bar {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 24px;
    border-radius: 20px;
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.location-filter,
.date-filter,
.tag-filter {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.2s ease;
}

.location-filter:focus,
.date-filter:focus,
.tag-filter:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.filter-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.filter-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.filter-btn i {
    font-size: 1rem;
}

.events-section {
    padding: 60px 24px;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-sub {
    color: #64748b;
    font-size: 1.1rem;
}


@media (max-width: 1024px) {
    .mission-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mission-content {
        max-width: 100%;
        text-align: center;
    }
    
    .mission-stats {
        justify-content: center;
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .mission-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .stat-item {
        align-items: center;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .committees-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .primary-btn, .btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .auth-buttons {
        flex-direction: column;
    }

    .user-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .navbar-container {
        padding: 12px 20px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 20px;
        right: 20px;
        background: white;
        flex-direction: column;
        gap: 20px;
        padding: 24px;
        border-radius: 24px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border: 1px solid #e2e8f0;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 8px;
    }

    .user-section {
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-sub {
        font-size: 1.1rem;
    }

    .filter-bar {
        flex-direction: column;
        padding: 20px;
    }

    .filter-group {
        width: 100%;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        gap: 32px;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
