/*
Theme Name: Even Up Law
Text Domain: evenuplaw
Requires at least: 5.0
Requires PHP: 7.1.0
Description: Official Theme For EvenUp Law
Author: EvenUp Law
Author URI: https://www.evenuplaw.com
Theme URI: https://www.evenuplaw.com
Version: 0.0.29
*/


/* ========== TABLE OF CONTENTS ========== */

  /*---- 1. Global Styles
  /*---- 2. Text Styles
  /*---- 3. Helper Styles
  /*---- 4. Section Styles
  /*---- 5. Element Styles
  /*---- 6. Template Styles
  /*---- 7. Animation Styles
  /*---- 8. Contact Forms
  /*---- 9. Media Queries

/* ======================================= */

/* ========== 1. Global Styles ========== */

    :root {
    /* Color - Primary (EvenUp Blue | #002EB9) */
    --color-primary: 0, 46, 185;
    /* Color - Primary Clear Blue (Primary Clear Blue | #8ABCFB) */
    --color-primary-clear-blue: 138, 188, 251;
    /* Color - Secondary (Navy blue | #001943) */
    --color-secondary: 0, 25, 67;
    /* Color - Mid Blue (Mid Blue | #4370F5) */
    --color-mid-blue: 67, 112, 245;
    /* Color - Light Blue (Light blue | #f3f6fe) */
    --color-light-blue: 243, 246, 254;
    /* Color - Primary Gray (Light blue | #5E6678) */
    --color-gray: 94, 102, 120;
    /* Font - Inter */
    --inter: "Inter", sans-serif;
    /* Font - PT Serif */
    --pt-serif: "PT Serif", serif;
    /* Transition Timing */
    --transition: .3s;
    /* Border Style */
    --border: 1px solid rgba(0,0,0,.25);
    /* Border Radius */
    --bs-border-radius: 10px;
    /* Changes focus to a red glow */
    --bs-focus-ring-color: rgba(var(--color-primary), 1);
    /* Font Awesome version */
    --fawesome-ver: 'Font Awesome 6 Free';
    /* Font Awesome Icon Weight */
    --fawesome-weight: 900; 
    }

    .body {
        display: flex;
        min-height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
    }

    .footer {
        margin-top: auto;
    }

  #ot-sdk-btn.ot-sdk-show-settings, #ot-sdk-btn.optanon-show-settings {
    color: #b9c0cd !important;
    background: none !important;
    height: inherit !important;
    white-space: inherit !important;
    word-wrap: inherit !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 180% !important;
    margin: 0 !important;
}
#onetrust-policy-text {
    font-family: 'Onest', sans-serif;
}

.ot-bnr-logo {
    display: none;
}

#onetrust-pc-btn-handler {
    color: #03228c !important;
    border-color: #03228c !important;
    background-color: #FFFFFF;
    font-family: 'Onest', sans-serif;
    margin-right: 50px !important;
}

#onetrust-button-group-parent {
    display: flex !important;
    justify-content: end;
}
  
  .ot-pc-footer-logo {
    display: none;
}

button.save-preference-btn-handler.onetrust-close-btn-handler {
    background-color: #03228c !important;
    border-color: #03228c !important;
    color: #FFFFFF;
}

#onetrust-consent-sdk #onetrust-pc-sdk .ot-tgl input:checked+.ot-switch .ot-switch-nob {
    background-color: #03228c !important;
}

.ot-pc-logo {
    display: none !important;
}

#onetrust-button-group {
    margin-right: unset !important;
}
.wistia_popover_overlay {
    background-color: rgba(0, 0, 0, .9) !important;
}


