/* =========================================================
   INSIGHTS MEGA MENU
   ========================================================= */

.insights-megamenu {
    position: fixed;

    left: 0;
    top: 0;

    width: 100%;

    /* background: rgba(73, 73, 84, 0.95); */
     background: rgba(10, 10, 12, 0.96);

    z-index: 99999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-6px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    box-sizing: border-box;
}


/* =========================================================
   OPEN STATE
   ========================================================= */

.insights-megamenu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}


/* =========================================================
   INNER
   ========================================================= */

.insights-megamenu-inner {

    width: 100%;

    min-height: 298px;

    padding: 32px;

    display: flex;

    align-items: stretch;

    box-sizing: border-box;
}


/* =========================================================
   LEFT MENU
   ========================================================= */

.insights-menu-left {

    width: 290px;

    min-width: 290px;

    display: flex;

    flex-direction: column;
}


/* =========================================================
   LEFT MENU ITEM
   ========================================================= */

.insights-menu-item {

    width: 290px;

    height: 58px;

    min-height: 58px;

    padding: 0 40px;

    border: none;

    outline: none;

    background: transparent;

    color: #ffffff;

    font-family: "Lato", Arial, sans-serif;

    font-size: 20px;

    font-weight: 400;

    text-align: left;

    cursor: pointer;

    display: flex;

    align-items: center;

    border-radius: 5px;

    box-sizing: border-box;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


/* ACTIVE */

.insights-menu-item.active {

    background: #ff9d00;

    color: #ffffff;
}


/* HOVER */

.insights-menu-item:not(.active):hover {

    background: rgba(255, 157, 0, 0.12);

    color: #ffffff;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.insights-menu-divider {

    width: 1px;

    min-width: 1px;

    background: rgba(255, 255, 255, 0.45);

    margin: 0 32px;
}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.insights-menu-right {

    flex: 1;

    min-width: 0;

    display: flex;

    align-items: center;
}


/* =========================================================
   CONTENT PANEL
   ========================================================= */

.insights-content-panel {

    display: none;

    width: 100%;

    max-width: 1000px;
}


.insights-content-panel.active {

    display: block;

    animation: insightPanelFade 0.2s ease;
}


/* =========================================================
   HEADING
   ========================================================= */

.insights-content-panel h2 {

    margin: 0 0 8px;

    color: #ffffff;

    font-family: "Lato", Arial, sans-serif;

    font-size: 32px;

    line-height: 1.12;

    font-weight: 600;

    letter-spacing: -1px;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.insights-content-panel p {

    margin: 0 0 20px;

    max-width: 970px;

    color: #ffffff;

    font-family: "Lato", Arial, sans-serif;

    font-size: 20px;

    line-height: 1.55;

    font-weight: 400;
}


/* =========================================================
   KNOW MORE
   ========================================================= */

.insights-know-more {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 123px;

    height: 47px;

    padding: 0 20px;

    border: 1px solid #ffffff;

    border-radius: 30px;

    background: transparent;

    color: #ffffff;

    text-decoration: none;

    font-family: "Lato", Arial, sans-serif;

    font-size: 16px;

    font-weight: 500;

    box-sizing: border-box;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.insights-know-more:hover {

    background: #ff9d00;

    border-color: #ff9d00;

    color: #ffffff;
}


/* =========================================================
   ARROW
   ========================================================= */

#insightsToggle i {

    display: inline-block;

    margin-left: 6px;

    font-size: 11px;

    transition: transform 0.2s ease;
}


#insightsToggle.insights-active i {

    transform: rotate(180deg);
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes insightPanelFade {

    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .insights-megamenu-inner {

        padding: 24px;

        min-height: 270px;
    }


    .insights-menu-left {

        width: 235px;

        min-width: 235px;
    }


    .insights-menu-item {

        width: 235px;

        height: 52px;

        min-height: 52px;

        padding: 0 22px;

        font-size: 18px;
    }


    .insights-menu-divider {

        margin-left: 0;

        margin-right: 24px;
    }


    .insights-content-panel h2 {

        font-size: 36px;
    }


    .insights-content-panel p {

        font-size: 18px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .insights-megamenu {

        max-height: calc(100vh - 60px);

        overflow-y: auto;
    }


    .insights-megamenu-inner {

        display: block;

        padding: 15px;

        min-height: auto;
    }


    .insights-menu-left {

        width: 100%;

        min-width: 100%;
    }


    .insights-menu-item {

        width: 100%;

        height: 48px;

        min-height: 48px;

        padding: 0 18px;

        font-size: 17px;
    }


    .insights-menu-divider {

        width: 100%;

        height: 1px;

        margin: 18px 0;
    }


    .insights-menu-right {

        width: 100%;
    }


    .insights-content-panel h2 {

        font-size: 29px;

        line-height: 1.2;

        letter-spacing: 0;
    }


    .insights-content-panel p {

        font-size: 16px;

        line-height: 1.5;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .insights-megamenu-inner {

        padding: 12px;
    }


    .insights-menu-item {

        font-size: 16px;

        height: 45px;

        min-height: 45px;
    }


    .insights-content-panel h2 {

        font-size: 25px;
    }


    .insights-content-panel p {

        font-size: 15px;
    }

}

/* =========================================================
   INSIGHTS MEGA MENU: BELOW 1200px (same approach as Services)
   Menu flows in the page under the navbar instead of being
   fixed. Stacked layout: list on top, content below.

   PASTE AT THE VERY BOTTOM of insightmegamenu.css
   (it must come after the existing 1199px / 767px / 480px
   media queries so it overrides them).
   ========================================================= */

@media (max-width: 1199.98px) {

    .insights-megamenu {

        position: static;

        top: auto;

        width: 100%;

        max-height: none;

        overflow: visible;

        z-index: auto;

        display: none;

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform: none;

        transition: none;
    }


    .insights-megamenu.show {

        display: block;
    }


    .insights-megamenu-inner {

        display: block;

        min-height: 0;

        padding: 20px 15px 12px;
    }


    .insights-menu-left {

        width: 100%;

        min-width: 100%;
    }


    .insights-menu-item {

        width: 100%;

        height: 48px;

        min-height: 48px;

        padding: 0 18px;

        font-size: 17px;
    }


    .insights-menu-divider {

        width: 100%;

        min-width: 0;

        height: 1px;

        margin: 16px 0;
    }


    .insights-menu-right {

        width: 100%;
    }


    .insights-content-panel h2 {

        font-size: 28px;

        line-height: 1.2;

        letter-spacing: 0;
    }


    .insights-content-panel p {

        font-size: 16px;

        line-height: 1.5;
    }

}


@media (max-width: 480px) {

    .insights-menu-item {

        height: 45px;

        min-height: 45px;

        font-size: 16px;
    }


    .insights-content-panel h2 {

        font-size: 24px;
    }


    .insights-content-panel p {

        font-size: 15px;
    }

}