        @import url("navbar.css");
        @import url("hero.css");
        @import url("footer.css");
        @import url("header.css");
        
        :root {
            --primary: #2E4C61;
            --primary-light:#4A6A82;
            --primary-dark:  #1F3644;
            --accent: #fbbf24;
            --accent-dark: #f59e0b;
            --foreground: #1a1a1a;
            --background: #ffffff;
            --muted: #f3f4f6;
            --border: #e5e7eb;
            --text-muted: #6b7280;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: var(--background);
            color: var(--foreground);
            line-height: 1.6;
            padding-top: 100px;
        }

        

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 24px;
            color: var(--primary);
        }

               .hero-slider {
    position: relative;
    height: 600px; 
    min-height: 600px;
    overflow: hidden;
    background: #1a1a1a;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%; 
}

.slide {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; 
}

        .read-more-btn {
            position: absolute;
            bottom: 24px;
            right: 24px;
            z-index: 20;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
            color: #1a1a1a;
            font-weight: 700;
            padding: 10px 24px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            font-size: 14px;
        }

        .read-more-btn:hover {
            box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
            transform: scale(1.05);
        }

        .slider-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 20;
            background: rgba(255,255,255,0.15);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            opacity: 0;
        }

        .hero-slider:hover .slider-nav-btn {
            opacity: 1;
        }

        .slider-nav-btn:hover {
            background: rgba(255,255,255,0.3);
        }

        .slider-nav-btn.prev {
            left: 24px;
        }

        .slider-nav-btn.next {
            right: 24px;
        }

        .slider-dots {
            position: absolute;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 20;
            display: flex;
            gap: 8px;
        }

        .dot {
            width: 8px;
            height: 8px;
            background: rgba(255,255,255,0.3);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
        }

        .dot.active {
            width: 32px;
            height: 8px;
            background: #fbbf24;
            border-radius: 4px;
        }

        .dot:hover {
            background: rgba(255,255,255,0.5);
        }

        .mission-section {
            padding: 80px 40px;
            background: var(--background);
            text-align: center;
        }

        .mission-header {
            max-width: 800px;
            margin: 0 auto 60px;
        }

        .mission-header h2 {
            font-size: 36px;
            font-weight: 700;
            color: var(--foreground);
            margin-bottom: 16px;
        }

        .mission-header p {
            font-size: 16px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        .mission-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 24px;
            margin-bottom: 60px;
        }

        .mission-card {
            background: var(--muted);
            padding: 32px 24px;
            border-radius: 12px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid var(--border);
        }

        .mission-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.1);
            border-color: var(--primary);
        }

        .mission-icon {
            width: 60px;
            height: 60px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
            margin: 0 auto 16px;
        }

        .mission-card h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--foreground);
            margin-bottom: 12px;
        }

        .mission-card p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        .cta-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            padding: 60px 40px;
            border-radius: 12px;
            text-align: center;
            color: white;
            max-width: 600px;
            margin: 40px auto 0;
        }

        .cta-section h3 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .cta-section p {
            font-size: 16px;
            margin-bottom: 24px;
            opacity: 0.95;
        }

        .cta-btn {
            background: var(--accent);
            color: var(--foreground);
            padding: 12px 32px;
            border: none;
            border-radius: 8px;
            font-weight: 700;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .cta-btn:hover {
            background: var(--accent-dark);
            transform: scale(1.05);
        }

        .news-section {
            padding: 10px 40px;
            background: var(--muted);
        }

        .section-title {
            text-align: center;
            font-size: 32px;
            font-weight: 700;
            color: var(--foreground);
            margin-bottom: 60px;
        }

        .news-cards {
            display: flex;
            gap: 24px;
            margin-bottom: 0;
        }

        .news-slider-container {
            position: relative;
            overflow: hidden;
            margin-bottom: 40px;
        }

        .news-cards-wrapper {
            display: flex;
            transition: transform 0.4s ease;
            gap: 24px;
        }

        .news-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            padding: 0;
            min-width: calc(33.333% - 16px);
            flex-shrink: 0;
        }

        .news-card:hover {
            box-shadow: 0 8px 16px rgba(0,0,0,0.12);
        }

        .news-nav-buttons {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 24px;
        }

        .news-nav-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid var(--primary);
            background: white;
            color: var(--primary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-size: 14px;
        }

        .news-nav-btn:hover {
            background: var(--primary);
            color: white;
        }

        .news-nav-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .news-image {
            width: 100%;
            height: 240px;
            background: var(--muted);
            overflow: hidden;
            object-fit: cover;
            display: block;
        }

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

        .news-card:hover .news-image img {
            transform: scale(1.05);
        }

        .news-header {
            padding: 16px 16px 12px;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 8px;
            border-bottom: 1px solid var(--border);
        }

        .news-category {
            display: inline-block;
            color: var(--text-muted);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            background: none;
            padding: 0;
        }

        .news-date {
            font-size: 12px;
            color: var(--text-muted);
            font-weight: 500;
            white-space: nowrap;
        }

        .news-content {
            padding: 16px;
        }

        .news-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--foreground);
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .news-description {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.5;
            margin-bottom: 12px;
        }

        .news-read-more {
            color: var(--primary);
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: all 0.2s ease;
        }

        .news-read-more:hover {
            gap: 8px;
            color: var(--primary-dark);
        }
