/* Navbar */
.navbar {
    background: linear-gradient(to right, #FFFFFF 0%, #FFFFFF 61px, #FE5102 50%, #FE5102 100%);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

/* Logo */
.navbar .logo img {
    padding-left: 1px;
    height: 50px;
    width: auto;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
}

.burger-menu .line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100%;
}

.nav-links li {
    position: relative;
    height: 100%;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 0 15px;
    display: block;
    height: 100%;
    line-height: 60px;
    font-weight: 500;
}

.nav-links li a:hover {
    background-color: #AF1515;
}

/* Submenu Styles */
.nav-links li ul {
    display: none; /* Hide submenu by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FE5102; /* Match the background color */
    padding: 0;
    margin: 0;
    list-style: none; /* Remove bullet points */
    
}

.nav-links li:hover ul {
    display: block; /* Show submenu on hover */
}

.nav-links li ul li {
    width: 200px; /* Width of submenu items */
}

.nav-links li ul li a {
    padding: 10px;
    line-height: normal;
    color: white; /* Match text color */
}

.nav-links li ul li a:hover {
    background-color: #AF1515;
}

/* Mobile View */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: absolute;
        display:block;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #FE5102;
        flex-direction: column;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
    }

    .nav-links.nav-active {
        height: auto;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        padding: 10px 20px;
        line-height: normal;
    }

    .nav-links li ul {
        padding: 10px 20px;
        position:static; /* Adjust submenu position for mobile */
        display: block; /* Show submenu on mobile */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        left: 20%;
    }
}

/* Footer Bar */
.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #FE5102;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
    font-size: 14px;
    z-index: 1000;
}

.footer-bar .social-media {
    display: flex;
    gap: 15px;
}

.footer-bar .social-icon {
    color: white;
    font-size: 20px;
    text-decoration: none;
}

.footer-bar .social-icon:hover {
    color: #AF1515;
}

.footer-bar .copyright-text {
    margin-left: auto;
}

/* Mobile View Adjustments for Footer */
@media (max-width: 768px) {
    .footer-bar {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .footer-bar .social-media {
        margin-bottom: 10px;
        justify-content: center;
        width: 100%;
    }

    .footer-bar .copyright-text {
        text-align: center;
        margin-left: 0;
    }
}
