@media screen and (min-width: 1024px) {

    .nav>.container {
        position: relative;
    }

    /* 
START :: MEGA MENU STYLES 
*/
    .big-menu-with-3-columns>div {
        display: flex;
        position: absolute;
        display: flex;
        top: 11vw;
        background-color: #f2faf4;
        width: 80vw;
        left: 10vw;
        height: 80vw;
        z-index: 999999;
        padding: 1rem;
        padding-top: 4rem;
    }

    .big-menu-with-3-columns>div>div>div>font {
        font-size: 1.4rem;
    }

    .nav-ul>li {
        padding: 24px 0;
    }

    .mega-menu {
        width: 100%;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        padding: 1vw;
        transition: 0.3s;
    }

    body:not(.bodyScrolled) .mega-menu {
        transform: translateY(15px);
    }

    body.bodyScrolled .nav-item {

        &>a,
        span,
        >i {
            transition: 0.3s;
        }
    }

    @media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
        body.bodyScrolled .nav-item:hover {
            &>a {
                opacity: 1;
            }

            &>a,
            span,
            >i {
                color: #fff;
            }
        }
    }

    body.bodyScrolled .nav-ul #connexion-btn {
        transition: 0.3s;

        &:hover {
            color: #fff;
            opacity: 1;
        }
    }


    .nav-ul>li .mega-menu {
        z-index: -999;
        opacity: 0;
        display: none;
        transition: all .3s ease-out allow-discrete;
    }

    @media (hover: hover) and (pointer: fine) and (min-width: 1024px) {

        .nav-ul>li:hover .mega-menu {
            z-index: 999;
            opacity: 1;
            display: block !important;
        }
    }

    @starting-style {
        .nav-ul>li:hover .mega-menu {
            opacity: 0;
            display: none;
        }
    }


    .mega-menu>div {
        padding: 30px;
        border-radius: 1rem;
        background-color: #eef5ff;
        box-shadow: 0 4px 24px rgba(0, 0, 0, .05);
    }

    .bodyScrolled .mega-menu {
        /*top: 120px;*/
        top: 70px;
    }

    @media screen and (max-width: 667px) {
        .mega-menu {
            display: none;
        }
    }

    .bodyScrolled .nav-ul>li {
        padding: 1rem 0px;
        display: flex;
        align-items: center;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    @media screen and (min-width: 1024px) {
        .bodyScrolled .nav .container {
            padding-top: 0px;
            padding-bottom: 0px;
        }
    }

    .nav-ul>li>a {
        cursor: pointer;
    }

    .bodyScrolled .nav-ul>li>a {
        color: white;
        transition: 0.1s;
    }

    .menu-container>div {
        flex: 1;
    }

    .menu-container>div:last-of-type .menu-column.typeMenu {
        padding: 20px;
        grid-gap: 10px;
    }

    .menu-column {
        height: 100%;
        border-radius: 1vw;
        display: grid;
        row-gap: 1rem;
        margin-left: 1rem;
    }

    .menu-column.typeMenu {
        display: grid;
        row-gap: 2rem;
    }

    .menu-column.Text {
        padding: 20px;
    }

    .menu-column.typeMenu {
        display: flex;
        flex-direction: column;
        grid-gap: 20px;
    }

    :is(.menu-column>h3, #abs-class) {
        font-size: 1.7rem !important;
        margin-bottom: 2rem;
    }

    /* Left Column Styles */
    .menu-title {
        font-size: 2rem !important;
        margin: 2rem;
        line-height: 1.2;
    }

    .menu-subtitle {
        color: #666;
        margin-bottom: 20px;
    }

    .explore-btn {
        background-color: #fff;
        border: 2px solid #18B77E;
        color: #18B77E;
        padding: 10px 25px;
        border-radius: 25px;
        font-weight: bold;
        cursor: pointer;
        width: fit-content;
        transition: all 0.3s ease;
    }

    .explore-btn:hover {
        background-color: #18B77E;
        color: #fff;
    }

    /* Middle Column Styles */
    .menu-item {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .menu-item:not(:last-of-type) {
        margin-bottom: 25px;
    }

    .menu-icon {
        width: 24px;
        height: 24px;
    }

    .menu-text h3 a {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .menu-text p {
        color: #666;
        font-size: 14px;
    }

    /* Right Column Styles */
    .expertise-section {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        margin-bottom: 20px;
    }

    .arrow-icon {
        width: 20px;
        height: 20px;
    }

    .circular-image {
        width: 100%;
        max-width: 300px;
        border-radius: 50%;
        margin: 0 auto;
    }

    :is(.menu-column.Text h4, #abs-class) {
        font-size: 1.7rem !important;
        font-weight: lighter;
    }

    .menu-column.Link {
        display: flex;
        align-items: end;
    }

    .menu-column.Link>div {
        display: flex;
        align-items: center;
    }

    .menu-column.Link a {
        font-size: 1.3rem !important;
    }

    /* .menu-container .menu-column:first-child {
	background-color: white;
	border-radius: 1rem;
} */

    .menu-container svg {
        width: 1vw;
        height: 1vw;
    }

    .typeMenu .menu-item {
        display: flex;
        /* justify-content: space-between; */
    }

    .menu-text h3 {
        margin-bottom: 0.8rem !important;
    }

    .menu-item img {
        object-fit: contain;
    }

    .menu-text a {
        font-size: 1.3rem !important;
        color: black;
    }

    .fontTypeIcon {
        color: #18b77e;
        font-size: 2rem !important;
    }

    .fontTypeIcon i {
        width: 3rem;
        text-align: center;
    }

    /* 
END MEGA MENU STYLES
*/

    .nav-mobile {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    body:has(.nav-mobile__menu[style='left: 0%']) {
        overflow: hidden;
    }

    .nav-mobile {
        display: block;
    }

    .nav-div {
        height: 100%;
        overflow: auto !important;
    }
    .nav {
        display: none;
    }
    html:has(body[data-isauth="true"]){
        .nav {
            display: block;
        }
    }

    .nav-mobile {
        /* position: fixed;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        background: white;
        overflow: auto !important;
        z-index: 99999; */

        .container {
            display: block !important;
            background-color: white;
            position: fixed;
            transition: 0.3s;
            top: 3rem;
            z-index: 99999;
            border-radius: 1rem;
            padding: 0px;

            >div:first-child {
                display: block !important;
                background-color: white;
                transition: 0.3s;
                top: 3rem;
                z-index: 99999;
                box-shadow: 0px 1px 11px -1px #00000066;
                padding: 1rem;
            }
        }
    }

    .nav-item {
        padding: 1rem;
    }

    .nav-ul li:not(:last-child) {
        margin-right: 0 !important;
    }

    .menu-column>h3,
    .menu-column>h4 {
        font-size: 22px !important;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

    .mega-menu {
        margin: 3rem 1rem;
    }

    .menu-column.Link {
        >div {
            display: flex;
            justify-content: space-between;
            font-size: 1.1rem !important;
            font-weight: bold;
        }
    }

    .menu-container {

        >div,
        .menu-item,
        .menu-column {
            background-color: white !important;
        }

    }

    .nav-mobile__menu {
        height: calc(100vh - 8rem);
        width: 100%;
        position: fixed;
        z-index: -1;
        left: 0px;
        right: 0px;
        background-color: white;
        top: 8rem;
        transition: 0.3s;
        padding-bottom: 5rem;
    }

    .bodyScrolled {
        .nav-mobile__menu {
            top: 6rem;
        }

        .nav-mobile {
            .container {
                top: 0rem;
            }
        }
    }

    .nav-ul {
        display: grid !important;
        padding: 1rem;
        width: 100%;
        white-space: normal !important;
    }

    .nav-ul li:not(:last-child) {
        margin-right: 0 !important;
    }

    .nav-link {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .mega-menu {
        position: relative;
        opacity: 1 !important;
        display: block !important;
        z-index: 999;
    }

    div[style=""]:has(>.mega-menu) {
        display: none;
    }

    .menu-container {
        display: grid !important;
    }

    .nav-item:has(.login-btn) {
        position: fixed;
        bottom: -6rem;
        padding: 1rem;
        z-index: 9999999;
        width: 100%;
        background-color: #18b77e;
        display: flex;
        justify-content: center;
        left: 0;
        right: 0;
        transition: 0.3s;
    }

    .login-btn {
        padding: 1rem;
        border: 2px solid #ffffff;
        border-radius: 6px;
        color: white;

    }

    .menu-item {
        display: flex;
        padding: 1rem;
        align-items: center;
        column-gap: 1rem;

        h3 {
            font-size: 1.4rem !important;
            margin-bottom: 0.5rem;
        }

        p {
            font-size: 1rem !important;
            color: #666;
        }

        .fontTypeIcon {
            font-size: 2rem !important;
            color: #18b77e;
            display: flex;
            justify-content: center;

            i {
                width: 3rem;
                display: flex;
                justify-content: center;
            }
        }
    }

    .nav-mobile__hamburger svg {
        width: 3rem;
        height: 3rem;
    }

    .logo img {
        height: 4rem;
        width: 10rem;
    }

    .nav-mobile__header {}

    .menu-text {}

    header.header {
        margin-top: 8rem;
    }
    html:has(body[data-isauth="true"]){
        header.header {
            margin-top: 0rem;
        }
    }
}


.w-6 {
    width: 1.5rem;
    /* Assuming default Tailwind scale where 6 corresponds to 1.5rem */
}

.h-px {
    height: 1px;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    /* Default duration */
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.rotate-45 {
    transform: rotate(45deg) !important;
}

.-rotate-45 {
    transform: rotate(-45deg) !important;
}

.translate-y-0 {
    transform: translateY(0);
}

.translate-y-2 {
    transform: translateY(0.5rem);
    /* Assuming default Tailwind scale where 2 corresponds to 0.5rem */
}

.-translate-y-2 {
    transform: translateY(-0.5rem);
    /* Assuming default Tailwind scale where 2 corresponds to 0.5rem */
}

.translate-x-3 {
    transform: translateX(0.75rem);
    /* Assuming default Tailwind scale where 3 corresponds to 0.75rem */
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.bg-current {
    background-color: currentColor;
}