 
 :root {
        --primary-color: #4e73df;
        --secondary-color: #f8f9fc;
        --success-color: #1cc88a;
        --info-color: #36b9cc;
        --warning-color: #f6c23e;
        --danger-color: #e74a3b; 
        --accent-color: #4cc9f0;
} 
        /*
        :root {
            --primary-color: #4361ee;
            --secondary-color: #3f37c9;
            --light-color: #f8f9fa;
            --dark-color: #212529;
        }*/
/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
	font-size:.8rem;
}

/* Navbar Styles */
.navbar-brand {
    font-weight: 700;
}

/* Card Styles */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
}

/* Question Card Styles */
.question-card {
    background-color: #fff;
    transition: all 0.3s ease;
}

.question-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Timer Styles */
#timer {
    font-family: 'Courier New', monospace;
}

/* Button Styles */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Animation for correct/wrong answers */
@keyframes correctAnswer {
    0% { background-color: #fff; }
    50% { background-color: #d1e7dd; }
    100% { background-color: #fff; }
}

@keyframes wrongAnswer {
    0% { background-color: #fff; }
    50% { background-color: #f8d7da; }
    100% { background-color: #fff; }
}

.correct-answer {
    animation: correctAnswer 1.5s ease;
}

.wrong-answer {
    animation: wrongAnswer 1.5s ease;
}

/* Notification styles */
.notification-item {
    transition: all 0.3s ease;
    border-left: 3px solid var(--bs-info);
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.dismiss-btn {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.notification-item:hover .dismiss-btn {
    opacity: 1;
}

#mark-all-read {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

#mark-all-read:hover {
    opacity: 0.8;
    text-decoration: underline;
}
.notification-item {
    transition: all 0.3s ease;
    border-left: 3px solid var(--bs-info);
    opacity: 1;
}

.dismiss-btn {
    opacity: 0;
    transition: opacity 0.2s ease;
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
}

.dismiss-btn:hover {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.notification-item:hover .dismiss-btn {
    opacity: 1;
}


/*----------Admin Login------------------*/
/* Admin Panel Styles */
.admin-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f7fa;
}

.login-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header img {
    height: 60px;
    margin-bottom: 15px;
}

.login-header h1 {
    font-size: 1.5rem;
    color: #2c3e50;
}

/* Admin Dashboard Layout */
.admin-dashboard {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.admin-container {
    display: flex;
    flex: 1;
}

.admin-content {
    flex: 1;
    padding: 20px;
    background: #f5f7fa;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}



/* Admin Header Styles */
.admin-header {
    background: #2c3e50;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    cursor: pointer;
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.logo img {
    height: 30px;
    margin-right: 10px;
}

.header-right {
    display: flex;
    align-items: center;
}

.admin-profile {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 20px;
}

.admin-profile img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}




.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 0.8rem;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #555;
}

.programme-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-img-top {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}


/* Slider Height Adjustment */
#mainSlider .carousel-item img {
    height: 650px; /* Set your desired height */
    object-fit: cover; /* Ensures images cover the area properly */
    width: 100%;
}

/* For smaller devices */
@media (max-width: 768px) {
    #mainSlider .carousel-item img {
        height: 250px; /* Smaller height for mobile */
    }
}

/* Latest header*/

        
.navbar {
            background: #4361ee;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            padding: 0.8rem 0;
            transition: all 0.3s ease;			
        }
        
        .navbar.scrolled {
            padding: 0.5rem 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.3rem;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }
        
        .navbar-brand img {
            margin-right: 12px;
            transition: all 0.3s ease;
        }
        
        .nav-link {
            font-weight: 500;
            padding: 0.5rem 1rem;
            margin: 0 0.2rem;
            border-radius: 50px;
            transition: all 0.3s ease;
            position: relative;
            color: rgba(255, 255, 255, 0.9) !important;
        }
        
        .nav-link:hover {
            color: white !important;
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.15);
        }
        
        .nav-link:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background-color: var(--accent-color);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover:before {
            width: 60%;
        }
        
        .navbar-toggler {
            border: none;
            padding: 0.5rem;
        }
        
        .navbar-toggler:focus {
            box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
        }
        
        .btn-signup {
            background-color: var(--accent-color);
            color: white;
            border-radius: 50px;
            padding: 0.5rem 1.5rem;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid var(--accent-color);
        }
        
        .btn-signup:hover {
            background-color: transparent;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
		.mb-5rem{
			margin-bottom:5rem;
		}
        .user-badge {
            display: flex;
            align-items: center;
            margin-left: 1rem;
            padding: 0.3rem 0.8rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50px;
            transition: all 0.3s ease;
        }
        
        .user-badge:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .user-badge i {
            margin-right: 8px;
            color: var(--accent-color);
        }
        
        @media (max-width: 991.98px) {
            .navbar-collapse {
                padding: 1rem 0;
                background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
                border-radius: 0.5rem;
                margin-top: 0.5rem;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            }
            
            .nav-link {
                margin: 0.3rem 0;
                padding: 0.8rem 1rem;
            }
            
            .user-badge {
                margin: 0.5rem 0 0 0;
                justify-content: center;
            }
        }
	/* Program filter styling */
		.program-filter {
			margin-bottom: 20px;
		}
		.program-badge {
			font-size: 0.9rem;
			margin-left: 10px;
		}

/*---------exam card------------*/
.exam-badge {
        position: absolute;
        top: -10px; /* Reduced from -12px */
        right: 15px;
        padding: 5px 12px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 12px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 1; /* Ensure it stays above other elements */
    }
    
    .card-header {
        position: relative;
        overflow: visible; /* Changed from default 'hidden' */
    }
    
    .exam-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .card-header.bg-gradient-primary {
        background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
        border-radius: 12px 12px 0 0 !important;
    }
    
    .exam-badge {
        position: absolute;
        top: -12px;
        right: 15px;
        padding: 5px 12px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 12px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    
    .exam-corner-ribbon {
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 40px 40px 0;
        border-color: transparent rgba(255,255,255,0.2) transparent transparent;
    }
    
    .exam-details {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .detail-item {
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    .bg-light-primary {
        background-color: rgba(78, 115, 223, 0.1);
    }
    
    .bg-light-warning {
        background-color: rgba(255, 193, 7, 0.1);
    }
    
    .bg-light-success {
        background-color: rgba(40, 167, 69, 0.1);
    }
    
    .exam-description {
        min-height: 60px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .btn-soft-success {
        background-color: rgba(40, 167, 69, 0.1);
        color: #28a745;
        border: none;
    }
    
    .btn-hover-light:hover {
        background-color: #f8f9fa;
    }
    
    .btn-hover-shadow:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }
 
 /*---------------About Us-----------------------*/
  /* About Us Page Specific Styles */
        .about-section {
            background: #fff;
            padding: 30px;
            margin: 20px 0;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .about-section h2 {
            color: #2c3e50;
            border-bottom: 2px solid #e74c3c;
            padding-bottom: 10px;
            margin-top: 0;
        }
        
        .vision-box {
            background-color: #f8f9fa;
            padding: 20px;
            border-left: 4px solid #e74c3c;
            margin: 20px 0;
        }
        
        .features {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin: 20px 0;
        }
        
        .feature-box {
            flex: 1 1 300px;
            background: #f1f1f1;
            padding: 20px;
            border-radius: 5px;
        }
        
        .feature-box ul {
            padding-left: 20px;
        }
        
        .feature-box li {
            margin-bottom: 10px;
        }
        
        /* Call to Action */
        .cta {
            text-align: center;
            padding: 30px;
            background: #e74c3c;
            color: white;
            border-radius: 8px;
            margin: 30px 0;
        }
        
        .cta a {
            color: white;
            text-decoration: none;
            font-weight: bold;
            border: 2px solid white;
            padding: 10px 20px;
            border-radius: 5px;
            display: inline-block;
            margin-top: 15px;
            transition: all 0.3s ease;
        }
        
        .cta a:hover {
            background: white;
            color: #e74c3c;
        }
 
 /*           Latste Update Dashboard  */
 
     
        .sidebar {
            width: 250px;
            min-height: 100vh;
            background: linear-gradient(180deg, var(--primary-color) 0%, #224abe 100%);
            color: white;
            position: fixed;
            top: 0;
            left: -250px;
            transition: all 0.3s;
            z-index: 1000;
            box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        }
        
        .sidebar.active {
            left: 0;
        }
        
        .sidebar-header {
            padding: 1.5rem 1rem;
            background: rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        
        .sidebar-content {
            padding: 1rem;
            max-height: calc(100vh - 120px);
            overflow-y: auto;
        }
        
        .notification-item {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 5px;
            padding: 0.75rem;
            margin-bottom: 0.75rem;
            transition: all 0.3s;
        }
        
        .notification-item:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .main-content {
            margin-left: 0;
            transition: all 0.3s;
            padding: 20px;
        }
        
        .main-content.active {
            margin-left: 250px;
        }
        
        .sidebar-toggle {
            position: fixed;
            left: 10px;
            top: 10px;
            z-index: 999;
            background: var(--primary-color);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        
        .card {
            border: none;
            border-radius: 0.35rem;
            box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
            margin-bottom: 1.5rem;
        }
        
        .card-header {
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            font-weight: 600;
        }
        
        .bg-primary {
            background-color: var(--primary-color) !important;
        }
        
        .bg-success {
            background-color: var(--success-color) !important;
        }
        
        .bg-info {
            background-color: var(--info-color) !important;
        }
        
        .bg-warning {
            background-color: var(--warning-color) !important;
        }
        
        .badge {
            font-weight: 500;
            padding: 0.35em 0.65em;
        }
        
        .list-group-item {
            border-left: 0;
            border-right: 0;
        }
        
        .list-group-item:first-child {
            border-top: 0;
        }
        
        .list-group-item:last-child {
            border-bottom: 0;
        }
        
        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }
        
        @media (min-width: 992px) {
            .main-content {
                margin-left: 250px;
            }
            
            .sidebar {
                left: 0;
            }
            
            .sidebar-toggle {
                display: none;
            }
        }
    