/* ========== 2. Text Styles ========== */

    h1, h2, h3, h4, h5, h6, p, li {
        font-family: var(--inter);
    }

    h1, h2, h3, h4, h5 {
        font-weight: 600;
        line-height: 120%;
        letter-spacing: -.001em;
    }

    .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
        font-weight: 600;
    }

    .display-3 {
        font-size: 60px;
    }

    h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    h1.lg {
        font-size: 56px;
    }

    h1.xl {
        font-size: 80px;
    }

    h2 {
        font-size: 26px;
        margin-bottom: 16px;
    }

    h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    h1 a, h2 a, h3 a {
        color: inherit;
    }

    h4 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    h5 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    h1, h2, h3, h4, h5, h6,
    .has-light-blue-background-color :is(.h1, h2, h3, h4, h5, h6) {
        color: rgb(var(--color-secondary));
    }

    .wp-block-image :where(figcaption), li, p,
    .has-light-blue-background-color :is(p,li, .wp-block-image :where(figcaption)) {
        margin-bottom: 24px;
        color: rgba(var(--color-gray));
    }

    figure.wp-block-table td {
        color: rgba(var(--color-gray));
        border: 1px solid rgba(var(--color-gray));
    }
    
    figure.wp-block-table td a {
        color: inherit;
    }

    .wp-block-image :where(figcaption) {
        font-size: .8rem;
        font-style: italic;
        margin-top: 1rem !important;
    }

    a :is(h1, h2, h3, h4, h5) {
        color: rgba(var(--color-secondary));
    }

    .section-dark :is(h1, h2, h3, h4, h5, p, li),
    .bg-dark :is(h1, h2, h3, h4, h5, p, li),
    .section-black :is(h1, h2, h3, h4, h5, p, li),
    .bg-black :is(h1, h2, h3, h4, h5, p, li),
    .has-black-background-color :is(h1, h2, h3, h4, h5, p, li),
    .has-primary-background-color :is(h1, h2, h3, h4, h5, p, li),
    .section-dark a :is(h1, h2, h3, h4, h5, p, li),
    .bg-dark a :is(h1, h2, h3, h4, h5, p, li),
    .section-black a :is(h1, h2, h3, h4, h5, p, li),
    .bg-black a :is(h1, h2, h3, h4, h5, p, li) {
        color: white;
    }

    .section-dark .btn-primary,
    .bg-dark .btn-primary,
    .has-primary-background-color .btn-primary {
        background: rgb(var(--color-primary-clear-blue));
        border-color: rgb(var(--color-primary-clear-blue));
        color: rgb(var(--color-secondary));
    }

    .section-dark .btn-primary:hover,
    .bg-dark .btn-primary:hover,
    .has-primary-background-color .btn-primary:hover {
        background: rgb(var(--color-primary));
        border: 1px solid rgb(var(--color-secondary));
        color: rgb(var(--color-light-blue));
    }

    .has-light-blue-background-color :is(p),
    .has-primary-background-color .stat-wrapper p {
        margin-bottom: 24px;
        color: rgba(var(--color-gray));
    }
    
    small {
        color: rgba(var(--color-gray));
        font-family: var(--inter);
    }

    p, li {
        font-size: 16px;
        line-height: 150%;
        margin-bottom: 1rem;
    }

    li {
        word-wrap: break-word;
    }

    p a, li a {
        color: inherit;
        transition: var(--transition);
    }

    .section-black :is(p a, li a) {
        color: rgba(var(--color-mid-blue),1);
        transition: var(--transition);
    }

    p a:hover, li a:hover {
        opacity: .7;
        transition: var(--transition);
    }

    .text-primary {
        color: rgb(var(--color-primary)) !important;
    }

    .text-secondary {
        color: rgb(var(--color-secondary)) !important;
    }

    .text-gray {
        color: rgb(var(--color-gray)) !important;
    }

    .eyebrow {
        color: #002eb9;
    }

    .tag {
        margin-bottom: 12px;
    }

    .stat {
        font-size: 48px;
    }

    .mark, mark {
        padding: 0;
    }

