/* ========================================
   UAKS Mega Menu — Base Layout
   ======================================== */

.uaks-mm-wrap {
    display: flex;
    position: relative;
    min-height: 620px;
    background: #fff;
    border: 1px solid #dde1ee;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    margin-bottom: 32px;

    width: 100%;
}

/* ── Sidebar ── */
.uaks-mm-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid #eef0f8;
    z-index: 5;
}

.uaks-mm-sidebar__title {
    background: #1C3478;
    color: #F5C400;
    font-weight: 800;
    font-size: 13px;
    padding: 14px 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.uaks-mm-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    cursor: pointer;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #f4f5fa;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s, border-color 0.15s;
}

.uaks-mm-item:hover,
.uaks-mm-item.is-hovered {
    background: #f0f4ff;
    border-left-color: #F5C400;
    text-decoration: none;
    color: inherit;
}

.uaks-mm-item__icon {
    width: 36px;
    height: 36px;
    background: #eef1fb;
    border: 1px solid #c8d0e8;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
    padding: 6px;
}

.uaks-mm-item__icon svg {
    width: 100%;
    height: 100%;
    color: #1C3478;
}

.uaks-mm-item:hover .uaks-mm-item__icon,
.uaks-mm-item.is-hovered .uaks-mm-item__icon {
    background: #fff8e0;
    border-color: #F5C400;
}

.uaks-mm-item:hover .uaks-mm-item__icon svg,
.uaks-mm-item.is-hovered .uaks-mm-item__icon svg {
    color: #F5C400;
}

.uaks-mm-item__label {
    font-size: 14px;
    color: #2a3560;
    flex: 1;
    line-height: 1.3;
}

.uaks-mm-item:hover .uaks-mm-item__label,
.uaks-mm-item.is-hovered .uaks-mm-item__label {
    color: #1C3478;
    font-weight: 600;
}

.uaks-mm-item__arrow {
    color: #bbc;
    font-size: 14px;
}

/* ── Banner ── */
.uaks-mm-banner {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.uaks-mm-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.uaks-mm-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 70px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.uaks-mm-slide.is-active {
    opacity: 1;
    pointer-events: all;
}

.uaks-mm-slide__text { position: relative; z-index: 1; }

.uaks-mm-slide__title {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.3;
}

.uaks-mm-slide__subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 20px;
}

.uaks-mm-slide__img {
    font-size: 120px;
    line-height: 1;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
    position: relative;
    z-index: 1;
}

.uaks-mm-slide__btn {
    display: inline-block;
    margin-top: 4px;
    padding: 10px 22px;
    background: #F5C400;
    color: #1C3478;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.uaks-mm-slide__btn:hover {
    background: #ffd429;
    transform: translateY(-1px);
    text-decoration: none;
    color: #1C3478;
}

.uaks-mm-slider__nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    align-items: center;
    z-index: 10;
}

.uaks-mm-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s;
}

.uaks-mm-dot.is-active {
    background: #4ab8ff;
    width: 18px;
    border-radius: 4px;
}

.uaks-mm-next {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(100,160,255,0.25);
    border: 1px solid rgba(100,160,255,0.4);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    transition: background 0.2s;
}

.uaks-mm-next:hover { background: rgba(100,160,255,0.5); }

/* ========================================
   Chrome+Blue Dropdown
   ======================================== */

.uaks-mm-dropdown {
    display: none;
    position: absolute;
    left: 300px;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
}

.uaks-mm-dropdown.is-visible { display: block; }

.uaks-mm-dropdown::before {
    content: none;
}

.uaks-mm-dropdown__popup {
    position: absolute;
    inset: 0;
    background: #f5f7ff;
    border-left: 1px solid #dde1ee;
    overflow: hidden;
    animation: uaksMmDropIn 0.22s cubic-bezier(0.16,1,0.3,1) forwards;
}

.uaks-mm-dropdown__popup::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1C3478 0%, #F5C400 100%);
    z-index: 1;
}

.uaks-mm-dropdown__popup::after { content: none; }

@keyframes uaksMmDropIn {
    from { opacity: 0; clip-path: inset(0 0 100% 0); }
    to   { opacity: 1; clip-path: inset(0 0 0% 0); }
}

.uaks-mm-dropdown__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px 12px;
    border-bottom: 1px solid #dde1ee;
    background: #fff;
    position: relative;
    z-index: 1;
}

.uaks-mm-dropdown__head-icon {
    width: 36px;
    height: 36px;
    background: #eef1fb;
    border: 1px solid #c8d0e8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px;
}

.uaks-mm-dropdown__head-icon svg {
    width: 100%;
    height: 100%;
    color: #1C3478;
}

.uaks-mm-dropdown__head-title {
    font-size: 14px;
    font-weight: 700;
    color: #1C3478;
    letter-spacing: 0.2px;
}

.uaks-mm-dropdown__head-sub {
    font-size: 11px;
    color: #8892b0;
    margin-top: 2px;
}

.uaks-mm-dropdown__grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    padding: 16px 24px 20px;
    position: relative;
    z-index: 1;
}

.uaks-mm-dropdown__tile {
    background: #fff;
    border: 1px solid #dde1ee;
    border-radius: 10px;
    padding: 14px 10px 12px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
    position: relative;
    overflow: hidden;
}

.uaks-mm-dropdown__tile::before { content: none; }

.uaks-mm-dropdown__tile:hover {
    background: #eef1fb;
    border-color: #F5C400;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(28,52,120,0.1);
    text-decoration: none;
    color: inherit;
}

.uaks-mm-dropdown__tile-label {
    font-size: 10.5px;
    color: #1C3478;
    font-weight: 600;
    line-height: 1.3;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .uaks-mm-wrap { flex-direction: column; min-height: auto; width: 100%; margin-left: 0; margin-right: 0; overflow: hidden; }
    .uaks-mm-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #eef0f8; }
    .uaks-mm-banner { height: 260px; }
    .uaks-mm-dropdown { display: none !important; }
    .uaks-mm-slide { padding: 20px 24px; }
    .uaks-mm-slide__title { font-size: 20px; }
    .uaks-mm-slide__img { font-size: 70px; }
    .uaks-mm-slide__btn { font-size: 12px; padding: 8px 16px; }
}
