body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #061B38;
    padding-top: 70px;
}

body.no-scroll {
    overflow: hidden;
}

header {
    position: fixed;
    z-index: 9999;
    background-color: #5AC1C0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
    transition: box-shadow 0.4s ease-in-out;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    top: 0;
    left: 0;
    padding: 0 20px;
}

header.scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    margin-left: 170px;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.4s;
    transition: filter 0.1s;
}

.logo:hover .logo-img {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(9%) sepia(77%) saturate(3207%) hue-rotate(202deg) brightness(97%) contrast(98%);
}

nav {
    margin-right: 190px;
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 70px;
    margin: 0;
    padding: 0;
}

nav a {
    display: inline-block;
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition-duration: 0.4s;
}

nav a:hover {
    color: #061B38;
    transform: scale(1.1);
}

button {
    background-color: #FCBE3B;
    color: #061B38;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition-duration: 0.4s;
}

button:hover {
    background-color: #061B38;
    color: #FFF;
    transform: translateY(-3px) scale(1.05);
}

.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 10000;
    margin-right: 25px;
}

.hamburger-menu span {
    display: block;
    width: 26px;
    height: 2.5px;
    background-color: #FFF;
    margin: 6px 0;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.hamburger-menu:active {
    background-color: none !important;
    animation: none !important;
}

.hamburger-menu:hover {
    background-color: transparent !important;
}
.hamburger-menu:hover span,
.hamburger-menu:active span {
    background-color: #FFF !important;
}

main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 60px 20px;
    box-sizing: border-box;
}

footer {
    background-color: #5AC1C0;
    color: #061B38;
    text-align: center;
    padding: 20px 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    header {
        height: 70px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        background-color: #5AC1C0;
    }

    .logo {
        margin-left: 10px;
    }

    .logo-img {
        height: 35px;
    }

    nav {
        margin-right: 0;
        display: flex;
        align-items: center;
    }

    .hamburger-menu {
        display: block;
        margin-left: 0;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #5AC1C0;
        justify-content: center;
        align-items: center;
        z-index: 9998;
        overflow-y: auto;
        opacity: 0;
        gap: 10px;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    nav ul.active {
        opacity: 1;
        visibility: visible;
    }

    nav ul li {
        margin: 15px 0;
        border-bottom: none;
        opacity: 0;
        transition: opacity 0.3s ease-out;
    }

    nav ul.active li {
        opacity: 1;
    }
    nav ul.active li:nth-child(1) { transition-delay: 0.1s; }
    nav ul.active li:nth-child(2) { transition-delay: 0.2s; }
    nav ul.active li:nth-child(3) { transition-delay: 0.3s; }

    nav ul a {
        color: #FFF;
        font-size: 1.8em;
        padding: 10px 20px;
        display: block;
        text-align: center;
    }

    nav ul a:hover {
        background-color: rgba(0, 0, 0, 0.1);
        color: #FFF;
        transform: none;
    }

    main {
        padding-top: 35px !important;
    }

    nav a:hover,
    .logo:hover .logo-img,
    button:hover { 
        transform: none;
        filter: none;
    }

    .logo .logo-img {
        transition: transform 0.4s;
        transition: filter 0.1s;
    }

    .logo:active .logo-img {
        transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(9%) sepia(77%) saturate(3207%) hue-rotate(202deg) brightness(97%) contrast(98%);
    }

    button:active {
        background-color: #061B38 !important;
        color: #FFF !important;
    }
    button:active a {
        color: #FFF !important;
    }
    nav a:active {
        color: #061B38 !important;
        transform: scale(1.1);
    }
}

@keyframes button-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

