﻿
.navbar {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 12px 24px !important;
    background: #ffffff !important;
}


.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;
    }

.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;
    }

.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;
}

/* Logo */
.atk-logo {
    font-size: 24px;
    font-weight: 700;
    color: #0A0F1F;
}

/* 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 */
.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;
        }

/* 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;
    }

.atk-top-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

/* ------------------------------
       RESET
    --------------------------------*/
.atk-menu * {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
}

/* ------------------------------
       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 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
    --------------------------------*/
.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;
}

/* ONLY JS controls visibility now */
.mega-item.open .atk-dropdown {
    display: block;
}

/* no-mega items never show dropdown */
.atk-menu > ul > li.no-mega .atk-dropdown {
    display: none !important;
}

/* ------------------------------
       DROPDOWN GRID
    --------------------------------*/
.atk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr; /* Featured column wider */
    gap: 48px;
}

/* ------------------------------
       SECTION HEADERS
    --------------------------------*/
.atk-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
}

/* ------------------------------
       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
    --------------------------------*/
.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;
}


.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;
}

/* Kill any old Bootstrap dropdowns */
.dropdown-menu {
    display: none !important;
}

/* 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; /* Adjust this to make images bigger or smaller */
    object-fit: cover; /* Clean crop */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.atk-login:first-of-type {
    margin-left: 32px; /* or 32px if you want more space */
}

.atk-logo-item {
    margin-right: 32px; /* adjust to taste */
}

.atk-logo {
    height: 32px; /* or 32px depending on your header height */
    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;
    }