 :root {
            --primary-color: #3682c8;
            --secondary-color: #3bafc0;
            --accent-color: #f97316;
            --light-color: #f8fafc;
            --dark-color: #1e293b;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
      body {
            font-family: 'Poppins', sans-serif;
            padding-top: 75px;
            margin: 0;
            padding: 0;
            background-color: #f9f9f9;
            color: #333;
            line-height: 1.6;
        }
        .top-bar {
            background-color: var(--secondary-color);
            color: var(--light-color);
            font-size: 0.85rem;
            padding: 0.4rem 0;
            position: relative;
            z-index: 1030;
        }
        
        .top-bar a {
            color: #d1d5db;
            text-decoration: none;
            transition: color 0.3s;
        }
       
        .top-bar a:hover {
            color: white;
        }
        
        .top-bar-divider {
            color: rgba(255,255,255,0.2);
            margin: 0 0.5rem;
        }
        
        /* Search Bar */
        .search-container {
            position: relative;
        }
        
        .search-container input {
            border-radius: 20px;
            padding-left: 40px;
            background-color: rgba(255,255,255,0.1);
            border: none;
            color: white;
            height: 32px;
            font-size: 0.85rem;
            transition: all 0.3s;
        }
        
        .search-container input:focus {
            background-color: rgba(255,255,255,0.15);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
            color: white;
        }
          .search-container input::placeholder{
              color: white;
          }
        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255,255,255,0.6);
            font-size: 0.9rem;
        }
        
        /* Main Navbar */
        .main-navbar {
            background-color: white;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1020;
            padding: 0;
        }
        
        .logo img {
            transition: transform 0.3s;
        }
        
        .logo:hover img {
            transform: scale(1.03);
        }
        
        .nav-link {
            font-weight: 500;
            color: var(--dark-color);
            position: relative;
            padding: 1.5rem 1.2rem !important;
            transition: all 0.3s;
            font-size: 1.05rem;
        }
        
        .nav-link:hover, .nav-link.active {
            color: var(--primary-color);
            background-color: rgba(37, 99, 235, 0.05);
            
        }
        
#languageDropdown li a{
    color: black;
}
   #languageDropdown li:hover a {
  color: white;
}/* Dropdown Menu - Horizontal Layout */
        .dropdown-menu {
            border: none;
            box-shadow: var(--shadow);
            border-radius: 0 0 8px 8px;
            margin-top: 0;
            border-top: 3px solid var(--secondary-color);
            padding: 1.5rem;
            width: auto; 
            left: 50% !important;
            transform: translateX(-50%) !important;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease, visibility 0.3s;
        }
        
        .dropdown:hover .dropdown-menu {
            display: block;
            opacity: 1;
        }
        
        .dropdown-menu-columns {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }
        
        .dropdown-header {
            font-weight: 700;
            color: var(--secondary-color);
            padding-bottom: 0.5rem;
            margin-bottom: 1rem;
            border-bottom: 2px solid #e2e8f0;
            font-size: 1.1rem;
            letter-spacing: 0.5px;
        }
        
        .dropdown-item {
            padding: 0.5rem 1rem;
            transition: all 0.2s;
            border-radius: 5px;
            color:black;
            display: flex;
            align-items: center;
            font-weight: 500;
        }
        
        .dropdown-item:hover {
            background-color: var(--primary-color);
            color: white;
            padding-left: 1.5rem;

        }
           
.dropdown-item:hover i {
  color: white;
}
        .dropdown-item i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }
        
        /* Action Icons */
.action-icons .btn {
  position: relative;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  transition: background-color 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.action-icons .btn:hover {
  background-color: #e2e6ea;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.action-icons i {
  color: #343a40;
  font-size: 1.25rem;
  z-index: 1; /* ensure it's visible below the badge */
}

.action-icons .badge {
  position: absolute;
  
  font-size: 0.65rem;
  background-color:var(--secondary-color);
  color: #fff;
  padding: 0.25em 0.45em;
  border-radius: 50%;
  line-height: 1;
  z-index: 2; /* ensure it's above the icon */
  pointer-events: none;
}

/* Dropdown menu styling (unchanged, from earlier) */
.user-dropdown .dropdown-menu {
  min-width: auto !important;
  width: max-content !important;
  padding: 0.5rem 0;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.2s ease-in-out;
}

          /* Responsive Adjustments */
        @media (max-width: 1199px) {
            .dropdown-menu {
                width: 800px;
            }
        }
        
        @media (max-width: 991px) {
            .dropdown-menu {
                width: 100%;
                position: static !important;
                transform: none !important;
                margin-top: 0;
                box-shadow: none;
                border: none;
                padding: 0;
            }
            
            .dropdown-menu-columns {
                grid-template-columns: 1fr;
                gap: 0;
            }
            
            .dropdown:hover .dropdown-menu {
                display: none;
            }
            
            .dropdown-menu.show {
                display: block !important;
                opacity: 1;
            }
            
            .nav-link {
                padding: 0.8rem 1rem !important;
            }
            
            .nav-link::after {
                display: none;
            }
        }
        
        @media (max-width: 768px) {
            .top-bar .d-flex {
                flex-direction: column;
                gap: 8px;
            }
            
            .top-bar-divider {
                display: none;
            }
            
            .search-container {
                width: 100%;
                margin-top: 8px;
            }
            
            .action-icons {
                margin-top: 15px;
                justify-content: center !important;
                width: 100%;
            }
        }
        
           
