
        /* Resources Portal Specific Styles */
        .resources-portal {
            padding: 90px 0 30px;
            background-color: var(--bg-color);
            min-height: calc(100vh - 70px);
        }
        
        .portal-header {
            text-align: center;
            margin-bottom: 40px;
            padding: 0 15px;
        }
        
        .portal-header h1 {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 12px;
        }
        
        .portal-header p {
            font-size: 1rem;
            max-width: 700px;
            margin: 0 auto;
            color: var(--text-color);
            opacity: 0.8;
        }
        
        /* Wikipedia-like Layout: Main content with sidebar */
        .wiki-layout {
            display: grid;
            grid-template-columns: 1fr 250px;
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .main-content {
            max-width: 100%;
        }
        
        .sidebar {
            background-color: var(--card-bg);
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 3px 10px var(--shadow-color);
            height: fit-content;
            position: sticky;
            top: 100px;
        }
        
        .sidebar h3 {
            margin-bottom: 15px;
            color: var(--text-color);
            border-bottom: 2px solid var(--primary-color);
            padding-bottom: 5px;
            font-size: 1.1rem;
        }
        
        .sidebar ul {
            list-style: none;
            padding: 0;
        }
        
        .sidebar li {
            margin-bottom: 8px;
        }
        
        .sidebar a {
            color: var(--text-color);
            text-decoration: none;
            transition: color 0.3s;
            font-size: 0.9rem;
        }
        
        .sidebar a:hover {
            color: var(--primary-color);
        }
        
        /* Table of Contents */
        .toc {
            background-color: var(--card-bg);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: 0 3px 10px var(--shadow-color);
            position: relative;
            overflow: hidden;
        }
        
        .toc h2 {
            font-size: 1.2rem;
            margin-bottom: 15px;
            color: var(--text-color);
            position: relative;
            z-index: 1;
        }
        
        .toc ul {
            list-style-type: none;
            padding-left: 0;
            position: relative;
            z-index: 1;
        }
        
        .toc li {
            margin-bottom: 5px;
        }
        
        .toc a {
            text-decoration: none;
            color: var(--text-color);
            transition: color 0.3s;
            font-size: 0.9rem;
        }
        
        .toc a:hover {
            color: var(--primary-color);
        }
        
        /* Fixed TOC background image */
        .toc .img-backgroung {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.1;
            z-index: 0;
        }
        
        /* Section Styles */
        .section {
            margin-bottom: 30px;
        }
        
        .section h2 {
            font-size: 1.5rem;
            color: var(--text-color);
            margin-bottom: 15px;
            border-bottom: 1px solid var(--light-color);
            padding-bottom: 8px;
        }
        
        .section h3 {
            font-size: 1.2rem;
            color: var(--text-color);
            margin: 15px 0 8px;
        }
        
        .infobox {
            background-color: var(--card-bg);
            border: 1px solid var(--light-color);
            border-radius: 5px;
            padding: 12px;
            margin-bottom: 15px;
            font-size: 0.9rem;
        }
        
        .infobox th {
            font-weight: bold;
            padding-right: 10px;
            text-align: left;
            vertical-align: top;
        }
        
        /* 50% Smaller Cards (reduced from 70%) */
        .portal-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 12px;
            margin-bottom: 30px;
        }
        
        .portal-card {
            background-color: var(--card-bg);
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 2px 8px var(--shadow-color);
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .portal-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px var(--shadow-color);
        }
        
        .card-icon {
            background-color: var(--primary-color);
            color: white;
            padding: 8px;
            text-align: center;
            font-size: 1.2rem;
        }
        
        .card-content {
            padding: 10px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .card-content h3 {
            font-size: 0.9rem;
            margin-bottom: 6px;
            color: var(--text-color);
        }
        
        .card-content p {
            margin-bottom: 8px;
            color: var(--text-color);
            opacity: 0.8;
            flex-grow: 1;
            font-size: 0.75rem;
            line-height: 1.2;
        }
        
        .resource-stats {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 0.7rem;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-number {
            font-weight: 700;
            font-size: 0.8rem;
            color: var(--primary-color);
        }
        
        .stat-label {
            font-size: 0.65rem;
            opacity: 0.7;
        }
        
        .portal-features {
            background-color: var(--card-bg);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 30px;
            box-shadow: 0 3px 10px var(--shadow-color);
        }
        
        .portal-features h2 {
            text-align: center;
            margin-bottom: 20px;
            color: var(--text-color);
            font-size: 1.3rem;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }
        
        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        
        .feature-icon {
            background-color: var(--primary-color);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 0.8rem;
        }
        
        .feature-text h4 {
            margin-bottom: 3px;
            color: var(--text-color);
            font-size: 0.95rem;
        }
        
        .feature-text p {
            font-size: 0.8rem;
            color: var(--text-color);
            opacity: 0.8;
            line-height: 1.3;
        }
        
        .breadcrumb {
            margin-bottom: 15px;
            font-size: 0.85rem;
            padding: 0 15px;
        }
        
        .breadcrumb a {
            color: var(--primary-color);
            text-decoration: none;
        }
        
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        
        /* Main Contents with Background Image */
        .main-contents {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                        url('assets/images/banner/Digital-resources.jpg') center/cover no-repeat;
            border-radius: 8px;
            padding: 25px;
            margin-bottom: 30px;
            color: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .main-contents h2 {
            text-align: center;
            margin-bottom: 20px;
            font-size: 1.4rem;
        }
        
        .contents-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 12px;
        }
        
        .content-item {
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 5px;
            padding: 12px;
            text-align: center;
            transition: all 0.3s;
            backdrop-filter: blur(5px);
        }
        
        .content-item:hover {
            background-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
        }
        
        .content-item i {
            font-size: 1.2rem;
            margin-bottom: 8px;
            color: var(--primary-color);
        }
        
        .content-item h4 {
            margin-bottom: 5px;
            font-size: 0.9rem;
        }
        
        .content-item p {
            font-size: 0.75rem;
            opacity: 0.9;
        }
        
        /* SEO Content Section */
        .seo-content {
            background-color: var(--card-bg);
            border-radius: 8px;
            padding: 20px;
            margin-top: 25px;
            box-shadow: 0 3px 10px var(--shadow-color);
        }
        
        .seo-content h2 {
            margin-bottom: 15px;
            color: var(--text-color);
            font-size: 1.2rem;
        }
        
        .seo-content p {
            margin-bottom: 12px;
            line-height: 1.5;
            font-size: 0.9rem;
        }
        
        /* Resource Lists */
        .resource-list {
            list-style: none;
            padding: 0;
        }
        
        .resource-list li {
            background-color: var(--bg-color);
            margin-bottom: 8px;
            padding: 10px;
            border-radius: 4px;
            border-left: 3px solid var(--primary-color);
            transition: box-shadow 0.3s;
            font-size: 0.9rem;
        }
        
        .resource-list li:hover {
            box-shadow: 0 2px 8px var(--shadow-color);
        }
        
        .resource-list a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
        }
        
        .resource-list a:hover {
            color: var(--primary-color);
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .wiki-layout {
                grid-template-columns: 1fr;
            }
            
            .sidebar {
                order: 2;
                position: static;
            }
            
            .portal-header h1 {
                font-size: 1.6rem;
            }
            
            .portal-grid {
                grid-template-columns: 1fr;
            }
            
            .portal-features {
                padding: 15px;
            }
            
            .features-grid {
                grid-template-columns: 1fr;
            }
            
            .contents-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .resource-stats {
                flex-direction: column;
                gap: 8px;
            }
            
            .contents-grid {
                grid-template-columns: 1fr;
            }
        }
   