﻿.nav-main-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.12);
}

.nav-header {
    display: none;
}

@media (min-width: 1177px) {
    .nav-header {
        display: flex;
        justify-content: space-between;
        padding: 8px 0 0;
        width: 100%;
        max-width: 1440px;
        height: 90px;
    }
}

.nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px 0 56px;
    gap: 80px;
    width: 100%;
    height: 82px;
    background: #ffffff;
}

.nav-left-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    gap: 60px;
    margin: 0;
    max-width: 707px;
    height: 82px;
    margin-left: 0px;
}

.desktop-logo {
    display: none;
}

@media (min-width:1220.1px) {
    .desktop-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 0 12px;
        gap: 10px;
        max-width: 136px;
        height: 58px;
    }
}

.medium-size-logo {
    display: none;
}

@media (min-width: 1177px) and (max-width: 1220px) {
    .medium-size-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 0 12px;
        gap: 10px;
        max-width: 136px;
        height: 58px;
    }
}

.nav-menu {
    display: none;
}

@media (min-width: 1177px) {
    .nav-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 82px;
        flex: 1;
    }
}

.nav-menu > .dropdown {
    padding-right: 35px;
}

    .nav-menu > .dropdown > a {
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 12px 0;
        gap: 4px;
        height: 82px;
        flex: none;
        align-self: stretch;
        position: relative;
    }

        .nav-menu > .dropdown > a:hover::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 4px;
            background-color: rgba(117, 62, 124, 1);
        }

.nav-menu > .home > a:hover::after {
    background-color: rgba(117, 62, 124, 1);
}

.nav-menu > .get-started > a:hover::after {
    background-color: rgba(117, 62, 124, 1);
}

.nav-menu > .inspire > a:hover::after {
    background-color: rgba(124, 171, 191, 1);
}

.nav-menu > .learn > a:hover::after {
    background-color: rgba(255, 182, 77, 1);
}

.nav-menu > .make > a:hover::after {
    background-color: rgba(255, 102, 99, 1);
}

.nav-menu > .i-want-to > a:hover::after {
    background-color: rgba(117, 62, 124, 1);
}
/* Dropdown styles */
.pop-over-get-started {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 48px 48px 48px 86px;
    isolation: isolate;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    height: 319px;
    overflow: hidden;
    z-index: 1;
}

    .pop-over-get-started::before {
        content: "";
        position: absolute;
        width: 2259px;
        height: 2259px;
        left: -100px;
        top: -202px;
        background: #FFFFFF;
        border-radius: 50%;
        z-index: 0;
    }

.pop-over-menu-inspire {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 48px 48px 48px 86px;
    isolation: isolate;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    height: 298px;
    overflow: hidden;
    z-index: 1;
}

    .pop-over-menu-inspire::before {
        content: "";
        position: absolute;
        width: 2259px;
        height: 2259px;
        left: -100px;
        top: -202px;
        background: #FFFFFF;
        border-radius: 50%;
        z-index: 0;
    }

.pop-over-menu-learn {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 48px 48px 48px 86px;
    isolation: isolate;
    width: 100%;
    max-width: 1440px;
    height: 341px;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
}

    .pop-over-menu-learn::before {
        content: "";
        position: absolute;
        width: 2259px;
        height: 2259px;
        left: -100px;
        top: -202px;
        background: #FFFFFF;
        border-radius: 50%;
        z-index: 0;
    }

.pop-over-menu-make {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 48px 48px 48px 86px;
    isolation: isolate;
    width: 100%;
    max-width: 1440px;
    height: 319px;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
}

    .pop-over-menu-make::before {
        content: "";
        position: absolute;
        width: 2259px;
        height: 2259px;
        left: -100px;
        top: -202px;
        background: #FFFFFF;
        border-radius: 50%;
        z-index: 0;
    }

.pop-over-menu-wantto {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 48px 48px 48px 86px;
    isolation: isolate;
    width: 100%;
    max-width: 1440px;
    height: 319px;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
}

    .pop-over-menu-wantto::before {
        content: "";
        position: absolute;
        width: 2259px;
        height: 2259px;
        left: -100px;
        top: -202px;
        background: #FFFFFF;
        border-radius: 50%;
        z-index: 0;
    }

