/* Progress Tracker Styles */



.progress-tracker {
    --progress-primary-color: #0066cc;
    --progress-completed-color: #3366cc;
    --progress-current-color: #3366cc;
    --progress-incomplete-color: #cccccc;
    --progress-text-color: #333333;
    --progress-description-color: #666666;
    --progress-background-color: #F5F5F4;
    --progress-connector-height: 2px;
    --progress-step-size: 40px;
    --progress-header-spacing: 2rem;

    position: relative;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--progress-text-color);
    padding: 0 2rem 2rem 2rem;
    background-color: var(--progress-background-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}


/* Header section */
.progress-tracker__header {
    text-align: center;
    margin-bottom: var(--progress-header-spacing);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10%;
}

.progress-tracker__title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.progress-tracker__title {
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 130%;
    color: var(--progress-text-color);
}

.progress-tracker__description {
    font-size: 1rem;
    color: var(--progress-description-color);
    max-width: 455px;
    text-align: right;
    font-weight: 400;
}

/* Steps container */
.progress-tracker__steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding-left: 5%;
    padding-right: 5%;
}

/* Individual step */
.progress-tracker__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Step marker (circle) */
.progress-tracker__step-marker {
    width: var(--progress-step-size);
    height: var(--progress-step-size);
    border-radius: 50%;
    background-color: var(--progress-incomplete-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border: 2px solid var(--progress-incomplete-color);
}

.progress-tracker__step--completed .progress-tracker__step-marker {
    background-color: var(--progress-completed-color);
    border-color: var(--progress-completed-color);
}

.progress-tracker__step--current .progress-tracker__step-marker {
    background-color: #fff;
    border-color: var(--progress-current-color);
    border-width: 3px;
    box-shadow: 0 0 0 4px rgba(51, 102, 204, 0.2);
}

.progress-tracker__step-icon {
    width: 20px;
    height: 20px;
    stroke: white;
}

/* Connector line between steps */
.progress-tracker__step-connector {
    position: absolute;
    top: calc(var(--progress-step-size) / 2);
    height: var(--progress-connector-height);
    background-color: var(--progress-incomplete-color);
    right: calc(50% + var(--progress-step-size) / 2);
    left: calc(-50% + var(--progress-step-size) / 2);
    z-index: 1;
}

.progress-tracker__step-connector--active {
    background-color: var(--progress-completed-color);
}

/* Step content (title, subtitle, description) */
.progress-tracker__step-content {
    text-align: center;
    margin-top: 1rem;
    width: 100%;
    max-width: 170px;
}

.progress-tracker__step-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--progress-text-color);
    text-transform: uppercase;
}

.progress-tracker__step-subtitle {
    font-size: 1rem;
    color: var(--progress-description-color);
    margin: 0 0 0.125rem 0;
}

.progress-tracker__step-description {
    font-size: 1rem;
    color: var(--progress-description-color);
    margin: 0;
}

/* Responsive styles */
@media (max-width: 992px) {


    .progress-tracker__step {
        flex-basis: 33.33%;
        margin-bottom: 2rem;
    }

}

@media (max-width: 768px) {
    .progress-tracker__step {
        flex-basis: 50%;
    }
}

@media (max-width: 576px) {
    .progress-tracker {
        padding: 1.5rem 1rem;
    }

    .progress-tracker__step {
        flex-basis: 100%;
    }

    .progress-tracker__step-content {
        max-width: none;
    }
}



/* Main Navigation Container */
.purpose-navigation-container {
    width: 100%;
    font-family: 'Lato', sans-serif;
    flex-direction: column;
    /*border-bottom: 0.50px hsla(214, 32%, 29%, 0.25) solid;*/
}


.overlay  a:link,
.overlay  a:visited,
.overlay a:hover,
.overlay  a:active {
    text-decoration: none;
    color: inherit;
}

/* Secondary Navigation Bar (Top bar) */
.secondary-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    padding: 0 80px;
    height: 76px;
    width: 100%;
    border-bottom: 0.50px hsla(214, 32%, 29%, 0.25) solid;
}

.secondary-nav-bar a
/* Logo Section */
.site-logo {
    display: flex;
    align-items: center;
    gap: 7.29px;
}

.logo-icon {
    width: 38.87px;
    height: 38.87px;
    transform: rotate(-3deg);
    transform-origin: top left;
}

.logo-text {
    color: #117BC6;
    font-size: 16.93px;
    font-family: 'PMWhiskey', sans-serif;
    font-weight: 400;
    line-height: 15.79px;
    letter-spacing: 2.19px;
}

