
.courses-dropdown {
  position: relative;
}

/* ---------- Desktop View ---------- */
@media (min-width: 992px) {
  .courses-mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    width: 529px;
    padding: 10px 15px;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    gap: 40px;
    z-index: 999;
    flex-wrap: wrap;
    flex-direction: row;
    transition: all 0.3s ease-in-out;
  }

  .courses-dropdown:hover .courses-mega-menu {
    display: flex;
  }

  .courses-col {
    flex: 1;
    min-width: 221px;
  }

  .courses-header {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
	margin-left:13px
  }

  .courses-links {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .courses-links a {
    font-size: 15px;
    text-decoration: none;
    color: #475569;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
	border-left: 3px solid black;
	background-color: #d3e7fd54;
	margin-bottom: 9px;
  }

  .courses-links a:hover {
    background-color: #111441 !important;
    color: #ffffff;
    transform: translateX(5px);
	border-left: 3px solid rgb(89, 131, 247);
  }

  .courses-header i {
    display: none;
  }
}

/* ---------- Mobile View ---------- */
@media (max-width: 991px) {
  .courses-dropdown {
    position: static;
  }

  .courses-mega-menu {
    position: static;
    display: none;
    flex-direction: column;
    width: 100%;
	 background: #00000000;
    padding: 0;
    box-shadow: none;
    gap: 0;
  }

  .courses-dropdown.open .courses-mega-menu {
    display: flex;
  }

  

  .courses-header {
    padding: 0px 16px;
    font-size: 13px;
    background: #00000000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .courses-header i {
    font-size: 14px;
  }

  .courses-links {
    display: none;
    flex-direction: column;
    padding: 10px 20px;
    background-color: #ffffff00;
  }

  .courses-col.active .courses-links {
    display: flex;
  }

  .courses-links a {
    color: #0f172a;
    font-size: 14px;
    padding: 6px 0;
    text-decoration: none;
  }

  .courses-links a:hover {
    color: #1e40af;
	
  }
}