/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Top Announcement Bar */
.top-bar {
    background-color: #0b2a4a;
    /* Dark Blue */
    color: white;
    padding: 8px 0;
    font-size: 11px;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

/* Marquee effect for the top bar text */
.top-bar-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.top-bar-content span {
    padding-right: 40px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Main Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: relative;
    z-index: 1000;
}

/* Sticky Header Effect */
header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.4s ease-in-out;
}

header.sticky .top-bar {
    display: none;
    /* Hide top bar when sticky for more space */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 13px; 
    width: auto;
    object-fit: contain;
}

/* Navigation Links (Desktop) */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0b2a4a; /* Theme Dark Blue */
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links li a:hover::after,
.nav-links li a.active-nav::after {
    width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active-nav {
    color: #0b2a4a;
}

.nav-links li a i {
    font-size: 10px;
    margin-left: 5px;
    color: #888;
}

.contact-us {
    color: #333 !important;
    /* Red Color */
}

.contact-us:hover {
    color: #888 !important;
}

/* Icons Section (Right Side) */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #333;
    stroke-width: 1.5;
}

/* Cart Badge Styling */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #222;
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger svg {
    width: 24px;
    height: 24px;
    stroke: #333;
    stroke-width: 2;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        /* Hidden by default */
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 0;
        border-bottom: 1px solid #eaeaea;
        transition: left 0.3s ease;
        z-index: 100;
    }

    .nav-links.active {
        left: 0;
        /* Slide in */
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        padding: 15px 0;
        justify-content: center;
        border-bottom: 1px solid #f9f9f9;
    }

    .hamburger {
        display: block;
    }

    .logo {
        font-size: 20px;
    }
}