* {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    padding-top: 115px;
}

.wrapper {
    margin: 0 auto;
    height: 115px;
    display: flex;
    align-items: center;
    background-color: white;
    position: fixed;
    top: 0;
    z-index: 1100;
    width: 100%;
    box-shadow: 0 5px 20px #888;
}

.titlebar,
.wrap {
    width: 100%;
}

.wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    list-style: none;
}

.logo-container img {
    width: 350px;
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #2c4a66;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Software and navigation section */
.nav-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.software-name {
    font-size: 18px;
    font-weight: bold;
    color: #2c4a66;
    text-align: right;
}

.software-logo {
    height: 35px;
    width: auto;
    align-self: flex-end;
}

.nav-label-container {
    display: flex;
    gap: 16px;
}

.nav-label {
    position: relative;
    display: inline-block;
    width: auto;
    padding: 0 15px;
    height: 50px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    font-size: 17px;
    background: transparent;
    color: #2c4a66;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    white-space: nowrap;
}

.nav-label::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #2c4a66;
    transform: translateX(-50%);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-label:hover {
    transition: 0.3s ease-in-out;
    transform: scale(1.3);
    color: #2c4a66;
}

.nav-label:hover::after {
    width: 60%;
}

.nav-button {
    background: #2c4a66;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 8px 20px;
    text-transform: capitalize;
    font-size: 14px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: background-color 0.4s ease-in-out;
    box-shadow: 0 3px 15px rgba(44, 74, 102, 0.3);
    margin-left: 10px;
}

.nav-button:hover {
    background: #071c34;
    box-shadow: 0 0 15px rgba(44, 74, 102, 0.6);
    transform: translateY(-1px);
}

.nav-button:active {
    transform: translateY(0);
}

.nav-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Large laptops to medium laptops */
@media (max-width: 1200px) and (min-width: 1025px) {
    ul {
        width: 85%;
    }
    
    .nav-label {
        padding: 0 10px;
        font-size: 15px;
    }
    
    .logo-container img {
        width: 300px;
    }
}

/* Medium to small laptops */
@media (max-width: 1366px) and (min-width: 769px) {
    ul {
        width: 90%;
    }
    
    .nav-label {
        padding: 0 8px;
        font-size: 14px;
    }
    
    .nav-label-container {
        gap: 8px;
    }
    
    .software-name {
        font-size: 16px;
    }
    
    .software-logo {
        height: 32px;
    }
    
    .logo-container img {
        width: 250px;
    }
    
    .nav-button {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Tablets and mobile - hamburger menu */
@media (max-width: 768px) {
    .logo-container img {
        width: 200px;
        margin-left: 5px;
    }

    .hamburger {
        display: flex;
    }

    .nav-section {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .software-name {
        order: 1;
    }

    .software-logo {
        order: 1;
    }

    .hamburger {
        order: 2;
        position: relative;
    }

    .nav-label-container {
        position: fixed;
        top: 100px;
        right: 0;
        background-color: white;
        height: calc(100% - 100px);
        width: 230px;
        flex-direction: column;
        gap: 0;
        padding-top: 20px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1050;
        order: 3;
    }

    .nav-label-container.open {
        transform: translateX(0);
    }

    .nav-label {
        height: 50px;
        line-height: 50px;
        padding: 0 20px;
        font-size: 18px;
    }

    .nav-button {
        margin: 10px 20px;
        width: calc(100% - 40px);
        margin-left: 20px;
    }

    .software-name {
        font-size: 16px;
        text-align: right;
    }

    .software-logo {
        height: 30px;
    }
}