﻿/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.atk-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    position: relative;
    z-index: 1000;
}

.atk-header-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.atk-top-wrapper {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 12px 24px !important;
    background: #ffffff !important;
}

/**
* Navigation Icons
*/
.atk-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f3f6fa; /* soft neutral grey */
    border-radius: 6px; /* modern rounded square */
    margin-right: 8px;
}

    .atk-icon-wrap img {
        width: 20px;
        height: 20px;
    }

/**
* Logout Button
*/
.atk-logout {
    background: black; /* same blue */
    color: #ffffff !important; /* white text */
    padding: 8px 18px !important; /* same padding */
    border-radius: 6px; /* same rounded corners */
    font-weight: 600; /* same weight */
    display: inline-block; /* prevents squashing */
    white-space: nowrap; /* prevents wrapping */
    margin-left: 32px;
}

    .atk-logout:hover {
        background: #0a84ff; /* same hover blue */
        color: #ffffff !important;
    }

/* Logo */
.atk-logo {
    font-size: 24px;
    font-weight: 700;
    color: #0A0F1F;
}

/**
* Navigation Links
*/
/* Nav */
.atk-nav {
    list-style: none;
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.atk-item > span, .atk-item > a {
    color: #1f2937;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.atk-item:hover > span, .atk-item:hover > a {
    color: #007bff;
}

/**
* Mega Menu
*/
/* Mega Menu */
.atk-mega {
    display: none;
    position: absolute;
    left: 0;
    top: 72px;
    width: 100vw;
    background: #ffffff;
    padding: 32px 64px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-bottom: 1px solid #e5e7eb;
}

.atk-item:hover .atk-mega {
    display: flex;
    gap: 64px;
}

.atk-mega-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .atk-mega-col h4 {
        color: #6b7280;
        font-size: 13px;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .atk-mega-col a {
        color: #1f2937;
        text-decoration: none;
        font-size: 14px;
        padding: 4px 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .atk-mega-col a:hover {
            color: #007bff;
        }

/**
* Navigation Actions
*/
/* Right Side */
.atk-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.atk-link {
    color: #1f2937;
    text-decoration: none;
    font-size: 15px;
}

    .atk-link:hover {
        color: #007bff;
    }

.atk-demo-btn {
    background: #007bff;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}

    .atk-demo-btn:hover {
        background: #0a84ff;
    }

/**
* Menu Reset
*/
/* ------------------------------
       RESET
    --------------------------------*/
.atk-menu * {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
}

/**
* Menu Wrapper
*/
/* ------------------------------
       NAV WRAPPER
    --------------------------------*/
.atk-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    background: #ffffff;
    position: relative; /* anchor for dropdown */
    z-index: 9999;
}

    /**
* Top Navigation Items
*/
    /* ------------------------------
       TOP NAV ITEMS
    --------------------------------*/
    .atk-menu > ul {
        list-style: none;
        display: flex;
        gap: 32px;
    }

    .atk-menu .nav-link {
        font-size: 15px;
        font-weight: 500;
        color: #1f2937;
        text-decoration: none;
        cursor: pointer;
        padding: 6px 14px;
        transition: color 0.15s ease;
    }

        .atk-menu .nav-link:hover {
            color: #007bff;
        }

/**
* Dropdown Panel
*/
/* ------------------------------
       DROPDOWN PANEL
    --------------------------------*/
.atk-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; /* full width under menu */
    background: #ffffff;
    padding: 32px 48px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: none; /* hidden by default */
    z-index: 99999;
    overflow: hidden;
}

/**
* Dropdown Visibility
*/
/* The open class controls mobile dropdown visibility only. */
@media (max-width: 991px) {
    .atk-menu.atk-menu-mobile .atk-dropdown.open {
        display: block;
    }
}

/* no-mega items never show dropdown */
.atk-menu > ul > li.no-mega .atk-dropdown {
    display: none !important;
}

/**
* Dropdown Columns
*/
/* ------------------------------
       DROPDOWN GRID
    --------------------------------*/
.atk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr; /* Featured column wider */
    gap: 48px;
}

/**
* Dropdown Section Titles
*/
/* ------------------------------
       SECTION HEADERS
    --------------------------------*/
.atk-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
}

/**
* Industry and Module Items
*/
/* ------------------------------
       INDUSTRY + MODULE ITEMS
    --------------------------------*/
.atk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

    .atk-item:hover {
        background: #f9fafb;
    }

    .atk-item img {
        width: 32px;
        height: 32px;
    }

    .atk-item .nav-link {
        padding: 0;
    }