#newsCardsContainer {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease; /* fallback smooth animation */
    will-change: transform; /* improves performance */
}
        .btn-all-news {
            display: inline-flex;
            align-items: center;
            text-align: center;
            gap: 8px;
            background: #2c3e50;
            color: white;
            padding: 12px 32px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn-all-news:hover {
            background: #1a252f;
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        }

        .faq-section {
            padding: 80px 40px;
            background: white;
        }

        .faq-container {
            max-width: 700px;
            margin: 0 auto;
        }

        .faq-item {
            margin-bottom: 16px;
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
        }

        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            background: var(--muted);
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: 15px;
            border: none;
            width: 100%;
        }

        .faq-question:hover {
            background: var(--background);
            color: var(--primary);
        }

        .faq-icon {
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }

        .faq-icon.active {
            transform: rotate(180deg);
        }

        .faq-answer {
            display: none;
            padding: 20px;
            background: white;
            color: var(--text-muted);
            font-size: 14px;
            line-height: 1.6;
        }

        .faq-answer.show {
            display: block;
        }

      .main-section{
max-width:1200px;
margin:auto;
padding:40px 20px;
margin-top: 60px;
}


        @media (max-width: 768px) {
           
 .menu-toggle {
            display: block;
            font-size: 24px;
            color: var(--primary);
        }
            .mission-section,
            .news-section,
            .faq-section {
                padding: 40px 16px;
            }

            .mission-cards {
                grid-template-columns: 1fr;
            }

            .news-cards {
                gap: 12px;
            }

            .news-card {
                min-width: calc(100% - 0px);
            }

            .news-nav-buttons {
                justify-content: center;
            }

            .btn-all-news {
                margin-top: 32px;
                padding: 10px 24px;
                font-size: 13px;
            }
        }

            .btn-all-news {
                margin-top: 32px;
                padding: 10px 24px;
                font-size: 13px;
            }

            .hero-slider {
                height: 400px;
            }

            .read-more-btn {
                padding: 8px 16px;
                font-size: 12px;
                bottom: 16px;
                right: 16px;
            }

            .slider-nav-btn {
                width: 36px;
                height: 36px;
            }

/* --- NEWS ARCHIVE GRID --- */
.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 40px;
}

/* Match your homepage .news-card exactly */
.archive-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Same shadow as your slider */
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid transparent; 
}

