



















/* General Styles */
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Navbar 1 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #EF4444;
    padding: 15px 30px;
    position: fixed;
    height: 80px;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Navbar Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #333;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #EF4444;
        text-align: center;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        padding: 10px 0;
    }
}

/* Navbar 2 (Scrollable Marquee) */
.navbar2 {
    position: fixed;
    top: 80px;
    width: 100%;
    z-index: 999;
    background-color: #f8f9fa;
    border-bottom: 2px solid #ddd;
    height: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Marquee Wrapper */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

/* Marquee Content */
.marquee-content {
    display: flex;
    gap: 20px;
    white-space: nowrap;
    will-change: transform;
    min-width: 200%; /* Makes scrolling loop smoothly */
    animation: scroll 20s linear infinite;
}

/* Seamless Scrolling Animation */
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Moves half the width to loop seamlessly */
}

/* Fix Navbar 2 for Mobile */
@media (max-width: 768px) {
    .navbar2 {
        top: calc(80px + 5px);
        height: 70px;
    }

    .marquee-content {
        animation: scroll 15s linear infinite;
    }
}

/* Prevent Content Overlap */
body {
    padding-top: calc(80px + 70px); /* Adjusted for navbar1 + navbar2 */
}

/* Navbar Item Styling */
.nav-item {
    display: inline-block;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-item:hover {
    transform: scale(1.1);
    color: #EF4444;
}

/* Badge */
.nav-new {
    color: red;
    font-weight: bold;
}

.badge {
    background-color: red;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 5px;
}



/* Carousel */
/* Carousel */
/* Carousel */
.carousel-container {
    position: relative;
    width: 100vw;
    overflow: hidden;
    display: flex;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 7s ease-in-out; /* Smooth slide like Flipkart */
    width: 300%; /* Ensure images align properly */
}

.carousel img {
    width: 100vw;
    height: 300px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Hide navigation buttons */
.prev, .next {
    display: none;
}

@media (max-width: 768px) {
    .carousel img {
        height: 200px;
    }
}

