        /* Departments Section */
        .departments-section {
            background: linear-gradient(135deg, #0d2137 0%, #1a3a5c 100%);
            padding: 35px 15px;
            position: relative;
            overflow: hidden;
        }
        
        .departments-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('../images/college-banner-home.JPG') center/cover no-repeat;
            opacity: 0.18;
            z-index: 0;
            pointer-events: none;
        }

        .section-container {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .departments-title {
            color: #fff;
            font-size: 42px;
            font-weight: 800;
            text-align: center;
            margin-bottom: 8px;
            position: relative;
            z-index: 2;
            animation: fadeInDown 0.8s ease-out;
        }

        .departments-subtitle {
            color: rgba(255, 255, 255, 0.85);
            font-size: 18px;
            text-align: center;
            max-width: 600px;
            margin: 0 auto 30px;
            line-height: 1.6;
            position: relative;
            z-index: 2;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        .departments-scroll-container {
            position: relative;
            padding: 0;
            margin: 0;
        }

        .departments-grid {
            display: flex;
            gap: 30px;
            padding: 0 0 15px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: rgba(255,255,255,0.3) transparent;
        }

        .departments-grid::-webkit-scrollbar {
            height: 6px;
        }

        .departments-grid::-webkit-scrollbar-track {
            background: transparent;
        }

        .departments-grid::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.3);
            border-radius: 3px;
        }

        .departments-grid::-webkit-scrollbar-thumb:hover {
            background: rgba(255,255,255,0.5);
        }

        .department-card-new {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            animation: zoomInUp 0.6s ease-out both;
            display: flex;
            flex-direction: column;
            min-width: calc(20% - 24px);
            flex-shrink: 0;
            scroll-snap-align: start;
        }

        .department-card-new:nth-child(1) { animation-delay: 0s; }
        .department-card-new:nth-child(2) { animation-delay: 0.1s; }
        .department-card-new:nth-child(3) { animation-delay: 0.2s; }
        .department-card-new:nth-child(4) { animation-delay: 0.3s; }
        .department-card-new:nth-child(5) { animation-delay: 0.4s; }

        .department-card-new:hover {
            transform: translateY(-15px);
            box-shadow: 0 25px 45px rgba(44, 90, 160, 0.2);
        }

        .department-image {
            width: 100%;
            height: 200px;
            overflow: hidden;
            position: relative;
            aspect-ratio: 16 / 10;
        }

        .department-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 0.4s ease;
            display: block;
        }

        .department-card-new:hover .department-image img {
            transform: scale(1.1);
        }

        .department-content {
            padding: 25px 20px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .department-name {
            color: #2c5aa0;
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .department-desc {
            color: #666;
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .department-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #f0a500;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 8px 0;
            border-bottom: 2px solid transparent;
            align-self: flex-start;
        }

        .department-link:hover {
            color: #2c5aa0;
            border-bottom-color: #2c5aa0;
            gap: 10px;
        }

        .department-link i {
            font-size: 14px;
            transition: transform 0.3s ease;
        }

        .department-link:hover i {
            transform: translateX(4px);
        }

        .department-programs {
            display: none;
        }

        .program-tag {
            display: none;
        }

        .scroll-indicator {
            display: none;
        }

        .scroll-nav {
            display: none;
        }

        /* Responsive Design for Departments */
        @media (max-width: 1200px) {
            .departments-title {
                font-size: 36px;
            }
            .departments-grid {
                gap: 25px;
            }
            .department-card-new {
                min-width: calc(25% - 18px);
            }
        }

        @media (max-width: 768px) {
            .departments-section {
                padding: 60px 15px;
            }
            .departments-title {
                font-size: 32px;
            }
            .departments-subtitle {
                font-size: 16px;
                margin-bottom: 40px;
            }
            .departments-grid {
                gap: 20px;
            }
            .department-card-new {
                min-width: calc(50% - 10px);
            }
            .department-name {
                font-size: 18px;
            }
            .department-image {
                height: 200px;
            }
        }

        @media (max-width: 480px) {
            .departments-title {
                font-size: 28px;
            }
            
            .departments-grid {
                gap: 15px;
            }

            .department-card-new {
                min-width: 85%;
            }
            
            .department-name {
                font-size: 18px;
            }
            
            .department-desc {
                font-size: 15px;
            }
        }
