﻿

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    padding-top: 110px;
}

:root {
    --greyish-black: #585858;
    --mustard: #eba123;
    --demo-button: #433F3F;
    --grey-bg: #f4f4f4;
    --yellow-bg: #FEFCF4;
    --white-bg: #FFF
}

.main-promo-banner {
    display: flex;
    justify-content: flex-end; 
    padding: 20px 70px 15px; 
    border-radius: 0px;
    margin-left: 100px; 
    background: linear-gradient(to right, white 20%, #eba123); 
}

.promo-banner-content {
    margin-left: 40px;
    text-align: right;
}

    .promo-banner-content h2 {
        margin-bottom: 10px !important;
        font-size:14px;
        font-weight:700;
    }

.get-plans {
    color: white;
    font-weight: 700;
}

    .main-promo-banner.content p {
        margin-top: 0; /* No top margin */
    }



.subscription-text {
    /*margin-top: 0;*/ /* No top margin */
    /*border: 0.1px solid #eba123;*/ /* Subtle gray border */
    /*padding: 10px;*/ /* Padding around the text */
    /*font-size: 10px;
    padding: 0px 10px;
    border-radius: 10px;*/ /* Slightly rounded corners */
    /*display: inline-block;*/ /* Make it wrap around text */

    margin-top: 0;
    border: 1.5px solid #eba123;
    padding: 10px;
    font-size: 10px;
    font-weight: 700;
    padding: 0px 5px;
    text-align: center;
    border-radius: 10px;
    /* display: inline-block;
}

.get-plans1 {
    color: white; /* Change text color to white */
}


.promo-banner {
    display: flex;
    justify-content: center;
    padding: 15px 10px;
    width: 100%;
    /* border-radius: 10px; */
    /* margin-left: 115px; */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    background-color: #eba123;
}

.content {
    margin-left: 10px; /* Reduced space between elements */
    margin-right: 10px; /* Keep spacing consistent */
    display: flex; /* Make use of flexbox */
    flex-direction: column; /* Stack text vertically */
    align-items: center; /* Center items horizontally */
    font-size: 14px;
}

.black-text h2 {
    color: black; /* Black text color for the left side */
    margin: 0; /* Remove default margins */
    font-size: 14px;
}

.discount-text {
    color: black; /* Ensure black color for discount text */
    text-align: right; /* Center align text */
    /*  margin-top: 5px; Space above the discount text */
    font-size: 14px;
    margin: 0px;
}

.white-text h2 {
    color: white; /* White text color for the right side */
    margin: 0; /* Remove default margins */
    font-weight:700;
    font-size: 14px;
}






















.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff; /* prevent transparency */
}

.mega-menu {
    max-height: calc(100vh - 110px); /* viewport minus header */
    overflow-y: auto;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.mega-menu.resource-mega-menu {
    min-width: 660px !important
}

/* Show dropdown when JS adds .open */
.dropdown.open > .mega-menu {
    display: flex;
    flex-direction: column;
}



.resources-btn {
    background-color: var(--mustard);
    color: white !important;
    border: none;
    padding: 10px 20px !important;
    ;/* wider padding for clickable button */
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px !important;
    display: inline-block !important;
    font-weight: 400 !important;
    margin-bottom: 10px;
    text-decoration: none; /* remove underline for <a> */
    transition: all 0.3s ease; /* smooth hover animation */
}

    .resources-btn:hover {
        background-color: #e5a927; /* slightly darker shade on hover */
        color: #fff !important;
        font-weight: 700 !important;
        transform: translateY(-2px); /* small hover lift effect */
    }

.nav-container {
    width: 100%;
    border-bottom: 1px solid #eee;
}


.top-nav {
    display: flex;
    justify-content: space-between; /* Space out the logo and other items */
    align-items: center;
    font-size: 14px;
    padding: 8px 50px;
    color: var(--greyish-black);
}

.mega-menu a {
    display: block;
    padding: 6px 0;
    color: #333;
    font-size: 13px !important;
    line-height:2
}



.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 10px 15px 10px !important;
    min-width: 450px !important;
    background-color: #FFF;
    color: black;
   
    /* width: 100%;*/
    padding: 20px 0 0 0;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 999;
}


.top-right {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center; /* right justify the content in the top-right */
    flex-grow: 1; /* Allow this section to take up remaining space */
}

.top-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}


.top-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}


.top-nav a {
    text-decoration: none;
    color: var(--greyish-black);
}

    .top-nav a:hover {
        color: #00aaff !important;
    }

.top-ad {
    margin: 0px 15px;
    padding: 20px 40px;
    text-align: center;
    font-size: 14px;
    background-color: #EBEBEB;
    border: 2px solid #e2e2e2;
    padding: 2px 16px;
    border-radius: 8px;
    color: #00aaff !important;
}



