/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Header Top Bar */
.header-top {
    background: linear-gradient(135deg, #006400 0%, #228B22 100%);
    padding: 15px 0;
    border-bottom: 4px solid #FFD700;
}

.org-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
    color: #006400;
    border: 3px solid #FFD700;
    overflow: hidden;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.org-title h1 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.org-title p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 13px;
    font-weight: 300;
}

.top-right-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    color: white;
    font-size: 14px;
}

.top-right-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.top-right-links a:hover {
    background: rgba(255,255,255,0.2);
    text-decoration: none;
}

.top-right-links .btn-register,
.top-right-links .btn-login {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Main Navigation */
.main-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 15px 20px;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.main-nav .navbar-nav .nav-link:hover,
.main-nav .navbar-nav .nav-link.active {
    color: #006400;
    border-bottom-color: #006400;
    background: transparent;
}

/* Section Titles */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #006400;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #FFD700;
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.divider {
    width: 60px;
    height: 3px;
    background: #FFD700;
    margin: 0 auto 20px;
}

/* Buttons */
.btn-primary {
    background: #006400;
    border-color: #006400;
    color: white;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #228B22;
    border-color: #228B22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,100,0,0.3);
}

.btn-outline-primary {
    border: 2px solid #006400;
    color: #006400;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: #006400;
    color: white;
    transform: translateY(-2px);
}

/* Cards */
.news-card,
.program-card,
.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
}

.news-card:hover,
.program-card:hover,
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #006400;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.news-card-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.news-meta i {
    color: #006400;
    margin-right: 5px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-title a {
    color: #333;
    text-decoration: none;
}

.news-title a:hover {
    color: #006400;
}

.news-excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.read-more {
    color: #006400;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 8px;
    color: #228B22;
}

/* Program Cards */
.program-card {
    text-align: center;
    padding: 30px 20px;
}

.program-icon {
    width: 80px;
    height: 80px;
    background: #e8f5e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #006400;
    transition: all 0.3s;
}

.program-card:hover .program-icon {
    background: #006400;
    color: white;
}

.program-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.program-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.program-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #006400;
}

.stat-label {
    font-size: 12px;
    color: #888;
}

/* Project Cards */
.project-card {
    position: relative;
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.status-ongoing {
    background: #28a745;
}

.status-completed {
    background: #6c757d;
}

.status-upcoming {
    background: #ffc107;
    color: #333;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-location {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
}

.project-location i {
    color: #006400;
}

.project-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.meta-item i {
    color: #006400;
}

/* Event Cards */
.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    display: flex;
}

.event-date {
    background: #006400;
    color: white;
    padding: 15px;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 14px;
    text-transform: uppercase;
}

.event-details {
    padding: 15px;
    flex: 1;
}

.event-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.event-details p {
    color: #888;
    font-size: 13px;
    margin: 0;
}

.event-details p i {
    color: #006400;
    margin-right: 5px;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #006400;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFD700;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li a {
    color: #666;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s;
}

.category-list li a:hover,
.category-list li a.active {
    color: #006400;
    padding-left: 5px;
}

.category-list li a span {
    color: #999;
    font-size: 12px;
}

.recent-news-item {
    display: flex;
    gap: 10px;
}

.recent-news-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.recent-news-item h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.recent-news-item h6 a {
    color: #333;
    text-decoration: none;
}

.recent-news-item h6 a:hover {
    color: #006400;
}

.recent-news-item small {
    color: #888;
    font-size: 11px;
}

.recent-news-item small i {
    color: #006400;
    margin-right: 3px;
}

/* Visitor Stats */
.visitor-stats {
    background: #006400;
    color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.visitor-number {
    font-size: 36px;
    font-weight: 700;
    margin: 10px 0;
}

.visitor-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Pagination */
.pagination .page-link {
    color: #006400;
    border: 1px solid #dee2e6;
    padding: 8px 15px;
    margin: 0 3px;
    border-radius: 5px;
}

.pagination .page-item.active .page-link {
    background: #006400;
    border-color: #006400;
    color: white;
}

.pagination .page-link:hover {
    background: #e8f5e8;
    color: #006400;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #FFD700;
}

.footer p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
    color: #aaa;
}

.footer-links li i {
    color: #FFD700;
    width: 20px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #FFD700;
    color: #333;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .org-title h1 {
        font-size: 18px;
    }
    
    .org-title p {
        font-size: 11px;
    }
    
    .top-right-links {
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }
    
    .event-date .day {
        font-size: 20px;
    }
    
    .event-date .month {
        font-size: 14px;
    }
}