/**
* Media Articles
*/
/* ------------------------------
       MEDIA ARTICLES
    --------------------------------*/
.atk-article {
    padding: 8px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

    .atk-article:hover {
        background: #f9fafb;
    }

.atk-article-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.atk-article-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

/**
* Dropdown Cards
*/
.atk-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

    .atk-card:hover {
        background: #f9fafb;
        transform: translateY(-1px);
    }

    /* Icon */
    .atk-card img {
        width: 36px;
        height: 36px;
    }

/* Text block */
.atk-card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Heading */
.atk-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

/* Description */
.atk-card-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

/* Make entire card clickable */
.atk-card a {
    text-decoration: none;
    color: inherit;
}

/**
* Disable Previous Bootstrap Dropdowns
*/
/* Kill any old Bootstrap dropdowns */
.dropdown-menu {
    display: none !important;
}

/**
* Featured Content
*/
/* Featured grid */
.atk-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 24px;
}

/* Featured grid */
.atk-featured-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 24px;
}

/* Featured card */
.atk-featured-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

    /* Hover effect */
    .atk-featured-card:hover {
        background: #f9fafb;
        transform: translateY(-2px);
    }

/* Title + description */
.atk-featured-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.atk-featured-desc {
    font-size: 14px;
    color: #6b7280;
}

/* Large screenshot */
.atk-featured-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/**
* Logo and Login Spacing
*/
.atk-login:first-of-type {
    margin-left: 32px;
}

.atk-logo-item {
    margin-right: 32px;
}

.atk-logo {
    height: 32px;
    width: auto;
    display: block;
}

.nav-link.atk-login {
    font-weight: 600;
    color: #1f2937;
    padding: 6px 10px;
}

    .nav-link.atk-login:hover {
        color: #007bff;
        background: #f3f4f6;
        border-radius: 6px;
    }

.atk-menu {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

    .atk-menu > ul {
        align-items: center;
    }

    .atk-menu .atk-nav-toggle {
        display: none;
    }

    /**
* Shared Menu Sizing and Accessibility
*/
    .atk-menu .atk-card {
        text-decoration: none;
    }

    .atk-menu .atk-card-text {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .atk-menu .atk-card img {
        flex-shrink: 0;
    }

    .atk-menu .atk-grid > div {
        min-width: 0;
    }

    .atk-menu > ul > li > .nav-link:focus-visible, .atk-menu .atk-nav-toggle:focus-visible {
        outline: 2px solid #007bff;
        outline-offset: 3px;
    }

/**
* Desktop Menu Sizing
*/
@media (min-width: 992px) {
    .atk-menu > ul {
        width: 100%;
        justify-content: center;
        gap: clamp(4px, 1.4vw, 32px);
    }

        .atk-menu > ul > li > .nav-link {
            padding-inline: clamp(4px, .6vw, 14px);
            white-space: nowrap;
        }

    .atk-menu .atk-logo-item {
        margin-right: 0;
    }

    .atk-menu .atk-login:first-of-type {
        margin-left: 0;
    }

    .atk-menu .atk-dropdown {
        max-height: 75vh;
        overflow-y: auto;
    }
}

/**
* Desktop Dropdown Hover
*/
@media (min-width: 992px) {

    .atk-menu > ul {
        align-items: stretch;
    }

        .atk-menu > ul > li {
            display: flex;
            align-items: center;
            position: static;
            padding-bottom: 12px;
            margin-bottom: -12px;
        }

    .atk-menu .mega-item:hover > .atk-dropdown,
    .atk-menu .mega-item:focus-within > .atk-dropdown {
        display: block;
    }
}
/**
* Mobile Navigation
*/
@media (max-width: 991px) {
    .atk-menu {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        column-gap: 8px;
        min-height: 64px;
        padding: 12px 16px;
        justify-content: space-between;
    }

        .atk-menu > ul {
            display: flex;
            width: auto;
            min-width: 0;
            margin: 0;
            padding: 0;
            gap: 0;
        }

            .atk-menu > ul > li {
                display: none;
            }

            .atk-menu > ul > .atk-logo-item {
                display: block;
                margin: 0;
            }

        .atk-menu .atk-logo {
            max-width: 100%;
            object-fit: contain;
        }

        .atk-menu .atk-nav-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            border: 0;
            background: transparent;
            color: #1f2937;
            font-size: 28px;
            line-height: 1;
            cursor: pointer;
        }

        .atk-menu.atk-menu-mobile::before {
            content: '';
            position: fixed;
            inset: 0;
            background: rgba(40, 58, 90, .9);
            z-index: 1;
        }

        .atk-menu.atk-menu-mobile > .atk-nav-toggle {
            position: fixed;
            top: 8px;
            right: 16px;
            z-index: 3;
            color: #fff;
        }

        .atk-menu.atk-menu-mobile > ul {
            display: block;
            position: fixed;
            top: 60px;
            right: 16px;
            bottom: 16px;
            left: 16px;
            width: auto;
            padding: 10px 0;
            border-radius: 10px;
            background: #fff;
            overflow-y: auto;
            overscroll-behavior: contain;
            z-index: 2;
        }

            .atk-menu.atk-menu-mobile > ul > li {
                display: block;
            }

        .atk-menu > ul > li > .nav-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 20px;
            margin: 0;
            font-size: 16px;
            white-space: normal;
        }

        .atk-menu .mega-item > .nav-link::after {
            content: '+';
            margin-left: 12px;
        }

        .atk-menu .mega-item:has(> .atk-dropdown.open) > .nav-link::after {
            content: '\2212';
        }

        .atk-menu .atk-dropdown {
            position: static;
            width: auto;
            margin: 0 12px 12px;
            padding: 12px;
            max-height: none;
            overflow: visible;
            border-radius: 8px;
            box-shadow: 0 4px 16px rgba(127, 137, 161, .15);
        }

        .atk-menu .atk-grid, .atk-menu .atk-featured-grid, .atk-menu .atk-featured-grid-two {
            grid-template-columns: minmax(0, 1fr);
            gap: 16px;
        }

        .atk-menu .atk-card {
            padding: 10px 0;
            gap: 10px;
        }

        .atk-menu .atk-section-title {
            margin-bottom: 8px;
        }

        .atk-menu .atk-login:first-of-type, .atk-menu .atk-logout {
            margin-left: 0;
        }

        .atk-menu .nav-link.atk-signup,
        .atk-menu .nav-link.atk-demo {
            display: inline-flex;
            width: auto;
            margin: 6px 20px;
            padding: 8px 16px;
        }
}

