:root {
    --primary-color: #2b71e5;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #000000;
}

header,
section,
footer {
    padding: 20px;
    text-align: center;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav {
    top: 0;
    background: black;
    color: white;
    padding: 10px 20px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav>.container {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav.hidden {
    transform: translateY(-100%);
}

.nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.nav ul li {
    margin-left: 35px;
}

.nav ul a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 8px 2px;
}

.nav ul a:hover {
    color: var(--primary-color);
}

footer {
    background: white;
    color: black;
}

footer>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

footer .menu {
    list-style: none;
    display: flex;
    padding: 0;
}

footer .menu li {
    margin-right: 15px;
}

footer .menu a,
footer a {
    color: black;
    text-decoration: none;
}

footer a i {
    font-size: 1.2rem;
}

.back-to-top {
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 8px;
    font-size: 1.2rem;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 5px;
    cursor: pointer;
    z-index: 1000;
    width: 48px;
    height: 48px;
}

.back-to-top:hover {
    background-color: #0056b3;
    /* Darker blue on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    /* Enhance shadow */
}

.primary-button {
    color: #fff;
    text-decoration: none;
    background-color: var(--primary-color);
    padding: 8px 32px;
    border-radius: 9px;
    letter-spacing: 1.2px;
    font-weight: bold;
    transition: opacity .3s ease;
}

.primary-button:hover {
    opacity: 0.5;
}