body {
    background: linear-gradient(to right, #ffffff, #e0f7fa);
    margin: 0;
    font-family: 'Maven Pro', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

nav {
    width: 100%;
    background-color: white;
    padding: 35px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    border-bottom: 2px solid #1762ad9c;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

nav .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 450px;
}

nav .logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

nav .logo h4 {
    margin: 0;
    font-size: 20px;
    color: #1761AD;
}

* {
    font-family: 'Amarante';
}

nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style-type: none;
    margin-right: 300px;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: grey;
    font-weight: 700;
    font-size: 18px;
}

nav ul li a:hover {
    color: #1761AD;
}

.login-section, .calculator {
    background: #ffffff;
    border-radius: 35px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 40px;
    width: 550px;
    box-sizing: border-box;
    margin-top:250px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    margin-bottom: 100px;
}

.form-group {
    margin-bottom: 35px;
}

label {
    display: block;
    margin-bottom: 15px;
    color: grey;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #d0d0d0;
    border-radius: 25px;
    box-sizing: border-box;
}

.required::after {
    content: " *";
    color: red;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

.result {
    text-align: center;
    font-size: 18px;
    margin-top: 20px;
}

.submit-button {
    background-color: #1d7071;
    color: white;
    padding: 25px;
    border-radius: 25px;
    border: none;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
}

.submit-button:hover {
    background-color: #155d59;
}

footer {
    background-color: #1761AD;
    color: white;
    padding: 40px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
}

footer a:hover {
    text-decoration: underline;
}

.header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.header h4 {
    margin: 0px;
    font-size: 24px;
    color: #1761AD;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger div {
    width: 30px;
    height: 4px;
    background-color: #1761AD;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 100px;
    right: 0;
    background-color: white;
    width: 200px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.mobile-menu a {
    text-decoration: none;
    color: grey;
    font-weight: 700;
    font-size: 18px;
}

.mobile-menu a:hover {
    color: #1761AD;
}

@media screen and (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .logo {
        margin-left: 10px;
    }
}