.nectar-split-heading[data-animation-type="line-reveal-by-space"][data-text-effect="letter-reveal-bottom"]>*>span {
    padding: 0 0.05em;
    margin: 0 -0.05em;
}

.nectar-split-heading h1 {
    margin-bottom: 0;
}

.outcome-section blockquote:before {
    display: none !important;
}

.outcome-section blockquote {
    padding-left: 0 !important;
}

.outcome-section .project-testimonial .title {
    font-size: 14px;
    color: inherit;
    opacity: .6;
}

.outcome-section .project-testimonial span {
    display: block;
    line-height: 22px;
}

span.wrap {
    font-family: Inter;
    font-size: 16px !important;
    line-height: 24px;
    font-weight: 600 !important;
}

@media only screen and (min-width: 1000px) {

    .nectar-split-heading[data-custom-font-size="true"] h1,
    .nectar-split-heading[data-custom-font-size="true"] h2,
    .row .nectar-split-heading[data-custom-font-size="true"] h3,
    .row .nectar-split-heading[data-custom-font-size="true"] h4,
    .row .nectar-split-heading[data-custom-font-size="true"] h5,
    .row .nectar-split-heading[data-custom-font-size="true"] h6,
    .row .nectar-split-heading[data-custom-font-size="true"] i {
        font-size: inherit;
        line-height: inherit
    }
}

body .project-items[data-gutter="5px"]:not([data-col-num="elastic"]) {
    width: calc(100% + 10px);
    margin-left: -5px;
    margin-top: -5px;
}

body .project-items:not(.carousel) .col.animated-in .inner-wrap {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    height: 100%;
}

body .project-items .col .work-item.style-3-alt {
    overflow: hidden;
}

.project-items .col .work-item {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
}

body .project-items .col {
    height: auto;
}

.project-items .col .work-item.style-3-alt:hover img {
    -webkit-transform: scale(1.12);
    transform: scale(1.12);
}

.project-items .col .work-item.style-3-alt img {
    -webkit-transition: transform 0.38s cubic-bezier(0.05, 0.2, 0.1, 1) 0s;
    transition: transform 0.38s cubic-bezier(0.05, 0.2, 0.1, 1) 0s;
}

.project-items .gallery-img {
    width: 100% !important;
    height: 400px !important;
    max-height: 400px;
    object-fit: cover;
}

.project-items .gallery-link {
    display: block;
    max-height: 400px;
    overflow: hidden;
}

.gallery-item {
    position: relative;
}

.gallery-item .img-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .img-overlay {
    opacity: 1;
}

.gallery-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    z-index: 2;
}

.nectar-badge[data-bg-color-custom="#008000"] .nectar-badge__inner {
    background-color: #008000;
}

.nectar-badge[data-bg-color-custom="#ff6200"] .nectar-badge__inner {
    background-color: #ff6200;
}

@media (min-width: 691px) and (max-width: 999px) {
    .one-fourths.span_3,
    .one-fourths.vc_span3 {
        width: 100% !important;
        margin-bottom: 2%;
    }
}

/* .project-items:not(.carousel) .col {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
} */

/* New Gallery */


.promo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.promo-item {
    position: relative;
    flex: 1 0 calc(33.333% - 10px);
    overflow: hidden;
    cursor: pointer;
}

.promo-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center center;
    transition: transform 0.5s cubic-bezier(0, 0, .44, 1.18);
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.promo-item:hover .promo-overlay {
    opacity: 1;
}

.promo-item:hover .promo-image {
    transform: scale(1.09);
}

/* For 3 and 6 items */
.three-items .promo-item {
    flex: 1 0 calc(33.333% - 10px);
}

/* For 4 and 8 items */
.four-items .promo-item {
    flex: 1 0 calc(25% - 10px);
}

/* Media query for smaller screens, adjusting to 50% width for two columns */
@media (max-width: 768px) {

    .three-items .promo-item,
    .four-items .promo-item {
        flex: 1 0 calc(100% - 10px);
    }
}


@media (min-width:991px) and (max-width:1400px) {
    .four-items .promo-image {height:200px}
}

@media (min-width:991px) and (max-width:1200px) {
    .promo-image {height:200px}
}

@media (min-width:769px) and (max-width:990px) {
    .promo-image {height: 150px}
}

@media (min-width:481px) and (max-width:768px) {
    .promo-image {height: 300px}
}

@media (max-width:480px) {
    .promo-image {height: 275px}
}