body {
    margin: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #000000;
    color: #fff;
    position: relative;
    z-index: 10;
    height: 60px;
}

header .logo img {
    width: 200px;
}

header nav {
    display: flex;
    align-items: center;
}

header .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    font-weight: bold;
    font-size: 20px;
    align-items: center;
}

header .menu li {
    position: relative;
}

header .menu a {
    text-decoration: none;
    color: white;
    line-height: 60px;
}

header .menu .dropdown,
header .menu .sub-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000000;
    list-style: none;
    padding: 10px;
    z-index: 20;
}

header .menu li:hover > .dropdown,
header .menu li:hover > .sub-dropdown {
    display: block;
}

header .menu .dropdown > li:hover > .sub-dropdown {
    left: 100%;
    top: 0;
}

header .menu .sub-dropdown img {
    width: 120px;
    height: auto;
    margin-right: 10px;
    padding: 0;
    margin: 0;
    display: block;
}

/* Styling for Profile */
.profile {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.profile .profile-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #000000;
    list-style: none;
    padding: 10px;
}

.profile:hover .profile-dropdown {
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
    header .menu {
        display: none;
    }

    header .hamburger {
        display: block;
        cursor: pointer;
        font-size: 30px;
    }

    .mobile-nav {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        background-color: #000;
        padding: 20px;
        transition: right 0.3s ease-in-out;
        z-index: 100;
        display: none;
    }

    .mobile-nav.active {
        right: 0;
        display: block;
    }

    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin-top: 40px;
    }

    .mobile-nav ul li {
        margin: 20px 0;
    }

    .mobile-nav ul li a {
        color: #fff;
        font-size: 20px;
        text-decoration: none;
    }

    header .menu li a {
        font-size: 18px;
    }

    .mobile-profile-dropdown {
        display: none;
        list-style: none;
        padding: 10px;
        background-color: #000000;
        position: relative;
    }

    .mobile-profile-dropdown.active {
        display: block;
    }

    .mobile-profile-dropdown li {
        padding: 8px 16px;
    }

    .mobile-profile-dropdown li a {
        text-decoration: none;
        color: white;
    }

    .mobile-profile-dropdown li a:hover {
        background-color: #ddd;
        color: black;
    }
}

@media (min-width: 769px) {
    header .hamburger {
        display: none;
    }
    .mobile-nav {
        display: none;
    }
}

/* Styles for hamburger menu icon */
.hamburger {
    display: block;
    cursor: pointer;
    font-size: 30px;
    z-index: 110;
}

/* Footer Styles */
footer {
    text-align: center;
    background-color: #000000;
    color: #fff;
    padding: 20px;
    margin-top: auto;
}

footer p {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0;
    padding: 0;
}

footer .company-logos {
    margin: 10px 0;
}

footer .company-logos img {
    width: 100px;
    margin: 5px;
}

footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

footer .footer-links li {
    display: inline;
    margin: 0 10px;
}

footer .footer-links a {
    color: #fff;
    text-decoration: none;
}