#navbar {
    width: 100%;
    margin: auto;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    padding: 15px 0;
    margin-top: -8px;
    margin-left: -8px;
    padding-left: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid rgba(59, 130, 246, 0.5);
}

#samratfirst {
    width: 95%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Brand Logo Styling */
#logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    margin-right: 20px;
}

#brand-logo {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

#brand-subtitle {
    font-size: 11px;
    color: #9ca3af;
    margin: -5px 0 0 0;
    letter-spacing: 2px;
    font-weight: 300;
}

#inner1 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 400px;
}

/* Search Bar */
#searchbut {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

#searchbut:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

#search {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background-color: white;
}

#search::placeholder {
    color: #999;
}

#search-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

#search-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

#search-btn svg {
    width: 20px;
    height: 20px;
}

/* Navigation Links */
#loc {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;
}

#loc > a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#loc > a:hover {
    color: #60a5fa;
    background-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

/* Language Section */
#inner2 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

#inner2 > div > h4 {
    font-size: 11px;
    color: #9ca3af;
    margin: 0;
    font-weight: 400;
}

#divflag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: white;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

#divflag:hover {
    background-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

#divflag > span:hover {
    color: #60a5fa;
}

/* Sign In Section */
#sign {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

#sign:hover {
    background-color: rgba(59, 130, 246, 0.2);
}

#sign a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

#signlogo {
    height: 28px;
    width: 28px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

#sign:hover #signlogo {
    transform: scale(1.1);
}

#hello {
    font-size: 11px;
    color: #9ca3af;
    margin: 0;
    line-height: 1;
}

#in {
    font-weight: 600;
    font-size: 13px;
    color: white;
    margin: 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

#sign:hover #in {
    color: #60a5fa;
}

/* Cart Section */
#cart {
    position: relative;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cart:hover {
    background-color: rgba(59, 130, 246, 0.2);
}

#cart svg {
    stroke: white;
    transition: stroke 0.3s ease;
}

#cart:hover svg {
    stroke: #60a5fa;
}

.number > h1 {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
    #samratfirst {
        width: 98%;
    }
    
    #inner1 {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    #samratfirst {
        flex-direction: column;
        align-items: stretch;
    }
    
    #logo-container {
        margin: 0 auto;
        align-items: center;
    }
    
    #inner1 {
        min-width: 100%;
    }
    
    #loc {
        justify-content: center;
    }
    
    #inner2 {
        align-items: center;
    }
}
