/* ===== Logo ===== */
.header-left {
    padding-left: 12px;
}

.logo {
    display: block;
    height: 32px;
    width: auto;
    color: #e6eaf0;
    transition: color .15s ease;
}

.logo-wrap {
    display: flex;
    align-items: center;
    height: 56px;
}

.logo-wrap:hover .logo {
    color: #8b5cf6;
    /* accent */
}

.site-header .container {
  max-width: 60%;
}

.site-header {
  background-color: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.site-header a {
  color: #8e8e8e;
  transition: color .15s ease-in-out;
}
.site-header a:hover {
  color: #fff;
  text-decoration: none;
}

.site-header .nav-link {
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .2px;
    color: #e6eaf0 !important;
    padding: 0.25rem 0.75rem;
}

.site-header .nav-link:hover {
    color: #8b5cf6 !important;
}

.nav-item {
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.mega-menu {
    background: #0f1520;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
}

.site-header form input {
    border-radius: 8px;
}

/* ===== Mega Menu ===== */
.mega-dropdown .dropdown-menu {
    width: 720px;
    max-width: 90vw;
    background-color: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: 12px;
    margin-top: 12px;
}

.mega-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.mega-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-main);
    text-decoration: none;
}

.mega-item a:hover {
    color: var(--accent);
}

.mega-desc li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.mega-cta {
    background-color: var(--bg-card-2);
    border-radius: 10px;
    padding: 16px;
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.form-control-dark {
  color: #fff;
  background-color: var(--bs-dark);
  border-color: var(--bs-gray);
}
.form-control-dark:focus {
  color: #fff;
  background-color: var(--bs-dark);
  border-color: #fff;
  box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25);
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.text-small {
  font-size: 85%;
}

.dropdown-toggle {
  outline: 0;
}


@media all and (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; 
    }

    .nav-item.dropdown .dropdown-menu {
        display: none;
        animation: fadeIn 0.3s;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

.ejoy-icon {
    width: 18px;
    height: 18px;
    stroke: var(--text-main);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

a:hover .ejoy-icon {
    stroke: var(--accent);
    transform: translateY(-1px);
}