/*--------------------------------------------------------------
# Client Zone Menu
--------------------------------------------------------------*/
.atk-top-wrapper,
.atk-navbar {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.atk-client-menu > ul > li > .nav-link > i {
    margin-left: 8px;
}

.atk-client-menu ul.atk-dropdown {
    list-style: none;
}

.atk-client-menu .atk-dropdown > li {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 4px 0;
}

    .atk-client-menu .atk-dropdown > li > a {
        display: block;
        min-width: 0;
        padding: 8px 12px;
        color: #1f2937;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

        .atk-client-menu .atk-dropdown > li > a:hover {
            color: #007bff;
        }

.atk-client-menu .atk-icon-wrap {
    flex: 0 0 28px;
}

/**
* Desktop Client Zone Spacing
*/
@media (min-width: 992px) {
    .atk-client-menu > ul {
        flex-wrap: wrap;
        gap: 12px 8px;
    }

    .atk-client-menu .atk-logout {
        margin-left: 0;
    }
}

/**
* Mobile Menu Bounds
*/
@media (max-width: 991px) {
    .atk-menu > .atk-nav-toggle {
        grid-column: 2;
        justify-self: end;
    }

    .atk-menu.atk-menu-mobile > ul {
        max-width: calc(100vw - 32px);
        overflow-x: hidden;
    }

    .atk-menu > ul > .atk-logo-item > .nav-link {
        padding-inline: 0;
    }

    .atk-client-menu .mega-item > .nav-link > i {
        display: none;
    }
}
/**
* Desktop Client Zone Dropdowns
*/
@media (min-width: 992px) {
    .atk-client-menu > ul > .mega-item {
        position: relative;
    }

    .atk-client-menu .mega-item > .atk-dropdown {
        top: 100%;
        left: 0;
        width: max-content;
        min-width: 220px;
        max-width: min(320px, calc(100vw - 32px));
        padding: 12px;
    }

    .atk-client-menu > ul > .mega-item:last-of-type > .atk-dropdown {
        left: auto;
        right: 0;
    }
}

/**
* Desktop Client Zone Logout
*/
.atk-menu.atk-client-menu a.atk-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    color: #ffffff;
    background: #111111;
    border: 1px solid #111111;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

    .atk-menu.atk-client-menu a.atk-logout:hover,
    .atk-menu.atk-client-menu a.atk-logout:focus-visible {
        color: #ffffff;
        background: #0a84ff;
        border-color: #0a84ff;
    }