:root {
    --color1: #ffffff;
    --color3: #2f3131;
    --color4: #34495e;
    --color6: #000000;
    --color7: #EEF7FF;
    --color8: #F3CA52;
    --color9: #7ABA78;
    --color10: #F6E9B2;
}

body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: var(--color1);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

header {
    background-color: #2f3131;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 80px;
}

section {
    min-height: 65vh;
    height: auto;
    display: flex;
    flex-direction: column;
}

nav {
    margin-top: 10px;
    width: 100%;
    background-color: #333;
    overflow: hidden;
    z-index: 1000;
}

nav a {
    color: var(--color1);
    text-decoration: none;
    padding: 10px 20px;
    margin: 0;
    border-radius: 5px;
    background-color: var(--color3);
    display: inline-block;
}

nav a:hover {
    background-color: var(--color4);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--color1);
    background-color: var(--color3);
    border: none;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle:hover {
    background-color: var(--color4);
}

.nav-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.nav-links a {
    display: block;
}

@media (min-width: 768px) {
    h2 {
        color: var(--color1);
        font-size: 6vw;
    }

    header {
        justify-content: center;
    }

    nav {
        position: fixed;
        top: 0;
    }

    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
    }

    .nav-links a {
        padding: 10px 20px;
    }
}

@media (max-width: 767px) {
    h2 {
        color: var(--color1);
        font-size: 6vw;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        background-color: var(--color3);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-x: hidden;
    }

    .nav-links a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color3);
    color: var(--color1);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:hover {
    background-color: var(--color4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Subtle shake animation for Interested buttons */
@keyframes subtleShake {
    0%, 80%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    82% {
        transform: translateX(-3px) rotate(-2deg);
    }
    84% {
        transform: translateX(3px) rotate(2deg);
    }
    86% {
        transform: translateX(-3px) rotate(-2deg);
    }
    88% {
        transform: translateX(3px) rotate(2deg);
    }
    90% {
        transform: translateX(-2px) rotate(-1deg);
    }
    92% {
        transform: translateX(2px) rotate(1deg);
    }
    94% {
        transform: translateX(-1px) rotate(-0.5deg);
    }
    96% {
        transform: translateX(1px) rotate(0.5deg);
    }
}
