
/* ==========================================
   ECOMORBIXA PREMIUM FOOTER
========================================== */


:root {
    --eco-footer-bg: #091540;
    --eco-footer-bottom: #071032;
    --eco-footer-white: #ffffff;
    --eco-footer-muted: #b8c4e0;
    --eco-footer-orange: #1B2CC1;
    --eco-footer-border: #263663;
    --eco-footer-container: 1380px;
}


.eco-site-footer,
.eco-site-footer * {
    box-sizing: border-box;
}

.eco-site-footer {
    background: var(--eco-footer-bg);
    color: var(--eco-footer-white);
    font-family: inherit;
}

.eco-site-footer a {
    text-decoration: none;
    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.eco-footer-container {
    width: min(
        calc(100% - 48px),
        var(--eco-footer-container)
    );
    margin: 0 auto;
}

/* MAIN FOOTER */

.eco-footer-main {
    padding: 90px 0 95px;
    background: var(--eco-footer-bg);
}

.eco-footer-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, .65fr)
        minmax(0, 1.3fr)
        minmax(0, 1.25fr);
    column-gap: 45px;
    row-gap: 45px;
    align-items: start;
}

.eco-footer-column {
    min-width: 0;
}

/* LOGO */

.eco-footer-brand {
    margin-bottom: 25px;
}

.eco-footer-brand a {
    display: inline-flex;
    align-items: center;
}

.eco-footer-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 190px;
    max-height: 65px;
    object-fit: contain;
}

.eco-footer-logo-text {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #fff;
}

.eco-footer-logo-text span {
    color: var(--eco-footer-orange);
}

/* DESCRIPTION */

.eco-footer-description {
    max-width: 275px;
    margin: 0 0 30px;
    color: var(--eco-footer-muted);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.9;
}

/* SOCIAL ICONS */

.eco-footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.eco-footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #282a2e;
    border-radius: 2px;
    background: #202226;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.eco-footer-social a:hover {
    background: var(--eco-footer-orange);
    border-color: var(--eco-footer-orange);
    color: #fff;
    transform: translateY(-3px);
}

/* OPTIONAL APP BUTTONS */

.eco-footer-apps {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 75px;
}

.eco-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 11px;
    background: #1c1f23;
    border: 1px solid #41444a;
    border-radius: 5px;
    color: #fff;
}

.eco-app-badge:hover {
    border-color: var(--eco-footer-orange);
    color: #fff;
    transform: translateY(-2px);
}

.eco-app-symbol {
    font-size: 23px;
    color: var(--eco-footer-orange);
}

.eco-app-badge span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.eco-app-badge small {
    font-size: 9px;
    color: #d6d6d6;
}

.eco-app-badge strong {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

/* COLUMN HEADINGS */

.eco-footer-title {
    position: relative;
    margin: 0 0 15px;
    padding: 0 0 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.3px;
}

.eco-footer-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 125px;
    height: 1px;
    background: #37383b;
}

.eco-footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background: var(--eco-footer-orange);
}

/* CATEGORY LINKS */

.eco-footer-category-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.eco-footer-category-list li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.eco-footer-category-list a {
    position: relative;
    display: inline-block;
    color: var(--eco-footer-muted);
    font-size: 16px;
    line-height: 1.6;
}



.eco-footer-category-list a:hover {
    color: var(--eco-footer-orange);
    transform: translateX(4px);
}

.eco-footer-category-list a:hover::before {
    color: var(--eco-footer-orange);
}

/* RECENT POSTS */

.eco-footer-recent-list {
    display: flex;
    flex-direction: column;
}

.eco-footer-post {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 0 13px;
    margin: 0 0 13px;
    border-bottom: 1px solid #2b2d30;
}

.eco-footer-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.eco-footer-post-image {
    position: relative;
    flex: 0 0 100px;
    width: 100px;
    height: 90px;
    overflow: hidden;
    border-radius: 8px;
    background: #24262b;
}

.eco-footer-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.eco-footer-post:hover .eco-footer-post-image img {
    transform: scale(1.08);
}

.eco-footer-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        #282a2e,
        #44241f
    );
}

.eco-footer-image-placeholder span {
    color: var(--eco-footer-orange);
    font-size: 35px;
    font-weight: 800;
}

.eco-footer-post-content {
    min-width: 0;
    flex: 1;
}

.eco-footer-post-content h4 {
    margin: 0 0 9px;
    padding: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
}

.eco-footer-post-content h4 a {
    color: #fff;
}

