/* Sticky Footer Implementation */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    background-color: #F9F9F9;
    /* Match footer color to avoid white flashes/gaps */
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#main {
    flex: 1;
}

/* Fix for sidemenu pushing content */
#sidemenu_area {
    position: fixed;
    z-index: 10000;
}

/* Footer Color Override */
#footer_sidebar,
#footer_copyright,
.footer_sidebar,
.site_footer .widget_area,
.site_footer .widget,
.site_footer .theme_article {
    background-color: #002635 !important;
    /* Dark Navy from user preference */
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

#footer_sidebar .widget_title,
#footer_sidebar a,
#footer_copyright a,
.site_footer h3,
.site_footer .logo_text,
.site_footer .logo_logo,
.site_footer li:before {
    color: #ffffff !important;
}

#footer_sidebar_inner {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Ensure no gaps at bottom */
#footer {
    background-color: #002635 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    display: block;
    width: 100%;
}

#footer_copyright,
#footer_copyright_inner {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Footer 3-column layout */
#footer_sidebar_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    overflow: visible !important;
    /* Allow flex content */
}

.footer-col-3 {
    flex: 1;
    min-width: 280px;
    /* Responsive break point */
    margin-bottom: 0 !important;
}

/* Override existing widget margins/floats */
#footer_sidebar .widget {
    margin-bottom: 0;
    float: none !important;
    width: auto !important;
    border-right: none !important;
    /* Remove separator lines if any */
}

@media (max-width: 768px) {
    #footer_sidebar_inner {
        flex-direction: column;
        gap: 30px;
    }

    .footer-col-3 {
        width: 100%;
    }
}

/* Quick Links Styling to match screenshot */
/* Quick Links Styling to match screenshot */
.widget_nav_menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget_nav_menu li {
    margin-bottom: 6px !important;
    /* Reduced spacing */
    padding: 0 !important;
    border-bottom: none !important;
    /* Removed border */
    padding-bottom: 0 !important;
}

.widget_nav_menu li:last-child {
    border-bottom: none;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.widget_nav_menu li a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s ease;
    font-weight: 400;
}

.widget_nav_menu li a:hover {
    color: #ffd700 !important;
    /* Gold/Yellow on hover */
    padding-left: 5px !important;
    /* Reduced slide effect */
}

/* Arrow Icon using Fontello - Single Chevron */
.widget_nav_menu li a::before {
    content: '\e82f';
    /* icon-right-open (single chevron) */
    font-family: "fontello";
    margin-right: 8px;
    /* Reduced spacing */
    font-size: 13px;
    color: #ffffff;
    font-weight: normal;
}

/* Ensure no double arrows from theme */
.widget_nav_menu li::before {
    content: none !important;
    display: none !important;
}

.widget_nav_menu .widget_title {
    text-transform: uppercase !important;
    letter-spacing: 1px;
    margin-bottom: 25px !important;
    font-size: 18px !important;
    color: #ffffff !important;
    border-bottom: none !important;
}