/* Main Styles */

.custom-pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; /* Circle size */
    height: 50px;
    border-radius: 50%; /* Makes it a circle */
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #090e59; /* Default border */
    color: #090e59; /* Default text color */
    background-color: transparent; /* Default transparent background */
    margin: 0 5px; /* Spacing between buttons */
}

/* Style for active page button */
.custom-pagination-button.active {
    background-color: #090e59 !important;
    color: white !important;
}

.toggler-sidebar{
    display:none;
}

.accordion-body a{
    margin:5px;
    width:100%;
}

.navbar-toggler {
    margin-right: 12px; 
}


.examprev-logo {
    border-radius: 15%;
    width: 140px;
    height: 60px;
    display: inline-block;
    text-align: top;
    transition: transform 0.3s ease;
}

.examprev-logo:hover {
    transform: scale(1.05);
}

@media(max-width: 1024px) {
    .toggler-sidebar {
        display:block;
        position: fixed;
        top: 15px;
        left: 10px;
        z-index: 1000; /* Ensures it stays on top of other content */
    }
    .footer-menu li{
        text-align:center;
    }
    .footer-logo {
        text-align: center;
    }
    .footer-text p{
        text-align:center
    }
    .footer-icon-text{
        text-align:center;
    }
    .footer-menu{
        text-align: center;
        padding: 0px;
        margin: 0px;
    }
}

/* Scrollbar Styles */
html {
    --scrollbarBG: #CFD8DC;
    --thumbBG: #90A4AE;
}

.left-side::-webkit-scrollbar {
    width: 5px;
}

.left-side{
    scrollbar-width: thin;
    height:100%;
    width:24%;
    padding:1%;
    z-index:2;
    position: fixed;
    overflow: scroll;
    margin:-10px;
}

.left-side::-webkit-scrollbar-thumb {
    background-color: var(--thumbBG) ;
    border-radius: 6px;
    border: 3px solid var(--scrollbarBG);
}

/* Enhanced Navbar Styles */
.navbar {
    background-color: #333;
    position: fixed;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    top: 0;
    width: 100%;
    z-index: 100;
    min-height: 80px;
}

.nav-link {
    font-weight: 500;
    padding: 12px 12px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #2c3e50 !important;
}

.nav-link:hover {
    background: #f8f9fa;
    color: #3498db !important;
    transform: translateY(-1px);
}

.dropdown-menu{
    border: none;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    max-height: 550px;
    overflow-y: auto;
    min-width: 280px;
    width: max-content;
    position: absolute;
    background-color: #f1f1f1;
    z-index: 1;
    display: none;
    overflow-x: hidden;
}

.dropdown-menu a {
    color: #2c3e50;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #3498db;
    transform: translateX(5px);
}

.dropdown-menu hr {
    margin: 0.25rem 0;
    opacity: 0.2;
}

.main-body{
    margin-top:90px;
}

.heading{
    color:black;
}

/* Typography */
p, li, td{
    font-size: 17px; 
    font-weight: normal;
}

hr{
    line-height:1.2;
}

#heading{
    font-size:20px;
    font-weight:500;
}

a{
    cursor:pointer;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

#red{
    color:red;
}

#subheading{
    font-size:22px;
    font-weight:500;
    text-align:center;
}

a:link{
    text-decoration: none;
}

/* Animation Styles */
pan{
    font-family: cursive;
    color: black;
    color:red;
    animation: blink 1s linear infinite;
}

@keyframes blink{
    0%{opacity: 0;}
    50%{opacity: 1;}
    100%{opacity: 2;}
}

/* Profile Section Styles */
.profile-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    margin-right: 1rem;
}

/* Search Container */
.search-container {
    position: relative;
}

