/* ============================= */
/* NAVBAR */
/* ============================= */
.navbar {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 2rem;
}

.navbar .logo a{
    display: flex;
}

.logo img {
    height: 32px;
}

.hamburger-icon {
    display: none;
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.hamburger-icon:hover svg,
.hamburger-icon.active svg{
    stroke: var(--primary-color);
}

.hamburger-icon.active svg line:nth-child(1){
    opacity: 0;
}   

.hamburger-icon.active svg line:nth-child(2){
    transform: rotate(45deg) translate(5px, -6px);
}

.hamburger-icon.active svg line:nth-child(3){
    transform: rotate(-45deg) translate(-12px, -1px);
}

/* ============================= */
/* NAV RIGHT */
/* ============================= */
.nav-right {
    display: flex;
    align-items: center;
    gap: 35px;
}

/* ============================= */
/* NAV LINKS */
/* ============================= */
.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #374151;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.nav a:hover {
    color: #e9c060;
}

.nav-item>a {
    display: flex;
    align-items: center;
    padding: 22px 0px;
}

.nav-item>a svg {
    height: 16px;
    width: 16px;
    margin-left: 7px;
    transition: 0.25s ease;
}

.nav-item:hover>a svg {
    transform: rotate(180deg);
}

/* AI POWERED SPECIAL */
.ai-powered {
    font-weight: 600;
    background: linear-gradient(90deg, #7b61ff, #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-powered:hover {
    opacity: 0.85;
}

/* ============================= */
/* DROPDOWN */
/* ============================= */
/* .nav-item {
    position: relative;
} */

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    padding: 24px;
    border-radius: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================= */
/* WRAPPER */
/* ============================= */
/* .mega-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
} */

/* ============================= */
/* GRID */
/* ============================= */
.grid-cols-12{
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 50px;
    display: grid;
}

.mega-grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    gap: 50px;
}


.mega-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

.mega-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* ============================= */
/* COLUMN */
/* ============================= */
.mega-col h4 {
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #6b7280;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0 12px;
}

.bordered {
    border-left: 1px solid #e5e7eb;
    padding-left: 24px;
}

.col-span-5{
    grid-column: span 5 / span 5;
}

.col-span-4{
    grid-column: span 4 / span 4;
}

.col-span-3{
    grid-column: span 3 / span 3;
}

/* ============================= */
/* MENU LIST */
/* ============================= */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* GRID 2 */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* ============================= */
/* MENU ITEM */
/* ============================= */
.menu-list div,
.grid-2 div {
    transition: all 0.2s ease;
    cursor: pointer;
    padding: 6px 0;
}

.menu-list div:hover,
.grid-2 div:hover {
    transform: translateX(3px);
}

.mega-menu.simple-menu {
    position: absolute;
    left: 0;
    width: 200px;
    padding: 0;
}

.mega-menu.simple-menu .menu-list {
    gap: 0;
}

.mega-menu.simple-menu a {
    padding: 12px;
}

/* TITLE */
.menu-list a,
.grid-2 a {
    font-size: 14px;
    font-weight: 600;
    color: #121212;
    text-decoration: none;
    display: block;
    margin-bottom: 0;
    padding: 12px;
    border-radius: 0.5rem;
}

.menu-list a:hover,
.grid-2 a:hover {
    color: #e9c060;
    background-color: hsl(42deg 76% 57% / 3%);
}

/* SUBTEXT */
.menu-list p,
.grid-2 p {
    font-size: 14px;
    color: #71717a;
    margin: 4px 0 0 0;
    line-height: 1.5;
}

/* ============================= */
/* CTA CARD */
/* ============================= */
.mega-cta {
    background: #7e22ce;
    color: #fff;
    padding: 35px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(123, 97, 255, 0.25);
}

.mega-cta.small {
    padding: 30px;
}

.mega-cta h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.mega-cta p {
    font-size: 16px;
    line-height: 1.625;
    color: #f3e8ff;
}

.cta-mobile {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
}

.mega-cta .btn-primary{
    background: #e9c060;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
    text-align: center;
    color: var(--black);
}

.mega-cta .btn-primary:hover {
    background: #d9b454;
    color: var(--black);
}

/* ============================= */
/* BUTTONS */
/* ============================= */
.btn-primary {
    padding: 12px 20px;
    background: #e9c060;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: #d9b454;
}

.btn-outline {
    padding: 10px 32px;
    border: none;
    background: linear-gradient(135deg, hsl(42 76% 57%) 0%, hsl(42 76% 67%) 100%);
    color: var(--white) !important;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--Inter-font);
    font-weight: 600;
}

.btn-outline:hover {
    opacity: .9;
    transform: scaleX(1.05);
    color: var(--white);
}

/* NAV CTA */
.nav-cta {
    display: flex;
    gap: 12px;
}

/* ============================= */
/* INSIGHTS */
/* ============================= */
.insight-card {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 12px;
    border-radius: 0.5rem;
    margin-bottom: 16px;
}

.insight-card:last-child{
    margin-bottom: 0;
}

.insight-card:hover {
    background-color: hsl(42deg 76% 57% / 3%);
}

.insight-card img {
    width: 95px;
    height: 95px;
    object-fit: cover;
    border-radius: 6px;
}

.insight-card h5 {
    margin: 0 0 5px 0;
    font-size: 14px;
    line-height: 21px;
    font-weight: 500;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #000;
}

.insight-card span {
    color: #e9c060;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media(max-width:1024px) {
    .navbar .container{
        padding: 14px 1.5rem;
    }

    .nav-cta {
        display: none;
    }

    .mega-grid-4 {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }

    .grid-cols-12{
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    .mega-grid-3 {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }

    .col-span-5,
    .col-span-4,
    .col-span-3{
        grid-column: 1;
    }

    .hamburger-icon {
        display: flex;
    }

    .navbar nav {
        position: absolute;
        top: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: start;
        background-color: #fff;
        padding: 20px 20px 100px 20px;
        gap: 20px;
        width: 100%;
        overflow-y: scroll;
        display: none;
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    }

    nav.active {
        display: block;
        z-index: 999;
    }

    .mega-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        background-color: #fff;
        box-shadow: none;
        padding: 10px 10px;
    }

    .mega-menu.simple-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        background-color: #fff;
        box-shadow: none;
        padding: 0;
        width: 100%;
    }

    .cta-mobile{
        display: flex;
    }

    .mega-cta {
        display: none;
    }

    .bordered {
        border-left: none;
        padding-left: 0;
    }

    .mega-col h4,
    .nav a,
    .menu-list p,
    .grid-2 p {
        font-size: 16px;
    }

    .menu-list a, .grid-2 a{
        padding: 5px 10px;
    }

    .mega-col h4{
        margin-bottom: 5px;
    }

    .menu-list {
        gap: 0px;
    }

    .nav-item>a svg {
        display: none;
    }

    .insight-card{
        margin-bottom: 5px;
    }

    .insight-card img {
        display: none;
    }

    .nav-item>a {
        padding: 10px 0;
    }
}