/* Main Category Tabs */
.main-tabs {
    display: flex;
    height: 100%;
}

.tab {
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    height: 100%;
    border-bottom: 6px solid transparent;
    text-decoration: none;
    cursor: pointer;
    color: #131313;
    font-weight: 400;
}
.tab:link{
    text-decoration: none;
}
.tab:visited{
    text-decoration: none;
    color: inherit;
}

.tab-icon.active{
    stroke: #3366cc;
}


.tab.active {
    background: #FFFFFF;
    border-bottom: 6px #3366cc solid;
    color: #3366cc;
    font-weight: 800;
}

.tab-icon {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-text {
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    line-height: 20px;
    text-transform: uppercase;
}

/* User Section */
.user-section {
    display: flex;
    align-items: center;
    gap: 32px;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.round-button {
    padding: 10px;
    background: #303030;
    border-radius: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.get-more-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 120px;
    background: #016EC2;
    border: 2px white solid;
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 20px;
    transition: background-color 0.3s ease;
}


.get-more-button:hover{
    background: #EF6820;;
    color: white;
}

.get-more-button:hover .workshop-icon{
    stroke:#FFFFFF;
}


.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    border: 0.50px #016EC2 solid;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100px;

}

.welcome-text {
    color: white;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 20px;
}

/* Active submenu item based on current page */
.submenu-item.current-page {
    border-bottom: 4px solid white;
}

/* Empty submenu message */
.submenu-empty {
    color: #888;
    font-size: 14px;
    font-style: italic;
}

/* Mobile Menu Styles */
.mobile-nav-container {
    display: none;
}

.nav-menu-mobile {
    display: none;
    background: #2B2B2B;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
}

.menu-toggle-box {
    width: 22px;
    height: 14px;
    display: inline-block;
    position: relative;
}

.menu-toggle-inner,
.menu-toggle-inner::before,
.menu-toggle-inner::after {
    width: 22px;
    height: 2px;
    background-color: white;
    position: absolute;
    transition: transform 0.15s ease;
}

.menu-toggle-inner {
    top: 50%;
    margin-top: -1px;
}

.menu-toggle-inner::before,
.menu-toggle-inner::after {
    content: "";
    display: block;
}

.menu-toggle-inner::before {
    top: -6px;
}

.menu-toggle-inner::after {
    bottom: -6px;
}

/* Mobile Menu */
.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #3a3a3a;
}

.mobile-menu-link {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    position: relative;
}

.mobile-menu-item.has-submenu > .mobile-menu-link:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-item.has-submenu.active > .mobile-menu-link:after {
    content: "-";
}

.mobile-submenu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #222;
}

.mobile-menu-item.active .mobile-submenu {
    display: block;
}

