.navbar-brand .logo-img {
    max-height: 3rem;
    width: auto;
}

.not-at-top #t4-header.t4-sticky {
    background-color: #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
}
#t4-header {
    position: -webkit-sticky !important;
    position: sticky;
    top: 0;
    z-index: 10;
}

#t4-header.header-overlap {
    background-color: rgba(255, 255, 255, .8);
    margin-bottom: -140px;
    position: sticky;
    z-index: 10;
}

.acm-hero.style-1:before {
    background-color: rgba(18,101,67,.25);   
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

.acm-hero.style-2 .feature-list-wrap .item {
    background: #fff;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    display: flex;
    max-width: 50%;
    padding: 1rem;
    margin: 0.5rem;
}
.acm-hero.style-2 .feature-list-wrap .item .media-intro img {
    border-radius: 50%;
    object-fit: contain;
    object-position: top;
    height: 4rem;
    width: 4rem;
}

.acm-hero.style-2 .feature-list-wrap .item.item-1 {
    background-color: #126543; /* Dark green */
    color: #fff; /* White text for dark background */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.acm-hero.style-2 .feature-list-wrap .item.item-1:hover {
    transform: scale(1.05);
    background-color: #158254; /* Slightly lighter on hover */
}

.acm-hero.style-2 .feature-list-wrap .item.item-2 {
    background-color: #ffc850; /* Light yellow */
    color: #464646; /* Dark text for light background */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.acm-hero.style-2 .feature-list-wrap .item.item-2:hover {
    transform: scale(1.05);
    background-color: #ffd36a; /* Slightly lighter on hover */
}

.acm-hero.style-2 .feature-list-wrap .item.item-3 {
    background-color: #8cbf3f; /* Medium green */
    color: #464646; /* Dark text for light background */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.acm-hero.style-2 .feature-list-wrap .item.item-3:hover {
    transform: scale(1.05);
    background-color: #9ed652; /* Slightly lighter on hover */
}

.acm-hero.style-2 .feature-list-wrap .item.item-4 {
    background-color: #afca36; /* Light green */
    color: #464646; /* Dark text for light background */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.acm-hero.style-2 .feature-list-wrap .item.item-4:hover {
    transform: scale(1.05);
    background-color: #bddc4f; /* Slightly lighter on hover */
}

.acm-hero.style-2 .feature-list-wrap .item h4, .acm-hero.style-2 .feature-list-wrap .item .h4 {
    margin-top: 0;
    color: #f7f7f7;
    margin-bottom: 5px;
    text-shadow: 0.5px 0.5px #222;
}

.acm-hero.style-2 .feature-list-wrap .item.item-1:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mod-title-wrap {
    max-width: 980px;
    text-align: center;
    margin-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;
}

.lead, .t4-masthead .t4-masthead-description {
    font-size: 1rem;
    font-weight: 400;
}

.acm-features.style-1 .count-item {
    color: #bddc4f;
    position: absolute;
    top: 1rem;
    right: 1rem;
    line-height: 1;
    margin: 0;
}

.acm-features.style-1 .features-item.has-bg .count-item {
    color: #ffd36a;
}
.acm-features.style-1 .features-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.acm-features.style-1 .features-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.acm-features.style-1 .features-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(0.1s * var(--i));
}

