/* ==========================================================
   TrueVitaHub Footer
========================================================== */

.tvh-footer{
    background:#0f172a;
    color:#cbd5e1;
    padding:80px 0 30px;
    margin-top:100px;
}

.tvh-footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:60px;
    margin-bottom:60px;
}

/* ==========================================================
   Brand
========================================================== */

.tvh-footer-logo{
    display:inline-flex;
    align-items:center;
    text-decoration:none;
    margin-bottom:20px;
}

.tvh-footer .tvh-logo-text{
    font-size:30px;
    font-weight:800;
    color:#ffffff;
}

.tvh-footer-description{
    color:#94a3b8;
    line-height:1.8;
    margin-bottom:28px;
    max-width:420px;
}

/* ==========================================================
   Newsletter
========================================================== */

.tvh-newsletter-form{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.tvh-newsletter-form input{
    flex:1;
    min-width:220px;
    padding:14px 18px;
    border:none;
    border-radius:12px;
    background:#1e293b;
    color:#ffffff;
    outline:none;
}

.tvh-newsletter-form input::placeholder{
    color:#94a3b8;
}

.tvh-newsletter-form button{
    border:none;
    cursor:pointer;
    padding:14px 24px;
    border-radius:12px;
    background:#2563eb;
    color:#ffffff;
    font-weight:700;
    transition:.25s;
}

.tvh-newsletter-form button:hover{
    background:#1d4ed8;
}

/* ==========================================================
   Columns
========================================================== */

.tvh-footer-column h4{
    color:#ffffff;
    font-size:18px;
    margin-bottom:22px;
}

.tvh-footer-menu,
.tvh-footer-links{
    margin:0;
    padding:0;
    list-style:none;
}

.tvh-footer-menu li,
.tvh-footer-links li{
    margin-bottom:14px;
}

.tvh-footer-menu a,
.tvh-footer-links a{
    color:#94a3b8;
    text-decoration:none;
    transition:.25s;
}

.tvh-footer-menu a:hover,
.tvh-footer-links a:hover{
    color:#ffffff;
}

/* ==========================================================
   Social
========================================================== */

.tvh-social{
    display:flex;
    gap:14px;
    margin-top:24px;
}

.tvh-social a{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#1e293b;
    color:#ffffff;
    text-decoration:none;
    transition:.25s;
}

.tvh-social a:hover{
    background:#2563eb;
    transform:translateY(-2px);
}

/* ==========================================================
   Bottom
========================================================== */

.tvh-footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:26px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.tvh-footer-bottom p{
    margin:0;
    color:#94a3b8;
    font-size:14px;
}

/* ==========================================================
   Responsive
========================================================== */

@media (max-width:1024px){

    .tvh-footer-grid{
        grid-template-columns:1fr 1fr;
        gap:40px;
    }

}

@media (max-width:768px){

    .tvh-footer{
        padding:60px 0 25px;
    }

    .tvh-footer-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .tvh-footer-bottom{
        flex-direction:column;
        text-align:center;
    }

    .tvh-newsletter-form{
        flex-direction:column;
    }

    .tvh-newsletter-form input,
    .tvh-newsletter-form button{
        width:100%;
    }


    /* ==========================================
   Back To Top
========================================== */

.tvh-back-to-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:#2563eb;

    color:#ffffff;

    font-size:22px;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:.3s;

    z-index:999;

    box-shadow:0 15px 35px rgba(37,99,235,.35);

}

.tvh-back-to-top.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.tvh-back-to-top:hover{

    background:#1d4ed8;

}
}