.mobile-submenu li {
    border-top: 1px solid #333;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 30px;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .secondary-nav-bar,
    .horizontal-submenu {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    .tab {
        padding: 0 12px;
    }

    .tab-text {
        font-size: 13px;
    }

    .submenu-item {
        padding: 0 12px;
    }

    .submenu-item-text {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .purpose-navigation-container {
        display: none;
    }

    .mobile-nav-container {
        display: block;
    }

    .mobile-only {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .menu-toggle-inner {
        transform: rotate(45deg);
    }

    .menu-toggle.active .menu-toggle-inner::before {
        opacity: 0;
    }

    .menu-toggle.active .menu-toggle-inner::after {
        transform: rotate(-90deg) translate(6px, 0);
    }

}






/* Horizontal Submenu Section - Updated for Center Alignment */
.horizontal-submenu-wrapper {
    width: 100%;
    position: relative;
}

.horizontal-submenu {
    display: none;
    width: 100%;
    height: 52px;
    background: #FFFFFF;
    border-bottom: 0.50px hsla(214, 32%, 29%, 0.25) solid;
    padding: 0;
}

.horizontal-submenu.active {
    display: block;
}

.submenu-items {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* Align items to start from the same position as main nav */
    gap: 12px;
    padding: 0 80px; /* Match the padding of the secondary-nav-bar */
    max-width: 1440px; /* Optional: set a max-width to match your layout */
    margin: 0 auto; /* Center the container if it reaches max-width */
}

.submenu-item {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 4px solid transparent;
    text-decoration: none;
    transition: border-bottom 0.3s ease;
}

.submenu-item:hover {
    border-bottom: 4px solid #EF6820;
}

.submenu-item-text {
    color: #131313;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 20px;
}

/* Active submenu item based on current page */
.submenu-item.active {
    border-bottom: 4px solid rgb(239, 104, 32);
}

/* Empty submenu message */
.submenu-empty {
    color: #888;
    font-size: 14px;
    font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .submenu-items {
        padding: 0 40px; /* Match the padding of the secondary-nav-bar on smaller screens */
    }
}




@media (max-width: 768px) {
    .hamburger-container {
        display:block !important;
    }

    /* Hide desktop navigation */
    .purpose-navigation-container {
        display: flex;
    }

    .main-tabs, .horizontal-submenu-wrapper, .user-section{
        display: none;
    }

}


/* Add new styles for view-map-button */
.view-map-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #FFFFFF;
    border: 1px solid var(--Blue-Default, #016EC2);
    border-radius: 1000px;
    color: #016EC2;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.view-map-button:hover{
    background: #016EC2;
    color: white;
}

.view-map-button:hover .view-map-icon{
    stroke:#FFFFFF;
}

/* Adjust spacing in action buttons */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Keep the existing round-button styles for other buttons */
.round-button {
    padding: 10px;
    background: #303030;
    border-radius: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .view-map-button {
        padding: 8px 12px;
    }

    .view-text {
        font-size: 13px;
    }

    .hamburger-menu {
        display: flex;
    }
}


/* Hamburger menu styles */
.hamburger-container {
    position: relative;
    display:none;
}

.hamburger-menu {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 24px;
    padding: 0;
    margin: 15px;
    position: relative;
    z-index: 1001; /* Ensure it stays above the overlay */
}

.hamburger-line {
    background-color: #333;
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 1px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

/* Overlay styles */
.overlay {
    position: fixed;
    top: 77px;
    left: 0;
    width: 100%;
    height: calc(100% - 77px);
    background-color: white;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Active state for menu button */
.hamburger-menu.active .line-top {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active .line-middle {
    opacity: 0;
}

.hamburger-menu.active .line-bottom {
    transform: translateY(-9px) rotate(-45deg);
}

/* Active state for overlay */
.overlay.active {
    opacity: 1;
    visibility: visible;
}



/* Mobile Menu Content */
.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #eee;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.menu-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon svg {
    width: 16px;
    height: 16px;
}

.expand-icon {
    margin-left: auto;
    font-size: 18px;
    color: #999;
}

/* Profile Pic in Menu */
.profile-pic-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
}

.profile-pic-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Submenu */
.mobile-submenu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

.mobile-menu-item.active .mobile-submenu {
    display: block;
}
.mobile-menu-item.active .mobile-menu-link {
    border-bottom: 6px solid  #EF6820;
}

.mobile-submenu li {
    border-top: 1px solid #eee;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 20px 12px 48px;
    text-decoration: none;
    color: #444;
    font-size: 14px;
}

/* Mobile Action Buttons */
.mobile-menu-actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid #eee;
}

.mobile-view-btn, .mobile-workshop-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
}

.mobile-view-btn {
    border: 1px solid #016EC2;
    color: #016EC2 !important;
}

.mobile-workshop-btn {
    background-color: #016EC2;
    color: white !important;
}

/* Prevent scrolling when overlay is active */
body.no-scroll {
    overflow: hidden;
    height: 100%;
    position: fixed;
    width: 100%;
}



/* CSS for Profile Sub-Navigation */

/* Profile container with relative positioning for dropdown */
.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Profile pic clickable area - making it a bit larger for easier clicking */
.profile-pic.profile-dropdown-toggle {
    cursor: pointer;
    position: relative;
}

/* Submenu styles */
.profile-submenu {
    position: absolute;
    top: 55px;
    right: -5px;
    width: 180px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 8px 0;
    display: none;
    border: 0.5px solid rgba(0, 0, 0, 0.1);
}

/* Profile pic hover/focus shows submenu */
/*.profile-pic.profile-dropdown-toggle:hover .profile-submenu,*/
/*.profile-pic.profile-dropdown-toggle:focus .profile-submenu,*/
/*.profile-submenu:hover {*/
/*    display: block;*/
/*}*/

/* Submenu items */
.profile-submenu-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    color: #131313;
    transition: background-color 0.2s ease;
}

.profile-submenu-item:hover {
    background-color: #f5f5f5;
}

/* Icons in submenu */
.profile-submenu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #303030;
}

/* Text in submenu */
.profile-submenu-text {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

/* Adding a subtle arrow/pointer at top of dropdown */
.profile-submenu::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 16px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

/* For JavaScript toggle functionality (optional) */
.profile-submenu.active {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Hide desktop dropdown in mobile view */
    .profile-submenu {
        display: none !important; /* Force hide on mobile */
    }

    /* Use the mobile menu you already have instead */
}