.archive-card:hover {
    transform: translateY(-8px); /* Matches your .mission-card:hover */
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

/* Image Section */
.archive-card-image {
    width: 100%;
    height: 240px; /* Same as your .news-image */
    overflow: hidden;
    background: var(--muted);
}

.archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-card:hover .archive-card-image img {
    transform: scale(1.05);
}

/* Content Container - Matching your .news-content */
.archive-card-content {
    padding: 16px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.archive-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 8px;
}

.archive-title {
    font-size: 16px; /* Matches .news-title */
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 12px;
    line-height: 1.4;
    /* Limit to 2 lines for symmetry */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-text {
    font-size: 13px; /* Matches .news-description */
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
    /* Limit to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Link Styling - Matching .news-read-more */
.archive-read-more {
    margin-top: auto;
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.archive-read-more:hover {
    gap: 8px;
    color: var(--primary-dark);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .news-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .news-archive-grid { grid-template-columns: 1fr; padding: 0 16px; }
}

.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.archive-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.archive-card:hover {
    transform: translateY(-5px);
}


.archive-card-content {
    padding: 20px;
}

.archive-date {
    color: #888;
    font-size: 0.85rem;
}

.archive-title {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #1a2b49;
}

.archive-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}
.main-article-content {
    animation: fadeIn 0.5s ease-in;
}

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

/* Make the whole card clickable on the All News page */
.archive-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}


/* --- LATEST NEWS CARDS WITH BORDERS AND STRUCTURE --- */
.latest-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 40px 20px;
}

.latest-news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd; /* subtle border */
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.latest-news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.latest-news-image {
    width: 100%;
    height: 180px;
    background: var(--muted);
    overflow: hidden;
    border-bottom: 1px solid #ddd; /* separates image from text */
}

.latest-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-news-card:hover .latest-news-image img {
    transform: scale(1.05);
}

.latest-news-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.latest-news-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee; /* subtle separator */
    padding-bottom: 8px;
}

.latest-news-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--foreground);
    margin: 12px 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-read-more {
    margin-top: auto;
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.latest-news-read-more:hover {
    gap: 8px;
    color: var(--primary-dark);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .latest-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .latest-news-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
}

.latest-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 40px 20px;
}

