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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f8f9fa;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo-container {
            display: flex;
            align-items: center;
        }

        .logo {
            height: 60px;
            margin-right: 15px;
        }

        .department-name {
            font-weight: 700;
            font-size: 18px;
            color: #2c3e50;
        }

        .university-name {
            font-size: 14px;
            color: #7f8c8d;
        }

        .search-box {
            display: flex;
            border: 1px solid #ddd;
            border-radius: 4px;
            overflow: hidden;
        }

        .search-box input {
            border: none;
            padding: 8px 12px;
            width: 200px;
        }

        .search-box button {
            background: #3498db;
            border: none;
            color: white;
            padding: 8px 12px;
            cursor: pointer;
        }

        nav {
            background: #2c3e50;
            color: white;
        }

        .nav-menu {
            display: flex;
            list-style: none;
        }

        .nav-menu li {
            position: relative;
        }

        .nav-menu a {
            color: white;
            text-decoration: none;
            padding: 15px 20px;
            display: block;
            transition: background 0.3s;
        }

        .nav-menu a:hover {
            background: #34495e;
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            background: white;
            min-width: 200px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 100;
        }

        .dropdown-menu li a {
            color: #333;
            padding: 12px 20px;
        }

        .dropdown:hover .dropdown-menu {
            display: block;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
        }

        /* Page Header */
        .page-header {
            background: linear-gradient(135deg, #3498db, #2c3e50);
            color: white;
            padding: 60px 0;
            text-align: center;
        }

        .page-header h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }

        .page-header p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Branch Navigation */
        .branch-nav {
            background: white;
            padding: 20px 0;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .branch-tabs {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
        }

        .branch-tab {
            padding: 12px 25px;
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
        }

        .branch-tab:hover {
            background: #e9ecef;
        }

        .branch-tab.active {
            background: #3498db;
            color: white;
            border-color: #3498db;
        }

        /* Semester Navigation */
        .semester-nav {
            background: white;
            padding: 15px 0;
            margin-top: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .semester-tabs {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 5px;
        }

        .semester-tab {
            padding: 10px 15px;
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
            min-width: 120px;
            text-align: center;
        }

        .semester-tab:hover {
            background: #e9ecef;
        }

        .semester-tab.active {
            background: #2c3e50;
            color: white;
            border-color: #2c3e50;
        }

        /* Courses Section */
        .courses-section {
            padding: 40px 0;
        }

        .semester-title {
            text-align: center;
            margin-bottom: 30px;
            color: #2c3e50;
            font-size: 1.8rem;
        }

        .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 20px;
        }

        .course-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
        }

        .course-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        }

        .course-header {
            background: #3498db;
            color: white;
            padding: 15px;
        }

        .course-code {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .course-name {
            font-size: 1.2rem;
            margin: 5px 0;
        }

        .course-body {
            padding: 15px;
        }

        .course-credits {
            display: inline-block;
            background: #e9ecef;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }

        .course-description {
            color: #6c757d;
            font-size: 0.95rem;
            margin-bottom: 15px;
        }

        .prerequisites {
            border-top: 1px solid #e9ecef;
            padding-top: 15px;
        }

        .prerequisites-title {
            font-weight: 600;
            margin-bottom: 8px;
            color: #2c3e50;
            font-size: 0.95rem;
        }

        .prerequisites-list {
            list-style-type: none;
        }

        .prerequisites-list li {
            display: inline-block;
            background: #f8f9fa;
            padding: 4px 10px;
            border-radius: 4px;
            margin-right: 8px;
            margin-bottom: 8px;
            font-size: 0.85rem;
            border: 1px solid #e9ecef;
        }

        .no-prerequisites {
            color: #6c757d;
            font-style: italic;
            font-size: 0.9rem;
        }

        /* Branch Info */
        .branch-info {
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
        }

        .branch-info h2 {
            color: #2c3e50;
            margin-bottom: 15px;
            border-bottom: 2px solid #3498db;
            padding-bottom: 10px;
        }

        .branch-info p {
            margin-bottom: 15px;
            line-height: 1.7;
        }

        /* Semester Credits */
        .semester-credits {
            text-align: center;
            margin-top: 20px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            font-size: 1.2rem;
            font-weight: 600;
            color: #2c3e50;
        }

        /* Footer */
        footer {
            background: #2c3e50;
            color: white;
            padding: 50px 0 20px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }

        .footer-column h3 {
            margin-bottom: 20px;
            font-size: 1.2rem;
        }

        .contact-info li {
            display: flex;
            margin-bottom: 15px;
        }

        .contact-info i {
            margin-right: 10px;
            color: #3498db;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: #bdc3c7;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: white;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: #34495e;
            border-radius: 50%;
            color: white;
            text-decoration: none;
            transition: background 0.3s;
        }

        .social-links a:hover {
            background: #3498db;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #34495e;
            color: #bdc3c7;
            font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }

            .nav-menu {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: #2c3e50;
                z-index: 100;
            }

            .nav-menu.active {
                display: flex;
            }

            .branch-tabs, .semester-tabs {
                flex-direction: column;
                align-items: center;
            }

            .branch-tab, .semester-tab {
                width: 100%;
                max-width: 300px;
            }
            
            .courses-grid {
                grid-template-columns: 1fr;
            }
        }