.eco-footer-post-content h4 a:hover {
    color: var(--eco-footer-orange);
}

.eco-footer-post-meta {
    color: #a7a7aa;
    font-size: 15px;
    line-height: 1.5;
}

/* TAGS BOX */

.eco-footer-tags-box {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    gap: 5px;
    min-height: 180px;
    padding: 14px;
    border: 1px solid #34363b;
    border-radius: 8px;
}

.eco-footer-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    min-height: 38px;
    border: 1px solid #31343a;
    border-radius: 5px;
    background: #fff;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.eco-footer-tag:hover {
    color: #fff;
    background: var(--eco-footer-orange);
    border-color: var(--eco-footer-orange);
    transform: translateY(-2px);
}

.eco-footer-empty {
    color: #8b8e94;
    font-size: 13px;
    line-height: 1.6;
}

/* BOTTOM COPYRIGHT BAR */

.eco-footer-bottom {
    padding: 27px 0;
    background: var(--eco-footer-bottom);
    border-top: 1px solid #2b2d31;
}

.eco-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.eco-footer-copyright {
    margin: 0;
    color: #dedee0;
    font-size: 16px;
    line-height: 1.6;
}

.eco-footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 24px;
}

.eco-footer-bottom-links a {
    color: #e7e7e8;
    font-size: 13px;
    font-weight: 500;
}

.eco-footer-bottom-links a:hover {
    color: var(--eco-footer-orange);
}

/* FOCUS */

.eco-site-footer a:focus-visible {
    outline: 2px solid var(--eco-footer-orange);
    outline-offset: 3px;
}

/* ==========================================
   RESPONSIVE: SMALL DESKTOP
========================================== */

@media (max-width: 1199px) {

    .eco-footer-grid {
        grid-template-columns: 1fr .7fr 1.25fr 1fr;
        gap: 28px;
    }

    .eco-footer-tags-box {
        padding: 20px;
        gap: 9px;
    }

    .eco-footer-post {
        gap: 12px;
    }

    .eco-footer-post-image {
        flex-basis: 85px;
        width: 85px;
        height: 78px;
    }

    .eco-footer-post-content h4 {
        font-size: 13px;
    }
}

/* ==========================================
   RESPONSIVE: TABLET
========================================== */

@media (max-width: 991px) {

    .eco-footer-main {
        padding: 70px 0;
    }

    .eco-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 35px;
    }

    .eco-footer-description {
        max-width: 330px;
    }

    .eco-footer-apps {
        margin-top: 35px;
    }

    .eco-footer-tags-box {
        min-height: 0;
    }
}

/* ==========================================
   RESPONSIVE: MOBILE
========================================== */

@media (max-width: 600px) {

    .eco-footer-container {
        width: calc(100% - 36px);
    }

    .eco-footer-main {
        padding: 50px 0 55px;
    }

    .eco-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .eco-footer-brand {
        margin-bottom: 18px;
    }

    .eco-footer-logo {
        max-width: 175px;
        max-height: 55px;
    }

    .eco-footer-description {
        max-width: 100%;
        font-size: 13px;
    }

    .eco-footer-title {
        margin-bottom: 25px;
        padding-bottom: 17px;
        font-size: 18px;
    }

    .eco-footer-category-list {
        gap: 12px;
    }

    .eco-footer-post-image {
        flex: 0 0 95px;
        width: 95px;
        height: 82px;
    }

    .eco-footer-post-content h4 {
        font-size: 14px;
    }

    .eco-footer-tags-box {
        padding: 19px;
    }

    .eco-footer-tag {
        padding: 8px 12px;
    }

    .eco-footer-bottom {
        padding: 22px 0;
    }

    .eco-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .eco-footer-bottom-links {
        justify-content: flex-start;
        gap: 18px;
    }

    .eco-footer-copyright,
    .eco-footer-bottom-links a {
        font-size: 12px;
    }
}

/* ANIMATIONS */

@media (prefers-reduced-motion: reduce) {
    .eco-site-footer *,
    .eco-site-footer *::before,
    .eco-site-footer *::after {
        transition: none !important;
        animation: none !important;
    }
}


/* Bottom footer alignment */

.eco-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.eco-footer-copyright {
    margin: 0;
}

.eco-footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    margin-left: auto;
}

.eco-footer-bottom-links a {
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.eco-footer-bottom-links a:hover {
    color: #042CF8;
}

/* Mobile responsive */

@media (max-width: 600px) {
    .eco-footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .eco-footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        margin-left: 0;
        gap: 18px;
    }
}











