.ds-tools-mega-row > .wpb_column + .wpb_column {
    border-left: 2px solid #cfd8e6 !important;
    margin-top: 24px;
    margin-bottom: 24px;
}

.ds-tools-mega-row > .wpb_column + .wpb_column > .vc_column-inner {
    padding-left: 40px !important;
}

@media (max-width: 767px) {
    .ds-tools-mega-row > .wpb_column + .wpb_column {
        border-left: 0 !important;
        border-top: 1px solid #dce3ec !important;
        margin-top: 24px;
        padding-top: 24px;
    }

    .ds-tools-mega-row > .wpb_column + .wpb_column > .vc_column-inner {
        padding-left: 15px !important;
    }
}

.ds-menu-two-columns .ds-shortcode-menu__list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

.ds-menu-two-columns .ds-shortcode-menu__list li {
    display: block !important;
    width: auto !important;
    margin: 0;
    padding: 0;
}

.ds-menu-two-columns .ds-shortcode-menu__list a {
    display: block;
    padding: 9px 0;
   
}

.ds-shortcode-menu__list a {
    position: relative;
    display: block;
    padding: 9px 18px 9px 0;
    color: #172033;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ds-shortcode-menu__list a:hover,
.ds-shortcode-menu__list .current-menu-item > a {
    color: #55b934;
    transform: translateX(4px);
}

.ds-shortcode-menu__list a::after {
    content: "›";
    margin-left: 7px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ds-shortcode-menu__list a:hover::after {
    opacity: 1;
}

@media (min-width: 601px) {
    .ds-mega-custom-panel {
        min-height: 180px;
    }
}

.ds-menu-three-columns .ds-shortcode-menu__list {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ds-menu-three-columns .ds-shortcode-menu__list > li {
    display: block !important;
    float: none !important;
    clear: none !important;
    flex: 0 0 33.3333% !important;
    width: 33.3333% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 24px 0 0 !important;
}

.ds-menu-three-columns .ds-shortcode-menu__list > li > a {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 9px 0 !important;
    white-space: normal;
}

@media (max-width: 900px) {
    .ds-menu-three-columns .ds-shortcode-menu__list > li {
        flex-basis: 50% !important;
        width: 50% !important;
    }
}

@media (max-width: 600px) {
    .ds-menu-three-columns .ds-shortcode-menu__list > li {
        flex-basis: 100% !important;
        width: 100% !important;
    }
}

.ds-plugin-links ul.menu,
.ds-plugin-links .ds-shortcode-menu__list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 24px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ds-plugin-links ul.menu > li,
.ds-plugin-links .ds-shortcode-menu__list > li {
    display: block !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ds-plugin-links ul.menu > li > a,
.ds-plugin-links .ds-shortcode-menu__list > li > a {
    display: block !important;
    padding: 9px 0 !important;
    margin: 0 !important;
    white-space: normal;
}

.ds-plugin-links ul.menu,
.ds-plugin-links .ds-shortcode-menu__list {
    column-gap: 16px !important;
}

.ds-plugin-links a {
    font-size: 15px;
}


/* Four-card solution row */
.ds-solution-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Make WPBakery columns stretch equally */
.ds-solution-grid > .wpb_column {
    display: flex;
}

.ds-solution-grid > .wpb_column > .vc_column-inner {
    width: 100%;
}

/* DS solution card */
.ds-solution-card > .vc_column-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;

    padding: 34px 28px 30px !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(244, 247, 252, 1) 100%
        );

    border: 1px solid #dce4ef;
    border-radius: 8px;

    box-shadow:
        0 10px 30px rgba(14, 35, 70, 0.10),
        0 2px 6px rgba(14, 35, 70, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* DS blue-to-green accent */
.ds-solution-card > .vc_column-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;

    background: linear-gradient(
        90deg,
        #163e91 0%,
        #163e91 55%,
        #55b934 100%
    );
}

/* Very subtle technology detail */
.ds-solution-card > .vc_column-inner::after {
    content: "";
    position: absolute;
    top: -45px;
    right: -45px;
    width: 130px;
    height: 130px;

    border: 1px solid rgba(22, 62, 145, 0.10);
    border-radius: 50%;

    box-shadow:
        0 0 0 18px rgba(22, 62, 145, 0.035),
        0 0 0 36px rgba(85, 185, 52, 0.025);

    pointer-events: none;
}

/* Card hover */
.ds-solution-card > .vc_column-inner:hover {
    transform: translateY(-7px);
    border-color: rgba(22, 62, 145, 0.38);

    box-shadow:
        0 18px 42px rgba(14, 35, 70, 0.17),
        0 4px 10px rgba(14, 35, 70, 0.08);
}

/* Icon container */
.ds-solution-icon {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;
    margin-bottom: 22px;

    color: #163e91;
    background: rgba(22, 62, 145, 0.08);

    border: 1px solid rgba(22, 62, 145, 0.18);
    border-radius: 50%;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.ds-solution-icon i,
.ds-solution-icon svg {
    width: 30px;
    height: 30px;
    font-size: 30px;
    color: currentColor;
}

/* Icon hover follows DS button behavior */
.ds-solution-card > .vc_column-inner:hover .ds-solution-icon {
    color: #ffffff;
    background: #55b934;
    border-color: #55b934;
    transform: scale(1.06);
}

/* Headings */
.ds-solution-card h3 {
    position: relative;
    z-index: 1;

    margin: 0 0 12px;
    color: #172033;
    font-size: 20px;
    font-weight: 700;
}

/* Descriptions */
.ds-solution-card p {
    position: relative;
    z-index: 1;

    margin-bottom: 24px;
    color: #526070;
    line-height: 1.65;
}

/* Keep final button/link at bottom */
.ds-solution-card .ds-button,
.ds-solution-card .wpb_button,
.ds-solution-card .vc_btn3-container {
    position: relative;
    z-index: 1;
    margin-top: auto;
}


.ds-solutions-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 90px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(36, 143, 42, 0.07),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(36, 143, 42, 0.06),
            transparent 28%
        ),
        #f5f7fb;
}

.ds-solution-card > .vc_column-inner::after {
    border: 1px solid rgba(36, 143, 42, 0.16);

    box-shadow:
        0 0 0 18px rgba(36, 143, 42, 0.055),
        0 0 0 36px rgba(36, 143, 42, 0.025);
}

.ds-platform-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
    width: 100%;
    margin-top: 36px;
}

.ds-platform-benefit {
    position: relative;
    min-width: 0;
}

.ds-platform-benefit::before {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-bottom: 14px;
    background: #55b934;
}

.ds-platform-content > .vc_column-inner {
    padding-left: clamp(30px, 5vw, 145px) !important;
    padding-right: 35px !important;
}

@media (max-width: 767px) {
    .ds-platform-content > .vc_column-inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Stretch all product columns equally */
.ds-featured-products-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.ds-featured-products-row > .wpb_column {
    display: flex;
}

/* Create a vertical layout inside each product */
.ds-featured-product > .vc_column-inner {
    width: 100%;
    height: 100%;
}

.ds-featured-product > .vc_column-inner > .wpb_wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Push the final element—the button—to the bottom */
.ds-featured-product > .vc_column-inner > .wpb_wrapper > :last-child {
    margin-top: auto !important;
}

/* Keep button spacing consistent */
.ds-featured-product .ds-button,
.ds-featured-product .vc_btn3-container {
    margin-bottom: 0 !important;
}

.ds-action-bar-buttons {
    justify-content: center;
    align-items: center;
}

.ds-action-bar-buttons > :first-child,
.ds-action-bar-buttons > :not(:first-child) {
    flex: 0 0 auto;
    width: auto;
}