* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.navbar {
    background: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.logo {
    display: none;
}

@media screen and (max-width: 1186px) {
    .logo {
        display: block;
        height: 50px;
        margin-left: 15px;
    }

    .logo img {
        height: 40px;
        max-width: 120px;
        object-fit: contain;
    }
}


.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
}

.nav-links li {
    text-align: center;
    width: auto;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: #0096D7;
}

.has-submenu {
    position: relative;
}

.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    display: none;
    min-width: 230px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 2000;
}

.has-submenu:hover .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.submenu li {
    text-align: center;
}

.submenu li a {
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    display: block;
    transition: background 0.3s ease-in-out;
}

.submenu li a:hover {
    background: #8CC63F;
    color: white;
    border-radius: 4px;
}

.help-button {
    background: linear-gradient(135deg, #E81E6F, #D4145A);
    color: white;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0px 4px 12px rgba(232, 30, 111, 0.3);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.help-button:hover {
    background: linear-gradient(135deg, #D4145A, #A20D44);
}

@media screen and (max-width: 1186px) {
    .navbar {
        padding: 10px 15px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px 0;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        padding-bottom: 100px;
    }

    .nav-links.active {
        display: flex;
    }

    .has-submenu .submenu {
        display: none;
        position: relative;
        background: transparent;
        box-shadow: none;
        text-align: center;
    }

    .has-submenu.active .submenu {
        display: block;
        width: 100%;
    }

    .burger-menu {
        display: flex;
        position: absolute;
        top: 12px;
        right: 15px;
        cursor: pointer;
        flex-direction: column;
        justify-content: space-between;
        width: 40px;
        height: 35px;
        z-index: 1500;
    }

    .burger-menu.active {
        position: fixed;
        top: 20px;
        right: 15px;
    }

    .burger-menu .bar {
        width: 100%;
        height: 4px;
        background-color: #333;
        border-radius: 5px;
        transition: 0.4s ease-in-out;
    }

    .burger-menu.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .help-container-mobile {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 15px 0;
    }

    .help-container-mobile .help-button {
        width: 80%;
        text-align: center;
        font-size: 16px;
        padding: 14px 0;
        border-radius: 50px;
    }
}

@media screen and (min-width: 1187px) {
    .burger-menu {
        display: none !important;
    }
}
main {
    padding-top: 80px; 
}