.get-started .dropdown-content {
    background: #F7EEFF;
}

.inspire .dropdown-content {
    background: #EEF7FB;
}

.learn .dropdown-content {
    background: #FFF5E8;
}

.make .dropdown-content {
    background: #FFEFEB;
}

.i-want-to .dropdown-content {
    background: #F7EEFF;
}

.pop-over-menu-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    gap: 10px;
    width: 422px;
    height: 175px;
    flex: none;
    z-index: 1;
}

.pop-over-menu-title-with-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    gap: 10px;
    width: 422px;
    flex: none;
    z-index: 1;
}

.title-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    width: 302px;
    height: 105px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.title-content-logo {
    width: 53px;
    height: 70px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.title-content-topic {
    width: 302px;
    height: 45px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 140%; /* 45px */
    color: #000000;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.title-content-info {
    width: 302px;
    height: 52px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%; /* 26px */
    color: #000000;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.pop-over-menu-links {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    gap: 32px;
    width: 757px;
    height: 223px;
    flex: none;
    order: 2;
    flex-grow: 0;
    z-index: 2;
}

.link-content-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 16px;
    width: 165px;
    height: 181px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.link-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 4px;
    width: 165px;
    height: 89px;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.link-content-image {
    width: 165px;
    height: 97px;
    background-size: cover;
    border-radius: 8px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.link-content-header {
    width: 165px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
}

.link-content-info {
    width: 165px;
    height: 42px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #000000;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.dropdown {
    position: relative;
}

.dropdown-menu.show {
    z-index: 9999;
}

.dropdown-content {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 92px;
    width: 100%;
    height: 319px;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.12);
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    z-index: 9999;
}

    .dropdown-content::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 50vw;
        top: 0;
        background: #FFFFFF;
        z-index: 0;
    }

.dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: row;
}

.dropdown-inner {
    width: 100%;
    max-width: 1440px;
    height: 100%;
    display: flex;
    flex-direction: row;
}

.nav-right {
    display: none;
}

@media (min-width: 1177px) {
    .nav-right {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding: 0;
        gap: 20px;
        height: 40px;
        position: relative;
    }
}

.sign-in {
    display: flex;
    gap: 10px;
}

.nav-right.logged-in {
    width: 424px;
}

.nav-right.logged-out {
    gap: 10px;
}

.signout-icon {
    width: 24px;
    height: 24px;
    padding-left: 5px;
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    font-size: 20px;
    color: #333;
}

.search-bar {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1px 0 1px 7px;
    gap: 6px;
    width: 260px;
    height: 40px;
    min-height: 40px;
    background-color: #ffffff;
    border: 1px solid #878A8F;
    border-radius: 8px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.search-input-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    width: 209px;
    height: 24px;
}

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

.search-input {
    padding: 0px 6px;
    width: 165px;
    height: 23px;
    border: none;
}

    .search-input:focus {
        outline: none;
        box-shadow: none;
    }

.clear-btn {
    background: transparent;
    border: none;
    padding-left: 0.5rem;
    color: #666;
}

.arrow-button-wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 4px;
    width: 38px;
    height: 38px;
    border-left: 1px solid #878A8F;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.arrow-button {
    background: none;
    border: none;
    color: #753E7C;
    font-size: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 4px;
}

    .arrow-button svg {
        width: 24px;
        height: 24px;
        fill: #753E7C;
    }

.chevron-icon {
    width: 7.37px;
    height: 4.19px;
    transform: rotate(0deg);
    display: inline-block;
    font-size: 8px;
    line-height: 1;
    vertical-align: middle;
    position: relative;
    top: -4px
}

.btn-check + .btn {
    background: transparent;
    border: none;
    color: #000;
    box-shadow: none;
    border-radius: 0;
    padding: 0 4px;
    position: relative;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: unset;
}

.btn-check:checked + .btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: rgba(117, 62, 124, 1);
}

.text-poppins {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: none;
    color: black;
    white-space: nowrap;
}

.logo {
    object-fit: contain;
}