/* Override link styles inside .top-ad */

.top-ad a {
    color: #eba123; 
    text-decoration: none; 
}

/* Hover effect for links inside .top-ad */

.top-ad a:hover {
    color: #008080; /* Change link color on hover */
}



/* ----- MEGA MENU ROWS ----- */

.menu-row {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    padding: 0 40px;
    margin-bottom: 25px; /* Added extra space between rows */
}


/* ----- BOTTOM ROW ----- */

.bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 60px !important;
    position: relative;
}



.nav-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-grow: 1; /* Allow left side to take up space */
}



.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end; /* Align buttons to the right */
}



    .nav-left a,
    .nav-right a {
        text-decoration: none;
        color: var(--greyish-black);
        font-size: 16px;
    }



        .nav-left a:hover,
        .nav-right a:hover {
            color: var(--mustard);
        }



/* ----- MEGA MENU ----- */

/*.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: darkslategrey;
    width: 100%;
    padding: 20px 0 0 0;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 999;
}
*/


.dropdown:hover .mega-menu {
    display: flex;
    flex-direction: column;
}



.menu-row {
    display: flex;
    gap: 30px;
    padding: 0 40px;
}

.menu-column {
    display: flex;
    flex-direction: column;
    flex: 1; 
    min-width: 0; 
}

.menu-column h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.2;
    word-wrap: break-word;
    max-width: 180px;
}

.menu-column a {
    padding: 5px 0;
    text-decoration: none;
    color: var(--greyish-black);
    white-space: nowrap;
}

.menu-column a:hover {
    color: var(--mustard);
}



/* ----- BOTTOM HIGHLIGHTED SECTION ----- */

.mega-menu-footer {
    margin-top: 20px;
    background-color: var(--yellow-bg);
    padding: 20px 40px;
    text-align: center;
    font-size: 18px;
    color: var(--mustard);
    width: 100%;
    box-sizing: border-box;
}


.menu-links a {
    display: block;
    padding: 6px 0;
    color: #222;
    text-decoration: none;
}

    .menu-links a:hover {
        color: #eba123;
    }

/*.ad-area img {
    max-width: 100%;
    border-radius: 6px;
}*/


/* ----- AD AREA ----- */

.ad-area {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    width: 300px;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
}



    .ad-area img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        display: block;
        margin: 0 auto 10px;
        border-radius: 10px;
    }



    .ad-area p {
        margin: 15px 0 5px;
       line-height:25px;
       font-size:12px;
    }



    .ad-area button {
        background-color: var(--mustard);
        color: white;
        border: none;
        padding: 2px 2px;
        border-radius: 10px;
        cursor: pointer;
        font-size: 14px;
    }

    .ad-area a {
        background-color: var(--mustard);
        color: white;
        border: none;
        padding: 5px 15px;
        border-radius: 10px;
        cursor: pointer;
        font-size: 14px;
        display:inline-block;
        margin-bottom:10px;
    }

    .ad-area a:hover {
         color:#fff;
         font-weight:500;
    }


    .ad-area.resources-ad {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: center;
        width: 300px;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: 10px;
    }

        .ad-area.resources-ad img {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
            margin: 0 auto 10px;
            border-radius: 10px;
        }


/* ----- BUTTONS ----- */
.subscribe-btn {
    background-color: var(--mustard);
    color: white;
    border: none;
    padding: 2px 16px;
    border-radius: 20px;
    cursor: pointer !important;
    font-size: 15px;
}

.subscribe-btn:hover {
    background-color: #d98f0c;
}



.cta-btn {
    background-color: var(--yellow-bg);
    color: white;
    border: 0.5px solid #ddd;
    padding: 2px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
}
.cta-btn:hover {
    background-color: #f4f4f4;
}

.demo-btn {
    background-color: var(--demo-button);
    color: white;
    border: none;
    padding: 2px 16px;
    border-radius: 20px;
    cursor: pointer !important;
    font-size: 15px;
}

.demo-btn:hover {
    background-color: #eba123;
}