/* ========== 3. Helper Styles ========== */

    .rounded, .rounded img {
        border-radius: var(--bs-border-radius);
    }

    .bg-primary {
        background: rgb(var(--color-primary)) !important;
    }

    .bg-secondary {
        background: rgb(var(--color-secondary)) !important;
    }

    .px-3 {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .px-4 {
        padding-left: 3.5rem !important;
        padding-right: 3.5rem !important;
    }

    .px-5 {
        padding-left: 5rem !important;
        padding-right: 5rem !important;
    }

    .py-3 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .py-4 {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .py-5 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }

    .trans-3, .trans-3:hover {
        transition: var(--transition);
    }

/* ========== 4. Section Styles ========== */

    /* --- Blog Header --- */

        .header-blog img {
            border-radius: 12px;
        }

        .border-bottom {
            border-bottom: var(--border);
        }

        .section-white, .bg-white {
            background: white;
        }

        .section-dark, .bg-dark {
            background: rgba(var(--color-secondary),1);
        }
            .section-dark :is(h1,h2,h3,h4,h5,h6,p,li), .bg-dark :is(h1,h2,h3,h4,h5,h6,p,li) {
                color: white;
            }
        
        .section-light, .bg-light {
            background: rgba(var(--color-mid-blue),1);
        }
        
        .section-black, .bg-black {
            background: rgba(0, 0, 0,1);
        }

    /* --- Video Background Section --- */

        .splash-home .container {
            height: 80vh;
        }

        .video-bg-wrapper {
            position: relative;
            padding: none;
            overflow: hidden;
        }

        .video-bg {
            position: absolute;
            width: 100%;
            height: auto;
            z-index: -1;
        }

        .video-bg-content {
            z-index: 1;
        }

/* ========== 5. Element Styles ========== */

    /* --- PI Prompt Series Menu --- */

    .series-articles-menu .yoast-url-list li {
        list-style: none;
        border-bottom: 1px solid rgba(var(--color-secondary),.2);
        padding-bottom: .75rem;
        margin-bottom: 0;
        margin-top: .75rem;
    }

    .series-articles-menu .yoast-url-list {
        padding-left: 0;
        margin-bottom: 0;
    }

    .series-articles-menu .yoast-url-list li a {
        text-decoration: none;
    }

    /* --- Pioneer Awards - 2026 --- */

    .pioneer-2026-button {
        background: #8c7a3f !important;
        border-color: #8c7a3f !important;
    }

    .pioneer-2026-button:hover {
        background: #706336 !important;
        border-color: #706336 !important;
    }

    .pioneer-2026-highlight {
        color: #8c7a3f;
    }

    .pioneer-2026-card {
        border: 1px solid #8c7a3f;
        padding: 55px 20px;
        border-radius: var(--bs-border-radius);
    }

    .pioneer-2026-card p {
        margin-bottom: 0;
    }

    .pioneer-2026-card hr {
        margin-top: 30px;
        margin-bottom: 30px;
        width: 100px;
        height: 5px;
        background: #8c7a3f;
        opacity: 1;
    }

    /* --- Post Content Modifiers --- */

    #post-content :is(figure.wp-block-image, .wistia-wrapper, figure.wp-block-table) {
        margin-bottom: 2rem;
        margin-top: 2rem;
    }

    #post-content :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
        margin-top: 2rem;
    }
    
    #post-content .eyebrow + :is(h1, h2, h3, h4, h5, h6) {
        margin-top: 0;
    }

    #post-content .evenup-button-wrapper {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* --- Home Page Tiles --- */

    .home-tile .wp-block-cover__inner-container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 30px;
    }

    /* --- Video Tiles (Change Management Hub) --- */

    .video-tile .wp-block-cover__inner-container,
    .video-tile-square .wp-block-cover__inner-container {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        cursor: pointer;
    }

    .video-tile-square {
        aspect-ratio: 1;
    }

    /* --- Nav Tiles (Change Management Hub) --- */

    .cmh-nav-tile:hover {
        opacity: .8;
        transition: .3s;
    }

    .cmh-nav-tile {
        transition: .3s;
        padding: 1rem;
    }

    .cmh-nav-tile.active {
        filter: grayscale(1);
        pointer-events: none; /* Prevents all mouse events (clicks, hover, etc.) */
        cursor: default;     /* Changes the cursor from a hand to a normal pointer */
    }

    /* --- Image --- */
    .size-full, .size-full img {
        width: 100%;
    }

    /* --- Guide Tiles --- */
    .guide-tiles .wp-block-group {
        padding: 30px;
        background: rgb(var(--color-light-blue));
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: space-between;
        text-align: left;
        border: 1px solid rgba(var(--color-secondary), .3);
        border-radius: var(--bs-border-radius);
    }

    /* --- Forms --- */

    .gfield_required .gfield_required_asterisk {
        display: none;
    }

    .form-wrapper {
        padding: 32px 20px;
        border-radius: 12px;
    }

    .gform_fields {
        row-gap: 20px !important;
    }

    label.gfield_label.gform-field-label {
        font-size: 14px;
        font-family: var(--inter);
        font-weight: 600;
    }

    .ginput_container :is(input, select) {
        border: rgba(0,25,67,.25) 1px solid !important;
    }

    .ginput_container input::placeholder, .gf_placeholder {
        color: rgb(var(--color-gray));
    }

    .gform-theme--framework .gform_required_legend .gfield_required, span.gfield_required.gfield_required_asterisk {
        color: rgb(var(--color-secondary)) !important;
    }

    .gfield_required_legend, .gfield--type-html p {
        font-size: 14px;
    } 
    
    .gform-footer {
        margin-top: 0 !important;
    }

    /* --- Accordion (Wordpress Default Block) --- */

        .wp-block-accordion-heading {
            font-size: 18px;
        }

        .wp-block-accordion-heading__toggle-icon:after {
            content: '\f078';
            font-family: var(--fawesome-ver);
            font-weight: var(--fawesome-weight);
            font-size: 24px;
            transition: .3s;
        }

        .wp-block-accordion-item.is-open>.wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon {
            transform: rotate(180deg) !important;
        }

        span.wp-block-accordion-heading__toggle-icon {
            font-size: 0;
            width: 40px;
            height: 40px;
        }

        .wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
            text-decoration: none !important;
        }

        .wp-block-accordion-item {
            border-bottom: var(--border);
            padding-bottom: 32px;
        }

        .wp-block-accordion .wp-block-accordion-item:not(:first-child) {
            padding-top: 24px;
        }

        .wp-block-accordion-item.is-open {
            padding-bottom: 16px;
        }

        .wp-block-accordion-panel {
            max-width: 750px;
        }

    /* --- Stats Block --- */

        .stat-wrapper {
            padding: 24px 32px;
            border: var(--border);
            border-radius: 12px;
        }

        .has-primary-background-color .stat-wrapper {
            background: white;
        }

    /* --- Quote Block --- */

        .quote-wrapper {
            padding: 24px 0;
        }

        .quote-standard {
            padding-left: 40px;
        }

        .quote-text {
            font-size: 24px;
            font-weight: 600;
            line-height: 130%;
            margin-bottom: 24px;
            color: rgba(var(--color-secondary));
        }

        .quote.lg p {
            font-size: 32px;
        }

        .quote-standard:before {
            content: url("./blocks/quote/quote.svg"); 
            display: block;
            width: 21px;
            height: 16px;
            position: absolute;
            margin-left: -40px;
        }

        .attribution {
            font-family: var(--inter);
            font-weight: 600;
            font-size: 16px;
            line-height: 150%;
            letter-spacing: -.001em;
            color: rgba(var(--color-secondary));
            margin-bottom: 4px;
        }

        .quote-full-width .quote-text {
            font-size: 32px;
        }

        .quote-full-width .attribution {
            font-size: 20px;
        }

        .quote-full-width .quote-meta {
            font-size: 16px;
        }

        .quote-gradient .quote-text {
            font-family: var(--pt-serif);
            font-weight: 400;
            font-size: 20px;
            line-height: 140%;
            font-style: italic;
            color: rgb(var(--color-secondary));
            margin-bottom: 0;
        }

        .quote-gradient .quote {
            padding-left: 20px;
        }

        .quote-gradient .quote:before {
            content: '';
            width: 6px;
            height: 100%;
            display: block;
            position: absolute;
            margin-left: -20px;
            background: var(--quote-gradient);
        }

        .quote-wrapper.quote-gradient {
            padding: 10px 0 30px;
        }

    /* --- Video library --- */

        .speaker-photo img {
            border-radius: 100px;
        }

    /* --- Video Wrapper --- */

        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* 9/16 * 100% */
            height: 0;
            overflow: hidden;
            width: 100%; /* Or desired width */
        }

    /* --- Buttons --- */
    
        .btn, .nav-pills .nav-link {
            font-weight: 600;
            letter-spacing: -.16px;
            font-size: 16px;
            line-height: 100%;
            font-family: var(--inter);
        }

        .btn-primary, .btn-primary-outline, .nav-pills .nav-link {
            border-radius: 30px;
            padding: 14px 36px;
            border: 1px solid rgb(var(--color-primary));
        }

        .btn-primary-outline, .nav-pills .nav-link {
            color: rgb(var(--color-primary));
        }

        .btn-primary-outline:hover, .nav-pills .nav-link:hover {
            color: white;
            background: rgb(var(--color-primary));
            opacity: 1;
        }

        .btn-primary, .nav-pills .nav-link.active {
            background: rgb(var(--color-primary));
        }

        .btn-primary:hover {
            background: rgb(var(--color-secondary));
            border: 1px solid rgb(var(--color-secondary));
        }

        .evenup-button-wrapper:has(.announcement) {
            border: 1px solid rgb(var(--color-primary));
            padding: 0;
            border-radius: var(--bs-border-radius);
            text-decoration: none;
            color: rgb(var(--color-primary));
            transition: .3s;
            overflow: hidden;
            display: inline-block;
        }

        .evenup-button-wrapper .announcement {
            text-decoration: none;
            color: rgb(var(--color-primary));
            padding: 10px 17px;
            width: 100%;
            display: block;
            transition: .3s;
        }

        .evenup-button-wrapper:hover .announcement {
            color: white;
            background: rgb(var(--color-primary));
            transition: .3s;
        }

        .evenup-button.announcement::after {
            content: '\f061';
            font-family: var(--fawesome-ver);
            font-weight: var(--fawesome-weight);
            font-size: 15px;
            margin-left: 3px;
            transition: .3s;
            display: inline-block;
        }

        .evenup-button.announcement:hover::after {
            transform: translateX(3px);
            transition: .3s;
        }

        .nav-pills .nav-link.active:hover {
            opacity: 1;
        }

        .nav.nav-pills {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }

        .gform_wrapper {
            display: flex;
            flex-direction: column-reverse;
        }

        .gform_button {
            font-weight: 600 !important;
            letter-spacing: 1.2px !important;
            font-size: 16px !important;
            line-height: 100% !important;
            font-family: var(--inter) !important;
            background: rgb(var(--color-primary)) !important;
            border-radius: 30px !important;
            padding: 16px 38px !important;
            border: rgb(var(--color-primary)) !important;
            margin-top: 26px !important;
        }

        .gform_button:hover {
            background: rgb(var(--color-secondary)) !important;
            border: rgb(var(--color-secondary)) !important;
        }

        .gform_required_legend {
            display: none !important;
        }

        .btn-lg {
            padding: 20px 45px;
        }

        .evenup-button-wrapper.aligncenter {
            text-align: center;
        }

        .evenup-button-wrapper.alignleft {
            text-align: left;
        }

        .evenup-button-wrapper.alignright {
            text-align: right;
        }

        .text-cta, .return-link {
            font-family: var(--inter);
            font-size: 17px;
            text-decoration: none;
            color: rgba(var(--color-primary));
            font-weight: 600;
        }
        .text-cta::after {
            content: '\f061';
            font-family: var(--fawesome-ver);
            font-weight: var(--fawesome-weight);
            font-size: 15px;
            margin-left: 3px;
            transition: .3s;
            display: inline-block;
        }
        .return-link::before {
            content: '\f060';
            font-family: var(--fawesome-ver);
            font-weight: var(--fawesome-weight);
            font-size: 15px;
            margin-left: 3px;
            transition: .3s;
            display: inline-block;
        }
        .text-cta:hover::after {
            transform: translateX(7px);
            transition: .3s;
        }
        .return-link:hover::before {
            transform: translateX(-7px);
            transition: .3s;
        }

    /* --- Customer Stories --- */

        .customer-story:hover {
            transform: translateY(-5px);
            box-shadow: 0px 10px 10px rgba(0,0,0,.2);
            transition: var(--transition);
        }

        .customer-story {
            background: white;
            display: block;
            padding: 20px;
            transition: var(--transition);
        }

        .customer-results-wrapper {
            padding: 1.5rem;
            border: var(--border);
            border-radius: 12px;
            padding: 0 20px;
            margin-top: 1rem;
        }

        .customer-results-single:not(:last-child) {
            border-right: none;
            border-bottom: var(--border);
        }

        .customer-results-single {
            padding: 1.5rem 0;
        }

        .customer-results-single p {
            margin-bottom: 0;
        }

    /* --- Featured sections --- */

        .newsroom-featured {
            border: var(--border);
            border-radius: var(--bs-border-radius);
            padding: 40px 30px;
            transition: var(--transition);
            text-decoration: none;
        }

        .read-more:after {
            font-family: var(--fawesome-ver);
            font-weight: var(--fawesome-weight);
            -webkit-font-smoothing: antialiased;
            content: '\f061';
            margin-left: 5px;
            transform: translateX(0px);
            display: inline-block;
            transition: var(--transition);
        }

    /* --- Sticky CTA --- */

        .sticky-cta-wrapper {
            background: #f7f8fa;
            padding: 30px;
            border-radius: 10px;
            position: sticky;
            top: 80px;
        }

    /* --- Navigation --- */

        /* ========== Primary Navigation - Desktop ========== */

        .nav-desktop {
            display: flex;
            justify-content: space-between;
            width: 100%;
            align-items: center;
        }

        /* Hide the group container links (Primary - Left / Primary - Right) */
        .nav-desktop > li.primary-nav-left > a,
        .nav-desktop > li.primary-nav-right > a {
            display: none;
        }

        /* Show group children as flex row */
        .nav-desktop > li.primary-nav-left > .dropdown-menu,
        .nav-desktop > li.primary-nav-right > .dropdown-menu {
            display: flex;
            position: relative;
            background: none;
            border: none;
            padding: 0;
            margin: 0;
        }

        /* Right group alignment */
        .nav-desktop > li.primary-nav-right > .dropdown-menu {
            align-items: center;
        }

        /* Second level items (Products, Customers, etc.) - show their links as nav items */
        .nav-desktop > li.primary-nav-left > .dropdown-menu > li > a {
            display: block;
            padding: 0.5rem 1rem;
            color: rgb(var(--color-secondary));
            font-weight: 500;
        }

        /* Third level dropdown (the mega menu) - hidden by default */
        .nav-desktop > li.primary-nav-left > .dropdown-menu > li > .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: var(--bs-border-radius);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            padding: 1rem;
            min-width: 300px;
            z-index: 1000;
        }

        /* Show mega menu on hover */
        .nav-desktop > li.primary-nav-left > .dropdown-menu > li:hover > .dropdown-menu {
            display: flex;
            flex-direction: row;
        }

        /* Non-columns items (like Company) - single column */
        .nav-desktop > li.primary-nav-left > .dropdown-menu > li:not(.columns):hover > .dropdown-menu {
            flex-direction: column;
        }

        /* Hide column header links (Column 1, Column 2, etc.) */
        .nav-desktop > li.primary-nav-left > .dropdown-menu > li.columns > .dropdown-menu > li > a {
            display: none;
        }

        /* Show the actual column content */
        .nav-desktop > li.primary-nav-left > .dropdown-menu > li.columns > .dropdown-menu > li > .dropdown-menu {
            display: block;
            background: none;
            border: none;
            position: relative;
            box-shadow: none;
            padding: 0;
        }

        /* Dropdown item styling - preserve your existing styles */
        .nav-desktop .dropdown-menu .dropdown-menu a {
            display: flex;
            flex-direction: column;
            padding: 15px;
        }

        .nav-desktop .dropdown-menu .dropdown-menu {
            padding-left: 10px;
            padding-right: 10px;
        }

        .nav-desktop .dropdown-menu .dropdown-menu .menu-item-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 5px;
            text-wrap: wrap;
        }

        .nav-desktop .dropdown-menu .dropdown-menu .menu-item-title {
            width: 300px;
        }

        .nav-desktop .dropdown-menu .dropdown-menu .menu-item-description {
            font-size: 14px;
            font-family: var(--inter);
            color: rgb(var(--color-gray));
            width: 300px;
            text-wrap: wrap;
        }

        .nav-desktop .menu-item-image img {
            max-width: 100%;
            height: auto;
            margin-bottom: 15px;
        }

        /* Nav button styling (Schedule Call) */
        .nav-desktop .nav-button a {
            padding: 10px 25px;
            background: rgb(var(--color-primary));
            border-radius: 50px;
            color: white !important;
            transition: var(--transition);
        }

        .nav-desktop .nav-button a:hover {
            background: rgb(var(--color-secondary));
            opacity: 1;
        }

        .navbar-toggler {
            border: none;
        }

        #nav-primary li {
            margin-bottom: 0;
        }

        .dropdown-menu .dropdown-menu a:hover {
            background-color: rgba(var(--color-secondary), .05);
            opacity: 1;
            border-radius: var(--bs-border-radius);
        }

        .dropdown-menu .dropdown-menu a:hover .menu-item-title {
            color: rgb(var(--color-primary));
        }

        /* --- Primary Footer Navs --- */

            .footer-primary li a {
                text-decoration: none;
                font-size: .9rem;
                transition: var(--transition);
            }
            
            .footer-primary li a:hover {
                opacity: .8;
                transition: var(--transition);
            }

            .footer-primary ul {
                list-style-type: none;
                padding-left: 0;
            }

            .footer-primary li {
                margin-bottom: 5px;
            }

            .logo-footer {
                max-width: 250px;
                width: 80%;
                display: block;
                margin-bottom: 20px;
            }

            #menu-footer-social-links i {
                font-size: 2rem;
            }

            .footer-primary p {
                font-size: 1rem;
                line-height: 1.7;
            }

        /* --- Copyright Nav --- */

            #menu-copyright .menu-item a {
                text-decoration: none;
            }

            #menu-copyright {
                display: flex;
                flex-direction: column;
            }

            .footer-copyright p, .footer-copyright li a {
                font-size: 0.9rem;
            }

            .footer-copyright p, .footer-copyright li a {
                transition: var(--transition);
            }

            .footer-copyright li:hover a {
                opacity: .8;
                transition: var(--transition);
            }

        /* --- Social Icons === */
            #menu-footer-social-links {
                display: flex;
                gap: 15px;
            }

            #menu-footer-social-links i {
                color: white;
                transition: var(--transition);
            }

            #menu-footer-social-links a:hover i {
                opacity: .8;
                transition: var(--transition);
            }

    /* --- Most Funded --- */
        .most-funded-list li {
            list-style-type: none;
            font-size: 1.5rem;
            padding: 25px 0;
        }

        .most-funded-list li:not(:last-child) {
            border-bottom: 1px solid #cadaf1;
        }

