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

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

/* Navigation Section Styles */
.navigation-section {
    padding: 40px 0;
    background-color: #fff;
    min-height: 80vh;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #4caf50;
    text-align: center;
    border-bottom: 3px solid #4caf50;
    padding-bottom: 15px;
}
/* Main Content Styles */
.main-content {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.main-content .loading {
    padding: 60px 40px;
    text-align: center;
    color: #666;
    font-size: 1.1rem;
}

.content-box {
    display: none;
    padding: 40px;
}

.content-box.active {
    display: block;
}

.content-box h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #4caf50;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.content-box h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px 0;
    color: #2e7d32;
}

.content-box h3 {
    font-size: 1.4rem;
    margin: 25px 0 10px 0;
    color: #388e3c;
}

.content-box p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: #555;
}

.content-box ul, .content-box ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-box li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Events Section Styles */
.events-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.events-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #4caf50;
}

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

.event-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.event-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.event-card-content {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows content to fill space */
}

.event-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4caf50;
}

.event-card-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.event-card-description {
    text-align: justify;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.event-card-btn {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    align-self: flex-start; /* Aligns button to the left */
    text-align: center;
    display: inline-block;
}

.event-card-btn:hover {
    background-color: #45a049;
}


/* Responsive Styles */
@media (max-width: 992px) {
    .content-area {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .content-box {
        padding: 25px;
    }
    
    .content-box h1 {
        font-size: 1.8rem;
    }
    
    .content-box h2 {
        font-size: 1.5rem;
    }
    
    .categories {
        justify-content: flex-start;
    }
    
    .category {
        font-size: 14px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .content-box {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .sidebar-item {
        padding: 12px 15px;
        font-size: 14px;
    }
}