
        :root {
            --color-primary: #0066cc;
            --color-text-primary: #2d3436;
            --color-text-secondary: #636e72;
            --color-white: #ffffff;
            --color-bg-light: #f8f9fa;
            --color-bg-card: #ffffff;
            --color-border: #e9ecef;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
            --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 24px;
        }

        
        .sidebar {
            position: sticky;
            top: 2rem;
            height: fit-content;
        }

        .sidebar-nav {
            background: var(--color-bg-card);
            border-radius: var(--radius-lg);
            padding: 2rem;
            box-shadow: var(--shadow-md);
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 4rem 2rem;
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 3rem;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: var(--spacing-3xl) var(--spacing-xl);
        }

        .sidebar-nav h3 {
            font-size: 1.25rem;
            color: var(--color-text-primary);
            margin-bottom: 1.5rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .sidebar-nav ul {
            list-style: none;
            height:60vh;
            overflow-y:auto;
            overflow-x:hidden;
            /* padding-right: 5px; */
        }

        .sidebar-nav li {
            margin-bottom: 0.5rem;
            margin-right: 10px;
        }

        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.875rem 1rem;
            color: var(--color-text-secondary);
            text-decoration: none;
            border-radius: var(--radius-sm);
            transition: var(--transition);
            font-size: 0.95rem;
            font-weight: 500;
        }

        .sidebar-nav a:hover {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            color: var(--color-primary);
            transform: translateX(0px) !important;
        }

        .sidebar-nav a.active {
            background: linear-gradient(135deg, #2d50e9 0%, #00106d 100%);
            color: var(--color-white);
            box-shadow: var(--shadow-sm);
        }

        .main-content {
            min-height: 600px;
        }

        .department-detail {
            display: none;
        }

        .department-detail.active {
            display: block;
            animation: fadeInUp 0.5s ease;
        }

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

        .detail-header {
            background: linear-gradient(135deg, var(--dept-color) 0%, var(--dept-color-dark) 100%);
            color: var(--color-white);
            padding: 2.5rem;
            border-radius: var(--radius-xl);
            margin-bottom: 2rem;
            box-shadow: var(--shadow-lg);
            position: relative;
            overflow: hidden;
        }

        .detail-header::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        }

        .detail-header-content {
            position: relative;
            z-index: 1;
        }

        .detail-header h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 1.5rem;
            font-weight: 800;
        }

        .detail-header .icon-large {
            width: 50px;
            height: 50px;
            background: rgba(255,255,255,0.2);
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            flex-shrink: 0;
        }

        .detail-header .icon-large i {
            font-size: 2rem;
        }

        .detail-header p {
            font-size: 1rem;
            opacity: 0.95;
            line-height: 1.8;
            max-width: 800px;
        }

        .accordion-section {
            background: var(--color-bg-card);
            border-radius: var(--radius-lg);
            margin-bottom: 1rem;
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            border-left: 4px solid var(--dept-color);
        }

        .accordion-header {
            padding: 1rem 2rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: var(--transition);
            background: var(--color-bg-card);
        }

        .accordion-header:hover {
            background: rgba(102, 126, 234, 0.05);
        }

        .accordion-header.active {
            background: rgba(102, 126, 234, 0.08);
        }

        .accordion-title {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 1rem;
            font-weight: 700;
            color: var(--color-text-primary);
        }

        .accordion-title i {
            color: var(--dept-color);
            flex-shrink: 0;
        }

        .accordion-icon {
            font-size: 1.25rem;
            color: var(--color-text-secondary);
            transition: var(--transition);
            flex-shrink: 0;
        }

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

        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
        }

        .accordion-content.active {
            max-height: 5000px;
        }

        .accordion-body {
            padding: 1.5rem 2rem 2rem;
        }

        .accordion-body p {
            color: var(--color-text-secondary);
            line-height: 1.8;
            margin-bottom: 1.5rem;
            font-size: 0.9rem !important;
        }

        .accordion-body ul {
            list-style: none;
            padding-left: 0;
            font-size:1rem;
        }

        .accordion-body li {
            list-style: none;
            padding: 0.75rem 0 0.75rem 2.5rem;
            color: var(--color-text-secondary);
            position: relative;
            line-height: 1.2;
            transition: var(--transition);
        }

        .accordion-body li::before {
            content: '\f00c';
            font-family: 'Font Awesome 7 Free';
            font-weight: 900;
            color: var(--dept-color);
            position: absolute;
            left: 0;
            width: 24px;
            height: 24px;
            background: rgba(102, 126, 234, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
        }

        .tabs-container {
            background: var(--color-bg-card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            border-left: 4px solid var(--dept-color);
            margin-bottom: 2rem;
            overflow: hidden;
        }

        .tabs-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 2rem;
            background: var(--color-bg-card);
            cursor: pointer;
            transition: var(--transition);
        }

        .tabs-header:hover {
            background: rgba(102, 126, 234, 0.05);
        }

        .tabs-header.active {
            background: rgba(102, 126, 234, 0.08);
        }

        .tabs-title {
            font-size: 1.5rem;
            color: var(--color-text-primary);
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin: 0;
        }

        .tabs-title i {
            color: var(--dept-color);
            flex-shrink: 0;
        }

        .tabs-expand-icon {
            font-size: 1.25rem;
            color: var(--color-text-secondary);
            transition: var(--transition);
            flex-shrink: 0;
        }

        .tabs-header.active .tabs-expand-icon {
            transform: rotate(180deg);
        }

        .tabs-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
        }

        .tabs-body.active {
            max-height: 5000px;
        }

        .tabs-content-wrapper {
            padding: 1.5rem 2rem 2rem;
        }

        .tabs-nav {
            display: flex;
            gap: 0.5rem;
            border-bottom: 2px solid var(--color-border);
            margin-bottom: 2rem;
            /* flex-wrap: wrap; */
            /* overflow-x: auto; */
            -webkit-overflow-scrolling: touch;
        }

        .tab-button {
            padding: 0.875rem 1.5rem;
            background: transparent;
            border: none;
            border-bottom: 3px solid transparent;
            color: var(--color-text-secondary);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            font-size: 0.95rem;
            position: relative;
            bottom: -2px;
            white-space: nowrap;
        }

        .tab-button:hover {
            color: var(--dept-color);
            background: rgba(102, 126, 234, 0.05);
        }

        .tab-button.active {
            color: var(--dept-color);
            border-bottom-color: var(--dept-color);
            background: rgba(102, 126, 234, 0.08);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

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

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin: 2% auto;
        }

        .stat-card {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%) !important;
            padding: 1.5rem;
            border-radius: var(--radius-md);
            border-left: 3px solid var(--dept-color);
            transition: var(--transition);
            max-width: 220px;
        }

        .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .stat-card h4 {
            color: var(--dept-color);
            margin-bottom: 0.5rem;
            font-size: 2rem;
            font-weight: 800;
        }

        .stat-card p {
            color: var(--color-text-secondary);
            font-size: 0.875rem;
            margin: 0;
            font-weight: 500;
        }

        .publication-table-wrapper {
            width: 100%;
            margin-top: 1.5rem;
        }

        .publication-table {
            width: 100%;
            border-collapse: collapse;
        }

        .publication-table thead {
            display: table-header-group;
        }

        .publication-table tbody {
            display: table-row-group;
        }

        .publication-table tr {
            display: table-row;
        }

        .publication-table th,
        .publication-table td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid var(--color-border);
            display: table-cell;
        }

        .publication-table th {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            color: var(--dept-color);
            font-weight: 700;
            font-size: 0.95rem;
        }

        .publication-table td {
            color: var(--color-text-secondary);
            font-size: 0.9rem;
        }

        .publication-table tr:hover {
            background: rgba(102, 126, 234, 0.03);
        }

        .publication-table td strong {
            display: block;
            margin-bottom: 0.25rem;
        }

        .publication-table td::before {
            display: none;
        }

        .year-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            background: var(--dept-color);
            color: white;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.85rem;
            text-align: center;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }

        .gallery-item {
            position: relative;
            border-radius: var(--radius-md);
            overflow: hidden;
            aspect-ratio: 4/3;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            cursor: pointer;
        }

        .gallery-item:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
        }

        .gallery-placeholder img,.gallery-placeholder {
            width:100%;
            height:100%;            
        }
        .gallery-placeholder i {
            font-size: 3rem;
            color: var(--dept-color);
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        .gallery-placeholder span {
            color: var(--color-text-secondary);
            font-weight: 600;
            font-size: 0.95rem;
        }

        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height:100%;
            display:flex;
            flex-direction:column;
            justify-content:end;
            background:linear-gradient(135deg, #000000cc, #00000070);
            padding: 1rem;
            color: white;
            transform: translateY(100%);
            transition: var(--transition);
        }

        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }

        .gallery-overlay-title {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 0.25rem;
        }

        .gallery-overlay-date {
            font-size: 0.8rem;
            opacity: 0.9;
        }

        /* Tablet Responsive */
        @media (max-width: 1024px) {
            .container {
                grid-template-columns: 1fr;
                gap: 2rem;
                padding: 3rem 1.5rem;
            }

            .sidebar {
                position: static;
            }

            .sidebar-nav {
                padding: 1.5rem;
            }

            .sidebar-nav ul {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 0.5rem;
            }

            .detail-header h2 {
                font-size: 2.5rem;
            }

            .stats-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 1rem;
            }
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .container {
                padding: 2rem 1rem;
                gap: 1.5rem;
            }

            .sidebar-nav {
                padding: 1rem;
            }

            .sidebar-nav h3 {
                font-size: 1.1rem;
            }

            .sidebar-nav ul {
                grid-template-columns: 1fr;
            }

            .sidebar-nav a {
                font-size: 0.9rem;
                padding: 0.75rem;
            }

            .detail-header {
                padding: 2rem 1.5rem;
                border-radius: var(--radius-md);
            }

            .detail-header h2 {
                font-size: 1.75rem;
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }

            .detail-header .icon-large {
                width: 60px;
                height: 60px;
            }

            .detail-header .icon-large i {
                font-size: 2rem;
            }

            .detail-header p {
                font-size: 1rem;
                text-align: center;
            }

            .accordion-header {
                padding: 1rem 1.25rem;
            }

            .accordion-title {
                font-size: 1.1rem;
                gap: 0.75rem;
            }

            .accordion-title i {
                font-size: 1rem;
            }

            .accordion-icon {
                font-size: 1rem;
            }

            .accordion-body {
                padding: 1rem 1.25rem 1.5rem;
            }

            .accordion-body li {
                padding: 0.5rem 0 0.5rem 2rem;
                font-size: 0.9rem;
            }

            .accordion-body li::before {
                width: 20px;
                height: 20px;
                font-size: 0.65rem;
            }

            .tabs-header {
                padding: 1rem 1.25rem;
            }

            .tabs-title {
                font-size: 1.1rem;
                gap: 0.5rem;
            }

            .tabs-content-wrapper {
                padding: 1rem 1.25rem 1.5rem;
            }

            .tabs-nav {
                gap: 0.25rem;
                margin-bottom: 1.5rem;
                border-bottom: 1px solid var(--color-border);
            }

            .tab-button {
                padding: 0.75rem 1rem;
                font-size: 0.85rem;
            }

            .stats-grid {
                grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
                gap: 0.75rem;
            }

            .stat-card {
                padding: 1rem;
            }

            .stat-card h4 {
                font-size: 1.5rem;
            }

            .stat-card p {
                font-size: 0.8rem;
            }

            .publication-table-wrapper {
                margin-top: 1rem;
            }
       
            .publication-table thead {
                display: none;
            }

            .publication-table tbody {
                display: block;
            }

            .publication-table tr {
                display: block;
                margin-bottom: 1.5rem;
                background: var(--color-bg-card);
                border: 1px solid var(--color-border);
                border-radius: var(--radius-sm);
                padding: 1rem;
                box-shadow: var(--shadow-sm);
                
            }

            .publication-table tr:hover {
                box-shadow: var(--shadow-md);
            }

            .publication-table td {
                display: block;
                text-align: left;
                padding: 0.5rem 0;
                border: none;
                font-size: 0.85rem;
                width: auto;
            }

            .publication-table td::before {
                content: attr(data-label);
                font-weight: 700;
                color: var(--dept-color);
                display: block;
                margin-bottom: 0.25rem;
                font-size: 0.75rem;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }

            .publication-table td strong {
                font-size: 0.9rem;
                line-height: 1.5;
            }

            .year-badge {
                font-size: 0.75rem;
                padding: 0.2rem 0.5rem;
            }

            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 1rem;
            }

            .gallery-placeholder i {
                font-size: 2rem;
                margin-bottom: 0.5rem;
            }

            .gallery-placeholder span {
                font-size: 0.8rem;
            }

            .gallery-overlay {
                padding: 0.75rem;
            }

            .gallery-overlay-title {
                font-size: 0.85rem;
            }

            .gallery-overlay-date {
                font-size: 0.75rem;
            }
        }

        /* Extra Small Mobile */
        @media (max-width: 480px) {
            .container {
                padding: 1.5rem 0.75rem;
            }

            .sidebar-nav {
                border-radius: var(--radius-md);
            }

            .detail-header {
                padding: 1.5rem 1rem;
            }

            .detail-header h2 {
                font-size: 1.5rem;
            }

            .detail-header .icon-large {
                width: 50px;
                height: 50px;
            }

            .detail-header .icon-large i {
                font-size: 1.5rem;
            }

            .detail-header p {
                font-size: 0.9rem;
            }

            .accordion-header {
                padding: 0.875rem 1rem;
            }

            .accordion-title {
                font-size: 1rem;
            }

            .accordion-body {
                padding: 0.875rem 1rem 1.25rem;
            }

            .tabs-header {
                padding: 0.875rem 1rem;
            }

            .tabs-title {
                font-size: 1rem;
            }

            .tabs-content-wrapper {
                padding: 0.875rem 1rem 1.25rem;
            }

            .tab-button {
                padding: 0.625rem 0.875rem;
                font-size: 0.8rem;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .gallery-grid {
                grid-template-columns: 1fr;
            }

            .publication-table {
                max-width: 450px;
            }

            .publication-table thead {
                display: none;
            }

            .publication-table tbody {
                display: block;
            }

            .publication-table tr {
                display: block;
                margin-bottom: 1rem;
                background: var(--color-bg-card);
                border: 1px solid var(--color-border);
                border-radius: var(--radius-sm);
                padding: 0.875rem;
                box-shadow: var(--shadow-sm);
            }

            .publication-table td {
                display: block;
                text-align: left;
                padding: 0.4rem 0;
                border: none;
                font-size: 0.8rem;
            }

            .publication-table td::before {
                content: attr(data-label);
                font-weight: 700;
                color: var(--dept-color);
                display: block;
                margin-bottom: 0.2rem;
                font-size: 0.7rem;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }

            .publication-table td strong {
                font-size: 0.85rem;
            }
        }