
        :root {
            --primary-color: #2c3e50;
            --secondary-color: #3498db;
            --accent-color: #68bb59;
            --text-color: #333;
            --light-color: #ecf0f1;
            --dark-color: #1f2836;
        }

        body {
            font-family: 'Roboto', sans-serif;
            color: var(--text-color);
            overflow-x: hidden;
        }

        /* Top Header */
        .top-header {
            background-color: var(--primary-color);
            color: white;
            padding: 8px 0;
            font-size: 14px;
        }

        .top-header a {
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .top-header a:hover {
            color: var(--secondary-color);
        }

        /* Logo */
.logo-container {
    padding: 15px 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center; /* Added for extra centering */
}

.logo-img {
    max-height: 150px;
    width: auto;
    margin: 0 auto; /* Centers the image horizontally */
    display: block; /* Needed for margin auto to work */
}

.logo-text, .logo-text-hindi {
    text-align: center; /* Ensure text is centered */
    width: 100%; /* Full width for proper centering */
}


        /* Navigation */
        .navbar {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        .navbar-nav {
            margin: 0 auto;
            display: flex;
            justify-content: center;
        }
        .navbar-nav .nav-link {
            color: var(--primary-color);
            font-weight: 600;
            padding: 10px 15px;
            transition: all 0.3s ease;
        }
        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: var(--secondary-color);
        }
        .dropdown-menu {
            border: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        /* Placement Banner */
        .placement-banner {
            background-image: url('../image/elex word1.jpg');
            background-size: cover;
            height: 600px;
            display: flex;
            align-items: center;
            margin-top: 90px;
            position: relative;
        }
        .placement-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
        }
        .placement-content {
            position: relative;
            color: white;
            text-align: center;
            width: 100%;
        }
        .placement-content h3 {
            font-size: 3.5rem;
            color: #ffc600;
        }

        /* Department Content */
        .department-content {
            background-color: #f7f7f7;
            padding: 60px 0;
            border: 2px solid #0369A0;
            border-radius: 10px;
        }
        .sidebar {
            background-color: white;
            border: 2px solid #0369A0;
            border-radius: 10px;
            padding: 20px;
        }
        .sidebar-item {
            padding: 15px;
            font-size: 1.2rem;
            border-bottom: 1px solid #0369A0;
            transition: all 0.3s ease;
        }
        .sidebar-item:hover {
            background-color: #0369A0;
            color: white;
        }
        .sidebar-item i {
            margin-right: 10px;
        }
        .about-section {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .heading1 {
            background-color: #0369A0;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        .about1 {
            color: white;
            font-family: "Times New Roman", sans-serif;
            font-size: 1.5rem;
            font-weight: 600;
            text-align: center;
            margin: 0;
        }
        
        /* Faculty Table Styles */
        .faculty-img {
            max-width: 150px;
            height: auto;
            border-radius: 5px;
            border: 2px solid #0369A0;
        }
        .faculty-table {
            width: 100%;
            border-collapse: collapse;
        }
        .faculty-table th {
            background-color: #0369A0;
            color: white;
            padding: 12px;
            text-align: center;
        }
        .faculty-table td {
            padding: 15px;
            vertical-align: middle;
            border: 1px solid #ddd;
        }
        .faculty-table tr:nth-child(even) {
            background-color: #f2f2f2;
        }
        .faculty-table tr:hover {
            background-color: #e6f7ff;
        }
        
        /* Add these styles to your existing CSS */
        .department-content {
            background-color: #f8f9fa;
        }
        
        .sidebar {
            position: sticky;
            top: 20px;
        }
        
        .sidebar-header {
            font-weight: 600;
        }
        
        .list-group-item {
            border-left: 0;
            border-right: 0;
            padding: 12px 20px;
            transition: all 0.3s ease;
        }
        
        .list-group-item:first-child {
            border-top: 0;
        }
        
        .list-group-item:hover {
            background-color: #f1f1f1;
            padding-left: 25px;
        }
        
        .list-group-item.active {
            background-color: #0d6efd;
            border-color: #0d6efd;
        }
        
        .department-main-content {
            background-color: white;
        }
        
        .icon-box {
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .lead {
            font-size: 1.1rem;
            line-height: 1.6;
        }
        
        .hod-section .card-header {
            font-weight: 600;
        }

        /* Footer */
        .footer {
            background-color: var(--dark-color);
            color: white;
            padding: 60px 0 20px;
        }
        .footer h3 {
            font-size: 20px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        .footer h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 2px;
            background-color: var(--accent-color);
        }
        .footer a {
            color: #ddd;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        .footer a:hover {
            color: var(--accent-color);
            padding-left: 5px;
        }
        .social-icons {
            list-style: none;
            padding: 0;
            display: flex;
        }
        .social-icons li {
            margin-right: 10px;
        }
        .social-icons a {
            display: inline-block;
            width: 36px;
            height: 36px;
            line-height: 36px;
            text-align: center;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
            color: white;
        }
        .social-icons a:hover {
            background-color: var(--accent-color);
            color: white;
            transform: scale(1.1);
        }
        .contact-info i {
            width: 20px;
            text-align: center;
            margin-right: 10px;
            color: var(--accent-color);
        }
        .contact-info li {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        .newsletter input {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
        }
        .newsletter button {
            width: 100%;
            padding: 10px;
            border: none;
            background-color: gold;
            border-radius: 4px;
        }
        /* Marquee */
        .marquee-container {
            overflow: hidden;
            white-space: nowrap;
            width: 100%;
        }
        .marquee-content {
            display: inline-block;
            padding-left: 100%;
            animation: marquee 20s linear infinite;
        }
        @keyframes marquee {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-100%);
            }
        }
        /* Faculty Cards Styling */
.faculty-card {
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.faculty-details li {
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
}

.faculty-details li:last-child {
    border-bottom: none;
}

.object-fit-cover {
    object-fit: cover;
}

.transition-all {
    transition: all 0.3s ease;
}

.z-index-1 {
    z-index: 1;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .faculty-card .col-md-5 {
        height: 250px;
    }
    
    .faculty-card .row {
        flex-direction: column;
    }
}
        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .logo-text {
                font-size: 1.5rem;
            }
            .logo-text-hindi {
                font-size: 1.5rem;
            }
            .placement-content h3 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .logo-container {
                text-align: center;
            }
            .logo-img {
                margin: 0 auto 15px;
            }
            .placement-banner {
                height: 300px;
                margin-top: 70px;
            }
            .sidebar {
                margin-bottom: 30px;
            }
            .icon-box {
                width: 50px;
                height: 50px;
            }
            
            .icon-box i {
                font-size: 1.5rem;
            }
            
            .faculty-table {
                display: block;
                overflow-x: auto;
            }
        }

        @media (max-width: 576px) {
            .logo-text {
                font-size: 1.2rem;
            }
            .logo-text-hindi {
                font-size: 1.2rem;
            }
            .placement-banner {
                height: 250px;
                margin-top: 60px;
            }
            .placement-content h3 {
                font-size: 2rem;
            }
            .footer {
                padding: 40px 0 20px;
            }
            
            .faculty-table td, .faculty-table th {
                padding: 8px;
                font-size: 0.9rem;
            }
            
            .faculty-img {
                max-width: 100px;
            }
        }
          
@media (max-width: 768px) {
    .logo-img {
        max-height: 120px; /* Slightly smaller on mobile */
        margin-bottom: 15px;
    }
    
    .logo-text {
        font-size: 1.3rem; /* Adjusted for mobile */
    }
    
    .logo-text-hindi {
        font-size: 1.1rem; /* Adjusted for mobile */
    }
}
    