html {
    scroll-behavior: smooth;
}

* {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
}

.container {
    max-width: 1160px;
    padding: 15px;
}

.main-header {
   position: fixed; /* Changed from absolute to fixed */
    transition: transform 0.3s ease-in-out;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.main-header.header-hidden {
    transform: translateY(-150%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    max-width: 1160px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bot-logo {
    margin: 0;
    max-width: 23%;
}

.bot-logo a img {
    max-width: 60%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin-bottom: 0 !important;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #0cac83;
}

.nav-menu li a.active {
    color: #0CAC83;
}

.right-section, .left-section {
    display: flex;
    align-items: center;
    margin: 0;
    gap: 20px;
}
.left-section {
        display: none;
    }

.btn-auth {
    background: #0B273A;
    background: linear-gradient(90deg, rgba(11, 39, 58, 1) 0%, rgba(15, 110, 106, 1) 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

.btn-auth:hover {
    background: linear-gradient(90deg, rgba(15, 110, 106, 1) 0%, rgba(11, 39, 58, 1) 100%);
    color: white;
}

.theme-toggle {
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 28px;
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        border-top: 1px solid #f3f4f6;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        z-index: 10;
        gap: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

}
@media (max-width: 650px) {
    .bot-logo {
        max-width: 55%;
    }
    .bot-logo a img {
    max-width: 80%;
    }
    .nav-menu {
        top: 66px;
    }
    .header-container {
        padding-top: 10px !important;
        padding: 10px;
        gap: 15px;
    }
    .main-header {
        top: 10px;
    }

    .mobile-toggle {
        margin: 0;
    }
    .btn-auth {
    padding: 8px 16px;
    font-size: 12px;
    }
}