/* ========== 6. Template Styles ========== */

        /* .return-link {
            color: rgb(var(--color-primary));
            text-decoration: none;
            font-weight: 500;
        }

        .return-link:hover i {
            transform: translateX(-3px);
            transition: var(--transition);
        }

        .return-link i {
            transition: var(--transition);
        } */

/* ========== 7. Animation Styles ========== */

/* ========== 8. Contact Forms ========== */

/* ========== 9. Media Queries ========== */

    /* X-Small devices (portrait phones, less than 576px) */
    /* No media query for `xs` since this is the default in Bootstrap*/

    /* Small devices (landscape phones, 576px and up)*/
    @media (min-width: 576px) {
        .container {
            max-width: 672px;
        }
        /* --- Customers --- */
        .customer-results-wrapper {
            padding: 1.5rem; 
            border-radius: 0;
            border-top: none;
            border-left: none;
            border-right: none;
            margin-top: 1rem;
        }
        .customer-results-single:not(:last-child) {
            border-right: 1px solid rgba(0, 0, 0, .25);
            border-bottom:  none;
        }
        .customer-results-single {
            padding: 1rem;
        }
    }

    /* Medium devices (tablets, 768px and up)*/
    @media (min-width: 768px) {

        /* --- Text styles --- */
        h1 {
            font-size: 42px;
        }

        h2 {
            font-size: 32px;
        }

        h3 {
            font-size: 22px;
        }

        h5 {
            font-size: 18px;
        }

        /* --- Containers --- */
        .container {
            max-width: 896px;
        }

        /* --- Forms --- */

            .form-wrapper {
                padding: 60px;
                border-radius: 12px;
            }

        /* --- Footer --- */

        .footer-primary .col-lg-10 h6 {
            cursor: default;
        }

        .footer-primary .col-lg-10 h6 .fa-chevron-down {
            display: none;
        }

        .footer-primary .col-lg-10 [class*="menu-"][class*="-container"] {
            display: block;
        }
    }

    /* Large devices (desktops, 992px and up)*/
    @media (min-width: 992px) {

        /* --- Text styles --- */
        h1 {
            font-size: 48px;
        }

        h2 {
            font-size: 40px;
        }

        h3 {
            font-size: 28px;
        }

        h4 {
            font-size: 18px;
        }

        h5 {
            font-size: 20px;
        }

        /* --- Containers --- */
        .container {
            max-width: 896px;
        }
    }

    /* X-Large devices (large desktops, 1200px and up)*/
    @media (min-width: 1200px) {
        .container {
            max-width: 896px;
        }
    }

    /* XX-Large devices (larger desktops, 1400px and up)*/
    @media (min-width: 1400px) {
        .container {
            max-width: 1338px;
        }
    }


    /* ========== Primary Navigation - Mobile Off-Canvas ========== */

    @media (max-width: 991.98px) {
        .offcanvas-body .dropdown-menu li {
            margin-bottom: 0;
        }

        .offcanvas-body .dropdown-menu .dropdown-menu li {
            margin-bottom: 0;
            text-align: right;
        }

        .offcanvas-body .dropdown-menu .dropdown-menu li .menu-item-title {
            white-space: normal;
        }

    #offcanvasNav .offcanvas-body {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .nav-mobile {
        flex-direction: column;
        flex: 1;
        display: flex;
    }

    /* Hide group container links */
    .nav-mobile > li.primary-nav-left > a,
    .nav-mobile > li.primary-nav-right > a {
        display: none !important;
    }

    /* Left group - takes up remaining space */
    .nav-mobile > li.primary-nav-left {
        flex: 1;
    }

    .nav-mobile > li.primary-nav-left > .dropdown-menu {
        display: flex !important;
        flex-direction: column;
        position: static;
        background: none;
        border: none;
        padding: 1rem;
        margin: 0;
    }

    /* Right group - pinned to bottom */
    .nav-mobile > li.primary-nav-right {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

    .nav-mobile > li.primary-nav-right > .dropdown-menu {
        display: flex !important;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
        position: static;
        background: none;
        border: none;
        padding: 0;
        margin: 0;
    }

    .nav-mobile > li.primary-nav-right .dropdown-item {
        text-align: center;
    }

    /* ===== Accordion Styles for Left Nav Items ===== */

    /* Top-level items (Products, Customers, etc.) */
    .nav-mobile > li.primary-nav-left > .dropdown-menu > .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-mobile > li.primary-nav-left > .dropdown-menu > .nav-item:last-child {
        border-bottom: none;
    }

    /* Top-level links - make visible and style as accordion headers */
    .nav-mobile > li.primary-nav-left > .dropdown-menu > .nav-item > a {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 10px;
        font-size: 18px;
        font-weight: 500;
        color: rgb(var(--color-secondary));
        width: 100%;
    }

    /* Chevron icon */
    .nav-mobile .nav-chevron {
        font-size: 0.875rem;
        transition: transform 0.3s ease;
        color: rgb(var(--color-gray));
    }

    /* Rotate chevron when open */
    .nav-mobile .nav-item.accordion-open > a .nav-chevron {
        transform: rotate(180deg);
    }

    /* Remove Bootstrap dropdown arrow */
    .nav-mobile .dropdown-toggle::after {
        display: none !important;
    }

    /* Sub-dropdown - CLOSED by default */
    .nav-mobile > li.primary-nav-left > .dropdown-menu > .nav-item > .dropdown-menu {
        display: none !important;
        background: none;
        border: none;
        padding: 0;
        margin: 0;
        position: static;
    }

    /* Sub-dropdown - OPEN when accordion-open */
    .nav-mobile > li.primary-nav-left > .dropdown-menu > .nav-item.accordion-open > .dropdown-menu {
        display: block !important;
        padding-bottom: 0.5rem;
    }

    /* Column wrappers (Column 1, Column 2) - hide the wrapper link, show contents */
    .nav-mobile > li.primary-nav-left > .dropdown-menu > .nav-item > .dropdown-menu > .nav-item > a {
        display: none !important;
    }

    /* Column contents - show */
    .nav-mobile > li.primary-nav-left > .dropdown-menu > .nav-item > .dropdown-menu > .nav-item > .dropdown-menu {
        display: block !important;
        background: none;
        border: none;
        padding: 0;
        position: static;
    }

    /* Actual links inside columns */
    .nav-mobile > li.primary-nav-left > .dropdown-menu > .nav-item > .dropdown-menu > .nav-item > .dropdown-menu > .nav-item > a {
        display: block !important;
        padding: 0.5rem 10px;
        color: rgb(var(--color-gray));
        font-size: 16px;
    }

    /* For non-column items (like Company which has direct children) */
    .nav-mobile > li.primary-nav-left > .dropdown-menu > .nav-item:not(.columns) > .dropdown-menu > .nav-item > a {
        display: block !important;
        padding: 0.5rem 0;
        color: rgb(var(--color-gray));
        font-size: 16px;
    }

    /* Hide images and descriptions on mobile */
    .nav-mobile .dropdown-menu .dropdown-menu .menu-item:has(.menu-item-image),
    .nav-mobile .menu-item-description {
        display: none !important;
    }

    .nav-mobile .menu-item-title {
        font-size: inherit;
        font-weight: inherit;
        margin-bottom: 0;
    }

    /* Items without dropdowns - no chevron */
    .nav-mobile > li.primary-nav-left > .dropdown-menu > .nav-item:not(.dropdown) .nav-chevron {
        display: none;
    }
}

