/* Footer Global Styles */
    #footer {
        font-family: "Helvetica Neue", sans-serif;
        color: #ffffff;
        background-image: url('/fnalincludes/v6_0/images/blue-bg-lg.png');
        background-position: top right;
        background-repeat: no-repeat;
        background-size: cover;
        padding-bottom: 0 !important;        
    }

    body.internal #footer {
        background-image: url('/fnalincludes/v6_0/images/light-blue-bg-lg.png');
    }

    #footer .logo-wrapper {
        width: 33.33%;
    }

    #footer .footer-top-left {
        width: 33.33%;
    }

    #footer .footer-top-right {
        width: 66.66%;
    }

    #footer .container {
        max-width: 1170px;
        margin: 0 auto;
    }

/* Footer Top Section */
    #footer .footer-top {
        padding: 40px 0;
    }

    #footer .footer-top-sections {
        display: flex;
        justify-content: space-between;
    }

    #footer .logo-wrapper {
        margin-bottom: 12px;
    }

    #footer .fermi-logo {
        max-width: 320px;
        width: 100%;
        height: auto;
    }

    #footer .footer-text {
        color: #FFF;
        font-family: "Helvetica Neue", sans-serif;
        font-size: 18px;
        font-weight: 400;
        line-height: normal;
        margin: 0;
    }

/* Social Icons Section */
    #footer .social-icons-wrapper {
        gap: 24px;
        padding: 44px 0;
        display: flex;
    }

    #footer .social-icons-wrapper svg {
        width: 34px;
        height: 34px;
    }

    #footer .social-icons-wrapper svg:hover {
        fill: #002855;
    }

    #footer .social-icons-wrapper a {
        display: inline-block;
        transition: color 0.2s ease-in-out;
        margin: 0;
    }

    #footer .social-icons-wrapper a svg path {
        fill: white;
        transition: fill 0.2s ease-in-out;
    }

    #footer  .social-icons-wrapper a:hover svg path {
    fill: #41B6E6;
    }

/* Subscribe Button Section */
    #footer .subscribe-btn {
        border: 1px solid #D9D9D9;
        background-color: transparent;
        padding: 12px 29px;
        font-size: 16px;
        border-radius: 0;
        font-family: "Helvetica Neue", sans-serif;
        color: white;
        text-transform: uppercase;
        transition: .2s ease-in-out;
        cursor: pointer;
    }

    #footer .subscribe-btn:hover {
        background: #ffffff;
        color: #00336E;
        transition: .2s ease-in-out;
    }

/* Footer Bottom Section */
    #footer .footer-bottom {
        background: #000000;
    }

    #footer .footer-bottom-wrapper {
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
    }

    #footer .doe-img-ct {
        text-align: left !important;
    }

    #footer .footer-bottom-img.doe {
        height: 54px;
        width: 221px;
    }

    #footer .footer-bottom-img.fermiforward {
        height: 40px;
        width: 260px;
    }

    #footer .footer-bottom-text,
    #footer .footer-bottom-link {
        color: #FFF;
        text-align: center;
        font-family: "Helvetica Neue", sans-serif;
        font-size: 10px;
        font-style: normal;
        font-weight: 400;
        line-height: 14px;
        margin-bottom: 9px;
    }

    #footer .footer-bottom-link-wrapper {
        text-align: center;
    }

    #footer .footer-bottom-link {
        text-decoration: none;
        transition: .2s ease-in-out;
    }

    #footer .footer-bottom-wrapper {
        display: flex;
        justify-content: space-between;
    }

    #footer .footer-bottom-link:hover {
        color: #41B6E6;
        text-decoration: none;
        transition: .2s ease-in-out;
    }

/* Menu Section */
    #footer .nav {
        justify-content: flex-end;
        width: 60%;
        margin-left: auto;
    }

    #footer .menu {
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 14px;
        max-height: 200px;
    }

    #footer .menu.menu-children {
        gap: 4px;
    }

    #footer .menu.menu-children li {
        margin-bottom: 5px;
    }

/* Individual Menu Items */
    #footer .menu-item {
        list-style: none;
        margin-bottom: 10px;
        max-width: 33.33%;
        line-height: normal;
    }

/* Menu Item Links */
    #footer .menu-item-link {
        text-transform: uppercase;
        color: #FFF;
        font-family: "Helvetica Neue", sans-serif;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
        transition: 0.2s ease-in-out;
        line-height: normal;
    }

/* Submenu Styling */
    #footer .menu-children {
        list-style: none;
        padding: 0;
        margin-top: 10px;
    }

/* Submenu Links */
    #footer .menu-item-child {
        font-size: 14px;
        color: #FFFFFF;
        text-decoration: none;
        margin-bottom: 5px;
        transition: 0.2s ease-in-out;
        line-height: normal;
    }

/* Hover Effects for Menu */
    #footer .menu-item-link:hover,
    #footer .menu-item-child:hover {
        color: #41B6E6;
        text-decoration: none;
    }

/* Responsive Adjustments */
    @media (max-width: 1199px) {
        #footer .footer-bottom-img.doe {
            height: 49px;
            width: 201px;
        }

        #footer .footer-bottom-img.fermiforward {
            height: 35px;
            width: 228px;
        }

        #footer #for-the-DOE-txt {
            display: block;
        }
    }

    @media (max-width: 991px) {
        /* Footer Responsiveness */
            #footer {
                background-image: url('/fnalincludes/v6_0/images/blue-bg-mob.png');
                background-position: top;
                background-repeat: no-repeat;
                background-size: cover;
            }

            body.internal #footer {
                background-image: url('/fnalincludes/v6_0/images/light-blue-bg-mob.png');
            }

            #footer .logo-wrapper {
                width:100%;
            }

            #footer .logo-wrapper .fermi-logo {
                max-width: 162px;
            }

            #footer .footer-top {
                padding: 40px 10px;
            }

            #footer .footer-top-left {
                width: 100%;
            }

            #footer .footer-top-right {
                width: 100%;
            }

            #footer .footer-text {
                font-size: 20px;
            }

            #footer .footer-bottom-wrapper {
                flex-wrap: wrap;
                gap: 50px;
                padding: 28px;
                justify-content: space-between;
            }

            #footer .doe-img-ct {
                text-align: right !important;
            }

            #footer .fermiforward-img-ct {
                text-align: left !important;
            }

            #footer .footer-top-sections {
                flex-direction: column;
            }

            #footer .footer-bottom-text-wrapper {
                order: 3;
                width: 100%;
            }

            #footer .social-icons-wrapper {
                padding: 36px 0;
                flex-wrap: wrap;
            }

        /* Menu Adjustments */
            #footer .nav {
                justify-content: flex-start;
                padding-top: 36px;
                width: 100%;
            }

            #footer .menu {
                max-height: 400px;
                gap: 6px;
            }

            #footer .menu-item {
                max-width: 50%;
            }

            #footer .menu-item-link,
            #footer .menu-item-child {
                font-size: 20px;
            }

            #footer .menu-item-child {
                margin-bottom: 10px;
            }

        #footer #for-the-DOE-txt {
            display: inline;
        }
    }

    @media (max-width: 429px) {
        #footer .menu {
            max-height: 100%;
            gap: 6px;
        }
    }