.btn {
    cursor: hand;
}


/* Common Navbar Styling */
.navbar {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0px;
    right: 0px;
    background-color: #274153eb;
    height: 84px;
    width: 100%;
    max-width: 100vw;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}  
    


.dropdown-content {
   z-index: 2004;
}



/* Apply Global Font */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, 
        #181818 5%, /* Dark Grayish Black (Left) */
        #FF8C42 20%, /* Soft Orange */
        #B375D3 35%, /* Muted Purple */
        #A4D4E6 50%, /* Soft Sky Blue (Lighter Center) */
        #F4E285 65%, /* Warm Yellow */
        #86C290 80%, /* Muted Green */
        #1B1B1B 95%  /* Darker Blackish Tone (Right) */
    );
    width: 100%;
    min-height: 100vh; /* Ensures full-page coverage */
    padding: 30px 0;
}




.logo img {
    position: flex;
    height: 40px;
    width: 80%;
    border: none;
    border-radius: 10px;
    margin-left: 25px;
    padding-left: 0px;
    padding-top: 4px;
    box-shadow: 4px 6px 12px rgba(.2, .4, .2, 0.4);
}




h3, h4 {
    color: #444;
}

/* Paragraphs */
p {
    color: #555;
    font-weight: 400;
}

/* Links */
a {
    color: #ff5722;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #d84315;
}


/* Smooth Underline Effect for Links */
a {
    text-decoration: none;
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #ff5722;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

a:hover::after {
    transform: scaleX(1);
}



/* Remove unwanted margin/padding */
html, body {
    margin: 0;
    padding: 0;
}

/* Ensure header sticks at the very top */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Adjust the sub-header positioning */
.sub-header-container {
    position: fixed;
    top: 0px; /* Adjusted to fit below header */
    width: 100%;
    background-color: #f8f8f8;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    text-align: center;
    z-index: 2;
}

/* Make sure content starts below fixed headers */
.hero,
.featured-products,
.categories {
    margin-top: 10px; /* Adjust this to prevent content overlap */
}

.navbar {
    background-color: #007bff;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.hero {
    text-align: center;
    padding: 50px;
    background: linear-gradient(to right, #573e42, #183943);
    color: white;
    z-index: 900;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s ease;
    z-index: 900;
}

.btn:hover {
    background-color: #12253b;
}



.buy-now {
    background: #ff5722;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    animation: pulse 1.5s infinite;
}

/* Pulsating Glow Effect */
@keyframes pulse {
    0% { box-shadow: 0px 0px 0px rgba(255, 87, 34, 0.5); }
    50% { box-shadow: 0px 0px 12px rgba(255, 87, 34, 0.5); }
    100% { box-shadow: 0px 0px 0px rgba(255, 87, 34, 0.5); }
}




.featured-products, .categories {
    padding: 20px;
    text-align: center;
}

.product-list, .category-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.product, .category {
    border: 1px solid #ddd;
    padding: 15px;
    background: lightgrey;
    border-radius: 5px;
    transition: transform 0.2s ease;
    box-shadow: 0px 6px 12px rgba(.7, .5, 0, 0.4);
}

.product:hover, .category:hover {
    transform: scale(1.05);
}


.product img {
    border: none;
    border-radius: 7.5px;
}

.footer-content {
    text-align: center;
    padding: 15px;
    background-color: #343a40;
    color: white;
    margin-top: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    display: inline;
    margin: 0 10px;
}

.footer-links a {
    color: #f8f9fa;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.index-wrapper {
    background: linear-gradient(135deg, 
        #FF0000 10%, /* Intense Red (Left) */
        #6A0DAD 30%, /* Deep Purple */
        #4682B4 50%, /* Lighter Blue (Center) */
        #1E90FF 70%, /* Deep Sky Blue */
        #8B0000 90%  /* Dark Red (Right) */
    );
    width: 100%;
    min-height: 100vh; /* Ensures full-page coverage */
    padding: 30px 0;
}
