* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Lato', 'Segoe UI', Tahoma, sans-serif;
        }

        body {
            background-color: #f6f7f9; /* Light gray-white, clean exam backdrop */
            color: #1a2639; /* Deep navy, analytical and professional */
            transition: all 0.3s ease;
        }

        body.dark-mode {
            background-color: #1a2639; /* Dark navy, focused study vibe */
            color: #dfe4ea; /* Light silver-gray for dark mode text */
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }

        .main-content {
            padding: 10px;
        }

        header {
            text-align: center;
            padding: 20px;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%); /* White to faint gray, crisp */
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        body.dark-mode header {
            background: linear-gradient(135deg, #2a354a 0%, #3a465b 100%); /* Dark navy gradient */
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        header h1 {
            font-size: 2.4rem; /* Increased from 2.1rem */
            font-weight: 700;
            color: #6c757d; /* Cool gray, disciplined exam accent */
            margin-bottom: 15px;
        }

        body.dark-mode header h1 {
            color: #adb5bd; /* Lighter silver-gray for dark mode */
        }

        .toggle-mode {
            display: inline-block;
            cursor: pointer;
            font-size: 1.0rem; /* Increased from 0.9rem */
            font-weight: bold;
            padding: 15px 30px;
            background: #6c757d; /* Cool gray for button */
            color: #ffffff;
            border-radius: 20px;
            transition: background 0.3s, transform 0.2s;
        }

        body.dark-mode .toggle-mode {
            background: #adb5bd; /* Lighter silver-gray */
        }

        .toggle-mode:hover {
            background: #5a6268; /* Darker gray on hover */
            transform: scale(1.05);
        }

        body.dark-mode .toggle-mode:hover {
            background: #ced4da; /* Bright silver on hover */
        }

        .department-card {
            background: #ffffff;
            border-radius: 10px;
            margin-bottom: 20px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: box-shadow 0.3s ease;
        }

        body.dark-mode .department-card {
            background: #2a354a; /* Dark navy for cards */
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .department-card:hover {
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
        }

        body.dark-mode .department-card:hover {
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
        }

        .department-card h2 {
            font-size: 1.9rem; /* Increased from 1.7rem */
            font-weight: 600;
            color: #1a2639; /* Deep navy for card headings */
            margin-bottom: 10px;
        }

        body.dark-mode .department-card h2 {
            color: #dfe4ea; /* Light silver-gray for dark mode */
        }

        .department-content {
            padding: 10px 0;
        }

        .department-content p {
            font-size: 1.0rem; /* Increased from 0.9rem */
            color: #3a465b; /* Medium navy for text */
            line-height: 1.6;
            margin-bottom: 12px;
        }

        body.dark-mode .department-content p {
            color: #a7b2c4; /* Lighter navy for dark mode */
        }

        .department-content h3 {
            font-size: 1.3rem; /* Increased from 1.1rem */
            font-weight: 500;
            color: #6c757d; /* Cool gray for subheadings */
            margin-bottom: 8px;
        }

        body.dark-mode .department-content h3 {
            color: #adb5bd; /* Lighter silver-gray for dark mode */
        }

        .department-content ul {
            list-style: none;
            padding-left: 0;
        }

        .department-content li {
            font-size: 1.0rem; /* Increased from 0.9rem */
            color: #1a2639; /* Deep navy for list items */
            margin: 6px 0;
            position: relative;
            padding-left: 18px;
        }

        body.dark-mode .department-content li {
            color: #dfe4ea; /* Light silver-gray for dark mode */
        }

        .department-content li::before {
            content: '➔';
            position: absolute;
            left: 0;
            color: #6c757d; /* Cool gray for bullets */
            font-size: 1.0rem; /* Increased from 0.9rem */
        }

        body.dark-mode .department-content li::before {
            color: #adb5bd; /* Lighter silver-gray for dark mode */
        }

        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }

            header {
                padding: 15px;
            }

            header h1 {
                font-size: 2.2rem; /* Increased from 1.9rem */
            }

            .department-card {
                padding: 15px;
            }

            .department-card h2 {
                font-size: 1.7rem; /* Increased from 1.5rem */
            }

            .department-content h3 {
                font-size: 1.2rem; /* Increased from 1rem */
            }

            .department-content p,
            .department-content li {
                font-size: 0.95rem; /* Increased from 0.85rem */
            }

            .toggle-mode {
                font-size: 0.95rem; /* Increased from 0.85rem */
                padding: 15px 25px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0px;
            }

            header {
                padding: 12px;
            }

            header h1 {
                font-size: 2.0rem; /* Increased from 1.7rem */
                margin-bottom: 12px;
            }

            .department-card {
                margin-bottom: 15px;
                padding: 12px;
            }

            .department-card h2 {
                font-size: 1.6rem; /* Increased from 1.4rem */
            }

            .department-content h3 {
                font-size: 1.1rem; /* Increased from 0.95rem */
            }

            .toggle-mode {
                font-size: 0.9rem; /* Increased from 0.8rem */
                padding: 10px 20px;
            }
        }