/* ==========================================================================
   HOSTMEV2 MODERN FOOTER - Premium Redesign
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FOOTER MAIN AREA (#footer)
   -------------------------------------------------------------------------- */
#footer {
    background: linear-gradient(180deg, #1a1f2e 0%, #0f1219 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 0 40px 0;
    position: relative;
    overflow: visible;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00c6ff, #0072ff, #7c3aed, #0072ff, #00c6ff);
    background-size: 200% 100%;
    animation: footerGradientLine 6s ease infinite;
}

@keyframes footerGradientLine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Widget Titles */
#footer .widget-title,
#footer h3.widget-title,
#footer h4.widget-title {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px !important;
    padding-bottom: 12px;
    position: relative;
    border-bottom: none !important;
}

#footer .widget-title::after,
#footer h3.widget-title::after,
#footer h4.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border-radius: 2px;
}

/* Footer Links */
#footer a {
    color: rgba(255, 255, 255, 0.65) !important;
    opacity: 1 !important;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

#footer a:hover {
    color: #00c6ff !important;
    opacity: 1 !important;
    text-decoration: none;
    padding-left: 3px;
}

/* Footer Lists */
#footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer ul li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#footer ul li:last-child {
    border-bottom: none;
}

/* Footer Widgets general */
#footer .widget {
    margin-bottom: 30px;
}

#footer p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* Footer sidebar background remove */
#footer .footer-sidebar {
    background: none;
}

/* --------------------------------------------------------------------------
   2. FOOTER AREA TOP
   -------------------------------------------------------------------------- */
.footer-area-top {
    background: linear-gradient(135deg, #151a28 0%, #1a2035 100%);
    padding: 35px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-area-top .widget {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   3. FOOTER AREA BOTTOM
   -------------------------------------------------------------------------- */
.footer-area-bottom {
    background: linear-gradient(135deg, #111827 0%, #0f1219 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* --------------------------------------------------------------------------
   4. COPYRIGHT BAR
   -------------------------------------------------------------------------- */
.copyright {
    background: #080b11;
    padding: 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.copyright .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    gap: 20px;
}

.copyright_left {
    float: none;
    width: auto;
    flex: 1;
    text-align: left;
    line-height: 1.6;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.copyright_right {
    float: none;
    width: auto;
    flex-shrink: 0;
    text-align: right;
    line-height: 1.6;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.copyright a {
    color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: #00c6ff !important;
    opacity: 1 !important;
}

.copyright p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   5. FOOTER BRANCHES
   -------------------------------------------------------------------------- */
.at-footer-branches {
    background: linear-gradient(90deg, #0072ff, #00c6ff) !important;
    color: #ffffff !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.at-footer-branches:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
}

#footer a.at-footer-branches {
    color: #ffffff !important;
    opacity: 1 !important;
}

.footer-branches {
    background: #0a0e15;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-branches .widget-title {
    display: none;
}

/* --------------------------------------------------------------------------
   6. APP DOWNLOAD BADGES (copyright bar)
   -------------------------------------------------------------------------- */
.copyright .app-badges {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
    vertical-align: middle;
}

.copyright .app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none !important;
    transition: all 0.3s ease;
    height: 38px;
    box-sizing: border-box;
}

.copyright a.app-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    color: #fff !important;
}

.copyright .app-badge i {
    font-size: 18px;
}

.copyright .app-badge-text small {
    display: block;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.copyright .app-badge-text span {
    font-size: 13px;
    font-weight: 500;
}

.copyright .app-badge.app-badge--disabled {
    opacity: 0.4;
    cursor: default;
}

.copyright .app-badge.app-badge--disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   7. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 959px) {
    .copyright .inner {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        gap: 12px;
    }
    .copyright_left,
    .copyright_right {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px) {
    #footer {
        padding: 40px 0 20px 0;
    }
    .copyright .app-badges {
        flex-direction: column;
        margin-left: 0;
        margin-top: 8px;
    }
}
