.container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
}

.header {
    text-align: center;
}

.header h1 {
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 18px;
    opacity: 0.9;
}

.activities {

    border-radius: 20px;
    padding: 40px;
}

.event-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.event-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.event-btn.active {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.event-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.event-btn:hover::before {
    left: 100%;
}

.events-container {
    min-height: 400px;
    position: relative;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 18px;
    color: #666;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-right: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.events-grid.show {
    opacity: 1;
    transform: translateY(0);
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.event-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover .event-image::before {
    opacity: 1;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    color: #333;
    backdrop-filter: blur(10px);
}

.event-content {
    padding: 25px;
}

#static-1 .event-image{
    object-fit: cover;
}

.event-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.event-time {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.event-time::before {
    content: '📅';
    margin-right: 8px;
}

.event-description {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.no-events {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-events-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-events h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.no-events p {
    font-size: 16px;
}

.event-type-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.past-events .event-type-indicator {
    background: linear-gradient(90deg, #95a5a6, #7f8c8d);
}

.present-events .event-type-indicator {
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.future-events .event-type-indicator {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.view-more-section {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
}

.view-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.view-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.pagination-info {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

.loading-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mini-loader {
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff40;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Styles for Know More button */
.event-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.know-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(79, 172, 254, 0.3);
    width: 100%;
}

.know-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.know-more-btn:active {
    transform: translateY(0);
}

@media (max-width: 800px) {
    .header h1 {
        font-size: 36px;
    }

    .activities {
        padding: 20px;
    }

    .event-buttons {
        gap: 10px;
    }

    .event-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}