/* Mobile Navigation Bar */
.menu-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    width: 20px;
    height: 20px;
    flex-grow: 0;
}

.mobile-nav {
    display: none;
}

@media (max-width: 1176.9px) {
    .mobile-nav {
        position: relative;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 18px 16px 14px;
        gap: 80px;
        width: 100%;
        height: 56px;
        left: 0;
        top: 0;
        background: #FFFFFF;
        border-bottom: 1px solid #E8E9EB;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
    }
}

.mobile-left {
    position: absolute;
    left: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    height: 24px;
}

.mobile-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 12px;
    width: 92.67px;
    height: 24px;
    z-index: 2;
}

.mobile-right {
    position: absolute;
    right: 16px;
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
    z-index: 1;
}

#mobileMenuLeft.offcanvas-start {
    top: 60px !important;
    width: 100vw !important;
    z-index: 1050;
}

.offcanvas-backdrop.show {
    opacity: 0 !important;
}

#mobileMenuLeft.offcanvas-body {
    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
    overflow-x: auto;
}

#mobileMenuLeft.list-group {
    --bs-list-group-border-color: null !important;
}

.mobile-side-menu {
    display: none;
}

@media (max-width: 1176.9px) {
    .mobile-side-menu {
        display: flex;
    }
}

.menu-items {
    display: flex;
    flex-direction: column;
    padding: 15px 15px 15px 15px;
    gap: 10px;
}

.menu-link {
    display: flex;
    align-items: center;
    width: 100%;
    height: 39px;
}

.menu-links-headings {
    height: 39px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 140%;
    flex-grow: 1;
    margin-left: 10px;
}

    .menu-links-headings a {
        text-decoration: none;
        color: #000000;
    }

.dpad-right {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-left: auto;
}

.side-panel-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    height: 100%;
}

.mobile-pop-over-menu-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
}

.mobile-popover-title {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    padding: 0;
    gap: 166px 24px;
    width: 329px;
    height: 39px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.mobile-popover-back-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
}

.mobile-title-topic {
    width: 161px;
    height: 39px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 140%;
    color: #000000;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.mobile-header-content {
    width: 329px;
    height: 52px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: #000000;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.mobile-pop-over-menu-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link-content-main {
    display: flex;
    flex-direction: row;
    padding: 0;
    gap: 24px;
    width: 329px;
}

.mobile-link-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 15px;
    width: 152.5px;
    flex: none;
    order: 0;
    flex-grow: 1;
}

.mobile-link-content-image {
    width: 152.5px;
    height: 97px;
    background-size: cover;
    border-radius: 8px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.mobile-link-content-info {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #000000;
}

.mobile-underline-nav {
    display: flex;
    flex-direction: column;
    padding: 10px 25px;
    gap: 10px;
}

.mobile-underline {
    height: 0px;
    border: 2px solid #DEC3DC;
    width: 100%;
}

.moble-searchbar-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 15px;
    gap: 10px;
    width: 329px;
    height: 60px;
    flex: none;
    order: 7;
    align-self: stretch;
    flex-grow: 0;
}

.mobile-unit-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 15px;
    gap: 10px;
    width: 329px;
    height: 49px;
    flex: none;
    order: 8;
    align-self: stretch;
    flex-grow: 0;
}

.mobile-logout-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
    gap: 10px;
    width: 329px;
    height: 46px;
    flex: none;
    order: 9;
    align-self: stretch;
    flex-grow: 0;
}

    .mobile-logout-nav a {
        text-decoration: none;
        color: #000000;
    }

.mobile-login-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
    gap: 10px;
    width: 329px;
    height: 46px;
    flex: none;
    order: 7;
    align-self: stretch;
    flex-grow: 0;
}

.link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: color 0.3s ease;
}

    .link-wrapper:hover .link-content-image {
        transform: scale(1.05);
    }

.link-content-image {
    transition: transform 0.3s ease;
}

.link-wrapper:hover .link-content-header,
.link-wrapper:hover .link-content-info,
.link-wrapper:hover .mobile-link-content-info {
    color: rgba(117, 62, 124, 1);
    transition: color 0.3s ease;
}
