/* ===== Custom Footer Styling ===== */

.app-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 2px solid #e4e6ef;
    margin-top: 40px;
}

.app-footer h5 {
    font-size: 1rem;
    color: #0b1f3a;
    border-bottom: 2px solid #bea161;
    padding-bottom: 10px;
    display: inline-block;
}

.app-footer .text-hover-primary {
    transition: all 0.3s ease;
}

.app-footer a:hover {
    transform: translateX(4px);
}

.app-footer .list-unstyled li a {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.app-footer .list-unstyled li a:hover {
    color: #bea161 !important;
}

.app-footer .list-unstyled li a i {
    transition: transform 0.3s ease;
}

.app-footer .list-unstyled li a:hover i {
    transform: translateX(4px);
}

/* Social Links Styling */
.app-footer .btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: #f0f0f0;
    border: 1px solid #e4e6ef;
}

.app-footer .btn-light-primary:hover {
    background-color: #bea161;
    border-color: #bea161;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(190, 161, 97, 0.25);
}

/* Footer Bottom Border Animation */
.app-footer .border-top {
    border-color: #e4e6ef !important;
}

/* Copyright Section */
.app-footer .text-muted {
    color: #7e8ba3 !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .app-footer {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .app-footer h5 {
        margin-top: 20px;
    }

    .app-footer .row > [class*="col-"] {
        margin-bottom: 20px;
    }

    .app-footer .d-flex {
        flex-direction: column;
        gap: 20px;
    }

    .app-footer .d-md-flex {
        flex-direction: column;
    }
}

/* Footer Section Hover Effects */
.app-footer .col-md-3 {
    transition: transform 0.3s ease;
}

.app-footer .col-md-3:hover {
    transform: translateY(-2px);
}

/* Enhanced Button Styling */
.app-footer .btn-icon i {
    font-size: 1.1rem;
}

/* Footer Link Underline Animation */
.app-footer a {
    position: relative;
}

.app-footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #bea161;
    transition: width 0.3s ease;
}

.app-footer a:hover::after {
    width: 100%;
}

/* ===== End Custom Footer Styling ===== */

/* ===== Sidebar Menu Scrolling ===== */
#kt_app_sidebar_menu_scroll {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex;
    flex-direction: column;
}

#kt_app_sidebar_menu_scroll .menu {
    flex: 1;
}

/* ===== Sidebar Menu Background Color ===== */
@media (min-width: 992px) {
    #kt_app_sidebar_menu_scroll {
        background-color: #e9f4f7 !important;
    }
}
/* ===== End Sidebar Styling ===== */
