  :root {
            --primary-color: #1e3a8a;
            --secondary-color: #3b82f6;
            --accent-color: #f59e0b;
            --text-dark: #1f2937;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        /* Header Styles */
     .top-header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 10px 0;
        }

        .main-header {
            background: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }


        .college-logo {
            max-height: 80px;
        }

        .college-name {
            color: var(--primary-color);
            font-weight: 700;
            font-size: 1.8rem;
        }

        .college-tagline {
            color: var(--text-dark);
            font-size: 0.9rem;
        }
         /* Header Styles */
        .page-header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 80px 0 50px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .page-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><polygon fill="rgba(255,255,255,0.1)" points="0,600 400,400 800,500 1200,300 1200,600"/></svg>');
            background-size: cover;
        }

        .page-header .container {
            position: relative;
            z-index: 2;
        }

        .page-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .breadcrumb {
            background: transparent;
            padding: 0;
            justify-content: center;
        }

        .breadcrumb-item a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
        }

        .breadcrumb-item.active {
            color: var(--accent-color);
        }


        /* Navigation */
        .navbar {
            background: var(--primary-color) !important;
            padding: 15px 0;
        }

        .navbar-nav {
            flex-wrap: wrap;
        }

        .navbar-nav .nav-link {
            color: white !important;
            font-weight: 500;
            margin: 0 5px;
            transition: all 0.3s ease;
        }

        .navbar-nav .nav-link:hover {
            color: var(--accent-color) !important;
            transform: translateY(-2px);
        }

        /* Mobile Navigation Styles */
        .navbar-toggler {
            border: 2px solid white !important;
            padding: 4px 8px;
            background: transparent;
        }

        .navbar-toggler:focus {
            box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
        }

        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
            width: 20px;
            height: 20px;
        }

        .dropdown-menu {
            background: var(--primary-color);
            border: none;
            border-radius: 8px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            max-height: 400px;
            overflow-y: auto;
            min-width: 280px;
        }

        /* Remove overflow constraints for parent dropdown when it has submenu */
        .dropdown-menu:has(.dropdown-submenu) {
            overflow: visible !important;
        }

        .dropdown-item {
            color: white !important;
            padding: 10px 20px;
            font-size: 0.9rem;
            white-space: normal;
        }

        .dropdown-item:hover {
            background: var(--secondary-color);
            color: var(--accent-color) !important;
        }

        .dropdown-divider {
            border-color: var(--secondary-color);
            margin: 8px 0;
        }

        /* Multi-level dropdown styles */
        .dropdown-submenu {
            position: static;
        }

        .dropdown-submenu .dropdown-menu {
            position: fixed !important;
            left: auto !important;
            top: auto !important;
            margin: 0;
            border-radius: 6px;
            min-width: 280px;
            display: none !important;
            z-index: 9999 !important;
            max-height: none !important;
            overflow: visible !important;
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
            background: #2563eb !important;
            border: 2px solid var(--accent-color);
        }

        .dropdown-submenu .dropdown-item {
            background: transparent;
        }

        .dropdown-submenu .dropdown-item:hover {
            background: #1d4ed8 !important;
            color: var(--accent-color) !important;
        }

        /* Arrow indicator for submenu */
        .dropdown-submenu > a:after {
            display: block;
            content: " ";
            float: right;
            width: 0;
            height: 0;
            border-color: transparent;
            border-style: solid;
            border-width: 5px 0 5px 5px;
            border-left-color: #ccc;
            margin-top: 5px;
            margin-right: -10px;
        }

        .dropdown-submenu:hover > a:after {
            border-left-color: var(--accent-color);
        }

        /* Desktop hover behavior */
        @media (min-width: 992px) {
            .dropdown-submenu:hover > .dropdown-menu {
                display: block !important;
            }
            
            .dropdown:hover > .dropdown-menu {
                display: block;
            }
        }

        /* Mobile responsive adjustments */
        @media (max-width: 991px) {
            .navbar-collapse {
                background: var(--primary-color);
                margin-top: 10px;
                border-radius: 8px;
                padding: 15px;
                max-height: 70vh;
                overflow-y: auto;
            }
            
            .navbar-nav .nav-link {
                padding: 12px 15px;
                border-bottom: 1px solid rgba(255,255,255,0.1);
                display: block;
                width: 100%;
            }
            
            .navbar-nav .nav-link:last-child {
                border-bottom: none;
            }
            
            .dropdown-menu {
                background: var(--secondary-color) !important;
                position: static !important;
                float: none;
                border: none;
                box-shadow: none;
                margin-left: 15px;
                border-radius: 5px;
                display: none;
                margin-top: 5px;
                max-height: none;
            }
            
            .dropdown-menu.show {
                display: block !important;
            }
            
            .dropdown-submenu .dropdown-menu {
                position: static !important;
                left: auto !important;
                top: auto !important;
                margin-left: 30px;
                box-shadow: none;
                border-left: 2px solid var(--accent-color);
                border-radius: 0;
                background: #1d4ed8 !important;
                border: none;
                border-left: 2px solid var(--accent-color);
            }
            
            .dropdown-submenu > a:after {
                display: none;
            }
            
            .dropdown-submenu .dropdown-menu.show {
                display: block !important;
            }
            
            /* Better mobile spacing */
            .college-name {
                font-size: 1.4rem;
            }
            
            .navbar-nav {
                text-align: left;
                width: 100%;
            }
        }

        /* Hero Section */
        .hero-section {
            background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(59, 130, 246, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f3f4f6" width="1200" height="600"/><polygon fill="%23e5e7eb" points="0,600 400,400 800,500 1200,300 1200,600"/></svg>');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 100px 0;
            text-align: center;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .hero-subtitle {
            font-size: 1.3rem;
            margin-bottom: 30px;
            opacity: 0.95;
        }

        .cta-btn {
            background: var(--accent-color);
            border: none;
            padding: 15px 30px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.3s ease;
        }

        .cta-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
        }

        /* Quick Links */
        .quick-links {
            background: #f8fafc;
            padding: 60px 0;
        }

        .quick-link-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            height: 100%;
        }

        .quick-link-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            border-color: var(--secondary-color);
        }

        .quick-link-icon {
            font-size: 3rem;
            color: var(--secondary-color);
            margin-bottom: 20px;
        }

        /* News Section */
        .news-section {
            padding: 60px 0;
            background: white;
        }

        .news-item {
            background: #f8fafc;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            border-left: 4px solid var(--secondary-color);
            transition: all 0.3s ease;
        }

        .news-item:hover {
            transform: translateX(10px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .news-date {
            color: var(--secondary-color);
            font-weight: 600;
            font-size: 0.9rem;
        }

        .news-item-modern {
            transition: background-color 0.3s ease;
        }

        .news-item-modern:hover {
            background-color: #f1f5f9 !important;
        }

        .date-circle {
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            line-height: 1;
        }

        .date-circle strong {
            font-size: 1rem;
        }

        /* Footer */
        .footer {
            background: var(--primary-color);
            color: white;
            padding: 50px 0 20px;
        }

        .footer h5 {
            color: var(--accent-color);
            margin-bottom: 20px;
        }

        .footer a {
            color: #cbd5e1;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer a:hover {
            color: var(--accent-color);
        }

        .social-links a {
            display: inline-block;
            width: 40px;
            height: 40px;
            line-height: 40px;
            text-align: center;
            background: var(--secondary-color);
            border-radius: 50%;
            margin: 0 5px;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--accent-color);
            transform: translateY(-3px);
        }
@media (max-width: 991px) {
    .navbar-toggler {
        display: block !important;
        border: 1px solid rgba(255,255,255,.5) !important;
    }
    
    .navbar-collapse {
        background: var(--primary-color);
        margin-top: 10px;
        padding: 15px;
        border-radius: 5px;
    }
    
    .navbar-collapse.show {
        display: block !important;
    }
}
        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .top-header .col-md-6 {
                text-align: center !important;
                margin-bottom: 5px;
            }
            
            .main-header .row {
                text-align: center;
            }
            
            .main-header .col-md-2,
            .main-header .col-md-8 {
                margin-bottom: 10px;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in-up {
            animation: fadeInUp 0.6s ease-out;
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f5f9;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--secondary-color);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-color);
        }