.sign-in {
    color: var(--mustard);
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.sign-in:hover {
    text-decoration: none;
}

/* ----- MOBILE ----- */

@media (max-width: 768px) {

    .top-nav, .bottom-nav {
        /* flex-direction: column;
        align-items: flex-start;*/
    }

    .top-right {
        flex-direction: column;
        gap: 10px;
    }


    .mega-menu {
        width: auto;
    }

    .menu-row {
        flex-direction: column;
    }
    .mega-menu-footer {
        text-align: left;
    }

    .ad-area {
        width: 100%;
    }

    .subscribe-btn {
        font-size: 14px;
    }

    .demo-btn {
        font-size: 14px;
    }
}

/* ----- COMPANY DROPDOWN ----- */

.dropdown-top {
    position: relative;
    text-align: right;
    display: flex;
    gap: 10px;
    align-items: right;
    justify-content: right; /* Center the content in the top-right */
    flex-grow: 10; /* Allow this section to take up remaining space */
}





/* Dropdown button styles */

.dropdown-top-btn {
    text-decoration: none;
    color: var(--greyish-black);
    font-size: 16px;
    display: inline-block;
    padding: 8px;
}



    .dropdown-top-btn:hover {
        color: var(--mustard);
    }



/* Dropdown menu hidden by default */

.dropdown-top-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 5;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 999; /* Ensure the dropdown is above the mega menu */

    width: 200px;
    padding: 10px 0;
    min-width: 200px; /* Ensures consistent width */
}



/* Show the dropdown menu when hovering over the dropdown */

.dropdown-top:hover .dropdown-top-menu {
    display: block;
}



/* Dropdown menu link styles */

.dropdown-top-menu a {
    display: block;
    text-decoration: none;
    color: var(--greyish-black);
    padding: 8px 12px;
}

.nav-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

    .dropdown-top-menu a:hover {
    background-color: var(--mustard);
    color: white;
}

/* ===== DESKTOP DEFAULT ===== */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #000;
}

.bottom-nav {
    display: flex;
}
/* =====================================================
   TABLET & SMALL LAPTOP (≤ 1024px)
   ===================================================== */
@media (max-width: 1024px) {

    /* Mega menu grid adjusts */
    .menu-row {
        flex-wrap: wrap;
    }

    .menu-column {
        flex: 1 1 33%;
        min-width: 0;
    }

    /* Hide center nav & enable toggle */
    .top-center {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    /* Mobile nav container */
    .bottom-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 15px;
        background: #fff;
        border-top: 1px solid #eee;
    }

        .bottom-nav.active {
            display: flex;
        }

    .nav-left,
    .nav-right {

        flex-direction: column;
        align-items: normal;
        width: 100%;
        gap: 12px;
    }
}


/* =====================================================
   MOBILE (≤ 768px)
   ===================================================== */
@media (max-width: 768px) {

    /* ---------- Mega Menu Base ---------- */
    .mega-menu {
        position: static; /* ← KEY FIX */
        width: 100%;
        min-width: 0 !important;
        transform: none;
        padding: 15px;
        box-sizing: border-box;
        box-shadow: none;
        /*max-height: calc(100vh - 80px);*/
    }
    .mega-menu.resource-mega-menu {
        width: 100%;
        min-width: 0px !important;
        left: 0;
    }


    .menu-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .menu-column {
        width: 100%;
    }

        .menu-column h3 {
            font-size: 16px;
            margin-bottom: 6px;
        }

        .menu-column a {
            display: block;
            padding: 6px 0;
            font-size: 14px;
        }

    /* ---------- RESOURCES MENU ---------- */

    .mega-menu.resource-mega-menu .row {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap !important; /* override flex-nowrap */
    }

    .mega-menu.resource-mega-menu .col-auto,
    .mega-menu.resource-mega-menu .col {
        width: 100% !important;
        max-width: 100%;
    }

    /* Image below text */
    .resource-mega-menu .resources-ad {
        order: 3;
        margin-top: 15px;
        text-align: center;
    }

    /* ---------- COMPANY MENU ---------- */

    .mega-menu .col-md-4,
    .mega-menu .col-md-8,
    .mega-menu .col-lg-4,
    .mega-menu .col-lg-8 {
        width: 100%;
        max-width: 100%;
    }

    .mega-menu .row {
        display: flex;
        flex-direction: column;
    }

    /* Image below links */
    .mega-menu .ad-area {
        order: 2;
        margin-top: 15px;
        text-align: center;
    }

    /* ---------- POLISH ---------- */

    .menu-links a {
        display: block;
        padding: 6px 0;
    }

    .ad-area img {
        max-width: 100%;
        height: auto;
    }

    .nav-right a {
        border-radius: 8px !important;
    }
}


/* =====================================================
   SMALL PHONES (≤ 640px)
   ===================================================== */
@media (max-width: 640px) {

    .menu-column {
        flex: 1 1 100%;
    }
}
@media (hover: none) {
    /* Disable hover behavior on touch devices */
    .dropdown:hover > .mega-menu {
        display: none;
    }

    /* Allow JS toggle to work */
    .dropdown.open > .mega-menu {
        display: flex !important;
    }
}
 