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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
}

.navbar-wrapper {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1250px;
    background: rgba(255, 255, 255, 0.1); /* Transparent Box */
    border-radius: 10px;
    backdrop-filter: blur(10px); /* Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px;
    z-index: 9999;
    transition: all 0.3s ease;
}

/* Remove Background from Navbar */
.navbar {
    background: transparent !important; /* No white background */
    border-radius: 10px;
    padding: 15px;
}
/* When sticky, change background */
.navbar.navbar-sticky {
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar .container {
    background: transparent !important;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    display: flex;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
}

.navbar-brand h1 {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.navbar-sticky .navbar-brand h1 {
    color: #000;
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-sticky .nav-link {
    color: #000;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #ff9100;
    bottom: 5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #ff9100;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.navbar-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.navbar-sticky .navbar-toggler span {
    background-color: #ffffff;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-sticky .btn-primary {
    color: #000;
    border-color: #000;
}

.btn-primary:hover {
    background-color: #ff9100;
    border-color: #ff9100;
    color: white;
}

.btn-primary svg {
    margin-left: 8px;
    width: 16px;
    height: 16px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-nav {
        position: fixed;
        top: 0;
        right: -500px;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .navbar-nav.show {
        right: 0;
    }

    .nav-item {
        margin: 10px 0;
        width: 100%;
    }

    .nav-link {
        color: #ffffff;
        width: 100%;
        display: block;
        padding: 8px 0;
    }

    .navbar-toggler {
        display: block;
        z-index: 9999;
    }

    .navbar-toggler.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .navbar-toggler.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggler.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .btn-primary {
        margin-top: 15px;
        border-color: #000;
        color: #000;
    }

    /* Overlay when menu is open */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .overlay.show {
        opacity: 1;
        visibility: visible;
    }
}