.latest-news-card {
    background: var(--background);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.latest-news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.latest-news-image {
    width: 100%;
    height: 180px;
    background: var(--muted);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.latest-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-news-card:hover .latest-news-image img {
    transform: scale(1.05);
}

.latest-news-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.latest-news-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.latest-news-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--foreground);
    margin: 12px 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-read-more {
    margin-top: auto;
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.latest-news-read-more:hover {
    gap: 8px;
    color: var(--primary-dark);
}

/* --- SIDEBAR MINI-CARDS --- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-title {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--foreground);
}

.sidebar-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 10px;
    background: var(--background);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.sidebar-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

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

.sidebar-item-info h4 {
    font-size: 1rem;
    margin: 0 0 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-item-info span {
    font-size: 0.8rem;
    color: #888;
}

.sidebar-item-read-more {
    margin-top: auto;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.sidebar-item-read-more:hover {
    gap: 6px;
    color: var(--primary-dark);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .latest-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .latest-news-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        margin-top: 40px;
    }
}

  
        /* Hero Section */
        .hero-section {
            background-color: var(--sdg1-red);
            color: white;
            margin-top: 0px;
            padding: 80px 0;
            
        }
        .sdg-number-box {
            background: rgba(255,255,255,0.2);
            width: 60px; height: 60px;
            display: flex; align-items: center; justify-content: center;
            font-size: 2rem; font-weight: bold; border-radius: 8px;
        }

        /* Objectives Cards */
        .objective-card {
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            padding: 20px;
            height: 100%;
            transition: transform 0.2s;
            background: white;
            display: flex; align-items: flex-start;
        }
        .obj-num {
            background: #e9ecef;
            color: #495057;
            min-width: 30px; height: 30px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            margin-right: 15px; font-weight: bold; font-size: 0.9rem;
        }

        /* Initiatives List */
        .initiative-item { display: flex; align-items: center; margin-bottom: 15px; }
        .check-icon {
            background-color: var(--sdg1-red);
            color: white;
            width: 24px; height: 24px;
            border-radius: 50%;
            display: inline-flex; align-items: center; justify-content: center;
            margin-right: 15px; font-size: 0.8rem;
        }

        /* Resources Accordion-style list */
        .resource-link-box {
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 15px 20px;
            margin-bottom: 10px;
            display: flex; justify-content: space-between;
            align-items: center;
            text-decoration: none; color: inherit;
            transition: background 0.2s;
        }
        .resource-link-box:hover { background-color: #f1f3f5; }

        /* Policy Cards */
        .policy-card {
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 20px;
            height: 100%;
        }
        .badge-policy {
            background-color: #e9ecef; color: #6c757d;
            font-weight: normal; margin-bottom: 10px;
        }

        /* Floating Scroll Top */
        #btn-back-to-top {
            position: fixed; bottom: 20px; right: 20px;
            display: none; width: 45px; height: 45px;
            border-radius: 50%; background-color: var(--dark-blue);
            color: white; border: none; z-index: 1000;
        }
        .container{
            padding-left: 40px;
            padding-right: 40px;
        }

        

        .main-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 80px 40px;
        }

        .page-title {
            font-size: 32px;
            font-weight: 700;
            color: var(--foreground);
            margin-bottom: 40px;
            text-align: center;
        }

        /* SDG Filter Buttons */
        .filter-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 40px;
            overflow-x: auto;
            padding-bottom: 8px;
        }

        .filter-btn {
            padding: 7px 14px;
            border: 2px solid var(--primary);
            background: transparent;
            color: var(--primary);
            border-radius: 20px;
            font-weight: 600;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .filter-btn:hover {
            background: var(--primary);
            color: white;
        }

        .filter-btn.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        /* Activities Grid */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
            margin-bottom: 40px;
        }

        .news-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            display: flex;
            flex-direction: column;
        }

        .news-card:hover {
            box-shadow: 0 8px 16px rgba(0,0,0,0.12);
            transform: translateY(-4px);
        }

        .news-image {
            width: 100%;
            height: 200px;
            background: var(--muted);
            overflow: hidden;
        }

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

        .news-card:hover .news-image img {
            transform: scale(1.05);
        }

        .news-content {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .news-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--foreground);
            margin-bottom: 12px;
            line-height: 1.4;
            flex-grow: 1;
        }

        .news-card a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
            cursor: pointer;
            margin-top: 12px;
        }

        .news-card a:hover {
            color: var(--primary-dark);
        }

        /* 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.5);
            animation: fadeIn 0.3s ease;
        }

        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

        .modal-content {
            background-color: white;
            padding: 32px;
            border-radius: 8px;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            animation: slideUp 0.3s ease;
        }

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

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
            border-bottom: 2px solid var(--border);
            padding-bottom: 16px;
        }

        .modal-header h2 {
            font-size: 22px;
            font-weight: 700;
            color: var(--foreground);
            margin: 0;
            line-height: 1.4;
            flex: 1;
            margin-right: 16px;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 32px;
            cursor: pointer;
            color: var(--foreground);
            opacity: 0.7;
            transition: opacity 0.2s ease;
            padding: 0;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-close:hover {
            opacity: 1;
        }

        .modal-body {
            color: var(--foreground);
            font-size: 14px;
            line-height: 1.6;
        }

        .modal-body p {
            margin: 0 0 16px 0;
        }

        .modal-link {
            display: inline-block;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--border);
            transition: color 0.2s ease;
        }

        .modal-link:hover {
            color: var(--primary-dark);
        }

        @media (max-width: 768px) {
            .main-content {
                padding: 40px 16px;
            }

            .page-title {
                font-size: 24px;
                margin-bottom: 30px;
            }

            .news-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .filter-container {
                gap: 6px;
                margin-bottom: 30px;
            }

            .filter-btn {
                padding: 6px 12px;
                font-size: 11px;
            }

            .modal-content {
                padding: 24px;
                width: 95%;
            }

            .modal-header h2 {
                font-size: 18px;
            }
        }
.qs-sustainability-heading{
  font-size: 32px;
    font-weight: 700;
    color: #ffc107;
    text-align: center;
    margin: 40px 0 20px 0;
    position: relative;
}

.course-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px; /* Ensures all cards stay aligned */
    border:1px solid black;
}