.search-input {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 25px;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    width: 220px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    width: 280px;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

/* Notification and Profile Buttons */
.notification-btn, .profile-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.notification-btn:hover, .profile-btn:hover {
    border-color: #3498db;
    color: #3498db;
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    padding: 0.15rem 0.35rem;
    border-radius: 50%;
    min-width: 16px;
    text-align: center;
}

/* Notification Dropdown Styles */
.notification-dropdown {
    position: relative;
}

.notification-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 350px;
    max-width: 400px;
    box-shadow: 0 8px 35px rgba(0,0,0,0.15);
    border-radius: 16px;
    border: 1px solid #e9ecef;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    margin-top: 0.5rem;
    max-height: 500px;
    overflow: hidden;
}

.notification-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.notification-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #f1f3f4;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.notification-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-count {
    background: rgba(255,255,255,0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.notification-body {
    max-height: 350px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.notification-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background: #f0f8ff;
    border-left: 4px solid #3498db;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.notification-icon.success { background: #27ae60; }
.notification-icon.info { background: #3498db; }
.notification-icon.warning { background: #f39c12; }
.notification-icon.error { background: #e74c3c; }

.notification-content {
    flex: 1;
}

.notification-text {
    color: #2c3e50;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 0.3rem 0;
    font-weight: 500;
}

.notification-time {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 400;
}

.notification-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f3f4;
    text-align: center;
}

.notification-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.notification-footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Empty state */
.notification-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #6c757d;
}

.notification-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

.notification-empty h6 {
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Login prompt for unauthenticated users */
.login-prompt {
    text-align: center;
    padding: 2rem 1.5rem;
}

.login-prompt i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.login-prompt h6 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.login-prompt p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.login-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.login-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Profile Dropdown */
.profile-dropdown {
    position: relative;
}

.profile-menu {
    position: absolute;
    top: 100%;
    right: 15px;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem;
    margin-top: 0.5rem;
    max-height: 380px;
    overflow-y: auto;
}

.profile-header {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0.5rem;
}

.profile-name {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    font-size: 0.95rem;
}

.profile-email {
    color: #6c757d;
    font-size: 0.8rem;
    margin: 0;
}

.profile-menu a {
    color: #2c3e50;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.profile-menu a:hover {
    background: #f8f9fa;
    color: #3498db;
    transform: translateX(5px);
}

.profile-menu i {
    width: 16px;
    text-align: center;
}

/* Login Modal Styles */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1060;
    backdrop-filter: blur(5px);
}

.login-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.login-modal {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.login-modal-overlay.show .login-modal {
    transform: scale(1) translateY(0);
}

.login-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.login-modal-header h5 {
    margin: 0;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255,255,255,0.2);
}

.login-modal-body {
    padding: 2rem 1.5rem;
}

.login-modal-body p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.login-option-btn {
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: .7rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.login-option-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.login-option-btn.primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.login-option-btn.secondary {
    background: white;
    color: #2c3e50;
    border-color: #e9ecef;
}

.login-option-btn.secondary:hover {
    background: #f8f9fa;
    color: #3498db;
    border-color: #3498db;
    transform: translateY(-1px);
}

.login-option-btn.google {
    background: #db4437;
    color: white;
}

.login-option-btn.google:hover {
    background: #c23321;
    color: white;
    transform: translateY(-1px);
}

.login-option-btn.facebook {
    background: #3b5998;
    color: white;
}

.login-option-btn.facebook:hover {
    background: #2d4373;
    color: white;
    transform: translateY(-1px);
}

.divider {
    text-align: center;
    position: relative;
    margin: 0.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Fix notification overlay z-index */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.notification-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Footer Styles */
footer{
    position: fixed;
    bottom: 0;
}

.footer-section {
    background: white;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index:99;
}

.cta-text {
    padding-left: 15px;
    display: inline-block;
}

.cta-text h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2px;
}

.cta-text span {
    color: #757575;
    font-size: 15px;
}

.footer-content {
    position: relative;
}

.footer-pattern img {
    position: absolute;
    top: 0;
    left: 0;
    height: 330px;
    background-size: cover;
    background-position: 100% 100%;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    max-width: 200px;
}

.footer-text p {
    margin-bottom: 14px;
    font-size: 15px;
    color: #7e7e7e;
    line-height: 28px;
}

.footer-social-icon span {
    color: #090e59;
    display: block;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

.footer-social-icon a {
    color: #090e59;
    font-size: 16px;
    margin-right: 15px;
}

.footer-social-icon i {
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 38px;
    border-radius: 50%;
}

.facebook-bg{
    background: #3B5998;
}

.twitter-bg{
    background: #55ACEE;
}

.google-bg{
    background: #DD4B39;
}

.footer-widget{
    margin-left:10px;
}

.footer-widget ul li {
    display: inline-block;
    float: left;
    width: 50%;
    margin-bottom: 8px;
}

.footer-widget ul li a:hover{
    color: #090e59;
    font-weight:700;
}

.footer-widget ul li a {
    color: #878787;
    text-transform: capitalize;
    text-decoration:none;
    font-size:17px;
}

.subscribe-form {
    position: relative;
    overflow: hidden;
    margin-right:10px;
}

.subscribe-form input {
    width: 100%;
    padding: 14px 28px;
    background: white;
    border: 1px solid #2E2E2E;
    color: black;
}

.subscribe-form button {
    position: absolute;
    color:white;
    right: 0;
    background:#090e59;
    padding: 15px 20px;
    border:none;
    top: 0;
}

.subscribe-form button i {
    color: #fff;
    font-size: 22px;
    transform: rotate(-6deg);
}

.copyright-area{
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 25px 0;
}

.copyright-text p {
    margin-left: 10px;
    text-decoration:none;
    color: #090e59;
}

.copyright-text p a{
    color: #090e59;
    font-size:18px;
    text-decoration:none;
}

.footer-menu li {
    display: inline-block;
    margin-left: 0px;
    margin-right:10px;
}

.footer-menu li:hover a{
    color: #090e59;
    font-weight:700;
}

.footer-menu li a {
    font-size: 17px;
    color: #878787;
    text-decoration: none;
}

.footer-logo span{
    color:#090e59;
    font-size:35px;
    font-weight:700;
}

.col-md-9{
    padding:15px;
}

#spanh3{
    color: #090e59;
    font-size:25px;
}

#foolter-ul{
    margin-left:0px;
    padding:0px;
}

.pb-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.footer-social-icon{
    text-align:center;
}

.blinkK{
    font-size:25px;
    font-weight:600;
    color: #090e59;
}

/* Media Queries */
@media (max-width: 991px) {
    .profile-section {
        margin-left: 1rem;
        gap: 0.5rem;
    }
    
    .search-input {
        width: 98%;
    }
    
    .search-input:focus {
        width: 100%;
    }
    
    .profile-menu {
        right: 10px;
    }
    
    .notification-menu {
        right: 5px;
        min-width: 320px;
    }
}

@media (max-width: 768px) {
    .notification-btn {
        display: flex !important;
    }
    
    .profile-section {
        gap: 0.8rem;
    }
    
    .search-input {
        width: 98%;
    }
    
    .search-input:focus {
        width: 100%;
    }
    
    .profile-menu {
        right: 5px;
    }
    
    .notification-menu {
        right: 0;
        min-width: 300px;
        max-width: 95vw;
    }
}

@media (max-width: 480px) {
    .search-input {
        width: 98%;
    }
    .search-input:focus {
        width: 100%;
    }
    
    .notification-menu {
        min-width: 280px;
    }
}
.row{
    margin-left: 3px;
    margin-right: 3px;  
}

     .social-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }

        .social-circle {
            width: 60px;
            height: 60px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.20);
            cursor: pointer;
            transition: all 0.2s ease;
            margin-bottom: 25px;
        }

        .social-circle:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.25);
            transform: translateY(-2px);
        }

        .social-icon {
            width: 24px;
            height: 24px;
        }

        .small .social-circle {
            width: 60px;
            height: 60px;
        }

        .small .social-icon {
            width: 40px;
            height: 40px;
        }