/* Footer Collapsible Menus - Mobile Only */

@media (max-width: 767.98px) {
    /* Target the menu wrapper columns */
    .footer-primary .menu-wrapper {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .footer-primary .menu-wrapper:last-child {
        border-bottom: none;
    }

    /* Make h6 titles clickable */
    .footer-primary .menu-wrapper h6 {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
        padding: 1rem 0;
    }

    /* Chevron icon */
    .footer-primary .menu-wrapper h6 .fa-chevron-down {
        font-size: 0.875rem;
        transition: transform 0.3s ease;
    }

    /* Rotate chevron when open */
    .footer-primary .menu-wrapper h6.menu-open .fa-chevron-down {
        transform: rotate(180deg);
    }

    /* Menu container - hidden by default */
    .footer-primary .menu-wrapper [class*="menu-"][class*="-container"] {
        display: none;
    }

    /* Menu container - visible when open */
    .footer-primary .menu-wrapper h6.menu-open + [class*="menu-"][class*="-container"] {
        display: block;
        padding-bottom: 1rem;
    }

    /* Menu items align left on mobile */
    .footer-primary .menu-wrapper .menu-item {
        text-align: right;
    }
}

/* Desktop - ensure everything is visible */
@media (min-width: 768px) {
    .footer-primary .menu-wrapper h6 {
        cursor: default;
    }

    .footer-primary .menu-wrapper h6 .fa-chevron-down {
        display: none;
    }

    .footer-primary .menu-wrapper [class*="menu-"][class*="-container"] {
        display: block;
    }
}