footer {
    background-color: #f6f4f3;
    line-height: 1.5;
}

.footer-columns {
    display: flex;
    gap: 10px; /* space between columns */
    justify-content: space-between;
    padding: 3% 0 10px;
}

.footer-column {
    flex: 1 1 200px; /* flexible but minimum 200px */
    max-width: 300px;
}

.footer-column.company-column {
    flex: 0 0 50%;     /* Fixed to 50% width */
    max-width: 50%;
}

.footer-column {
    margin-bottom: 10px;
}

.footer-column button:first-child {
    font-family: 'neue-haas-grotesk-display';
    font-weight: 500;
    font-style: normal;
    margin-bottom: 20px;
}

.footer-text {
    width: 55%;
    color: #1e1e1e;
}

.footer-text div {
    display: flex;
    gap: 5px;
}

.footer-text div a {
    color: #141524;
}

.footer-text i {
    font-size: 25px;
}

ul.footer-menu li a[href="#"] {
    pointer-events: none;
    cursor: default;
    opacity: 0;
}

footer a {
    color: #3A938A
}

.footer-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 35px;
}

.footer-img img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  /* bottom: -1rem;
  min-height: 75px; */
}


.footer-text p {
    /* font-family: "neue-haas-grotesk-text", sans-serif; */
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
}


/* Footer Links Group Container up to 4 coloumns */
.footer-links-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem; /* optional spacing */
}

.footer-column.full-row {
  grid-column: 1 / -1;
  justify-self: start;
}


/* .footer-links-group {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr 1fr;
} */

/* .footer-links-group > .footer-column:last-child {
    grid-column: 1 / -1;
    justify-self: start;
} */


/* Individual Link Columns */
.footer-links-group .footer-column {
    flex: 1 1 180px;
    max-width: 195px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: #1e1e1e;
    text-decoration: none;
}

.footer-menu a:hover {
    text-decoration: none;
    color: #21827f;
}

footer a:hover {
    color: #21827F;
}


/* Desktop only */
@media (min-width: 1024px) {
    .accordion {
        pointer-events: none;   /* disables clicking */
        opacity: 0.6;           /* optional: visually show it's disabled */
        cursor: default;        /* optional: remove hand cursor */
    }
}

.grey-bg{
    background-color:#ece9e8;
}

.grey-bg h1 {
    color: #1e1e1e;
}

/* Default: Show footer links normally on desktop */
.footer-menu-container {
    display: block;  /* Show links by default on desktop */
}

.footer-column button.accordion {
    border: 0px;
    padding: 0px;
    background-color: transparent;
    cursor: default;
    color: #1e1e1e;
    opacity: 1;
}

footer button span.chevron {
    opacity: 0;
}


li.breadcrumb-item:last-child, li.breadcrumb-item:last-child a{
    color: #3A938A;
}
li.breadcrumb-item:last-child a:hover {
    color: #21827F;
}

.global-breadcrumb a:hover {
    color: #21827F;
}

.global-breadcrumb {
    background-color: #ece9e8;
}

.global-breadcrumb a {
    color: #1e1e1e;
}

.global-breadcrumb::after{
    background:none;
}


/* Hide footer links on mobile */
@media (max-width: 768px) {
    .footer-menu-container {
        display: none;  /* Hide the links on mobile */
    }

    /* Style for the accordion button */
    .accordion {
        border: none;
        padding: 10px;
        width: 100%;
        text-align: left;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    /* Change background when accordion is active */
    .accordion.active {
        background-color: transparent;
    }

    footer button span.chevron {
        opacity: 1;
    }

    /* Rotate chevron when the accordion is open */
    .accordion.active .chevron i {
        transform: rotate(180deg);  /* Rotate the chevron */
    }

    footer span.chevron {
        float: right;
    }
}

/* Used for 3 or less columns */
.footer-columns.nowrap {
  flex-wrap: nowrap;
}

@media (min-width: 1726px) {
  .footer-links-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 5rem;
    width: 41%;
  }
}


/* Responsive stacking on small screens */
@media (max-width: 768px) {
    .footer-column.company-column,
    .footer-links-group {
        flex: 1 1 100%;
        max-width: 100%;
        border-bottom: 0px;
    }

    .footer-columns {
        display: flex;
        gap: 10px;
        flex-direction: column-reverse;
    }

    .footer-text {
        width: auto;
        padding: 5% 0px;
    }

    .footer-links-group {
        display: flex !important;
        flex-direction: column;
        flex-wrap: nowrap;
        padding: 20px 0px 0px 0px;
    }

    .footer-links-group .footer-column {
        flex: 1 1 auto;
        max-width: 100%;
        border-bottom: 0px;
        margin-bottom: 0px;
    }

    .footer-column {
        border-bottom: 1px solid #101023;
    }

    .footer-img img {
        width: 100%;
        height: auto;
        display: block;
        position: relative;
        /* bottom: -15px;
        min-height: 55px; */
    }

    .footer-img {
        padding: 10px;
    }

    .row.grid-mobile {
        display: grid;
        gap: 1rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-mobile > *:last-child:nth-child(odd):nth-last-child(1) {
        grid-column: 1 / -1;
        justify-self: center;
        width: 180px;
    }

    /* Section Padding Mobile */
    .category-cards-section {
        padding: 15px 10px;
    }
}