:root {
  --white: #ffffff;
  --light_grey: #f3f3f3;
  --black: #1e1e1e;
  --yellow: #ead75a;
  --light_yellow: #fff3e0;
  --green: #48cd96;
  --light_green: #e8f5e9;
  --blue: #312393;
  --midblue: #6c63ff;
  --light_blue: #e8eaf6;
  --sky_blue: #e0f7fa;
  --light_gradient: transparent
    linear-gradient(248deg, #ddf3df 0%, #f5f4d6 100%) 0% 0% no-repeat;
  --blue_gradient: transparent linear-gradient(248deg, #312393 0%, #1f2740 100%)
    0% 0% no-repeat;
}
.page-header.is-sticky button.promo_book {
    padding: 7px 14px !important;
    font-size: 14px !important;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1000;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
}
.nav-link:hover,
.nav-link.active {
  color: var(--yellow);
  background: rgba(245, 197, 24, 0);
}
.nav-link.active {
  border-bottom: 3px solid var(--green);
  border-radius: 6px 6px 0 0;
}
.nav-link svg {
  transition: transform 0.25s;
}
.nav-link[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.nav-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-skill,.btn-hire {
  padding: 4px 18px;
  border: 2px solid var(--yellow);
  border-radius: 30px;
  color: var(--yellow);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-hire {
  padding: 5px 20px;
  background: var(--yellow);
  border: none;
  color: var(--black);
  transition: background 0.2s, transform 0.15s;
}

.page-header.is-sticky a.logo img {
  width: 200px;
}
.page-header.is-sticky button,
.page-header.is-sticky .nav-link {
  font-size: 16px;
  padding: 7px 10px;
}
.page-header.is-sticky .btn-skill,
.page-header.is-sticky .btn-hire {
  font-size: 16px;
}

.btn-hire img {
  margin-right: 5px;
  max-width: 26px;
}
.btn-skill img {
  margin-right: 5px;
  max-width: 26px;
  filter: brightness(0) saturate(100%) invert(79%) sepia(96%) saturate(338%)
    hue-rotate(343deg) brightness(100%) contrast(93%);
}
/* ── MEGA DROPDOWN — Courses ── */
.dropdown {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  /* transform: translateX(-50%) translateY(8px); */
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  padding: 0;
  min-width: 1400px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 999;
  overflow: hidden;
  outline: 3px solid #fff;
}

.nav-item:hover .dropdown,
.nav-item .dropdown.open {
  opacity: 1;
  pointer-events: auto;
  /* transform: translateX(-50%) translateY(0); */
}

.dropdown-inner {
  display: flex;
  align-items: self-start;
  height: 500px;
}

/* Left sidebar */
ul.dd-sidebar {
  width: 25%;
  background: var(--blue);
  /* border: 5px solid #fff; */
  padding: 16px 0;
  flex-shrink: 0;
  overflow-y: auto;
  list-style: none;
}

ul.dd-sidebar > li.dd-sidebar-item {
  display: block;
}

ul.dd-sidebar > li.dd-sidebar-item a.dd-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.18s;
  color: var(--white);
  font-size: 16px;
  font-weight: 400;
  border-left: 3px solid transparent;
}

ul.dd-sidebar > li.dd-sidebar-item:hover,
ul.dd-sidebar > li.dd-sidebar-item.active {
  /* background: rgba(245, 197, 24, 0.1); */
  background: var(--green);
  color: var(--white);
  border-left-color: var(--yellow);
}

ul.dd-sidebar > li.dd-sidebar-item a.dd-sidebar-link .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  margin-right: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

ul.dd-sidebar > li.dd-sidebar-item.active a.dd-sidebar-link .icon {
  background: rgba(255, 255, 255, 0.15);
}

ul.dd-sidebar > li.dd-sidebar-item a.dd-sidebar-link .chevron {
  margin-left: auto;
  opacity: 0.5;
  font-size: 10px;
  transform: rotate(-45deg);
}

/* Right content */
.dd-content {
  /* width: 50%; */
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
  background: #fff;
  overflow-x: hidden;
}

.dd-content-panel {
  display: none;
}

.dd-content-panel.active {
  display: block;
}

.dd-heading {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 14px;
}

ul.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 15px;
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}

ul.courses-grid > li {
  display: contents;
}

ul.courses-grid > li > a.course-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin-top: 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}

ul.courses-grid > li > a.course-card:hover {
  background: #f3f5ff;
}

.course-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f0f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.course-info {
  min-width: 0;
}

.course-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.badge {
  font-size: 13px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.badge.badge-popular {
  font-size: 13px;
  background: #e8f5e9;
  color: #2e7d32;
}

.badge.badge-trending {
  font-size: 13px;
  background: #fff3e0;
  color: #e65100;
}

.badge-new {
  background: #e3f2fd;
  color: #1565c0;
}

.dd-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 9px 20px;
  border: 2px solid var(--blue);
  border-radius: 30px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.dd-view-all i {
  font-size: 22px;
  font-weight: 500;
}
.dd-view-all:hover {
  background: var(--blue);
  color: #fff;
}

/* Right promo cards inside dropdown */
.dd-promos {
  width: 20%;
  background: #f8f9ff;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  border-left: 1px solid #eee;
}

.promo-card {
  background: var(--blue);
  border-radius: 12px;
  padding: 14px;
  color: #fff;
  flex: 1;
}

.promo-card.light {
  background: #edf0ff;
  color: var(--blue);
}

.promo-card.green {
  background: #e8f5e9;
  color: #1b5e20;
}

.promo-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 2px;
  line-height: 1.3;
  color: var(--black);
}

.promo-sub {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 10px;
}

.promo-stat {
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin: 5px 0;
}

.promo-stat-sub {
  font-size: 16px;
  opacity: 0.8;
  color: var(--black);
  margin-bottom: 10px;
}
.promo_book {
  display: inline-block;
  padding: 7px 14px;
  background: #0d1b4b;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: capitalize;
}
.promo_book i {
  font-size: 18px;
  vertical-align: middle;
  margin-left: 5px;
}
/* Simple dropdown (Student Corner) */
.dropdown-simple {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(8px);
  z-index: 999;
}

.nav-item:hover .dropdown-simple,
.nav-item .dropdown-simple.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown-simple {
  padding: 0;
  overflow: hidden;
}
.dropdown-simple a {
  display: block;
  padding: 8px 15px;
  color: var(--black);
  font-size: 16px;
  font-weight: 400;
  text-transform: capitalize;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.dropdown-simple a:hover {
  background: var(--green);
  color: var(--white);
}


/* ================================ RESPONSIVE =============================  */

@media only screen and (min-width: 1500px) and (max-width: 1890px) {
  .dropdown {
    min-width: 1180px;
  }
  nav .nav-link {
    font-size: 18px;
    margin: 0;
  }
}
@media only screen and (min-width: 1400px) and (max-width: 1500px) {
  .logo img {
    max-width: 250px;
  }
  .dropdown {
    min-width: 1170px;
  }
  nav .nav-link {
    font-size: 18px;
    margin: 0 5px;
    position: relative;
    text-transform: uppercase;
  }
  ul.dd-sidebar > li.dd-sidebar-item a.dd-sidebar-link {
    padding: 9px 15px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1390px) {
  .logo img {
    max-width: 200px;
  }
.dropdown-inner {
	height: 480px;
}
  .dropdown {
    min-width: 1120px;
  }
  nav .nav-link {
    font-size: 16px;
    margin: 0;
  }

  ul.dd-sidebar > li.dd-sidebar-item a.dd-sidebar-link {
    padding: 7px 7px;
    font-size: 16px;
  }
  .promo-title {
    font-size: 14px;
  }
  .promo-stat {
    font-size: 18px;
  }
  .promo-stat-sub,
  .promo-sub {
    font-size: 13px;
  }
  .promo-stat-sub br,
  .promo-sub br {
    display: none;
  }
  .dd-promos,
  .dd-content {
    padding: 10px;
  }
  ul.courses-grid {
    gap: 5px 10px;
    margin-bottom: 10px;
  }
  .course-name {
    font-size: 14px;
  }
  ul.courses-grid > li > a.course-card {
    gap: 5px;
    padding: 5px;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 0;
  }
  .nav-link {
    padding: 8px 10px;
    font-size: 13px;
  }
  .btn-skill,
  .btn-hire {
    padding: 8px 14px;
    font-size: 12px;
  }
  .mobile-view{
    display:block !important;
  }
  .desktop-view{
    display:none;
  }
  .offcanvas-header, .offcanvas-body {
    background: #23294e;
  }
  .btn-close{
    background-color: white !important;
  }
  .mobile-drawer{
    width:350px;
    background:#fff;
    height: 100vh;
  }
  .mobile-logo{
    width:140px;
  }
  .mobile-menu, .submenu{
    padding:0;
    margin:0;
    list-style:none;
  }
  .mobile-menu > li{
    border-bottom:1px solid #e5e5e5;
  }
  .mobile-menu a{
    text-decoration:none;
  }
  .menu-link{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 5px;
    color: #fff;
    font-size:1.125rem;
    font-weight:600;
    transition:0.3s;
  }
  .submenu {
    padding-left: 0;
    background: #fafafa;
    max-height: 350px;
    overflow: auto;
  }
  #studentCorner .submenu li::before{
    content: "\f054";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    color: #48cd96;
    position: absolute;
    top: 15px;
    left: 10px;
  }
  #studentCorner .submenu li{
    position: relative;
  }
  #studentCorner .submenu li a{
    margin-left: 15px;
  }
  .submenu li a{
    display:flex;
    align-items:center;
    gap: 10px;
    padding:14px 10px;
    color:#444;
    font-size:14px;
    border-bottom:1px solid #eee;
    transition:0.3s;
    justify-content: space-between;
  }
  .submenu li a span i {
	  margin-right: 10px;
  }
 .submenu-inner li a{
  justify-content: unset;
 }
.course-logo {
	width: 30px;
	height: 30px;
	font-size: 14px;
}

  .submenu-inner{
    list-style:none;
    padding-left:0;
    background:#fff;
  }
  .submenu-inner li a{
    padding:12px 10px;
    color:#666;
  }
  .menu-link i,
  .submenu li a i{
    transition:0.3s;
    color:#48cd96;
  }
  .menu-link:not(.collapsed) i,
  .submenu li a:not(.collapsed) i{
    transform:rotate(180deg);
  }
  .navbar-toggler {
    border: 1px solid #48cd96;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .nav-ctas {
    display: none;
  }
}