.acm-features.style-1 .features-item:nth-child(1) {
    --i: 1;
}
.acm-features.style-1 .features-item:nth-child(2) {
    --i: 2;
}
.acm-features.style-1 .features-item:nth-child(3) {
    --i: 3;
}
.acm-features.style-1 .features-item:nth-child(4) {
    --i: 4;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.acm-cta.style-1 .cta-wrap:before {
    background: rgba(18,101,67, 0.85);
    border-radius: 0.5rem;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.t4-megamenu .navbar-nav {
    display: flex;
    align-items: center;
    height: 80px;
}
.t4-megamenu .navbar-nav > li > a, .t4-megamenu .navbar-nav > li > .nav-link {
    color: var(--mainnav-link-color);
    font-weight: 300;}

    .acm-hero.style-1 .bg-decor img {
        animation: playfulAnimation 6s infinite ease-in-out;
    }
    
    @keyframes playfulAnimation {
        0% {
            transform: translateY(0) rotate(0deg) scale(1);
        }
        20% {
            transform: translateY(-10px) rotate(-5deg) scale(1.05);
        }
        40% {
            transform: translateY(0px) rotate(0deg) scale(1);
        }
        60% {
            transform: translateY(10px) rotate(5deg) scale(0.95);
        }
        80% {
            transform: translateY(0px) rotate(0deg) scale(1);
        }
        100% {
            transform: translateY(0) rotate(0deg) scale(1);
        }
    }

    /* Looping Animation */
.acm-hero.style-1 .bg-decor img {
    animation: floatAnimation 4s infinite ease-in-out;
}

/* Hover Effect */
.acm-hero.style-1 .bg-decor img:hover {
    animation: hoverZoomRotate 0.5s forwards;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes hoverZoomRotate {
    to {
        transform: scale(1.1) rotate(15deg);
    }
}

.acm-hero.style-1 {

    /* Add the animation */
    animation: slowZoom 60s infinite linear;
}

@keyframes slowZoom {
    0% {
        background-size: 100%;
    }
    100% {
        background-size: 110%;
    }
}

.acm-features.style-3 .features-inner {
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem;
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
}

.acm-features.style-3 .features-wrap .nav-tabs .nav-link {
    border-radius: 0.5rem;
    background: var(--color-light);
    border: 1px solid transparent;
    color: #343a40;
    font-weight: 400;
    padding: 1rem;
    line-height: 1;
    margin-top: 0;
}

.acm-features.style-2 .acm-action .cta-title {
    color: var(--color-warning);
    font-weight: 700;
}
.t4-footer {
    background-color: var(--footer-bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--footer-text-color);
    padding-top: 2rem;
}
.acm-social .social-follow-wrap .social-inner a {
    background: var(--color-success);}
    .acm-social .social-follow-wrap .social-inner a .fa-facebook {
        color: var(--body-link-color);
    }
    .acm-social .social-follow-wrap .social-inner a .fa-twitter {
        color: var(--body-link-color);
    }
    .acm-social .social-follow-wrap .social-inner a .fa-youtube {
        color: var(--body-link-color);
    }

    .acm-features.style-3 .tab-content .features-desc {
        background: rgba(18,101,67, 0.85);
        border-radius: 0.5rem;
        color: #fff;
        padding: 2rem;
    }
    .mod-article-slide .title a {
        color: var(--body-link-hover-color);
    }
.t4-section-3{
    background-image: url(../../../images/gradient.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.t4-section-8{
    background-image: url(../../../images/splatter.jpg);
    background-size: 1132px 1014px;
}

.owl-carousel.owl-drag .owl-item {
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-user-select: none;
    background-color: #fff;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mod-article-highlight .item-child .item-inner {
    background: #fff;
    display: flex;
}
.t4-copyright{
    background-color: #fff;
    color:#464646;
}

.t4-copyright a{
    color:#126543;
}

.t4-megamenu.animate.slide .dropdown .dropdown-menu {
    min-width: 0;
    z-index: 100000;
    margin-top: -1rem;
    transition-property: margin-top, opacity;
    transition-timing-function: ease;
}

.acm-features.style-2 .info-wrap {
    max-width: max-content;
}

.t4-section-6 h2, .h2 {
    text-shadow: 1px 1px #f7f7f7;
    font-size: var(--h2-font-size);
}
.mod-title-wrap .section-title {
    color: var(--color-primary);
    font-size: xx-large;
    text-transform: inherit;
    margin: 1rem 0;
}
.mod-article-slide div.owl-carousel div.owl-nav > button {
    background: var(--color-warning);
    position: absolute;
    top: 120px;
    left: -20px;
    margin: 0;
}
.t4-main-body {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.mod-article-slide .item-inner {
    padding: 1rem;
    max-width: 100%;
    position: relative;
}
.mod-article-slide .title h3{
    font-size: 1.2rem;
}
.t4-footer .nav {
    display: flex;
    grid-template-columns: max-content;
    grid-row-gap: inherit;
    margin: 0;
    width: 100%;
}